Class RemoteA2aConfig (0.19.0)

public final class RemoteA2aConfig extends GeneratedMessage implements RemoteA2aConfigOrBuilder

Shared configuration for connecting to a remote A2A agent.

Protobuf type google.cloud.ces.v1beta.RemoteA2aConfig

Static Fields

AGENT_CARD_FIELD_NUMBER

public static final int AGENT_CARD_FIELD_NUMBER
Field Value
Type Description
int

AGENT_REGISTRY_FIELD_NUMBER

public static final int AGENT_REGISTRY_FIELD_NUMBER
Field Value
Type Description
int

API_AUTHENTICATION_FIELD_NUMBER

public static final int API_AUTHENTICATION_FIELD_NUMBER
Field Value
Type Description
int

CONTEXT_ID_FIELD_NUMBER

public static final int CONTEXT_ID_FIELD_NUMBER
Field Value
Type Description
int

INPUT_VARIABLE_MAPPING_FIELD_NUMBER

public static final int INPUT_VARIABLE_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_VARIABLE_MAPPING_FIELD_NUMBER

public static final int OUTPUT_VARIABLE_MAPPING_FIELD_NUMBER
Field Value
Type Description
int

STREAMING_ENABLED_FIELD_NUMBER

public static final int STREAMING_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RemoteA2aConfig getDefaultInstance()
Returns
Type Description
RemoteA2aConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RemoteA2aConfig.Builder newBuilder()
Returns
Type Description
RemoteA2aConfig.Builder

newBuilder(RemoteA2aConfig prototype)

public static RemoteA2aConfig.Builder newBuilder(RemoteA2aConfig prototype)
Parameter
Name Description
prototype RemoteA2aConfig
Returns
Type Description
RemoteA2aConfig.Builder

parseDelimitedFrom(InputStream input)

public static RemoteA2aConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RemoteA2aConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RemoteA2aConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RemoteA2aConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RemoteA2aConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RemoteA2aConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RemoteA2aConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RemoteA2aConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RemoteA2aConfig> parser()
Returns
Type Description
Parser<RemoteA2aConfig>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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

getInputVariableMapping() (deprecated)

public Map<String,String> getInputVariableMapping()
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

getOutputVariableMapping() (deprecated)

public Map<String,String> getOutputVariableMapping()
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

getParserForType()

public Parser<RemoteA2aConfig> getParserForType()
Returns
Type Description
Parser<RemoteA2aConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RemoteA2aConfig.Builder newBuilderForType()
Returns
Type Description
RemoteA2aConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected RemoteA2aConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RemoteA2aConfig.Builder
Overrides

toBuilder()

public RemoteA2aConfig.Builder toBuilder()
Returns
Type Description
RemoteA2aConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException