Interface SuggestionInputOrBuilder

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

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

    • getAnswerRecord

      String getAnswerRecord()
       Required. Format: `projects/<Project ID>/locations/<Location
       ID>/answerRecords/<Answer Record ID>`
       The answer record associated with the tool call.
       
      string answer_record = 1;
      Returns:
      The answerRecord.
    • getAnswerRecordBytes

      com.google.protobuf.ByteString getAnswerRecordBytes()
       Required. Format: `projects/<Project ID>/locations/<Location
       ID>/answerRecords/<Answer Record ID>`
       The answer record associated with the tool call.
       
      string answer_record = 1;
      Returns:
      The bytes for answerRecord.
    • hasTextOverride

      boolean hasTextOverride()
       Optional. If the customer edited the suggestion before using it, include
       the revised text here.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_override = 2;
      Returns:
      Whether the textOverride field is set.
    • getTextOverride

      TextInput getTextOverride()
       Optional. If the customer edited the suggestion before using it, include
       the revised text here.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_override = 2;
      Returns:
      The textOverride.
    • getTextOverrideOrBuilder

      TextInputOrBuilder getTextOverrideOrBuilder()
       Optional. If the customer edited the suggestion before using it, include
       the revised text here.
       
      .google.cloud.dialogflow.v2beta1.TextInput text_override = 2;
    • hasParameters

      boolean hasParameters()
       Parameters to be used for the tool call.  If not provided, the tool
       will be called without any parameters.
       
      .google.protobuf.Struct parameters = 4;
      Returns:
      Whether the parameters field is set.
    • getParameters

      com.google.protobuf.Struct getParameters()
       Parameters to be used for the tool call.  If not provided, the tool
       will be called without any parameters.
       
      .google.protobuf.Struct parameters = 4;
      Returns:
      The parameters.
    • getParametersOrBuilder

      com.google.protobuf.StructOrBuilder getParametersOrBuilder()
       Parameters to be used for the tool call.  If not provided, the tool
       will be called without any parameters.
       
      .google.protobuf.Struct parameters = 4;
    • getActionValue

      int getActionValue()
       Optional. The type of action to take with the tool.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput.Action action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for action.
    • getAction

       Optional. The type of action to take with the tool.
       
      .google.cloud.dialogflow.v2beta1.SuggestionInput.Action action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The action.
    • hasIntentInput

      boolean hasIntentInput()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;
      Returns:
      Whether the intentInput field is set.
    • getIntentInput

      IntentInput getIntentInput()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;
      Returns:
      The intentInput.
    • getIntentInputOrBuilder

      IntentInputOrBuilder getIntentInputOrBuilder()
       The intent to be triggered on V3 agent.
       
      .google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;
    • hasSendTime

      boolean hasSendTime()
       Optional. Time when the current suggest input is sent. For tool calls, this
       timestamp (along with the answer record) will be included in the
       corresponding tool call result so that it can be identified.
       
      .google.protobuf.Timestamp send_time = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the sendTime field is set.
    • getSendTime

      com.google.protobuf.Timestamp getSendTime()
       Optional. Time when the current suggest input is sent. For tool calls, this
       timestamp (along with the answer record) will be included in the
       corresponding tool call result so that it can be identified.
       
      .google.protobuf.Timestamp send_time = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sendTime.
    • getSendTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getSendTimeOrBuilder()
       Optional. Time when the current suggest input is sent. For tool calls, this
       timestamp (along with the answer record) will be included in the
       corresponding tool call result so that it can be identified.
       
      .google.protobuf.Timestamp send_time = 7 [(.google.api.field_behavior) = OPTIONAL];