public static final class SourcePosition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder> implements SourcePositionOrBuilder
A specific position in source.Protobuf type
google.api.expr.v1alpha1.SourcePosition| Modifier and Type | Method and Description |
|---|---|
SourcePosition.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourcePosition |
build() |
SourcePosition |
buildPartial() |
SourcePosition.Builder |
clear() |
SourcePosition.Builder |
clearColumn()
The 0-based index of the starting position within the line of source text
where the issue occurs.
|
SourcePosition.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourcePosition.Builder |
clearLine()
The 1-based index of the starting line in the source text
where the issue occurs, or 0 if unknown.
|
SourcePosition.Builder |
clearLocation()
The soucre location name (e.g. file name).
|
SourcePosition.Builder |
clearOffset()
The character offset.
|
SourcePosition.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourcePosition.Builder |
clone() |
int |
getColumn()
The 0-based index of the starting position within the line of source text
where the issue occurs.
|
SourcePosition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLine()
The 1-based index of the starting line in the source text
where the issue occurs, or 0 if unknown.
|
String |
getLocation()
The soucre location name (e.g. file name).
|
com.google.protobuf.ByteString |
getLocationBytes()
The soucre location name (e.g. file name).
|
int |
getOffset()
The character offset.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SourcePosition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourcePosition.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourcePosition.Builder |
mergeFrom(SourcePosition other) |
SourcePosition.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourcePosition.Builder |
setColumn(int value)
The 0-based index of the starting position within the line of source text
where the issue occurs.
|
SourcePosition.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourcePosition.Builder |
setLine(int value)
The 1-based index of the starting line in the source text
where the issue occurs, or 0 if unknown.
|
SourcePosition.Builder |
setLocation(String value)
The soucre location name (e.g. file name).
|
SourcePosition.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
The soucre location name (e.g. file name).
|
SourcePosition.Builder |
setOffset(int value)
The character offset.
|
SourcePosition.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SourcePosition.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SourcePosition build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SourcePosition buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SourcePosition.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourcePosition.Builder>public SourcePosition.Builder mergeFrom(SourcePosition other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public SourcePosition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourcePosition.Builder>IOExceptionpublic String getLocation()
The soucre location name (e.g. file name).
string location = 1;getLocation in interface SourcePositionOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
The soucre location name (e.g. file name).
string location = 1;getLocationBytes in interface SourcePositionOrBuilderpublic SourcePosition.Builder setLocation(String value)
The soucre location name (e.g. file name).
string location = 1;public SourcePosition.Builder clearLocation()
The soucre location name (e.g. file name).
string location = 1;public SourcePosition.Builder setLocationBytes(com.google.protobuf.ByteString value)
The soucre location name (e.g. file name).
string location = 1;public int getOffset()
The character offset.
int32 offset = 2;getOffset in interface SourcePositionOrBuilderpublic SourcePosition.Builder setOffset(int value)
The character offset.
int32 offset = 2;public SourcePosition.Builder clearOffset()
The character offset.
int32 offset = 2;public int getLine()
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
int32 line = 3;getLine in interface SourcePositionOrBuilderpublic SourcePosition.Builder setLine(int value)
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
int32 line = 3;public SourcePosition.Builder clearLine()
The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.
int32 line = 3;public int getColumn()
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzero.
int32 column = 4;getColumn in interface SourcePositionOrBuilderpublic SourcePosition.Builder setColumn(int value)
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzero.
int32 column = 4;public SourcePosition.Builder clearColumn()
The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzero.
int32 column = 4;public final SourcePosition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>public final SourcePosition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.