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 type
sass.embedded_protocol.SourceSpan.SourceLocation
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(Descriptors.FieldDescriptor field, Object value) build()
clear()
The 0-based column number of this location within its line.The 0-based line number of this location within the source file.The 0-based offset of this location within the source file.clone()
int
The 0-based column number of this location within its line.static final Descriptors.Descriptor
int
getLine()
The 0-based line number of this location within the source file.int
The 0-based offset of this location within the source file.protected GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeUnknownFields
(UnknownFieldSet unknownFields) setColumn
(int value) The 0-based column number of this location within its line.setField
(Descriptors.FieldDescriptor field, Object value) setLine
(int value) The 0-based line number of this location within the source file.setOffset
(int value) The 0-based offset of this location within the source file.setRepeatedField
(Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
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 Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<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
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.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
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clearOneof
- 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
- 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
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
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
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
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
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
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>
-