public static final class TextLocator.Position.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder> implements TextLocator.PositionOrBuilder
The position of a byte within the text.Protobuf type
google.monitoring.v3.TextLocator.Position| Modifier and Type | Method and Description |
|---|---|
TextLocator.Position.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextLocator.Position |
build() |
TextLocator.Position |
buildPartial() |
TextLocator.Position.Builder |
clear() |
TextLocator.Position.Builder |
clearColumn()
The column within the line, starting with 1, where the byte is
positioned.
|
TextLocator.Position.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextLocator.Position.Builder |
clearLine()
The line, starting with 1, where the byte is positioned.
|
TextLocator.Position.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextLocator.Position.Builder |
clone() |
int |
getColumn()
The column within the line, starting with 1, where the byte is
positioned.
|
TextLocator.Position |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLine()
The line, starting with 1, where the byte is positioned.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TextLocator.Position.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextLocator.Position.Builder |
mergeFrom(com.google.protobuf.Message other) |
TextLocator.Position.Builder |
mergeFrom(TextLocator.Position other) |
TextLocator.Position.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextLocator.Position.Builder |
setColumn(int value)
The column within the line, starting with 1, where the byte is
positioned.
|
TextLocator.Position.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextLocator.Position.Builder |
setLine(int value)
The line, starting with 1, where the byte is positioned.
|
TextLocator.Position.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextLocator.Position.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, 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<TextLocator.Position.Builder>public TextLocator.Position.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.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<TextLocator.Position.Builder>public TextLocator.Position getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextLocator.Position build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextLocator.Position buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextLocator.Position.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>public TextLocator.Position.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<TextLocator.Position.Builder>public TextLocator.Position.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>public TextLocator.Position.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>public TextLocator.Position.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<TextLocator.Position.Builder>public TextLocator.Position.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<TextLocator.Position.Builder>public TextLocator.Position.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextLocator.Position.Builder>public TextLocator.Position.Builder mergeFrom(TextLocator.Position other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>public TextLocator.Position.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<TextLocator.Position.Builder>IOExceptionpublic int getLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;getLine in interface TextLocator.PositionOrBuilderpublic TextLocator.Position.Builder setLine(int value)
The line, starting with 1, where the byte is positioned.
int32 line = 1;value - The line to set.public TextLocator.Position.Builder clearLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;public int getColumn()
The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.
int32 column = 2;getColumn in interface TextLocator.PositionOrBuilderpublic TextLocator.Position.Builder setColumn(int value)
The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.
int32 column = 2;value - The column to set.public TextLocator.Position.Builder clearColumn()
The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.
int32 column = 2;public final TextLocator.Position.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>public final TextLocator.Position.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>Copyright © 2023 Google LLC. All rights reserved.