Class LabelImageClassificationOperationMetadata.Builder (0.123.3)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelImageClassificationOperationMetadata build()
Returns
TypeDescription
LabelImageClassificationOperationMetadata

buildPartial()

public LabelImageClassificationOperationMetadata buildPartial()
Returns
TypeDescription
LabelImageClassificationOperationMetadata

clear()

public LabelImageClassificationOperationMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
LabelImageClassificationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBasicConfig()

public HumanAnnotationConfig getBasicConfig()

Basic human annotation config used in labeling request.

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

Returns
TypeDescription
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
TypeDescription
HumanAnnotationConfig.Builder

getBasicConfigOrBuilder()

public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()

Basic human annotation config used in labeling request.

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

Returns
TypeDescription
HumanAnnotationConfigOrBuilder

getDefaultInstanceForType()

public LabelImageClassificationOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
LabelImageClassificationOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBasicConfig()

public boolean hasBasicConfig()

Basic human annotation config used in labeling request.

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

Returns
TypeDescription
boolean

Whether the basicConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
LabelImageClassificationOperationMetadata.Builder

mergeFrom(LabelImageClassificationOperationMetadata other)

public LabelImageClassificationOperationMetadata.Builder mergeFrom(LabelImageClassificationOperationMetadata other)
Parameter
NameDescription
otherLabelImageClassificationOperationMetadata
Returns
TypeDescription
LabelImageClassificationOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LabelImageClassificationOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueHumanAnnotationConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAnnotationConfig.Builder
Returns
TypeDescription
LabelImageClassificationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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