Package com.google.monitoring.v3
Class TextLocator.Position.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
- com.google.monitoring.v3.TextLocator.Position.Builder
-
- All Implemented Interfaces:
TextLocator.PositionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TextLocator.Position
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 typegoogle.monitoring.v3.TextLocator.Position
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(TextLocator.Position other)
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
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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
clear
public TextLocator.Position.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
getDefaultInstanceForType
public TextLocator.Position getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TextLocator.Position build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TextLocator.Position buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TextLocator.Position.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
setField
public TextLocator.Position.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
clearField
public TextLocator.Position.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
clearOneof
public TextLocator.Position.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
setRepeatedField
public TextLocator.Position.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
addRepeatedField
public TextLocator.Position.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
mergeFrom
public TextLocator.Position.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TextLocator.Position.Builder>
-
mergeFrom
public TextLocator.Position.Builder mergeFrom(TextLocator.Position other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
mergeFrom
public TextLocator.Position.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TextLocator.Position.Builder>
- Throws:
IOException
-
getLine
public int getLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;
- Specified by:
getLine
in interfaceTextLocator.PositionOrBuilder
- Returns:
- The line.
-
setLine
public TextLocator.Position.Builder setLine(int value)
The line, starting with 1, where the byte is positioned.
int32 line = 1;
- Parameters:
value
- The line to set.- Returns:
- This builder for chaining.
-
clearLine
public TextLocator.Position.Builder clearLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;
- Returns:
- This builder for chaining.
-
getColumn
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;
- Specified by:
getColumn
in interfaceTextLocator.PositionOrBuilder
- Returns:
- The column.
-
setColumn
public 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;
- Parameters:
value
- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
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;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TextLocator.Position.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
mergeUnknownFields
public final TextLocator.Position.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TextLocator.Position.Builder>
-
-