public static final class TextEntityExtractionAnnotation.Builder extends GeneratedMessage.Builder<TextEntityExtractionAnnotation.Builder> implements TextEntityExtractionAnnotationOrBuilderText entity extraction annotation.
Protobuf type google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TextEntityExtractionAnnotation.BuilderImplements
TextEntityExtractionAnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TextEntityExtractionAnnotation build()| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation |
|
buildPartial()
public TextEntityExtractionAnnotation buildPartial()| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation |
|
clear()
public TextEntityExtractionAnnotation.Builder clear()| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
clearAnnotationSpec()
public TextEntityExtractionAnnotation.Builder clearAnnotationSpec()Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
clearSequentialSegment()
public TextEntityExtractionAnnotation.Builder clearSequentialSegment()Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
getAnnotationSpec()
public AnnotationSpec getAnnotationSpec()Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec |
The annotationSpec. |
getAnnotationSpecBuilder()
public AnnotationSpec.Builder getAnnotationSpecBuilder()Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec.Builder |
|
getAnnotationSpecOrBuilder()
public AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Returns | |
|---|---|
| Type | Description |
AnnotationSpecOrBuilder |
|
getDefaultInstanceForType()
public TextEntityExtractionAnnotation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSequentialSegment()
public SequentialSegment getSequentialSegment()Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Returns | |
|---|---|
| Type | Description |
SequentialSegment |
The sequentialSegment. |
getSequentialSegmentBuilder()
public SequentialSegment.Builder getSequentialSegmentBuilder()Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Returns | |
|---|---|
| Type | Description |
SequentialSegment.Builder |
|
getSequentialSegmentOrBuilder()
public SequentialSegmentOrBuilder getSequentialSegmentOrBuilder()Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Returns | |
|---|---|
| Type | Description |
SequentialSegmentOrBuilder |
|
hasAnnotationSpec()
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. |
hasSequentialSegment()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnnotationSpec(AnnotationSpec value)
public TextEntityExtractionAnnotation.Builder mergeAnnotationSpec(AnnotationSpec value)Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
mergeFrom(TextEntityExtractionAnnotation other)
public TextEntityExtractionAnnotation.Builder mergeFrom(TextEntityExtractionAnnotation other)| Parameter | |
|---|---|
| Name | Description |
other |
TextEntityExtractionAnnotation |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextEntityExtractionAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TextEntityExtractionAnnotation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
mergeSequentialSegment(SequentialSegment value)
public TextEntityExtractionAnnotation.Builder mergeSequentialSegment(SequentialSegment value)Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SequentialSegment |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
setAnnotationSpec(AnnotationSpec value)
public TextEntityExtractionAnnotation.Builder setAnnotationSpec(AnnotationSpec value)Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AnnotationSpec |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
setAnnotationSpec(AnnotationSpec.Builder builderForValue)
public TextEntityExtractionAnnotation.Builder setAnnotationSpec(AnnotationSpec.Builder builderForValue)Label of the text entities.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AnnotationSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
setSequentialSegment(SequentialSegment value)
public TextEntityExtractionAnnotation.Builder setSequentialSegment(SequentialSegment value)Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SequentialSegment |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|
setSequentialSegment(SequentialSegment.Builder builderForValue)
public TextEntityExtractionAnnotation.Builder setSequentialSegment(SequentialSegment.Builder builderForValue)Position of the entity.
.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SequentialSegment.Builder |
| Returns | |
|---|---|
| Type | Description |
TextEntityExtractionAnnotation.Builder |
|