Class LabelTextClassificationOperationMetadata.Builder (0.153.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelTextClassificationOperationMetadata build()
Returns
TypeDescription
LabelTextClassificationOperationMetadata

buildPartial()

public LabelTextClassificationOperationMetadata buildPartial()
Returns
TypeDescription
LabelTextClassificationOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(LabelTextClassificationOperationMetadata other)

public LabelTextClassificationOperationMetadata.Builder mergeFrom(LabelTextClassificationOperationMetadata other)
Parameter
NameDescription
otherLabelTextClassificationOperationMetadata
Returns
TypeDescription
LabelTextClassificationOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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