Interface TextClassificationConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    TextClassificationConfig, TextClassificationConfig.Builder

    public interface TextClassificationConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • 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];