Interface Fulfillment.GeneratorSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Fulfillment.GeneratorSettings,Fulfillment.GeneratorSettings.Builder
- Enclosing class:
- Fulfillment
public static interface Fulfillment.GeneratorSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanMap from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters.Required.com.google.protobuf.ByteStringRequired.Deprecated.intMap from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters.Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters.getInputParametersOrDefault(String key, String defaultValue) Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters.Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getGenerator
String getGenerator()Required. The generator to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string generator = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The generator.
-
getGeneratorBytes
com.google.protobuf.ByteString getGeneratorBytes()Required. The generator to call. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
string generator = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for generator.
-
getInputParametersCount
int getInputParametersCount()Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: [parameter ID][Genrator.Parameter.id] - Map value: session parameter name
map<string, string> input_parameters = 2; -
containsInputParameters
Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: [parameter ID][Genrator.Parameter.id] - Map value: session parameter name
map<string, string> input_parameters = 2; -
getInputParameters
Deprecated.UsegetInputParametersMap()instead. -
getInputParametersMap
Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: [parameter ID][Genrator.Parameter.id] - Map value: session parameter name
map<string, string> input_parameters = 2; -
getInputParametersOrDefault
Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: [parameter ID][Genrator.Parameter.id] - Map value: session parameter name
map<string, string> input_parameters = 2; -
getInputParametersOrThrow
Map from [placeholder parameter][Generator.Parameter.id] in the [Generator][google.cloud.dialogflow.cx.v3beta1.Generator] to corresponding session parameters. By default, Dialogflow uses the session parameter with the same name to fill in the generator template. e.g. If there is a placeholder parameter `city` in the Generator, Dialogflow default to fill in the `$city` with `$session.params.city`. However, you may choose to fill `$city` with `$session.params.desination-city`. - Map key: [parameter ID][Genrator.Parameter.id] - Map value: session parameter name
map<string, string> input_parameters = 2; -
getOutputParameter
String getOutputParameter()Required. Output parameter which should contain the generator response.
string output_parameter = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The outputParameter.
-
getOutputParameterBytes
com.google.protobuf.ByteString getOutputParameterBytes()Required. Output parameter which should contain the generator response.
string output_parameter = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for outputParameter.
-