public static final class SourceSpan.SourceLocation.Builder extends com.google.protobuf.GeneratedMessage.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 |
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 |
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.
|
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.GeneratedMessage.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 |
setColumn(int value)
The 0-based column number of this location within its line.
|
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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;