Package org.a2aproject.sdk.grpc
Interface AgentInterfaceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AgentInterface,AgentInterface.Builder
@Generated
public interface AgentInterfaceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe protocol binding supported at this URL.com.google.protobuf.ByteStringThe protocol binding supported at this URL.The version of the A2A protocol this interface exposes.com.google.protobuf.ByteStringThe version of the A2A protocol this interface exposes.Tenant ID to be used in the request when calling the agent.com.google.protobuf.ByteStringTenant ID to be used in the request when calling the agent.getUrl()The URL where this interface is available.com.google.protobuf.ByteStringThe URL where this interface is available.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUrl
String getUrl()The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
string url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
string url = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for url.
-
getProtocolBinding
String getProtocolBinding()The protocol binding supported at this URL. This is an open form string, to be easily extended for other protocol bindings. The core ones officially supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
string protocol_binding = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The protocolBinding.
-
getProtocolBindingBytes
com.google.protobuf.ByteString getProtocolBindingBytes()The protocol binding supported at this URL. This is an open form string, to be easily extended for other protocol bindings. The core ones officially supported are `JSONRPC`, `GRPC` and `HTTP+JSON`.
string protocol_binding = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for protocolBinding.
-
getTenant
String getTenant()Tenant ID to be used in the request when calling the agent.
string tenant = 3;- Returns:
- The tenant.
-
getTenantBytes
com.google.protobuf.ByteString getTenantBytes()Tenant ID to be used in the request when calling the agent.
string tenant = 3;- Returns:
- The bytes for tenant.
-
getProtocolVersion
String getProtocolVersion()The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
string protocol_version = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The protocolVersion.
-
getProtocolVersionBytes
com.google.protobuf.ByteString getProtocolVersionBytes()The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
string protocol_version = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for protocolVersion.
-