Class LabelTextClassificationOperationMetadata.Builder (0.173.0)

public static final class LabelTextClassificationOperationMetadata.Builder extends GeneratedMessageV3.Builder<LabelTextClassificationOperationMetadata.Builder> implements LabelTextClassificationOperationMetadataOrBuilder

Details of a LabelTextClassification operation metadata.

Protobuf type google.cloud.datalabeling.v1beta1.LabelTextClassificationOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelTextClassificationOperationMetadata build()
Returns
Type Description
LabelTextClassificationOperationMetadata

buildPartial()

public LabelTextClassificationOperationMetadata buildPartial()
Returns
Type Description
LabelTextClassificationOperationMetadata

clear()

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

clearBasicConfig()

public LabelTextClassificationOperationMetadata.Builder clearBasicConfig()

Basic human annotation config used in labeling request.

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

Returns
Type Description
LabelTextClassificationOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LabelTextClassificationOperationMetadata.Builder clone()
Returns
Type Description
LabelTextClassificationOperationMetadata.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 LabelTextClassificationOperationMetadata getDefaultInstanceForType()
Returns
Type Description
LabelTextClassificationOperationMetadata

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 LabelTextClassificationOperationMetadata.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
LabelTextClassificationOperationMetadata.Builder

mergeFrom(LabelTextClassificationOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBasicConfig(HumanAnnotationConfig value)

public LabelTextClassificationOperationMetadata.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
LabelTextClassificationOperationMetadata.Builder

setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

public LabelTextClassificationOperationMetadata.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
LabelTextClassificationOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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