public static interface OptimizeToursValidationError.FieldReferenceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getIndex()
public abstract int getIndex()
Index of the field if repeated.
int32 index = 2;
Returns | |
---|---|
Type | Description |
int |
The index. |
getIndexOrKeyCase()
public abstract OptimizeToursValidationError.FieldReference.IndexOrKeyCase getIndexOrKeyCase()
Returns | |
---|---|
Type | Description |
OptimizeToursValidationError.FieldReference.IndexOrKeyCase |
getKey()
public abstract String getKey()
Key if the field is a map.
string key = 4;
Returns | |
---|---|
Type | Description |
String |
The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()
Key if the field is a map.
string key = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for key. |
getName()
public abstract String getName()
Name of the field, e.g., "vehicles".
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Name of the field, e.g., "vehicles".
string name = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OptimizeToursValidationError.FieldReferenceOrBuilder |
hasIndex()
public abstract boolean hasIndex()
Index of the field if repeated.
int32 index = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the index field is set. |
hasKey()
public abstract boolean hasKey()
Key if the field is a map.
string key = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the subField field is set. |