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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public TextEntityExtractionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TextEntityExtractionConfig build()
Returns
public TextEntityExtractionConfig buildPartial()
Returns
public TextEntityExtractionConfig.Builder clear()
Returns
Overrides
public TextEntityExtractionConfig.Builder clearAnnotationSpecSet()
Required. Annotation spec set resource name.
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public TextEntityExtractionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public TextEntityExtractionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public TextEntityExtractionConfig.Builder clone()
Returns
Overrides
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.
|
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.
|
public TextEntityExtractionConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public TextEntityExtractionConfig.Builder mergeFrom(TextEntityExtractionConfig other)
Parameter
Returns
public TextEntityExtractionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public TextEntityExtractionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final TextEntityExtractionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
public TextEntityExtractionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public TextEntityExtractionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final TextEntityExtractionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides