Interface OptimizeToursValidationError.FieldReferenceOrBuilder (1.13.0)

public static interface OptimizeToursValidationError.FieldReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

public abstract int getIndex()

Index of the field if repeated.

int32 index = 2;

Returns
TypeDescription
int

The index.

getIndexOrKeyCase()

public abstract OptimizeToursValidationError.FieldReference.IndexOrKeyCase getIndexOrKeyCase()
Returns
TypeDescription
OptimizeToursValidationError.FieldReference.IndexOrKeyCase

getKey()

public abstract String getKey()

Key if the field is a map.

string key = 4;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Key if the field is a map.

string key = 4;

Returns
TypeDescription
ByteString

The bytes for key.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSubField()

public abstract OptimizeToursValidationError.FieldReference getSubField()

Recursively nested sub-field, if needed.

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

Returns
TypeDescription
OptimizeToursValidationError.FieldReference

The subField.

getSubFieldOrBuilder()

public abstract OptimizeToursValidationError.FieldReferenceOrBuilder getSubFieldOrBuilder()

Recursively nested sub-field, if needed.

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

Returns
TypeDescription
OptimizeToursValidationError.FieldReferenceOrBuilder

hasIndex()

public abstract boolean hasIndex()

Index of the field if repeated.

int32 index = 2;

Returns
TypeDescription
boolean

Whether the index field is set.

hasKey()

public abstract boolean hasKey()

Key if the field is a map.

string key = 4;

Returns
TypeDescription
boolean

Whether the key field is set.

hasSubField()

public abstract boolean hasSubField()

Recursively nested sub-field, if needed.

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

Returns
TypeDescription
boolean

Whether the subField field is set.