Class DataSchemaDetails.ProtoAnyConfig.Builder (0.12.0)

public static final class DataSchemaDetails.ProtoAnyConfig.Builder extends GeneratedMessageV3.Builder<DataSchemaDetails.ProtoAnyConfig.Builder> implements DataSchemaDetails.ProtoAnyConfigOrBuilder

The configuration for PROTO_ANY data type.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTypeUri()

public DataSchemaDetails.ProtoAnyConfig.Builder clearTypeUri()

The type URI of the proto message.

string type_uri = 1;

Returns
Type Description
DataSchemaDetails.ProtoAnyConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getTypeUri()

public String getTypeUri()

The type URI of the proto message.

string type_uri = 1;

Returns
Type Description
String

The typeUri.

getTypeUriBytes()

public ByteString getTypeUriBytes()

The type URI of the proto message.

string type_uri = 1;

Returns
Type Description
ByteString

The bytes for typeUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataSchemaDetails.ProtoAnyConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTypeUri(String value)

public DataSchemaDetails.ProtoAnyConfig.Builder setTypeUri(String value)

The type URI of the proto message.

string type_uri = 1;

Parameter
Name Description
value String

The typeUri to set.

Returns
Type Description
DataSchemaDetails.ProtoAnyConfig.Builder

This builder for chaining.

setTypeUriBytes(ByteString value)

public DataSchemaDetails.ProtoAnyConfig.Builder setTypeUriBytes(ByteString value)

The type URI of the proto message.

string type_uri = 1;

Parameter
Name Description
value ByteString

The bytes for typeUri to set.

Returns
Type Description
DataSchemaDetails.ProtoAnyConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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