public interface TextClassificationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowMultiLabel()
Optional.
|
String |
getAnnotationSpecSet()
Required.
|
com.google.protobuf.ByteString |
getAnnotationSpecSetBytes()
Required.
|
SentimentConfig |
getSentimentConfig()
Optional.
|
SentimentConfigOrBuilder |
getSentimentConfigOrBuilder()
Optional.
|
boolean |
hasSentimentConfig()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getAllowMultiLabel()
Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
bool allow_multi_label = 1;String getAnnotationSpecSet()
Required. Annotation spec set resource name.
string annotation_spec_set = 2;com.google.protobuf.ByteString getAnnotationSpecSetBytes()
Required. Annotation spec set resource name.
string annotation_spec_set = 2;boolean hasSentimentConfig()
Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3;SentimentConfig getSentimentConfig()
Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3;SentimentConfigOrBuilder getSentimentConfigOrBuilder()
Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3;Copyright © 2019 Google LLC. All rights reserved.