Interface StructTypeOrBuilder (2.36.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
NameDescription
keyString
Returns
TypeDescription
boolean

getFields() (deprecated)

public abstract Map<String,DataType> getFields()

Use #getFieldsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueDataType
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
DataType