Interface Agent.RemoteDialogflowAgentOrBuilder (0.1.0)

public static interface Agent.RemoteDialogflowAgentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsInputVariableMapping(String key)

public abstract boolean containsInputVariableMapping(String key)

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsOutputVariableMapping(String key)

public abstract boolean containsOutputVariableMapping(String key)

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAgent()

public abstract String getAgent()

Required. The Dialogflow agent resource name. Format: projects/{project}/locations/{location}/agents/{agent}

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The agent.

getAgentBytes()

public abstract ByteString getAgentBytes()

Required. The Dialogflow agent resource name. Format: projects/{project}/locations/{location}/agents/{agent}

string agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for agent.

getEnvironmentId()

public abstract String getEnvironmentId()

Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used.

string environment_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The environmentId.

getEnvironmentIdBytes()

public abstract ByteString getEnvironmentIdBytes()

Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used.

string environment_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for environmentId.

getFlowId()

public abstract String getFlowId()

Optional. The flow ID of the flow in the Dialogflow agent.

string flow_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The flowId.

getFlowIdBytes()

public abstract ByteString getFlowIdBytes()

Optional. The flow ID of the flow in the Dialogflow agent.

string flow_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for flowId.

getInputVariableMapping() (deprecated)

public abstract Map<String,String> getInputVariableMapping()
Returns
Type Description
Map<String,String>

getInputVariableMappingCount()

public abstract int getInputVariableMappingCount()

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getInputVariableMappingMap()

public abstract Map<String,String> getInputVariableMappingMap()

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getInputVariableMappingOrDefault(String key, String defaultValue)

public abstract String getInputVariableMappingOrDefault(String key, String defaultValue)

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getInputVariableMappingOrThrow(String key)

public abstract String getInputVariableMappingOrThrow(String key)

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getOutputVariableMapping() (deprecated)

public abstract Map<String,String> getOutputVariableMapping()
Returns
Type Description
Map<String,String>

getOutputVariableMappingCount()

public abstract int getOutputVariableMappingCount()

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOutputVariableMappingMap()

public abstract Map<String,String> getOutputVariableMappingMap()

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getOutputVariableMappingOrDefault(String key, String defaultValue)

public abstract String getOutputVariableMappingOrDefault(String key, String defaultValue)

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getOutputVariableMappingOrThrow(String key)

public abstract String getOutputVariableMappingOrThrow(String key)

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getRespectResponseInterruptionSettings()

public abstract boolean getRespectResponseInterruptionSettings()

Optional. Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent.

  • If false: all response messages from the Dialogflow agent follow the app-level barge-in settings.
  • If true: only response messages with allow_playback_interruption set to true will be interruptable, all other messages follow the app-level barge-in settings.

bool respect_response_interruption_settings = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The respectResponseInterruptionSettings.