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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetIndex()Index of the field if repeated.OptimizeToursValidationError.FieldReference.IndexOrKeyCasegetIndexOrKeyCase()StringgetKey()Key if the field is a map.com.google.protobuf.ByteStringgetKeyBytes()Key if the field is a map.StringgetName()Name of the field, e.g., "vehicles".com.google.protobuf.ByteStringgetNameBytes()Name of the field, e.g., "vehicles".OptimizeToursValidationError.FieldReferencegetSubField()Recursively nested sub-field, if needed.OptimizeToursValidationError.FieldReferenceOrBuildergetSubFieldOrBuilder()Recursively nested sub-field, if needed.booleanhasIndex()Index of the field if repeated.booleanhasKey()Key if the field is a map.booleanhasSubField()Recursively nested sub-field, if needed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-