Package com.google.cloud.optimization.v1
Interface OptimizeToursValidationError.FieldReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OptimizeToursValidationError.FieldReference,OptimizeToursValidationError.FieldReference.Builder
- Enclosing class:
- OptimizeToursValidationError
public static interface OptimizeToursValidationError.FieldReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Index of the field if repeated.getKey()Key if the field is a map.com.google.protobuf.ByteStringKey if the field is a map.getName()Name of the field, e.g., "vehicles".com.google.protobuf.ByteStringName of the field, e.g., "vehicles".Recursively nested sub-field, if needed.Recursively nested sub-field, if needed.booleanhasIndex()Index of the field if repeated.booleanhasKey()Key if the field is a map.booleanRecursively nested sub-field, if needed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of the field, e.g., "vehicles".
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the field, e.g., "vehicles".
string name = 1;- Returns:
- The bytes for name.
-
hasIndex
boolean hasIndex()Index of the field if repeated.
int32 index = 2;- Returns:
- Whether the index field is set.
-
getIndex
int getIndex()Index of the field if repeated.
int32 index = 2;- Returns:
- The index.
-
hasKey
boolean hasKey()Key if the field is a map.
string key = 4;- Returns:
- Whether the key field is set.
-
getKey
String getKey()Key if the field is a map.
string key = 4;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Key if the field is a map.
string key = 4;- Returns:
- The bytes for key.
-
hasSubField
boolean hasSubField()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;- Returns:
- Whether the subField field is set.
-
getSubField
OptimizeToursValidationError.FieldReference getSubField()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;- Returns:
- The subField.
-
getSubFieldOrBuilder
OptimizeToursValidationError.FieldReferenceOrBuilder getSubFieldOrBuilder()Recursively nested sub-field, if needed.
.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3; -
getIndexOrKeyCase
OptimizeToursValidationError.FieldReference.IndexOrKeyCase getIndexOrKeyCase()
-