Interface SuggestionInputOrBuilder (4.59.0)

public interface SuggestionInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerRecord()

public abstract String getAnswerRecord()

Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> where <Answer Record ID> is an alphanumeric string.

string answer_record = 1;

Returns
Type Description
String

The answerRecord.

getAnswerRecordBytes()

public abstract ByteString getAnswerRecordBytes()

Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> where <Answer Record ID> is an alphanumeric string.

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()

In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field.

Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:

  • MapKey type: string
  • MapKey value: parameter name
  • MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map.
  • MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.

.google.protobuf.Struct parameters = 4;

Returns
Type Description
Struct

The parameters.

getParametersOrBuilder()

public abstract StructOrBuilder getParametersOrBuilder()

In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field.

Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:

  • MapKey type: string
  • MapKey value: parameter name
  • MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map.
  • MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.

.google.protobuf.Struct parameters = 4;

Returns
Type Description
StructOrBuilder

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()

In Dialogflow assist for v3, the user can submit a form by sending a SuggestionInput. The form is uniquely determined by the answer_record field, which identifies a v3 QueryResult containing the current page. The form parameters are specified via the parameters field.

Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:

  • MapKey type: string
  • MapKey value: parameter name
  • MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map.
  • MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.

.google.protobuf.Struct parameters = 4;

Returns
Type Description
boolean

Whether the parameters 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.