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 Summary

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.
    Required.
    com.google.protobuf.ByteString
    Required.
    com.google.protobuf.Struct
    Optional.
    com.google.protobuf.StructOrBuilder
    Optional.
    com.google.protobuf.Timestamp
    Optional.
    com.google.protobuf.TimestampOrBuilder
    Optional.
    boolean
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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 [(.google.api.field_behavior) = REQUIRED];
      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 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for answerRecord.
    • hasParameters

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

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

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

      int getActionValue()
       Optional. The type of action to take with the tool.
       
      .google.cloud.dialogflow.v2.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.v2.SuggestionInput.Action action = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The action.
    • 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];