public interface TextLocatorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
TextLocator.Position |
getEndPosition()
The position of the last byte within the text.
|
TextLocator.PositionOrBuilder |
getEndPositionOrBuilder()
The position of the last byte within the text.
|
TextLocator |
getNestedLocator()
If `source`, `start_position`, and `end_position` describe a call on
some object (e.g.
|
TextLocatorOrBuilder |
getNestedLocatorOrBuilder()
If `source`, `start_position`, and `end_position` describe a call on
some object (e.g.
|
String |
getNestingReason()
When `nested_locator` is set, this field gives the reason for the nesting.
|
com.google.protobuf.ByteString |
getNestingReasonBytes()
When `nested_locator` is set, this field gives the reason for the nesting.
|
String |
getSource()
The source of the text.
|
com.google.protobuf.ByteString |
getSourceBytes()
The source of the text.
|
TextLocator.Position |
getStartPosition()
The position of the first byte within the text.
|
TextLocator.PositionOrBuilder |
getStartPositionOrBuilder()
The position of the first byte within the text.
|
boolean |
hasEndPosition()
The position of the last byte within the text.
|
boolean |
hasNestedLocator()
If `source`, `start_position`, and `end_position` describe a call on
some object (e.g.
|
boolean |
hasStartPosition()
The position of the first byte within the text.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getSource()
The source of the text. The source may be a field in the request, in which case its format is the format of the google.rpc.BadRequest.FieldViolation.field field in https://cloud.google.com/apis/design/errors#error_details. It may also be be a source other than the request field (e.g. a macro definition referenced in the text of the query), in which case this is the name of the source (e.g. the macro name).
string source = 1;com.google.protobuf.ByteString getSourceBytes()
The source of the text. The source may be a field in the request, in which case its format is the format of the google.rpc.BadRequest.FieldViolation.field field in https://cloud.google.com/apis/design/errors#error_details. It may also be be a source other than the request field (e.g. a macro definition referenced in the text of the query), in which case this is the name of the source (e.g. the macro name).
string source = 1;boolean hasStartPosition()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;TextLocator.Position getStartPosition()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;TextLocator.PositionOrBuilder getStartPositionOrBuilder()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;boolean hasEndPosition()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;TextLocator.Position getEndPosition()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;TextLocator.PositionOrBuilder getEndPositionOrBuilder()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;boolean hasNestedLocator()
If `source`, `start_position`, and `end_position` describe a call on some object (e.g. a macro in the time series query language text) and a location is to be designated in that object's text, `nested_locator` identifies the location within that object.
.google.monitoring.v3.TextLocator nested_locator = 4;TextLocator getNestedLocator()
If `source`, `start_position`, and `end_position` describe a call on some object (e.g. a macro in the time series query language text) and a location is to be designated in that object's text, `nested_locator` identifies the location within that object.
.google.monitoring.v3.TextLocator nested_locator = 4;TextLocatorOrBuilder getNestedLocatorOrBuilder()
If `source`, `start_position`, and `end_position` describe a call on some object (e.g. a macro in the time series query language text) and a location is to be designated in that object's text, `nested_locator` identifies the location within that object.
.google.monitoring.v3.TextLocator nested_locator = 4;String getNestingReason()
When `nested_locator` is set, this field gives the reason for the nesting. Usually, the reason is a macro invocation. In that case, the macro name (including the leading '@') signals the location of the macro call in the text and a macro argument name (including the leading '$') signals the location of the macro argument inside the macro body that got substituted away.
string nesting_reason = 5;com.google.protobuf.ByteString getNestingReasonBytes()
When `nested_locator` is set, this field gives the reason for the nesting. Usually, the reason is a macro invocation. In that case, the macro name (including the leading '@') signals the location of the macro call in the text and a macro argument name (including the leading '$') signals the location of the macro argument inside the macro body that got substituted away.
string nesting_reason = 5;Copyright © 2024 Google LLC. All rights reserved.