public final class LabelTextRequest extends com.google.protobuf.GeneratedMessageV3 implements LabelTextRequestOrBuilder
Request message for LabelText.Protobuf type
google.cloud.datalabeling.v1beta1.LabelTextRequest| Modifier and Type | Class and Description |
|---|---|
static class |
LabelTextRequest.Builder
Request message for LabelText.
|
static class |
LabelTextRequest.Feature
Text labeling task feature.
|
static class |
LabelTextRequest.RequestConfigCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_CONFIG_FIELD_NUMBER |
static int |
FEATURE_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER |
static int |
TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HumanAnnotationConfig |
getBasicConfig()
Required.
|
HumanAnnotationConfigOrBuilder |
getBasicConfigOrBuilder()
Required.
|
static LabelTextRequest |
getDefaultInstance() |
LabelTextRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LabelTextRequest.Feature |
getFeature()
Required.
|
int |
getFeatureValue()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<LabelTextRequest> |
getParserForType() |
LabelTextRequest.RequestConfigCase |
getRequestConfigCase() |
int |
getSerializedSize() |
TextClassificationConfig |
getTextClassificationConfig()
Configuration for text classification task.
|
TextClassificationConfigOrBuilder |
getTextClassificationConfigOrBuilder()
Configuration for text classification task.
|
TextEntityExtractionConfig |
getTextEntityExtractionConfig()
Configuration for entity extraction task.
|
TextEntityExtractionConfigOrBuilder |
getTextEntityExtractionConfigOrBuilder()
Configuration for entity extraction task.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBasicConfig()
Required.
|
int |
hashCode() |
boolean |
hasTextClassificationConfig()
Configuration for text classification task.
|
boolean |
hasTextEntityExtractionConfig()
Configuration for entity extraction task.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LabelTextRequest.Builder |
newBuilder() |
static LabelTextRequest.Builder |
newBuilder(LabelTextRequest prototype) |
LabelTextRequest.Builder |
newBuilderForType() |
protected LabelTextRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LabelTextRequest |
parseDelimitedFrom(InputStream input) |
static LabelTextRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelTextRequest |
parseFrom(byte[] data) |
static LabelTextRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelTextRequest |
parseFrom(ByteBuffer data) |
static LabelTextRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelTextRequest |
parseFrom(com.google.protobuf.ByteString data) |
static LabelTextRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelTextRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LabelTextRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LabelTextRequest |
parseFrom(InputStream input) |
static LabelTextRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LabelTextRequest> |
parser() |
LabelTextRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TEXT_CLASSIFICATION_CONFIG_FIELD_NUMBER
public static final int TEXT_ENTITY_EXTRACTION_CONFIG_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int BASIC_CONFIG_FIELD_NUMBER
public static final int FEATURE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public LabelTextRequest.RequestConfigCase getRequestConfigCase()
getRequestConfigCase in interface LabelTextRequestOrBuilderpublic 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 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 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 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 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.Feature getFeature()
Required. The type of text labeling task.
.google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature feature = 6;getFeature in interface LabelTextRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LabelTextRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LabelTextRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static LabelTextRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelTextRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LabelTextRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LabelTextRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LabelTextRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LabelTextRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LabelTextRequest.Builder newBuilder()
public static LabelTextRequest.Builder newBuilder(LabelTextRequest prototype)
public LabelTextRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LabelTextRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LabelTextRequest getDefaultInstance()
public static com.google.protobuf.Parser<LabelTextRequest> parser()
public com.google.protobuf.Parser<LabelTextRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LabelTextRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.