- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class StructType.Builder extends GeneratedMessageV3.Builder<StructType.Builder> implements StructTypeOrBuilder
StructType
defines the DataType-s of a STRUCT type.
Protobuf type google.cloud.automl.v1beta1.StructType
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StructType.BuilderImplements
StructTypeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructType.Builder |
build()
public StructType build()
Type | Description |
StructType |
buildPartial()
public StructType buildPartial()
Type | Description |
StructType |
clear()
public StructType.Builder clear()
Type | Description |
StructType.Builder |
clearField(Descriptors.FieldDescriptor field)
public StructType.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StructType.Builder |
clearFields()
public StructType.Builder clearFields()
Type | Description |
StructType.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StructType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StructType.Builder |
clone()
public StructType.Builder clone()
Type | Description |
StructType.Builder |
containsFields(String key)
public 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;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public StructType getDefaultInstanceForType()
Type | Description |
StructType |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFields()
public Map<String,DataType> getFields()
Use #getFieldsMap() instead.
Type | Description |
Map<String,DataType> |
getFieldsCount()
public 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;
Type | Description |
int |
getFieldsMap()
public 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;
Type | Description |
Map<String,DataType> |
getFieldsOrDefault(String key, DataType defaultValue)
public 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;
Name | Description |
key | String |
defaultValue | DataType |
Type | Description |
DataType |
getFieldsOrThrow(String key)
public 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;
Name | Description |
key | String |
Type | Description |
DataType |
getMutableFields()
public Map<String,DataType> getMutableFields()
Use alternate mutation accessors instead.
Type | Description |
Map<String,DataType> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(StructType other)
public StructType.Builder mergeFrom(StructType other)
Name | Description |
other | StructType |
Type | Description |
StructType.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StructType.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StructType.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StructType.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructType.Builder |
putAllFields(Map<String,DataType> values)
public StructType.Builder putAllFields(Map<String,DataType> values)
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;
Name | Description |
values | Map<String,DataType> |
Type | Description |
StructType.Builder |
putFields(String key, DataType value)
public StructType.Builder putFields(String key, DataType value)
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;
Name | Description |
key | String |
value | DataType |
Type | Description |
StructType.Builder |
removeFields(String key)
public StructType.Builder removeFields(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;
Name | Description |
key | String |
Type | Description |
StructType.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StructType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StructType.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StructType.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StructType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StructType.Builder |