Class LabelImageClassificationOperationMetadata.Builder (0.162.0)

public static final class LabelImageClassificationOperationMetadata.Builder extends GeneratedMessageV3.Builder<LabelImageClassificationOperationMetadata.Builder> implements LabelImageClassificationOperationMetadataOrBuilder

Metadata of a LabelImageClassification operation.

Protobuf type google.cloud.datalabeling.v1beta1.LabelImageClassificationOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelImageClassificationOperationMetadata build()
Returns
Type Description
LabelImageClassificationOperationMetadata

buildPartial()

public LabelImageClassificationOperationMetadata buildPartial()
Returns
Type Description
LabelImageClassificationOperationMetadata

clear()

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

clearBasicConfig()

public LabelImageClassificationOperationMetadata.Builder clearBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
Type Description
LabelImageClassificationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
Type Description
HumanAnnotationConfig

The basicConfig.

getBasicConfigBuilder()

public HumanAnnotationConfig.Builder getBasicConfigBuilder()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
Type Description
HumanAnnotationConfig.Builder

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
Type Description
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelImageClassificationOperationMetadata getDefaultInstanceForType()
Returns
Type Description
LabelImageClassificationOperationMetadata

getDescriptorForType()

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

hasBasicConfig()

public boolean hasBasicConfig()

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Returns
Type Description
boolean

Whether the basicConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBasicConfig(HumanAnnotationConfig value)

public LabelImageClassificationOperationMetadata.Builder mergeBasicConfig(HumanAnnotationConfig value)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
LabelImageClassificationOperationMetadata.Builder

mergeFrom(LabelImageClassificationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBasicConfig(HumanAnnotationConfig value)

public LabelImageClassificationOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig value)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
Name Description
value HumanAnnotationConfig
Returns
Type Description
LabelImageClassificationOperationMetadata.Builder

setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

public LabelImageClassificationOperationMetadata.Builder setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

Basic human annotation config used in labeling request.

.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 1;

Parameter
Name Description
builderForValue HumanAnnotationConfig.Builder
Returns
Type Description
LabelImageClassificationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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