public final class RemoteAgentTool extends GeneratedMessage implements RemoteAgentToolOrBuilder
Represents a tool that allows the agent to call another remote agent.
Protobuf type google.cloud.ces.v1beta.RemoteAgentTool
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
public static final int AGENT_CARD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int API_AUTHENTICATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int INPUT_VARIABLE_MAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OUTPUT_VARIABLE_MAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int STATEFUL_AGENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static RemoteAgentTool getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RemoteAgentTool.Builder newBuilder()
public static RemoteAgentTool.Builder newBuilder(RemoteAgentTool prototype)
public static RemoteAgentTool parseDelimitedFrom(InputStream input)
public static RemoteAgentTool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteAgentTool parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static RemoteAgentTool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RemoteAgentTool parseFrom(ByteString data)
public static RemoteAgentTool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RemoteAgentTool parseFrom(CodedInputStream input)
public static RemoteAgentTool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteAgentTool parseFrom(InputStream input)
public static RemoteAgentTool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RemoteAgentTool parseFrom(ByteBuffer data)
public static RemoteAgentTool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RemoteAgentTool> 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
public 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
|
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public AgentCard getAgentCard()
Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
AgentCard |
The agentCard.
|
public AgentCardOrBuilder getAgentCardOrBuilder()
Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
public ApiAuthentication getApiAuthentication()
Optional. Authentication configuration for calling the remote agent.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
public ApiAuthenticationOrBuilder getApiAuthenticationOrBuilder()
Optional. Authentication configuration for calling the remote agent.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
public RemoteAgentTool getDefaultInstanceForType()
public String getDescription()
Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
Required. The description of the tool.
string description = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
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 = 6 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the tool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
public Map<String,String> getOutputVariableMapping()
public 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 |
|
public 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];
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 = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
public 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 |
|
public Parser<RemoteAgentTool> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public 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.
|
public boolean hasAgentCard()
Required. The agent card of the remote agent that this tool invokes.
.google.cloud.ces.v1beta.AgentCard agent_card = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the agentCard field is set.
|
public boolean hasApiAuthentication()
Optional. Authentication configuration for calling the remote agent.
.google.cloud.ces.v1beta.ApiAuthentication api_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the apiAuthentication field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public RemoteAgentTool.Builder newBuilderForType()
protected RemoteAgentTool.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public RemoteAgentTool.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides