Interface RemoteAgentToolOrBuilder (0.19.0)

public interface RemoteAgentToolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsInputVariableMapping(String key)

public abstract boolean containsInputVariableMapping(String key)

Optional. Mapping of input variable names of remote agent to GECX variable names.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

containsOutputVariableMapping(String key)

public abstract boolean containsOutputVariableMapping(String key)

Optional. Mapping of output variable names of remote agent to GECX variable names.

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

Parameter
Name Description
key String
Returns
Type Description
boolean

getAgentCard()

public abstract AgentCard getAgentCard()

Required. The agent card of the remote agent that this tool invokes.

.google.cloud.ces.v1.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentCard

The agentCard.

getAgentCardOrBuilder()

public abstract AgentCardOrBuilder getAgentCardOrBuilder()

Required. The agent card of the remote agent that this tool invokes.

.google.cloud.ces.v1.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentCardOrBuilder

getApiAuthentication()

public abstract ApiAuthentication getApiAuthentication()

Optional. Authentication configuration for calling the remote agent.

.google.cloud.ces.v1.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApiAuthentication

The apiAuthentication.

getApiAuthenticationOrBuilder()

public abstract ApiAuthenticationOrBuilder getApiAuthenticationOrBuilder()

Optional. Authentication configuration for calling the remote agent.

.google.cloud.ces.v1.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApiAuthenticationOrBuilder

getDescription()

public abstract String getDescription()

Required. The description of the tool.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Required. The description of the tool.

string description = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for description.

getInputVariableMapping() (deprecated)

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

getInputVariableMappingCount()

public abstract int getInputVariableMappingCount()

Optional. Mapping of input variable names of remote agent to GECX variable names.

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

Returns
Type Description
int

getInputVariableMappingMap()

public abstract Map<String,String> getInputVariableMappingMap()

Optional. Mapping of input variable names of remote agent to GECX variable names.

map<string, string> input_variable_mapping = 6 [(.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. Mapping of input variable names of remote agent to GECX variable names.

map<string, string> input_variable_mapping = 6 [(.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. Mapping of input variable names of remote agent to GECX variable names.

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

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Required. The name of the tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the tool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getOutputVariableMapping() (deprecated)

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

getOutputVariableMappingCount()

public abstract int getOutputVariableMappingCount()

Optional. Mapping of output variable names of remote agent to GECX variable names.

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

Returns
Type Description
int

getOutputVariableMappingMap()

public abstract Map<String,String> getOutputVariableMappingMap()

Optional. Mapping of output variable names of remote agent to GECX variable names.

map<string, string> output_variable_mapping = 7 [(.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. Mapping of output variable names of remote agent to GECX variable names.

map<string, string> output_variable_mapping = 7 [(.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. Mapping of output variable names of remote agent to GECX variable names.

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

Parameter
Name Description
key String
Returns
Type Description
String

getStatefulAgent()

public abstract boolean getStatefulAgent()

Optional. When enabled, the interaction between the CXAS app and the remote agent will share the same context. If the remote agent returns a context_id, it will be persisted for the entirety of the session for this remote agent tool.

bool stateful_agent = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The statefulAgent.

hasAgentCard()

public abstract boolean hasAgentCard()

Required. The agent card of the remote agent that this tool invokes.

.google.cloud.ces.v1.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the agentCard field is set.

hasApiAuthentication()

public abstract boolean hasApiAuthentication()

Optional. Authentication configuration for calling the remote agent.

.google.cloud.ces.v1.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the apiAuthentication field is set.