public static final class AgentCard.Builder extends GeneratedMessage.Builder<AgentCard.Builder> implements AgentCardOrBuilderAgentCard conveys key information about an agent.
Protobuf type google.cloud.geminidataanalytics.v1beta.AgentCard
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCard.BuilderImplements
AgentCardOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdditionalInterfaces(AgentInterface value)
public AgentCard.Builder addAdditionalInterfaces(AgentInterface value)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentInterface |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAdditionalInterfaces(AgentInterface.Builder builderForValue)
public AgentCard.Builder addAdditionalInterfaces(AgentInterface.Builder builderForValue)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAdditionalInterfaces(int index, AgentInterface value)
public AgentCard.Builder addAdditionalInterfaces(int index, AgentInterface value)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentInterface |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)
public AgentCard.Builder addAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAdditionalInterfacesBuilder()
public AgentInterface.Builder addAdditionalInterfacesBuilder()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentInterface.Builder |
|
addAdditionalInterfacesBuilder(int index)
public AgentInterface.Builder addAdditionalInterfacesBuilder(int index)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentInterface.Builder |
|
addAllAdditionalInterfaces(Iterable<? extends AgentInterface> values)
public AgentCard.Builder addAllAdditionalInterfaces(Iterable<? extends AgentInterface> values)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.AgentInterface> |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAllDefaultInputModes(Iterable<String> values)
public AgentCard.Builder addAllDefaultInputModes(Iterable<String> values)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The defaultInputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addAllDefaultOutputModes(Iterable<String> values)
public AgentCard.Builder addAllDefaultOutputModes(Iterable<String> values)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The defaultOutputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addAllSecurity(Iterable<? extends Security> values)
public AgentCard.Builder addAllSecurity(Iterable<? extends Security> values)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Security> |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAllSignatures(Iterable<? extends AgentCardSignature> values)
public AgentCard.Builder addAllSignatures(Iterable<? extends AgentCardSignature> values)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.AgentCardSignature> |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addAllSkills(Iterable<? extends AgentSkill> values)
public AgentCard.Builder addAllSkills(Iterable<? extends AgentSkill> values)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.AgentSkill> |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addDefaultInputModes(String value)
public AgentCard.Builder addDefaultInputModes(String value)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultInputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addDefaultInputModesBytes(ByteString value)
public AgentCard.Builder addDefaultInputModesBytes(ByteString value)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the defaultInputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addDefaultOutputModes(String value)
public AgentCard.Builder addDefaultOutputModes(String value)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultOutputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addDefaultOutputModesBytes(ByteString value)
public AgentCard.Builder addDefaultOutputModesBytes(ByteString value)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the defaultOutputModes to add. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
addSecurity(Security value)
public AgentCard.Builder addSecurity(Security value)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Security |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSecurity(Security.Builder builderForValue)
public AgentCard.Builder addSecurity(Security.Builder builderForValue)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Security.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSecurity(int index, Security value)
public AgentCard.Builder addSecurity(int index, Security value)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Security |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSecurity(int index, Security.Builder builderForValue)
public AgentCard.Builder addSecurity(int index, Security.Builder builderForValue)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Security.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSecurityBuilder()
public Security.Builder addSecurityBuilder()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
Security.Builder |
|
addSecurityBuilder(int index)
public Security.Builder addSecurityBuilder(int index)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Security.Builder |
|
addSignatures(AgentCardSignature value)
public AgentCard.Builder addSignatures(AgentCardSignature value)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCardSignature |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSignatures(AgentCardSignature.Builder builderForValue)
public AgentCard.Builder addSignatures(AgentCardSignature.Builder builderForValue)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCardSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSignatures(int index, AgentCardSignature value)
public AgentCard.Builder addSignatures(int index, AgentCardSignature value)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentCardSignature |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSignatures(int index, AgentCardSignature.Builder builderForValue)
public AgentCard.Builder addSignatures(int index, AgentCardSignature.Builder builderForValue)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentCardSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSignaturesBuilder()
public AgentCardSignature.Builder addSignaturesBuilder()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCardSignature.Builder |
|
addSignaturesBuilder(int index)
public AgentCardSignature.Builder addSignaturesBuilder(int index)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCardSignature.Builder |
|
addSkills(AgentSkill value)
public AgentCard.Builder addSkills(AgentSkill value)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentSkill |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSkills(AgentSkill.Builder builderForValue)
public AgentCard.Builder addSkills(AgentSkill.Builder builderForValue)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSkills(int index, AgentSkill value)
public AgentCard.Builder addSkills(int index, AgentSkill value)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentSkill |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSkills(int index, AgentSkill.Builder builderForValue)
public AgentCard.Builder addSkills(int index, AgentSkill.Builder builderForValue)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
addSkillsBuilder()
public AgentSkill.Builder addSkillsBuilder()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentSkill.Builder |
|
addSkillsBuilder(int index)
public AgentSkill.Builder addSkillsBuilder(int index)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentSkill.Builder |
|
build()
public AgentCard build()| Returns | |
|---|---|
| Type | Description |
AgentCard |
|
buildPartial()
public AgentCard buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentCard |
|
clear()
public AgentCard.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearAdditionalInterfaces()
public AgentCard.Builder clearAdditionalInterfaces()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearCapabilities()
public AgentCard.Builder clearCapabilities()Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearDefaultInputModes()
public AgentCard.Builder clearDefaultInputModes()Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearDefaultOutputModes()
public AgentCard.Builder clearDefaultOutputModes()Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearDescription()
public AgentCard.Builder clearDescription()Optional. A description of the agent's domain of action/solution space.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearDocumentationUrl()
public AgentCard.Builder clearDocumentationUrl()Optional. A url to provide additional documentation about the agent.
string documentation_url = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearIconUrl()
public AgentCard.Builder clearIconUrl()Optional. An optional URL to an icon for the agent.
string icon_url = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearName()
public AgentCard.Builder clearName()Optional. A human readable name for the agent.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearPreferredTransport()
public AgentCard.Builder clearPreferredTransport()Optional. The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearProtocolVersion()
public AgentCard.Builder clearProtocolVersion()Optional. The version of the A2A protocol this agent supports.
string protocol_version = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearProvider()
public AgentCard.Builder clearProvider()Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearSecurity()
public AgentCard.Builder clearSecurity()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearSecuritySchemes()
public AgentCard.Builder clearSecuritySchemes()| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearSignatures()
public AgentCard.Builder clearSignatures()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearSkills()
public AgentCard.Builder clearSkills()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
clearSupportsAuthenticatedExtendedCard()
public AgentCard.Builder clearSupportsAuthenticatedExtendedCard()Optional. Whether the agent supports providing an extended agent card when the user is authenticated.
bool supports_authenticated_extended_card = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearUrl()
public AgentCard.Builder clearUrl()Optional. A URL to the address the agent is hosted at.
string url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
clearVersion()
public AgentCard.Builder clearVersion()Optional. The version of the agent.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
containsSecuritySchemes(String key)
public boolean containsSecuritySchemes(String key)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdditionalInterfaces(int index)
public AgentInterface getAdditionalInterfaces(int index)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentInterface |
|
getAdditionalInterfacesBuilder(int index)
public AgentInterface.Builder getAdditionalInterfacesBuilder(int index)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentInterface.Builder |
|
getAdditionalInterfacesBuilderList()
public List<AgentInterface.Builder> getAdditionalInterfacesBuilderList()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAdditionalInterfacesCount()
public int getAdditionalInterfacesCount()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAdditionalInterfacesList()
public List<AgentInterface> getAdditionalInterfacesList()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AgentInterface> |
|
getAdditionalInterfacesOrBuilder(int index)
public AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder(int index)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentInterfaceOrBuilder |
|
getAdditionalInterfacesOrBuilderList()
public List<? extends AgentInterfaceOrBuilder> getAdditionalInterfacesOrBuilderList()Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.AgentInterfaceOrBuilder> |
|
getCapabilities()
public AgentCapabilities getCapabilities()Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities |
The capabilities. |
getCapabilitiesBuilder()
public AgentCapabilities.Builder getCapabilitiesBuilder()Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilities.Builder |
|
getCapabilitiesOrBuilder()
public AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder()Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentCapabilitiesOrBuilder |
|
getDefaultInputModes(int index)
public String getDefaultInputModes(int index)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The defaultInputModes at the given index. |
getDefaultInputModesBytes(int index)
public ByteString getDefaultInputModesBytes(int index)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the defaultInputModes at the given index. |
getDefaultInputModesCount()
public int getDefaultInputModesCount()Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of defaultInputModes. |
getDefaultInputModesList()
public ProtocolStringList getDefaultInputModesList()Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the defaultInputModes. |
getDefaultInstanceForType()
public AgentCard getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentCard |
|
getDefaultOutputModes(int index)
public String getDefaultOutputModes(int index)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The defaultOutputModes at the given index. |
getDefaultOutputModesBytes(int index)
public ByteString getDefaultOutputModesBytes(int index)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the defaultOutputModes at the given index. |
getDefaultOutputModesCount()
public int getDefaultOutputModesCount()Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of defaultOutputModes. |
getDefaultOutputModesList()
public ProtocolStringList getDefaultOutputModesList()Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the defaultOutputModes. |
getDescription()
public String getDescription()Optional. A description of the agent's domain of action/solution space.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. A description of the agent's domain of action/solution space.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDocumentationUrl()
public String getDocumentationUrl()Optional. A url to provide additional documentation about the agent.
string documentation_url = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The documentationUrl. |
getDocumentationUrlBytes()
public ByteString getDocumentationUrlBytes()Optional. A url to provide additional documentation about the agent.
string documentation_url = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for documentationUrl. |
getIconUrl()
public String getIconUrl()Optional. An optional URL to an icon for the agent.
string icon_url = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The iconUrl. |
getIconUrlBytes()
public ByteString getIconUrlBytes()Optional. An optional URL to an icon for the agent.
string icon_url = 18 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for iconUrl. |
getMutableSecuritySchemes() (deprecated)
public Map<String,SecurityScheme> getMutableSecuritySchemes()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SecurityScheme> |
|
getName()
public String getName()Optional. A human readable name for the agent.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. A human readable name for the agent.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPreferredTransport()
public String getPreferredTransport()Optional. The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The preferredTransport. |
getPreferredTransportBytes()
public ByteString getPreferredTransportBytes()Optional. The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for preferredTransport. |
getProtocolVersion()
public String getProtocolVersion()Optional. The version of the A2A protocol this agent supports.
string protocol_version = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The protocolVersion. |
getProtocolVersionBytes()
public ByteString getProtocolVersionBytes()Optional. The version of the A2A protocol this agent supports.
string protocol_version = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for protocolVersion. |
getProvider()
public AgentProvider getProvider()Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentProvider |
The provider. |
getProviderBuilder()
public AgentProvider.Builder getProviderBuilder()Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentProvider.Builder |
|
getProviderOrBuilder()
public AgentProviderOrBuilder getProviderOrBuilder()Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AgentProviderOrBuilder |
|
getSecurity(int index)
public Security getSecurity(int index)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Security |
|
getSecurityBuilder(int index)
public Security.Builder getSecurityBuilder(int index)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Security.Builder |
|
getSecurityBuilderList()
public List<Security.Builder> getSecurityBuilderList()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSecurityCount()
public int getSecurityCount()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSecurityList()
public List<Security> getSecurityList()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
List<Security> |
|
getSecurityOrBuilder(int index)
public SecurityOrBuilder getSecurityOrBuilder(int index)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SecurityOrBuilder |
|
getSecurityOrBuilderList()
public List<? extends SecurityOrBuilder> getSecurityOrBuilderList()Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.SecurityOrBuilder> |
|
getSecuritySchemes() (deprecated)
public Map<String,SecurityScheme> getSecuritySchemes()Use #getSecuritySchemesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,SecurityScheme> |
|
getSecuritySchemesCount()
public int getSecuritySchemesCount()The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSecuritySchemesMap()
public Map<String,SecurityScheme> getSecuritySchemesMap()The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Returns | |
|---|---|
| Type | Description |
Map<String,SecurityScheme> |
|
getSecuritySchemesOrDefault(String key, SecurityScheme defaultValue)
public SecurityScheme getSecuritySchemesOrDefault(String key, SecurityScheme defaultValue)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
SecurityScheme |
| Returns | |
|---|---|
| Type | Description |
SecurityScheme |
|
getSecuritySchemesOrThrow(String key)
public SecurityScheme getSecuritySchemesOrThrow(String key)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SecurityScheme |
|
getSignatures(int index)
public AgentCardSignature getSignatures(int index)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCardSignature |
|
getSignaturesBuilder(int index)
public AgentCardSignature.Builder getSignaturesBuilder(int index)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCardSignature.Builder |
|
getSignaturesBuilderList()
public List<AgentCardSignature.Builder> getSignaturesBuilderList()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSignaturesCount()
public int getSignaturesCount()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignaturesList()
public List<AgentCardSignature> getSignaturesList()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AgentCardSignature> |
|
getSignaturesOrBuilder(int index)
public AgentCardSignatureOrBuilder getSignaturesOrBuilder(int index)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCardSignatureOrBuilder |
|
getSignaturesOrBuilderList()
public List<? extends AgentCardSignatureOrBuilder> getSignaturesOrBuilderList()Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.AgentCardSignatureOrBuilder> |
|
getSkills(int index)
public AgentSkill getSkills(int index)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentSkill |
|
getSkillsBuilder(int index)
public AgentSkill.Builder getSkillsBuilder(int index)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentSkill.Builder |
|
getSkillsBuilderList()
public List<AgentSkill.Builder> getSkillsBuilderList()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSkillsCount()
public int getSkillsCount()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSkillsList()
public List<AgentSkill> getSkillsList()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AgentSkill> |
|
getSkillsOrBuilder(int index)
public AgentSkillOrBuilder getSkillsOrBuilder(int index)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentSkillOrBuilder |
|
getSkillsOrBuilderList()
public List<? extends AgentSkillOrBuilder> getSkillsOrBuilderList()Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.AgentSkillOrBuilder> |
|
getSupportsAuthenticatedExtendedCard()
public boolean getSupportsAuthenticatedExtendedCard()Optional. Whether the agent supports providing an extended agent card when the user is authenticated.
bool supports_authenticated_extended_card = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The supportsAuthenticatedExtendedCard. |
getUrl()
public String getUrl()Optional. A URL to the address the agent is hosted at.
string url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Optional. A URL to the address the agent is hosted at.
string url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
getVersion()
public String getVersion()Optional. The version of the agent.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()Optional. The version of the agent.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
hasCapabilities()
public boolean hasCapabilities()Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the capabilities field is set. |
hasProvider()
public boolean hasProvider()Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the provider 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 |
|
mergeCapabilities(AgentCapabilities value)
public AgentCard.Builder mergeCapabilities(AgentCapabilities value)Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCapabilities |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
mergeFrom(AgentCard other)
public AgentCard.Builder mergeFrom(AgentCard other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentCard |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentCard.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
mergeProvider(AgentProvider value)
public AgentCard.Builder mergeProvider(AgentProvider value)Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentProvider |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
putAllSecuritySchemes(Map<String,SecurityScheme> values)
public AgentCard.Builder putAllSecuritySchemes(Map<String,SecurityScheme> values)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,SecurityScheme> |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
putSecuritySchemes(String key, SecurityScheme value)
public AgentCard.Builder putSecuritySchemes(String key, SecurityScheme value)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
SecurityScheme |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
putSecuritySchemesBuilderIfAbsent(String key)
public SecurityScheme.Builder putSecuritySchemesBuilderIfAbsent(String key)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SecurityScheme.Builder |
|
removeAdditionalInterfaces(int index)
public AgentCard.Builder removeAdditionalInterfaces(int index)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
removeSecurity(int index)
public AgentCard.Builder removeSecurity(int index)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
removeSecuritySchemes(String key)
public AgentCard.Builder removeSecuritySchemes(String key)The security scheme details used for authenticating with this agent.
map<string, .google.cloud.geminidataanalytics.v1beta.SecurityScheme> security_schemes = 8;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
removeSignatures(int index)
public AgentCard.Builder removeSignatures(int index)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
removeSkills(int index)
public AgentCard.Builder removeSkills(int index)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setAdditionalInterfaces(int index, AgentInterface value)
public AgentCard.Builder setAdditionalInterfaces(int index, AgentInterface value)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentInterface |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)
public AgentCard.Builder setAdditionalInterfaces(int index, AgentInterface.Builder builderForValue)Optional. Announcement of additional supported transports.
repeated .google.cloud.geminidataanalytics.v1beta.AgentInterface additional_interfaces = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setCapabilities(AgentCapabilities value)
public AgentCard.Builder setCapabilities(AgentCapabilities value)Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCapabilities |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setCapabilities(AgentCapabilities.Builder builderForValue)
public AgentCard.Builder setCapabilities(AgentCapabilities.Builder builderForValue)Optional. A2A Capability set supported by the agent.
.google.cloud.geminidataanalytics.v1beta.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCapabilities.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setDefaultInputModes(int index, String value)
public AgentCard.Builder setDefaultInputModes(int index, String value)Optional. The set of interaction modes that the agent supports across all skills.
repeated string default_input_modes = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe defaultInputModes to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setDefaultOutputModes(int index, String value)
public AgentCard.Builder setDefaultOutputModes(int index, String value)Optional. The mime types supported as outputs from this agent.
repeated string default_output_modes = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe defaultOutputModes to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setDescription(String value)
public AgentCard.Builder setDescription(String value)Optional. A description of the agent's domain of action/solution space.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public AgentCard.Builder setDescriptionBytes(ByteString value)Optional. A description of the agent's domain of action/solution space.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setDocumentationUrl(String value)
public AgentCard.Builder setDocumentationUrl(String value)Optional. A url to provide additional documentation about the agent.
string documentation_url = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe documentationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setDocumentationUrlBytes(ByteString value)
public AgentCard.Builder setDocumentationUrlBytes(ByteString value)Optional. A url to provide additional documentation about the agent.
string documentation_url = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for documentationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setIconUrl(String value)
public AgentCard.Builder setIconUrl(String value)Optional. An optional URL to an icon for the agent.
string icon_url = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe iconUrl to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setIconUrlBytes(ByteString value)
public AgentCard.Builder setIconUrlBytes(ByteString value)Optional. An optional URL to an icon for the agent.
string icon_url = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for iconUrl to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setName(String value)
public AgentCard.Builder setName(String value)Optional. A human readable name for the agent.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AgentCard.Builder setNameBytes(ByteString value)Optional. A human readable name for the agent.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setPreferredTransport(String value)
public AgentCard.Builder setPreferredTransport(String value)Optional. The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe preferredTransport to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setPreferredTransportBytes(ByteString value)
public AgentCard.Builder setPreferredTransportBytes(ByteString value)Optional. The transport of the preferred endpoint. If empty, defaults to JSONRPC.
string preferred_transport = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for preferredTransport to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setProtocolVersion(String value)
public AgentCard.Builder setProtocolVersion(String value)Optional. The version of the A2A protocol this agent supports.
string protocol_version = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe protocolVersion to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setProtocolVersionBytes(ByteString value)
public AgentCard.Builder setProtocolVersionBytes(ByteString value)Optional. The version of the A2A protocol this agent supports.
string protocol_version = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for protocolVersion to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setProvider(AgentProvider value)
public AgentCard.Builder setProvider(AgentProvider value)Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentProvider |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setProvider(AgentProvider.Builder builderForValue)
public AgentCard.Builder setProvider(AgentProvider.Builder builderForValue)Optional. The service provider of the agent.
.google.cloud.geminidataanalytics.v1beta.AgentProvider provider = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentProvider.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSecurity(int index, Security value)
public AgentCard.Builder setSecurity(int index, Security value)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Security |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSecurity(int index, Security.Builder builderForValue)
public AgentCard.Builder setSecurity(int index, Security.Builder builderForValue)Security requirements for contacting the agent.
repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Security.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSignatures(int index, AgentCardSignature value)
public AgentCard.Builder setSignatures(int index, AgentCardSignature value)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentCardSignature |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSignatures(int index, AgentCardSignature.Builder builderForValue)
public AgentCard.Builder setSignatures(int index, AgentCardSignature.Builder builderForValue)Optional. JSON Web Signatures computed for this AgentCard.
repeated .google.cloud.geminidataanalytics.v1beta.AgentCardSignature signatures = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentCardSignature.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSkills(int index, AgentSkill value)
public AgentCard.Builder setSkills(int index, AgentSkill value)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AgentSkill |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSkills(int index, AgentSkill.Builder builderForValue)
public AgentCard.Builder setSkills(int index, AgentSkill.Builder builderForValue)Optional. Skills represent a unit of ability an agent can perform.
repeated .google.cloud.geminidataanalytics.v1beta.AgentSkill skills = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AgentSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
|
setSupportsAuthenticatedExtendedCard(boolean value)
public AgentCard.Builder setSupportsAuthenticatedExtendedCard(boolean value)Optional. Whether the agent supports providing an extended agent card when the user is authenticated.
bool supports_authenticated_extended_card = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe supportsAuthenticatedExtendedCard to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setUrl(String value)
public AgentCard.Builder setUrl(String value)Optional. A URL to the address the agent is hosted at.
string url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public AgentCard.Builder setUrlBytes(ByteString value)Optional. A URL to the address the agent is hosted at.
string url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setVersion(String value)
public AgentCard.Builder setVersion(String value)Optional. The version of the agent.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public AgentCard.Builder setVersionBytes(ByteString value)Optional. The version of the agent.
string version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
AgentCard.Builder |
This builder for chaining. |