Package com.google.cloud.automl.v1beta1
Interface StructTypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StructType
,StructType.Builder
public interface StructTypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsFields(String key)
Unordered map of struct field names to their data types.Map<String,DataType>
getFields()
Deprecated.int
getFieldsCount()
Unordered map of struct field names to their data types.Map<String,DataType>
getFieldsMap()
Unordered map of struct field names to their data types.DataType
getFieldsOrDefault(String key, DataType defaultValue)
Unordered map of struct field names to their data types.DataType
getFieldsOrThrow(String key)
Unordered map of struct field names to their data types.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFieldsCount
int getFieldsCount()
Unordered map of struct field names to their data types. Fields cannot be added or removed via Update. Their names and data types are still mutable.
map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
-
containsFields
boolean containsFields(String key)
Unordered map of struct field names to their data types. Fields cannot be added or removed via Update. Their names and data types are still mutable.
map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
-
getFields
@Deprecated Map<String,DataType> getFields()
Deprecated.UsegetFieldsMap()
instead.
-
getFieldsMap
Map<String,DataType> getFieldsMap()
Unordered map of struct field names to their data types. Fields cannot be added or removed via Update. Their names and data types are still mutable.
map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
-
getFieldsOrDefault
DataType getFieldsOrDefault(String key, DataType defaultValue)
Unordered map of struct field names to their data types. Fields cannot be added or removed via Update. Their names and data types are still mutable.
map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
-
-