Class TextEntityExtractionConfig.Builder (0.163.0)

public static final class TextEntityExtractionConfig.Builder extends GeneratedMessageV3.Builder<TextEntityExtractionConfig.Builder> implements TextEntityExtractionConfigOrBuilder

Config for text entity extraction human labeling task.

Protobuf type google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TextEntityExtractionConfig build()
Returns
Type Description
TextEntityExtractionConfig

buildPartial()

public TextEntityExtractionConfig buildPartial()
Returns
Type Description
TextEntityExtractionConfig

clear()

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

clearAnnotationSpecSet()

public TextEntityExtractionConfig.Builder clearAnnotationSpecSet()

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TextEntityExtractionConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextEntityExtractionConfig.Builder clone()
Returns
Type Description
TextEntityExtractionConfig.Builder
Overrides

getAnnotationSpecSet()

public String getAnnotationSpecSet()

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The annotationSpecSet.

getAnnotationSpecSetBytes()

public ByteString getAnnotationSpecSetBytes()

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for annotationSpecSet.

getDefaultInstanceForType()

public TextEntityExtractionConfig getDefaultInstanceForType()
Returns
Type Description
TextEntityExtractionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TextEntityExtractionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnnotationSpecSet(String value)

public TextEntityExtractionConfig.Builder setAnnotationSpecSet(String value)

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The annotationSpecSet to set.

Returns
Type Description
TextEntityExtractionConfig.Builder

This builder for chaining.

setAnnotationSpecSetBytes(ByteString value)

public TextEntityExtractionConfig.Builder setAnnotationSpecSetBytes(ByteString value)

Required. Annotation spec set resource name.

string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for annotationSpecSet to set.

Returns
Type Description
TextEntityExtractionConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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