Class GeneratorSuggestion

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.GeneratorSuggestion
All Implemented Interfaces:
GeneratorSuggestionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GeneratorSuggestion extends com.google.protobuf.GeneratedMessage implements GeneratorSuggestionOrBuilder
 Suggestion generated using a Generator.
 
Protobuf type google.cloud.dialogflow.v2.GeneratorSuggestion
See Also:
  • Field Details

    • FREE_FORM_SUGGESTION_FIELD_NUMBER

      public static final int FREE_FORM_SUGGESTION_FIELD_NUMBER
      See Also:
    • SUMMARY_SUGGESTION_FIELD_NUMBER

      public static final int SUMMARY_SUGGESTION_FIELD_NUMBER
      See Also:
    • AGENT_COACHING_SUGGESTION_FIELD_NUMBER

      public static final int AGENT_COACHING_SUGGESTION_FIELD_NUMBER
      See Also:
    • TOOL_CALL_INFO_FIELD_NUMBER

      public static final int TOOL_CALL_INFO_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSuggestionCase

      public GeneratorSuggestion.SuggestionCase getSuggestionCase()
      Specified by:
      getSuggestionCase in interface GeneratorSuggestionOrBuilder
    • hasFreeFormSuggestion

      public boolean hasFreeFormSuggestion()
       Optional. Free form suggestion.
       
      .google.cloud.dialogflow.v2.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFreeFormSuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      Whether the freeFormSuggestion field is set.
    • getFreeFormSuggestion

      public FreeFormSuggestion getFreeFormSuggestion()
       Optional. Free form suggestion.
       
      .google.cloud.dialogflow.v2.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeFormSuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      The freeFormSuggestion.
    • getFreeFormSuggestionOrBuilder

      public FreeFormSuggestionOrBuilder getFreeFormSuggestionOrBuilder()
       Optional. Free form suggestion.
       
      .google.cloud.dialogflow.v2.FreeFormSuggestion free_form_suggestion = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeFormSuggestionOrBuilder in interface GeneratorSuggestionOrBuilder
    • hasSummarySuggestion

      public boolean hasSummarySuggestion()
       Optional. Suggested summary.
       
      .google.cloud.dialogflow.v2.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSummarySuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      Whether the summarySuggestion field is set.
    • getSummarySuggestion

      public SummarySuggestion getSummarySuggestion()
       Optional. Suggested summary.
       
      .google.cloud.dialogflow.v2.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummarySuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      The summarySuggestion.
    • getSummarySuggestionOrBuilder

      public SummarySuggestionOrBuilder getSummarySuggestionOrBuilder()
       Optional. Suggested summary.
       
      .google.cloud.dialogflow.v2.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummarySuggestionOrBuilder in interface GeneratorSuggestionOrBuilder
    • hasAgentCoachingSuggestion

      public boolean hasAgentCoachingSuggestion()
       Optional. Suggestion to coach the agent.
       
      .google.cloud.dialogflow.v2.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAgentCoachingSuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      Whether the agentCoachingSuggestion field is set.
    • getAgentCoachingSuggestion

      public AgentCoachingSuggestion getAgentCoachingSuggestion()
       Optional. Suggestion to coach the agent.
       
      .google.cloud.dialogflow.v2.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentCoachingSuggestion in interface GeneratorSuggestionOrBuilder
      Returns:
      The agentCoachingSuggestion.
    • getAgentCoachingSuggestionOrBuilder

      public AgentCoachingSuggestionOrBuilder getAgentCoachingSuggestionOrBuilder()
       Optional. Suggestion to coach the agent.
       
      .google.cloud.dialogflow.v2.AgentCoachingSuggestion agent_coaching_suggestion = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAgentCoachingSuggestionOrBuilder in interface GeneratorSuggestionOrBuilder
    • getToolCallInfoList

      public List<GeneratorSuggestion.ToolCallInfo> getToolCallInfoList()
       Optional. List of request and response for tool calls executed.
       
      repeated .google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolCallInfoList in interface GeneratorSuggestionOrBuilder
    • getToolCallInfoOrBuilderList

      public List<? extends GeneratorSuggestion.ToolCallInfoOrBuilder> getToolCallInfoOrBuilderList()
       Optional. List of request and response for tool calls executed.
       
      repeated .google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolCallInfoOrBuilderList in interface GeneratorSuggestionOrBuilder
    • getToolCallInfoCount

      public int getToolCallInfoCount()
       Optional. List of request and response for tool calls executed.
       
      repeated .google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolCallInfoCount in interface GeneratorSuggestionOrBuilder
    • getToolCallInfo

      public GeneratorSuggestion.ToolCallInfo getToolCallInfo(int index)
       Optional. List of request and response for tool calls executed.
       
      repeated .google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolCallInfo in interface GeneratorSuggestionOrBuilder
    • getToolCallInfoOrBuilder

      public GeneratorSuggestion.ToolCallInfoOrBuilder getToolCallInfoOrBuilder(int index)
       Optional. List of request and response for tool calls executed.
       
      repeated .google.cloud.dialogflow.v2.GeneratorSuggestion.ToolCallInfo tool_call_info = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getToolCallInfoOrBuilder in interface GeneratorSuggestionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GeneratorSuggestion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GeneratorSuggestion parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GeneratorSuggestion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GeneratorSuggestion parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GeneratorSuggestion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GeneratorSuggestion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GeneratorSuggestion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GeneratorSuggestion.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GeneratorSuggestion.Builder newBuilder()
    • newBuilder

      public static GeneratorSuggestion.Builder newBuilder(GeneratorSuggestion prototype)
    • toBuilder

      public GeneratorSuggestion.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GeneratorSuggestion.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GeneratorSuggestion getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GeneratorSuggestion> parser()
    • getParserForType

      public com.google.protobuf.Parser<GeneratorSuggestion> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GeneratorSuggestion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder