Interface Agent.ProtocolOrBuilder (0.2.0)

public static interface Agent.ProtocolOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterfaces(int index)

public abstract Interface getInterfaces(int index)

Output only. The connection details for the Agent.

repeated .google.cloud.agentregistry.v1.Interface interfaces = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Interface

getInterfacesCount()

public abstract int getInterfacesCount()

Output only. The connection details for the Agent.

repeated .google.cloud.agentregistry.v1.Interface interfaces = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getInterfacesList()

public abstract List<Interface> getInterfacesList()

Output only. The connection details for the Agent.

repeated .google.cloud.agentregistry.v1.Interface interfaces = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Interface>

getInterfacesOrBuilder(int index)

public abstract InterfaceOrBuilder getInterfacesOrBuilder(int index)

Output only. The connection details for the Agent.

repeated .google.cloud.agentregistry.v1.Interface interfaces = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
InterfaceOrBuilder

getInterfacesOrBuilderList()

public abstract List<? extends InterfaceOrBuilder> getInterfacesOrBuilderList()

Output only. The connection details for the Agent.

repeated .google.cloud.agentregistry.v1.Interface interfaces = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.agentregistry.v1.InterfaceOrBuilder>

getProtocolVersion()

public abstract String getProtocolVersion()

Output only. The version of the protocol, for example, the A2A Agent Card version.

string protocol_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The protocolVersion.

getProtocolVersionBytes()

public abstract ByteString getProtocolVersionBytes()

Output only. The version of the protocol, for example, the A2A Agent Card version.

string protocol_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for protocolVersion.

getType()

public abstract Agent.Protocol.Type getType()

Output only. The type of the protocol.

.google.cloud.agentregistry.v1.Agent.Protocol.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Agent.Protocol.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. The type of the protocol.

.google.cloud.agentregistry.v1.Agent.Protocol.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.