Interface OptimizeToursValidationError.FieldReferenceOrBuilder (1.62.0)

publicstaticinterface OptimizeToursValidationError.FieldReferenceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

publicabstractintgetIndex()

Index of the field if repeated.

int32 index = 2;

Returns
Type Description
int

The index.

getIndexOrKeyCase()

publicabstractOptimizeToursValidationError.FieldReference.IndexOrKeyCasegetIndexOrKeyCase()
Returns
Type Description
OptimizeToursValidationError.FieldReference.IndexOrKeyCase

getKey()

publicabstractStringgetKey()

Key if the field is a map.

string key = 4;

Returns
Type Description
String

The key.

getKeyBytes()

publicabstractByteStringgetKeyBytes()

Key if the field is a map.

string key = 4;

Returns
Type Description
ByteString

The bytes for key.

getName()

publicabstractStringgetName()

Name of the field, e.g., "vehicles".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Name of the field, e.g., "vehicles".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSubField()

publicabstractOptimizeToursValidationError.FieldReferencegetSubField()

Recursively nested sub-field, if needed.

.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;

Returns
Type Description
OptimizeToursValidationError.FieldReference

The subField.

getSubFieldOrBuilder()

publicabstractOptimizeToursValidationError.FieldReferenceOrBuildergetSubFieldOrBuilder()

Recursively nested sub-field, if needed.

.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;

Returns
Type Description
OptimizeToursValidationError.FieldReferenceOrBuilder

hasIndex()

publicabstractbooleanhasIndex()

Index of the field if repeated.

int32 index = 2;

Returns
Type Description
boolean

Whether the index field is set.

hasKey()

publicabstractbooleanhasKey()

Key if the field is a map.

string key = 4;

Returns
Type Description
boolean

Whether the key field is set.

hasSubField()

publicabstractbooleanhasSubField()

Recursively nested sub-field, if needed.

.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;

Returns
Type Description
boolean

Whether the subField field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.