Package com.google.api.expr.v1alpha1
Class SourcePosition.Builder
- java.lang.Object
- 
- com.google.protobuf.AbstractMessageLite.Builder
- 
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
- 
- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
- 
- com.google.api.expr.v1alpha1.SourcePosition.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- SourcePositionOrBuilder,- com.google.protobuf.Message.Builder,- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- java.lang.Cloneable
 - Enclosing class:
- SourcePosition
 
 public static final class SourcePosition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder> implements SourcePositionOrBuilder A specific position in source. Protobuf typegoogle.api.expr.v1alpha1.SourcePosition
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SourcePosition.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SourcePositionbuild()SourcePositionbuildPartial()SourcePosition.Builderclear()SourcePosition.BuilderclearColumn()The 0-based index of the starting position within the line of source text where the issue occurs.SourcePosition.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SourcePosition.BuilderclearLine()The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.SourcePosition.BuilderclearLocation()The soucre location name (e.g.SourcePosition.BuilderclearOffset()The UTF-8 code unit offset.SourcePosition.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SourcePosition.Builderclone()intgetColumn()The 0-based index of the starting position within the line of source text where the issue occurs.SourcePositiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetLine()The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.java.lang.StringgetLocation()The soucre location name (e.g.com.google.protobuf.ByteStringgetLocationBytes()The soucre location name (e.g.intgetOffset()The UTF-8 code unit offset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SourcePosition.BuildermergeFrom(SourcePosition other)SourcePosition.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SourcePosition.BuildermergeFrom(com.google.protobuf.Message other)SourcePosition.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SourcePosition.BuildersetColumn(int value)The 0-based index of the starting position within the line of source text where the issue occurs.SourcePosition.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SourcePosition.BuildersetLine(int value)The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.SourcePosition.BuildersetLocation(java.lang.String value)The soucre location name (e.g.SourcePosition.BuildersetLocationBytes(com.google.protobuf.ByteString value)The soucre location name (e.g.SourcePosition.BuildersetOffset(int value)The UTF-8 code unit offset.SourcePosition.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SourcePosition.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.BuildergetAllFields, 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
 - 
Methods inherited from class com.google.protobuf.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
clearpublic SourcePosition.Builder clear() - Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
getDefaultInstanceForTypepublic SourcePosition getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 - 
buildpublic SourcePosition build() - Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
 - 
buildPartialpublic SourcePosition buildPartial() - Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
 - 
clonepublic SourcePosition.Builder clone() - Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
setFieldpublic SourcePosition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
clearFieldpublic SourcePosition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
clearOneofpublic SourcePosition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
setRepeatedFieldpublic SourcePosition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
addRepeatedFieldpublic SourcePosition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
mergeFrompublic SourcePosition.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<SourcePosition.Builder>
 
 - 
mergeFrompublic SourcePosition.Builder mergeFrom(SourcePosition other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
mergeFrompublic SourcePosition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<SourcePosition.Builder>
- Throws:
- java.io.IOException
 
 - 
getLocationpublic java.lang.String getLocation() The soucre location name (e.g. file name). string location = 1;- Specified by:
- getLocationin interface- SourcePositionOrBuilder
- Returns:
- The location.
 
 - 
getLocationBytespublic com.google.protobuf.ByteString getLocationBytes() The soucre location name (e.g. file name). string location = 1;- Specified by:
- getLocationBytesin interface- SourcePositionOrBuilder
- Returns:
- The bytes for location.
 
 - 
setLocationpublic SourcePosition.Builder setLocation(java.lang.String value) The soucre location name (e.g. file name). string location = 1;- Parameters:
- value- The location to set.
- Returns:
- This builder for chaining.
 
 - 
clearLocationpublic SourcePosition.Builder clearLocation() The soucre location name (e.g. file name). string location = 1;- Returns:
- This builder for chaining.
 
 - 
setLocationBytespublic SourcePosition.Builder setLocationBytes(com.google.protobuf.ByteString value) The soucre location name (e.g. file name). string location = 1;- Parameters:
- value- The bytes for location to set.
- Returns:
- This builder for chaining.
 
 - 
getOffsetpublic int getOffset() The UTF-8 code unit offset. int32 offset = 2;- Specified by:
- getOffsetin interface- SourcePositionOrBuilder
- Returns:
- The offset.
 
 - 
setOffsetpublic SourcePosition.Builder setOffset(int value) The UTF-8 code unit offset. int32 offset = 2;- Parameters:
- value- The offset to set.
- Returns:
- This builder for chaining.
 
 - 
clearOffsetpublic SourcePosition.Builder clearOffset() The UTF-8 code unit offset. int32 offset = 2;- Returns:
- This builder for chaining.
 
 - 
getLinepublic 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;- Specified by:
- getLinein interface- SourcePositionOrBuilder
- Returns:
- The line.
 
 - 
setLinepublic 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;- Parameters:
- value- The line to set.
- Returns:
- This builder for chaining.
 
 - 
clearLinepublic 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;- Returns:
- This builder for chaining.
 
 - 
getColumnpublic 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;- Specified by:
- getColumnin interface- SourcePositionOrBuilder
- Returns:
- The column.
 
 - 
setColumnpublic 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;- Parameters:
- value- The column to set.
- Returns:
- This builder for chaining.
 
 - 
clearColumnpublic 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;- Returns:
- This builder for chaining.
 
 - 
setUnknownFieldspublic final SourcePosition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 - 
mergeUnknownFieldspublic final SourcePosition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<SourcePosition.Builder>
 
 
- 
 
-