- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class TextLocator.Position.Builder extends GeneratedMessageV3.Builder<TextLocator.Position.Builder> implements TextLocator.PositionOrBuilder
The position of a byte within the text.
Protobuf type google.monitoring.v3.TextLocator.Position
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TextLocator.Position.BuilderImplements
TextLocator.PositionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextLocator.Position.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
build()
public TextLocator.Position build()
Returns | |
---|---|
Type | Description |
TextLocator.Position |
buildPartial()
public TextLocator.Position buildPartial()
Returns | |
---|---|
Type | Description |
TextLocator.Position |
clear()
public TextLocator.Position.Builder clear()
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
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 | |
---|---|
Type | Description |
TextLocator.Position.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TextLocator.Position.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
clearLine()
public TextLocator.Position.Builder clearLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TextLocator.Position.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
clone()
public TextLocator.Position.Builder clone()
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
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;
Returns | |
---|---|
Type | Description |
int |
The column. |
getDefaultInstanceForType()
public TextLocator.Position getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TextLocator.Position |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLine()
public int getLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;
Returns | |
---|---|
Type | Description |
int |
The line. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TextLocator.Position other)
public TextLocator.Position.Builder mergeFrom(TextLocator.Position other)
Parameter | |
---|---|
Name | Description |
other |
TextLocator.Position |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextLocator.Position.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TextLocator.Position.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextLocator.Position.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
setColumn(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The column to set. |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TextLocator.Position.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
setLine(int value)
public TextLocator.Position.Builder setLine(int value)
The line, starting with 1, where the byte is positioned.
int32 line = 1;
Parameter | |
---|---|
Name | Description |
value |
int The line to set. |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextLocator.Position.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TextLocator.Position.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextLocator.Position.Builder |