Interface AgentCardOrBuilder (0.27.0)

public interface AgentCardOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSecuritySchemes(String key)

public abstract 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 abstract 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

getAdditionalInterfacesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getCapabilitiesOrBuilder()

public abstract 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 abstract 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 int

The index of the element to return.

Returns
Type Description
String

The defaultInputModes at the given index.

getDefaultInputModesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the defaultInputModes at the given index.

getDefaultInputModesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the defaultInputModes.

getDefaultOutputModes(int index)

public abstract 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 int

The index of the element to return.

Returns
Type Description
String

The defaultOutputModes at the given index.

getDefaultOutputModesBytes(int index)

public abstract 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 int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the defaultOutputModes at the given index.

getDefaultOutputModesCount()

public abstract 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 abstract List<String> 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
List<String>

A list containing the defaultOutputModes.

getDescription()

public abstract 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 abstract 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.

getDocumentationUrl()

public abstract 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 abstract 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 abstract 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 abstract 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.

getName()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getProviderOrBuilder()

public abstract 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 abstract 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

getSecurityCount()

public abstract int getSecurityCount()

Security requirements for contacting the agent.

repeated .google.cloud.geminidataanalytics.v1beta.Security security = 9;

Returns
Type Description
int

getSecurityList()

public abstract 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 abstract 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 abstract 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 abstract Map<String,SecurityScheme> getSecuritySchemes()
Returns
Type Description
Map<String,SecurityScheme>

getSecuritySchemesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getSignaturesCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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

getSkillsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract String getVersion()

Optional. The version of the agent.

string version = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The version.

getVersionBytes()

public abstract 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 abstract 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 abstract 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.