Interface SummarizationContextOrBuilder

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

@Generated public interface SummarizationContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getSummarizationSectionsList

      List<SummarizationSection> getSummarizationSectionsList()
       Optional. List of sections. Note it contains both predefined section sand
       customer defined sections.
       
      repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSummarizationSections

      SummarizationSection getSummarizationSections(int index)
       Optional. List of sections. Note it contains both predefined section sand
       customer defined sections.
       
      repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSummarizationSectionsCount

      int getSummarizationSectionsCount()
       Optional. List of sections. Note it contains both predefined section sand
       customer defined sections.
       
      repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSummarizationSectionsOrBuilderList

      List<? extends SummarizationSectionOrBuilder> getSummarizationSectionsOrBuilderList()
       Optional. List of sections. Note it contains both predefined section sand
       customer defined sections.
       
      repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSummarizationSectionsOrBuilder

      SummarizationSectionOrBuilder getSummarizationSectionsOrBuilder(int index)
       Optional. List of sections. Note it contains both predefined section sand
       customer defined sections.
       
      repeated .google.cloud.dialogflow.v2.SummarizationSection summarization_sections = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getFewShotExamplesList

      List<FewShotExample> getFewShotExamplesList()
       Optional. List of few shot examples.
       
      repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFewShotExamples

      FewShotExample getFewShotExamples(int index)
       Optional. List of few shot examples.
       
      repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFewShotExamplesCount

      int getFewShotExamplesCount()
       Optional. List of few shot examples.
       
      repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFewShotExamplesOrBuilderList

      List<? extends FewShotExampleOrBuilder> getFewShotExamplesOrBuilderList()
       Optional. List of few shot examples.
       
      repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getFewShotExamplesOrBuilder

      FewShotExampleOrBuilder getFewShotExamplesOrBuilder(int index)
       Optional. List of few shot examples.
       
      repeated .google.cloud.dialogflow.v2.FewShotExample few_shot_examples = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getVersion

      String getVersion()
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.0"].
       
      string version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Optional. Version of the feature. If not set, default to latest version.
       Current candidates are ["1.0"].
       
      string version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for version.
    • getOutputLanguageCode

      String getOutputLanguageCode()
       Optional. The target language of the generated summary. The language code
       for conversation will be used if this field is empty. Supported 2.0 and
       later versions.
       
      string output_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The outputLanguageCode.
    • getOutputLanguageCodeBytes

      com.google.protobuf.ByteString getOutputLanguageCodeBytes()
       Optional. The target language of the generated summary. The language code
       for conversation will be used if this field is empty. Supported 2.0 and
       later versions.
       
      string output_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for outputLanguageCode.