public static final class SourceSpan.SourceLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder> implements SourceSpan.SourceLocationOrBuilder
A single point in a source file.Protobuf type
sass.embedded_protocol.SourceSpan.SourceLocation
Modifier and Type | Method and Description |
---|---|
SourceSpan.SourceLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourceSpan.SourceLocation |
build() |
SourceSpan.SourceLocation |
buildPartial() |
SourceSpan.SourceLocation.Builder |
clear() |
SourceSpan.SourceLocation.Builder |
clearColumn()
The 0-based column number of this location within its line.
|
SourceSpan.SourceLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourceSpan.SourceLocation.Builder |
clearLine()
The 0-based line number of this location within the source file.
|
SourceSpan.SourceLocation.Builder |
clearOffset()
The 0-based offset of this location within the source file.
|
SourceSpan.SourceLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourceSpan.SourceLocation.Builder |
clone() |
int |
getColumn()
The 0-based column number of this location within its line.
|
SourceSpan.SourceLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLine()
The 0-based line number of this location within the source file.
|
int |
getOffset()
The 0-based offset of this location within the source file.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SourceSpan.SourceLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourceSpan.SourceLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourceSpan.SourceLocation.Builder |
mergeFrom(SourceSpan.SourceLocation other) |
SourceSpan.SourceLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceSpan.SourceLocation.Builder |
setColumn(int value)
The 0-based column number of this location within its line.
|
SourceSpan.SourceLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourceSpan.SourceLocation.Builder |
setLine(int value)
The 0-based line number of this location within the source file.
|
SourceSpan.SourceLocation.Builder |
setOffset(int value)
The 0-based offset of this location within the source file.
|
SourceSpan.SourceLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SourceSpan.SourceLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SourceSpan.SourceLocation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SourceSpan.SourceLocation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SourceSpan.SourceLocation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder mergeFrom(SourceSpan.SourceLocation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public SourceSpan.SourceLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SourceSpan.SourceLocation.Builder>
IOException
public int getOffset()
The 0-based offset of this location within the source file.
uint32 offset = 1;
getOffset
in interface SourceSpan.SourceLocationOrBuilder
public SourceSpan.SourceLocation.Builder setOffset(int value)
The 0-based offset of this location within the source file.
uint32 offset = 1;
value
- The offset to set.public SourceSpan.SourceLocation.Builder clearOffset()
The 0-based offset of this location within the source file.
uint32 offset = 1;
public int getLine()
The 0-based line number of this location within the source file.
uint32 line = 2;
getLine
in interface SourceSpan.SourceLocationOrBuilder
public SourceSpan.SourceLocation.Builder setLine(int value)
The 0-based line number of this location within the source file.
uint32 line = 2;
value
- The line to set.public SourceSpan.SourceLocation.Builder clearLine()
The 0-based line number of this location within the source file.
uint32 line = 2;
public int getColumn()
The 0-based column number of this location within its line.
uint32 column = 3;
getColumn
in interface SourceSpan.SourceLocationOrBuilder
public SourceSpan.SourceLocation.Builder setColumn(int value)
The 0-based column number of this location within its line.
uint32 column = 3;
value
- The column to set.public SourceSpan.SourceLocation.Builder clearColumn()
The 0-based column number of this location within its line.
uint32 column = 3;
public final SourceSpan.SourceLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>
public final SourceSpan.SourceLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SourceSpan.SourceLocation.Builder>