public static final class TextEntityExtractionAnnotation.Builder extends GeneratedMessageV3.Builder<TextEntityExtractionAnnotation.Builder> implements TextEntityExtractionAnnotationOrBuilder
Text entity extraction annotation.
Protobuf type google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 TextEntityExtractionAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextEntityExtractionAnnotation build()
public TextEntityExtractionAnnotation buildPartial()
public TextEntityExtractionAnnotation.Builder clear()
Overrides
public TextEntityExtractionAnnotation.Builder clearAnnotationSpec()
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public TextEntityExtractionAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public TextEntityExtractionAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public TextEntityExtractionAnnotation.Builder clearSequentialSegment()
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public TextEntityExtractionAnnotation.Builder clone()
Overrides
public AnnotationSpec getAnnotationSpec()
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public AnnotationSpec.Builder getAnnotationSpecBuilder()
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public TextEntityExtractionAnnotation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public SequentialSegment getSequentialSegment()
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public SequentialSegment.Builder getSequentialSegmentBuilder()
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public SequentialSegmentOrBuilder getSequentialSegmentOrBuilder()
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public boolean hasAnnotationSpec()
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
Returns |
Type |
Description |
boolean |
Whether the annotationSpec field is set.
|
public boolean hasSequentialSegment()
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
Returns |
Type |
Description |
boolean |
Whether the sequentialSegment field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TextEntityExtractionAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public TextEntityExtractionAnnotation.Builder mergeFrom(TextEntityExtractionAnnotation other)
public TextEntityExtractionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TextEntityExtractionAnnotation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public TextEntityExtractionAnnotation.Builder mergeSequentialSegment(SequentialSegment value)
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public final TextEntityExtractionAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public TextEntityExtractionAnnotation.Builder setAnnotationSpec(AnnotationSpec value)
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public TextEntityExtractionAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)
Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
public TextEntityExtractionAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public TextEntityExtractionAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public TextEntityExtractionAnnotation.Builder setSequentialSegment(SequentialSegment value)
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public TextEntityExtractionAnnotation.Builder setSequentialSegment(SequentialSegment.Builder builderForValue)
Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
public final TextEntityExtractionAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides