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()
Methods
public TextEntityExtractionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 TextEntityExtractionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TextEntityExtractionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TextEntityExtractionConfig.Builder clone()
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()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.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 final TextEntityExtractionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
public TextEntityExtractionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextEntityExtractionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final TextEntityExtractionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides