Class LabelTextEntityExtractionOperationMetadata.Builder (0.172.0)

public static final class LabelTextEntityExtractionOperationMetadata.Builder extends GeneratedMessageV3.Builder<LabelTextEntityExtractionOperationMetadata.Builder> implements LabelTextEntityExtractionOperationMetadataOrBuilder

Details of a LabelTextEntityExtraction operation metadata.

Protobuf type google.cloud.datalabeling.v1beta1.LabelTextEntityExtractionOperationMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelTextEntityExtractionOperationMetadata build()
Returns
Type Description
LabelTextEntityExtractionOperationMetadata

buildPartial()

public LabelTextEntityExtractionOperationMetadata buildPartial()
Returns
Type Description
LabelTextEntityExtractionOperationMetadata

clear()

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

clearBasicConfig()

public LabelTextEntityExtractionOperationMetadata.Builder clearBasicConfig()

Basic human annotation config used in labeling request.

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

Returns
Type Description
LabelTextEntityExtractionOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(LabelTextEntityExtractionOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBasicConfig(HumanAnnotationConfig value)

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

setBasicConfig(HumanAnnotationConfig.Builder builderForValue)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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