Package sass.embedded_protocol
Class EmbeddedSass.SourceSpan.SourceLocation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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()intThe 0-based column number of this location within its line.static final Descriptors.DescriptorintgetLine()The 0-based line number of this location within the source file.intThe 0-based offset of this location within the source file.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
setField
public EmbeddedSass.SourceSpan.SourceLocation.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
setRepeatedField
public EmbeddedSass.SourceSpan.SourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
addRepeatedField
public EmbeddedSass.SourceSpan.SourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
public EmbeddedSass.SourceSpan.SourceLocation.Builder mergeFrom(EmbeddedSass.SourceSpan.SourceLocation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeFrom
public EmbeddedSass.SourceSpan.SourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin 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:
getOffsetin 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:
getLinein 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:
getColumnin 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:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-
mergeUnknownFields
public final EmbeddedSass.SourceSpan.SourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<EmbeddedSass.SourceSpan.SourceLocation.Builder>
-