Interface StructTypeOrBuilder (2.55.0)

public interface StructTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFields(String key)

public abstract 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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getFields() (deprecated)

public abstract Map<String,DataType> getFields()

Use #getFieldsMap() instead.

Returns
Type Description
Map<String,DataType>

getFieldsCount()

public abstract 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;

Returns
Type Description
int

getFieldsMap()

public abstract 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;

Returns
Type Description
Map<String,DataType>

getFieldsOrDefault(String key, DataType defaultValue)

public abstract 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;

Parameters
Name Description
key String
defaultValue DataType
Returns
Type Description
DataType

getFieldsOrThrow(String key)

public abstract DataType getFieldsOrThrow(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;

Parameter
Name Description
key String
Returns
Type Description
DataType