public static final class RemoteA2aConfig.Builder extends GeneratedMessage.Builder<RemoteA2aConfig.Builder> implements RemoteA2aConfigOrBuilderShared configuration for connecting to a remote A2A agent.
Protobuf type google.cloud.ces.v1beta.RemoteA2aConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RemoteA2aConfig.BuilderImplements
RemoteA2aConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RemoteA2aConfig build()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig |
|
buildPartial()
public RemoteA2aConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig |
|
clear()
public RemoteA2aConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearAgentCard()
public RemoteA2aConfig.Builder clearAgentCard()Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearAgentRegistry()
public RemoteA2aConfig.Builder clearAgentRegistry() Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
clearAgentSpec()
public RemoteA2aConfig.Builder clearAgentSpec()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearApiAuthentication()
public RemoteA2aConfig.Builder clearApiAuthentication()Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearContextId()
public RemoteA2aConfig.Builder clearContextId() Optional. If not empty, interactions with the remote A2A agent will use
this context ID. This context_id field can refer to a session variable like
$context.variables.order_agent_session_id.
string context_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
clearInputVariableMapping()
public RemoteA2aConfig.Builder clearInputVariableMapping()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearOutputVariableMapping()
public RemoteA2aConfig.Builder clearOutputVariableMapping()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
clearStreamingEnabled()
public RemoteA2aConfig.Builder clearStreamingEnabled()Optional. Whether streaming is enabled for the remote agent.
bool streaming_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
containsInputVariableMapping(String key)
public boolean containsInputVariableMapping(String key)Optional. Mapping of input variable names of remote agent to GECX variable names.
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 boolean containsOutputVariableMapping(String key)Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAgentCard()
public AgentCard getAgentCard()Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard |
The agentCard. |
getAgentCardBuilder()
public AgentCard.Builder getAgentCardBuilder()Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
getAgentCardOrBuilder()
public AgentCardOrBuilder getAgentCardOrBuilder()Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCardOrBuilder |
|
getAgentRegistry()
public String getAgentRegistry() Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The agentRegistry. |
getAgentRegistryBytes()
public ByteString getAgentRegistryBytes() Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for agentRegistry. |
getAgentSpecCase()
public RemoteA2aConfig.AgentSpecCase getAgentSpecCase()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.AgentSpecCase |
|
getApiAuthentication()
public ApiAuthentication getApiAuthentication()Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApiAuthentication |
The apiAuthentication. |
getApiAuthenticationBuilder()
public ApiAuthentication.Builder getApiAuthenticationBuilder()Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApiAuthentication.Builder |
|
getApiAuthenticationOrBuilder()
public ApiAuthenticationOrBuilder getApiAuthenticationOrBuilder()Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ApiAuthenticationOrBuilder |
|
getContextId()
public String getContextId() Optional. If not empty, interactions with the remote A2A agent will use
this context ID. This context_id field can refer to a session variable like
$context.variables.order_agent_session_id.
string context_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The contextId. |
getContextIdBytes()
public ByteString getContextIdBytes() Optional. If not empty, interactions with the remote A2A agent will use
this context ID. This context_id field can refer to a session variable like
$context.variables.order_agent_session_id.
string context_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contextId. |
getDefaultInstanceForType()
public RemoteA2aConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputVariableMapping() (deprecated)
public Map<String,String> getInputVariableMapping()Use #getInputVariableMappingMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getInputVariableMappingCount()
public int getInputVariableMappingCount()Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getInputVariableMappingMap()
public Map<String,String> getInputVariableMappingMap()Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getInputVariableMappingOrDefault(String key, String defaultValue)
public 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getInputVariableMappingOrThrow(String key)
public String getInputVariableMappingOrThrow(String key)Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableInputVariableMapping() (deprecated)
public Map<String,String> getMutableInputVariableMapping()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableOutputVariableMapping() (deprecated)
public Map<String,String> getMutableOutputVariableMapping()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getOutputVariableMapping() (deprecated)
public Map<String,String> getOutputVariableMapping()Use #getOutputVariableMappingMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getOutputVariableMappingCount()
public int getOutputVariableMappingCount()Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getOutputVariableMappingMap()
public Map<String,String> getOutputVariableMappingMap()Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getOutputVariableMappingOrDefault(String key, String defaultValue)
public 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 = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getOutputVariableMappingOrThrow(String key)
public String getOutputVariableMappingOrThrow(String key)Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getStreamingEnabled()
public boolean getStreamingEnabled()Optional. Whether streaming is enabled for the remote agent.
bool streaming_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The streamingEnabled. |
hasAgentCard()
public boolean hasAgentCard()Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentCard field is set. |
hasAgentRegistry()
public boolean hasAgentRegistry() Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agentRegistry field is set. |
hasApiAuthentication()
public boolean hasApiAuthentication()Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the apiAuthentication field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgentCard(AgentCard value)
public RemoteA2aConfig.Builder mergeAgentCard(AgentCard value)Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCard |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
mergeApiAuthentication(ApiAuthentication value)
public RemoteA2aConfig.Builder mergeApiAuthentication(ApiAuthentication value)Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ApiAuthentication |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
mergeFrom(RemoteA2aConfig other)
public RemoteA2aConfig.Builder mergeFrom(RemoteA2aConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoteA2aConfig |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoteA2aConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemoteA2aConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
putAllInputVariableMapping(Map<String,String> values)
public RemoteA2aConfig.Builder putAllInputVariableMapping(Map<String,String> values)Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
putAllOutputVariableMapping(Map<String,String> values)
public RemoteA2aConfig.Builder putAllOutputVariableMapping(Map<String,String> values)Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
putInputVariableMapping(String key, String value)
public RemoteA2aConfig.Builder putInputVariableMapping(String key, String value)Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
putOutputVariableMapping(String key, String value)
public RemoteA2aConfig.Builder putOutputVariableMapping(String key, String value)Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
removeInputVariableMapping(String key)
public RemoteA2aConfig.Builder removeInputVariableMapping(String key)Optional. Mapping of input variable names of remote agent to GECX variable names.
map<string, string> input_variable_mapping = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
removeOutputVariableMapping(String key)
public RemoteA2aConfig.Builder removeOutputVariableMapping(String key)Optional. Mapping of output variable names of remote agent to GECX variable names.
map<string, string> output_variable_mapping = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
setAgentCard(AgentCard value)
public RemoteA2aConfig.Builder setAgentCard(AgentCard value)Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCard |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
setAgentCard(AgentCard.Builder builderForValue)
public RemoteA2aConfig.Builder setAgentCard(AgentCard.Builder builderForValue)Optional. The full agent card defined inline.
.google.cloud.ces.v1beta.AgentCard agent_card = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCard.Builder |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
setAgentRegistry(String value)
public RemoteA2aConfig.Builder setAgentRegistry(String value) Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe agentRegistry to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
setAgentRegistryBytes(ByteString value)
public RemoteA2aConfig.Builder setAgentRegistryBytes(ByteString value) Optional. Reference to the agent in the Agent Registry.
Format: projects/{project}/locations/{location}/agents/{agent}
string agent_registry = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for agentRegistry to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
setApiAuthentication(ApiAuthentication value)
public RemoteA2aConfig.Builder setApiAuthentication(ApiAuthentication value)Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ApiAuthentication |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
setApiAuthentication(ApiAuthentication.Builder builderForValue)
public RemoteA2aConfig.Builder setApiAuthentication(ApiAuthentication.Builder builderForValue)Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ApiAuthentication.Builder |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
|
setContextId(String value)
public RemoteA2aConfig.Builder setContextId(String value) Optional. If not empty, interactions with the remote A2A agent will use
this context ID. This context_id field can refer to a session variable like
$context.variables.order_agent_session_id.
string context_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contextId to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
setContextIdBytes(ByteString value)
public RemoteA2aConfig.Builder setContextIdBytes(ByteString value) Optional. If not empty, interactions with the remote A2A agent will use
this context ID. This context_id field can refer to a session variable like
$context.variables.order_agent_session_id.
string context_id = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contextId to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |
setStreamingEnabled(boolean value)
public RemoteA2aConfig.Builder setStreamingEnabled(boolean value)Optional. Whether streaming is enabled for the remote agent.
bool streaming_enabled = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe streamingEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
RemoteA2aConfig.Builder |
This builder for chaining. |