Class TextEntityExtractionConfig.Builder (0.215.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class TextEntityExtractionConfig.Builder extends GeneratedMessage.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.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public TextEntityExtractionConfig build()
public TextEntityExtractionConfig buildPartial()
public TextEntityExtractionConfig.Builder clear()
Overrides
public TextEntityExtractionConfig.Builder clearAnnotationSpecSet()
Required. Annotation spec set resource name.
string annotation_spec_set = 1 [(.google.api.field_behavior) = REQUIRED];
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()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TextEntityExtractionConfig.Builder mergeFrom(TextEntityExtractionConfig other)
public TextEntityExtractionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TextEntityExtractionConfig.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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.
|
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]