Class ImageObjectDetectionDatasetMetadata.Builder (2.55.0)

public static final class ImageObjectDetectionDatasetMetadata.Builder extends GeneratedMessageV3.Builder<ImageObjectDetectionDatasetMetadata.Builder> implements ImageObjectDetectionDatasetMetadataOrBuilder

Dataset metadata specific to image object detection.

Protobuf type google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImageObjectDetectionDatasetMetadata build()
Returns
Type Description
ImageObjectDetectionDatasetMetadata

buildPartial()

public ImageObjectDetectionDatasetMetadata buildPartial()
Returns
Type Description
ImageObjectDetectionDatasetMetadata

clear()

public ImageObjectDetectionDatasetMetadata.Builder clear()
Returns
Type Description
ImageObjectDetectionDatasetMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ImageObjectDetectionDatasetMetadata.Builder clone()
Returns
Type Description
ImageObjectDetectionDatasetMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImageObjectDetectionDatasetMetadata getDefaultInstanceForType()
Returns
Type Description
ImageObjectDetectionDatasetMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageObjectDetectionDatasetMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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