Interface FewShotExampleOrBuilder

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

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

    • hasConversationContext

      boolean hasConversationContext()
       Optional. Conversation transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the conversationContext field is set.
    • getConversationContext

      ConversationContext getConversationContext()
       Optional. Conversation transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The conversationContext.
    • getConversationContextOrBuilder

      ConversationContextOrBuilder getConversationContextOrBuilder()
       Optional. Conversation transcripts.
       
      .google.cloud.dialogflow.v2.ConversationContext conversation_context = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getExtraInfoCount

      int getExtraInfoCount()
       Optional. Key is the placeholder field name in input, value is the value of
       the placeholder. E.g. instruction contains "@price", and ingested data has
       <"price", "10">
       
      map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsExtraInfo

      boolean containsExtraInfo(String key)
       Optional. Key is the placeholder field name in input, value is the value of
       the placeholder. E.g. instruction contains "@price", and ingested data has
       <"price", "10">
       
      map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExtraInfo

      @Deprecated Map<String,String> getExtraInfo()
      Deprecated.
      Use getExtraInfoMap() instead.
    • getExtraInfoMap

      Map<String,String> getExtraInfoMap()
       Optional. Key is the placeholder field name in input, value is the value of
       the placeholder. E.g. instruction contains "@price", and ingested data has
       <"price", "10">
       
      map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExtraInfoOrDefault

      String getExtraInfoOrDefault(String key, String defaultValue)
       Optional. Key is the placeholder field name in input, value is the value of
       the placeholder. E.g. instruction contains "@price", and ingested data has
       <"price", "10">
       
      map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getExtraInfoOrThrow

      String getExtraInfoOrThrow(String key)
       Optional. Key is the placeholder field name in input, value is the value of
       the placeholder. E.g. instruction contains "@price", and ingested data has
       <"price", "10">
       
      map<string, string> extra_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasSummarizationSectionList

      boolean hasSummarizationSectionList()
       Summarization sections.
       
      .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6;
      Returns:
      Whether the summarizationSectionList field is set.
    • getSummarizationSectionList

      SummarizationSectionList getSummarizationSectionList()
       Summarization sections.
       
      .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6;
      Returns:
      The summarizationSectionList.
    • getSummarizationSectionListOrBuilder

      SummarizationSectionListOrBuilder getSummarizationSectionListOrBuilder()
       Summarization sections.
       
      .google.cloud.dialogflow.v2.SummarizationSectionList summarization_section_list = 6;
    • hasOutput

      boolean hasOutput()
       Required. Example output of the model.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the output field is set.
    • getOutput

      GeneratorSuggestion getOutput()
       Required. Example output of the model.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The output.
    • getOutputOrBuilder

      GeneratorSuggestionOrBuilder getOutputOrBuilder()
       Required. Example output of the model.
       
      .google.cloud.dialogflow.v2.GeneratorSuggestion output = 7 [(.google.api.field_behavior) = REQUIRED];
    • getInstructionListCase

      FewShotExample.InstructionListCase getInstructionListCase()