public final class RemoteA2aConfig extends GeneratedMessage implements RemoteA2aConfigOrBuilder
Shared configuration for connecting to a remote
A2A agent.
Protobuf type google.cloud.ces.v1beta.RemoteA2aConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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 |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RemoteA2aConfig.Builder newBuilder()
newBuilder(RemoteA2aConfig prototype)
public static RemoteA2aConfig.Builder newBuilder(RemoteA2aConfig prototype)
public static RemoteA2aConfig parseDelimitedFrom(InputStream input)
public static RemoteA2aConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RemoteA2aConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RemoteA2aConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RemoteA2aConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoteA2aConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoteA2aConfig parseFrom(CodedInputStream input)
public static RemoteA2aConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteA2aConfig parseFrom(InputStream input)
public static RemoteA2aConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RemoteA2aConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RemoteA2aConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RemoteA2aConfig> parser()
Methods
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
|
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
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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()
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];
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];
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()
public Map<String,String> getInputVariableMapping()
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 |
|
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];
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];
| Returns |
| Type |
Description |
String |
|
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()
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];
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];
| 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()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public RemoteA2aConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RemoteA2aConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RemoteA2aConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides