public static final class LabelTextRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder> implements LabelTextRequestOrBuilder
Request message for LabelText.Protobuf type
google.cloud.datalabeling.v1beta1.LabelTextRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LabelTextRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LabelTextRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LabelTextRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder mergeFrom(LabelTextRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public LabelTextRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LabelTextRequest.Builder>IOExceptionpublic LabelTextRequest.RequestConfigCase getRequestConfigCase()
getRequestConfigCase in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder clearRequestConfig()
public boolean hasTextClassificationConfig()
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
hasTextClassificationConfig in interface LabelTextRequestOrBuilderpublic TextClassificationConfig getTextClassificationConfig()
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
getTextClassificationConfig in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setTextClassificationConfig(TextClassificationConfig value)
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
public LabelTextRequest.Builder setTextClassificationConfig(TextClassificationConfig.Builder builderForValue)
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
public LabelTextRequest.Builder mergeTextClassificationConfig(TextClassificationConfig value)
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
public LabelTextRequest.Builder clearTextClassificationConfig()
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
public TextClassificationConfig.Builder getTextClassificationConfigBuilder()
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
public TextClassificationConfigOrBuilder getTextClassificationConfigOrBuilder()
Configuration for text classification task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 4;
getTextClassificationConfigOrBuilder in interface LabelTextRequestOrBuilderpublic boolean hasTextEntityExtractionConfig()
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
hasTextEntityExtractionConfig in interface LabelTextRequestOrBuilderpublic TextEntityExtractionConfig getTextEntityExtractionConfig()
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
getTextEntityExtractionConfig in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setTextEntityExtractionConfig(TextEntityExtractionConfig value)
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
public LabelTextRequest.Builder setTextEntityExtractionConfig(TextEntityExtractionConfig.Builder builderForValue)
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
public LabelTextRequest.Builder mergeTextEntityExtractionConfig(TextEntityExtractionConfig value)
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
public LabelTextRequest.Builder clearTextEntityExtractionConfig()
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
public TextEntityExtractionConfig.Builder getTextEntityExtractionConfigBuilder()
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
public TextEntityExtractionConfigOrBuilder getTextEntityExtractionConfigOrBuilder()
Configuration for entity extraction task. One of text_classification_config and text_entity_extraction_config is required.
.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig text_entity_extraction_config = 5;
getTextEntityExtractionConfigOrBuilder in interface LabelTextRequestOrBuilderpublic String getParent()
Required. Name of the data set to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;getParent in interface LabelTextRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Name of the data set to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;getParentBytes in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setParent(String value)
Required. Name of the data set to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;public LabelTextRequest.Builder clearParent()
Required. Name of the data set to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;public LabelTextRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. Name of the data set to request labeling task, format:
projects/{project_id}/datasets/{dataset_id}
string parent = 1;public boolean hasBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;hasBasicConfig in interface LabelTextRequestOrBuilderpublic HumanAnnotationConfig getBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;getBasicConfig in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setBasicConfig(HumanAnnotationConfig value)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;public LabelTextRequest.Builder setBasicConfig(HumanAnnotationConfig.Builder builderForValue)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;public LabelTextRequest.Builder mergeBasicConfig(HumanAnnotationConfig value)
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;public LabelTextRequest.Builder clearBasicConfig()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;public HumanAnnotationConfig.Builder getBasicConfigBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;public HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder()
Required. Basic human annotation config.
.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2;getBasicConfigOrBuilder in interface LabelTextRequestOrBuilderpublic int getFeatureValue()
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;getFeatureValue in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setFeatureValue(int value)
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;public LabelTextRequest.Feature getFeature()
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;getFeature in interface LabelTextRequestOrBuilderpublic LabelTextRequest.Builder setFeature(LabelTextRequest.Feature value)
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;public LabelTextRequest.Builder clearFeature()
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;public final LabelTextRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>public final LabelTextRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LabelTextRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.