public static final class TextLocator.Position.Builder extends com.google.protobuf.GeneratedMessage.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 |
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 |
clearLine()
The line, starting with 1, where the byte is positioned.
|
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.GeneratedMessage.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 |
setColumn(int value)
The column within the line, starting with 1, where the byte is
positioned.
|
TextLocator.Position.Builder |
setLine(int value)
The line, starting with 1, where the byte is positioned.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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 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.GeneratedMessage.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;Copyright © 2026 Google LLC. All rights reserved.