Interface SuggestionInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestionInput,SuggestionInput.Builder
public interface SuggestionInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAnswerRecord()Required.com.google.protobuf.ByteStringgetAnswerRecordBytes()Required.IntentInputgetIntentInput()The intent to be triggered on V3 agent.IntentInputOrBuildergetIntentInputOrBuilder()The intent to be triggered on V3 agent.com.google.protobuf.StructgetParameters()In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput].com.google.protobuf.StructOrBuildergetParametersOrBuilder()In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput].TextInputgetTextOverride()Optional.TextInputOrBuildergetTextOverrideOrBuilder()Optional.booleanhasIntentInput()The intent to be triggered on V3 agent.booleanhasParameters()In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput].booleanhasTextOverride()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAnswerRecord
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:
- The answerRecord.
-
getAnswerRecordBytes
com.google.protobuf.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:
- 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()
In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The form is uniquely determined by the [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] field, which identifies a v3 [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters are specified via the [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.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:
- Whether the parameters field is set.
-
getParameters
com.google.protobuf.Struct getParameters()
In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The form is uniquely determined by the [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] field, which identifies a v3 [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters are specified via the [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.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:
- The parameters.
-
getParametersOrBuilder
com.google.protobuf.StructOrBuilder getParametersOrBuilder()
In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The form is uniquely determined by the [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] field, which identifies a v3 [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters are specified via the [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.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;
-
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;
-
-