Class DataSchemaDetails.CustomizedStructConfig.Builder (0.3.0)

public static final class DataSchemaDetails.CustomizedStructConfig.Builder extends GeneratedMessageV3.Builder<DataSchemaDetails.CustomizedStructConfig.Builder> implements DataSchemaDetails.CustomizedStructConfigOrBuilder

The configuration for CUSTOMIZED_STRUCT data type.

Protobuf type google.cloud.visionai.v1.DataSchemaDetails.CustomizedStructConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataSchemaDetails.CustomizedStructConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

build()

public DataSchemaDetails.CustomizedStructConfig build()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig

buildPartial()

public DataSchemaDetails.CustomizedStructConfig buildPartial()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig

clear()

public DataSchemaDetails.CustomizedStructConfig.Builder clear()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataSchemaDetails.CustomizedStructConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

clearFieldSchemas()

public DataSchemaDetails.CustomizedStructConfig.Builder clearFieldSchemas()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataSchemaDetails.CustomizedStructConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

clone()

public DataSchemaDetails.CustomizedStructConfig.Builder clone()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

containsFieldSchemas(String key)

public boolean containsFieldSchemas(String key)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public DataSchemaDetails.CustomizedStructConfig getDefaultInstanceForType()
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFieldSchemas() (deprecated)

public Map<String,DataSchemaDetails> getFieldSchemas()

Use #getFieldSchemasMap() instead.

Returns
Type Description
Map<String,DataSchemaDetails>

getFieldSchemasCount()

public int getFieldSchemasCount()

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Returns
Type Description
int

getFieldSchemasMap()

public Map<String,DataSchemaDetails> getFieldSchemasMap()

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Returns
Type Description
Map<String,DataSchemaDetails>

getFieldSchemasOrDefault(String key, DataSchemaDetails defaultValue)

public DataSchemaDetails getFieldSchemasOrDefault(String key, DataSchemaDetails defaultValue)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameters
Name Description
key String
defaultValue DataSchemaDetails
Returns
Type Description
DataSchemaDetails

getFieldSchemasOrThrow(String key)

public DataSchemaDetails getFieldSchemasOrThrow(String key)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameter
Name Description
key String
Returns
Type Description
DataSchemaDetails

getMutableFieldSchemas() (deprecated)

public Map<String,DataSchemaDetails> getMutableFieldSchemas()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,DataSchemaDetails>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataSchemaDetails.CustomizedStructConfig other)

public DataSchemaDetails.CustomizedStructConfig.Builder mergeFrom(DataSchemaDetails.CustomizedStructConfig other)
Parameter
Name Description
other DataSchemaDetails.CustomizedStructConfig
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataSchemaDetails.CustomizedStructConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataSchemaDetails.CustomizedStructConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataSchemaDetails.CustomizedStructConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

putAllFieldSchemas(Map<String,DataSchemaDetails> values)

public DataSchemaDetails.CustomizedStructConfig.Builder putAllFieldSchemas(Map<String,DataSchemaDetails> values)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameter
Name Description
values Map<String,DataSchemaDetails>
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder

putFieldSchemas(String key, DataSchemaDetails value)

public DataSchemaDetails.CustomizedStructConfig.Builder putFieldSchemas(String key, DataSchemaDetails value)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameters
Name Description
key String
value DataSchemaDetails
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder

putFieldSchemasBuilderIfAbsent(String key)

public DataSchemaDetails.Builder putFieldSchemasBuilderIfAbsent(String key)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameter
Name Description
key String
Returns
Type Description
DataSchemaDetails.Builder

removeFieldSchemas(String key)

public DataSchemaDetails.CustomizedStructConfig.Builder removeFieldSchemas(String key)

Direct child elements data schemas.

map<string, .google.cloud.visionai.v1.DataSchemaDetails> field_schemas = 1;

Parameter
Name Description
key String
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataSchemaDetails.CustomizedStructConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataSchemaDetails.CustomizedStructConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataSchemaDetails.CustomizedStructConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataSchemaDetails.CustomizedStructConfig.Builder
Overrides