Class ImageObjectDetectionDatasetMetadata.Builder (2.35.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.v1.ImageObjectDetectionDatasetMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageObjectDetectionDatasetMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

build()

public ImageObjectDetectionDatasetMetadata build()
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata

buildPartial()

public ImageObjectDetectionDatasetMetadata buildPartial()
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata

clear()

public ImageObjectDetectionDatasetMetadata.Builder clear()
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageObjectDetectionDatasetMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageObjectDetectionDatasetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

clone()

public ImageObjectDetectionDatasetMetadata.Builder clone()
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImageObjectDetectionDatasetMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImageObjectDetectionDatasetMetadata other)

public ImageObjectDetectionDatasetMetadata.Builder mergeFrom(ImageObjectDetectionDatasetMetadata other)
Parameter
NameDescription
otherImageObjectDetectionDatasetMetadata
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageObjectDetectionDatasetMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImageObjectDetectionDatasetMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageObjectDetectionDatasetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImageObjectDetectionDatasetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

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

public ImageObjectDetectionDatasetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageObjectDetectionDatasetMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageObjectDetectionDatasetMetadata.Builder
Overrides