Class LabelTextEntityExtractionOperationMetadata.Builder (0.129.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LabelTextEntityExtractionOperationMetadata build()
Returns
TypeDescription
LabelTextEntityExtractionOperationMetadata

buildPartial()

public LabelTextEntityExtractionOperationMetadata buildPartial()
Returns
TypeDescription
LabelTextEntityExtractionOperationMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(LabelTextEntityExtractionOperationMetadata other)

public LabelTextEntityExtractionOperationMetadata.Builder mergeFrom(LabelTextEntityExtractionOperationMetadata other)
Parameter
NameDescription
otherLabelTextEntityExtractionOperationMetadata
Returns
TypeDescription
LabelTextEntityExtractionOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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