Package sass.embedded_protocol
Class EmbeddedSass.SourceSpan.SourceLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
- sass.embedded_protocol.EmbeddedSass.SourceSpan.SourceLocation.Builder
-
- All Implemented Interfaces:
Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
,EmbeddedSass.SourceSpan.SourceLocationOrBuilder
- Enclosing class:
- EmbeddedSass.SourceSpan.SourceLocation
public static final class EmbeddedSass.SourceSpan.SourceLocation.Builder extends GeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder> implements EmbeddedSass.SourceSpan.SourceLocationOrBuilder
A single point in a source file.
Protobuf typesass.embedded_protocol.SourceSpan.SourceLocation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clear
public EmbeddedSass.SourceSpan.SourceLocation.Builder clear()
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
getDefaultInstanceForType
public EmbeddedSass.SourceSpan.SourceLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public EmbeddedSass.SourceSpan.SourceLocation build()
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public EmbeddedSass.SourceSpan.SourceLocation buildPartial()
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
public EmbeddedSass.SourceSpan.SourceLocation.Builder clone()
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
setField
public EmbeddedSass.SourceSpan.SourceLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clearField
public EmbeddedSass.SourceSpan.SourceLocation.Builder clearField(Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clearOneof
public EmbeddedSass.SourceSpan.SourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
setRepeatedField
public EmbeddedSass.SourceSpan.SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
addRepeatedField
public EmbeddedSass.SourceSpan.SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
public EmbeddedSass.SourceSpan.SourceLocation.Builder mergeFrom(Message other)
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
public EmbeddedSass.SourceSpan.SourceLocation.Builder mergeFrom(EmbeddedSass.SourceSpan.SourceLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
public EmbeddedSass.SourceSpan.SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
- Throws:
IOException
-
getOffset
public int getOffset()
The 0-based offset of this location within the source file. Mandatory.
uint32 offset = 1;
- Specified by:
getOffset
in interfaceEmbeddedSass.SourceSpan.SourceLocationOrBuilder
- Returns:
- The offset.
-
setOffset
public EmbeddedSass.SourceSpan.SourceLocation.Builder setOffset(int value)
The 0-based offset of this location within the source file. Mandatory.
uint32 offset = 1;
- Parameters:
value
- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
public EmbeddedSass.SourceSpan.SourceLocation.Builder clearOffset()
The 0-based offset of this location within the source file. Mandatory.
uint32 offset = 1;
- Returns:
- This builder for chaining.
-
getLine
public int getLine()
The 0-based line number of this location within the source file. Mandatory.
uint32 line = 2;
- Specified by:
getLine
in interfaceEmbeddedSass.SourceSpan.SourceLocationOrBuilder
- Returns:
- The line.
-
setLine
public EmbeddedSass.SourceSpan.SourceLocation.Builder setLine(int value)
The 0-based line number of this location within the source file. Mandatory.
uint32 line = 2;
- Parameters:
value
- The line to set.- Returns:
- This builder for chaining.
-
clearLine
public EmbeddedSass.SourceSpan.SourceLocation.Builder clearLine()
The 0-based line number of this location within the source file. Mandatory.
uint32 line = 2;
- Returns:
- This builder for chaining.
-
getColumn
public int getColumn()
The 0-based column number of this location within its line. Mandatory.
uint32 column = 3;
- Specified by:
getColumn
in interfaceEmbeddedSass.SourceSpan.SourceLocationOrBuilder
- Returns:
- The column.
-
setColumn
public EmbeddedSass.SourceSpan.SourceLocation.Builder setColumn(int value)
The 0-based column number of this location within its line. Mandatory.
uint32 column = 3;
- Parameters:
value
- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
public EmbeddedSass.SourceSpan.SourceLocation.Builder clearColumn()
The 0-based column number of this location within its line. Mandatory.
uint32 column = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final EmbeddedSass.SourceSpan.SourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeUnknownFields
public final EmbeddedSass.SourceSpan.SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
-