Interface SuggestionInputOrBuilder (4.86.0)

public interface SuggestionInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract SuggestionInput.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
Type Description
SuggestionInput.Action

The action.

getActionValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for action.

getAnswerRecord()

public abstract 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
Type Description
String

The answerRecord.

getAnswerRecordBytes()

public abstract 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
Type Description
ByteString

The bytes for answerRecord.

getIntentInput()

public abstract IntentInput getIntentInput()

The intent to be triggered on V3 agent.

.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;

Returns
Type Description
IntentInput

The intentInput.

getIntentInputOrBuilder()

public abstract IntentInputOrBuilder getIntentInputOrBuilder()

The intent to be triggered on V3 agent.

.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;

Returns
Type Description
IntentInputOrBuilder

getParameters()

public abstract 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
Type Description
Struct

The parameters.

getParametersOrBuilder()

public abstract 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;

Returns
Type Description
StructOrBuilder

getSendTime()

public abstract 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
Type Description
Timestamp

The sendTime.

getSendTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getTextOverride()

public abstract 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
Type Description
TextInput

The textOverride.

getTextOverrideOrBuilder()

public abstract 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;

Returns
Type Description
TextInputOrBuilder

hasIntentInput()

public abstract boolean hasIntentInput()

The intent to be triggered on V3 agent.

.google.cloud.dialogflow.v2beta1.IntentInput intent_input = 6;

Returns
Type Description
boolean

Whether the intentInput field is set.

hasParameters()

public abstract 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
Type Description
boolean

Whether the parameters field is set.

hasSendTime()

public abstract 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
Type Description
boolean

Whether the sendTime field is set.

hasTextOverride()

public abstract 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
Type Description
boolean

Whether the textOverride field is set.