Interface TextClassificationConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextClassificationConfig,TextClassificationConfig.Builder
@Generated
public interface TextClassificationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowMultiLabel
boolean getAllowMultiLabel()Optional. If allow_multi_label is true, contributors are able to choose multiple labels for one text segment.
bool allow_multi_label = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The allowMultiLabel.
-
getAnnotationSpecSet
String getAnnotationSpecSet()Required. Annotation spec set resource name.
string annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The annotationSpecSet.
-
getAnnotationSpecSetBytes
com.google.protobuf.ByteString getAnnotationSpecSetBytes()Required. Annotation spec set resource name.
string annotation_spec_set = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for annotationSpecSet.
-
hasSentimentConfig
boolean hasSentimentConfig()Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the sentimentConfig field is set.
-
getSentimentConfig
SentimentConfig getSentimentConfig()Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sentimentConfig.
-
getSentimentConfigOrBuilder
SentimentConfigOrBuilder getSentimentConfigOrBuilder()Optional. Configs for sentiment selection.
.google.cloud.datalabeling.v1beta1.SentimentConfig sentiment_config = 3 [(.google.api.field_behavior) = OPTIONAL];
-