- 3.52.0 (latest)
- 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 interface TextLocatorOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEndPosition()
public abstract TextLocator.Position getEndPosition()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;
Type | Description |
TextLocator.Position | The endPosition. |
getEndPositionOrBuilder()
public abstract TextLocator.PositionOrBuilder getEndPositionOrBuilder()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;
Type | Description |
TextLocator.PositionOrBuilder |
getNestedLocator()
public abstract 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;
Type | Description |
TextLocator | The nestedLocator. |
getNestedLocatorOrBuilder()
public abstract 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;
Type | Description |
TextLocatorOrBuilder |
getNestingReason()
public abstract 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;
Type | Description |
String | The nestingReason. |
getNestingReasonBytes()
public abstract 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;
Type | Description |
ByteString | The bytes for nestingReason. |
getSource()
public abstract String 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;
Type | Description |
String | The source. |
getSourceBytes()
public abstract 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;
Type | Description |
ByteString | The bytes for source. |
getStartPosition()
public abstract TextLocator.Position getStartPosition()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;
Type | Description |
TextLocator.Position | The startPosition. |
getStartPositionOrBuilder()
public abstract TextLocator.PositionOrBuilder getStartPositionOrBuilder()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;
Type | Description |
TextLocator.PositionOrBuilder |
hasEndPosition()
public abstract boolean hasEndPosition()
The position of the last byte within the text.
.google.monitoring.v3.TextLocator.Position end_position = 3;
Type | Description |
boolean | Whether the endPosition field is set. |
hasNestedLocator()
public abstract 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;
Type | Description |
boolean | Whether the nestedLocator field is set. |
hasStartPosition()
public abstract boolean hasStartPosition()
The position of the first byte within the text.
.google.monitoring.v3.TextLocator.Position start_position = 2;
Type | Description |
boolean | Whether the startPosition field is set. |