Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterA2AServiceServer(s grpc.ServiceRegistrar, srv A2AServiceServer)
- type A2AServiceClient
- type A2AServiceServer
- type A2AService_SendStreamingMessageClient
- type A2AService_SendStreamingMessageServer
- type A2AService_SubscribeToTaskClient
- type A2AService_SubscribeToTaskServer
- type APIKeySecurityScheme
- func (*APIKeySecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *APIKeySecurityScheme) GetDescription() string
- func (x *APIKeySecurityScheme) GetLocation() string
- func (x *APIKeySecurityScheme) GetName() string
- func (*APIKeySecurityScheme) ProtoMessage()
- func (x *APIKeySecurityScheme) ProtoReflect() protoreflect.Message
- func (x *APIKeySecurityScheme) Reset()
- func (x *APIKeySecurityScheme) String() string
- type AgentCapabilities
- func (*AgentCapabilities) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCapabilities) GetExtendedAgentCard() bool
- func (x *AgentCapabilities) GetExtensions() []*AgentExtension
- func (x *AgentCapabilities) GetPushNotifications() bool
- func (x *AgentCapabilities) GetStreaming() bool
- func (*AgentCapabilities) ProtoMessage()
- func (x *AgentCapabilities) ProtoReflect() protoreflect.Message
- func (x *AgentCapabilities) Reset()
- func (x *AgentCapabilities) String() string
- type AgentCard
- func (*AgentCard) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCard) GetCapabilities() *AgentCapabilities
- func (x *AgentCard) GetDefaultInputModes() []string
- func (x *AgentCard) GetDefaultOutputModes() []string
- func (x *AgentCard) GetDescription() string
- func (x *AgentCard) GetDocumentationUrl() string
- func (x *AgentCard) GetIconUrl() string
- func (x *AgentCard) GetName() string
- func (x *AgentCard) GetProvider() *AgentProvider
- func (x *AgentCard) GetSecurityRequirements() []*SecurityRequirement
- func (x *AgentCard) GetSecuritySchemes() map[string]*SecurityScheme
- func (x *AgentCard) GetSignatures() []*AgentCardSignature
- func (x *AgentCard) GetSkills() []*AgentSkill
- func (x *AgentCard) GetSupportedInterfaces() []*AgentInterface
- func (x *AgentCard) GetVersion() string
- func (*AgentCard) ProtoMessage()
- func (x *AgentCard) ProtoReflect() protoreflect.Message
- func (x *AgentCard) Reset()
- func (x *AgentCard) String() string
- type AgentCardSignature
- func (*AgentCardSignature) Descriptor() ([]byte, []int)deprecated
- func (x *AgentCardSignature) GetHeader() *structpb.Struct
- func (x *AgentCardSignature) GetProtected() string
- func (x *AgentCardSignature) GetSignature() string
- func (*AgentCardSignature) ProtoMessage()
- func (x *AgentCardSignature) ProtoReflect() protoreflect.Message
- func (x *AgentCardSignature) Reset()
- func (x *AgentCardSignature) String() string
- type AgentExtension
- func (*AgentExtension) Descriptor() ([]byte, []int)deprecated
- func (x *AgentExtension) GetDescription() string
- func (x *AgentExtension) GetParams() *structpb.Struct
- func (x *AgentExtension) GetRequired() bool
- func (x *AgentExtension) GetUri() string
- func (*AgentExtension) ProtoMessage()
- func (x *AgentExtension) ProtoReflect() protoreflect.Message
- func (x *AgentExtension) Reset()
- func (x *AgentExtension) String() string
- type AgentInterface
- func (*AgentInterface) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInterface) GetProtocolBinding() string
- func (x *AgentInterface) GetProtocolVersion() string
- func (x *AgentInterface) GetTenant() string
- func (x *AgentInterface) GetUrl() string
- func (*AgentInterface) ProtoMessage()
- func (x *AgentInterface) ProtoReflect() protoreflect.Message
- func (x *AgentInterface) Reset()
- func (x *AgentInterface) String() string
- type AgentProvider
- func (*AgentProvider) Descriptor() ([]byte, []int)deprecated
- func (x *AgentProvider) GetOrganization() string
- func (x *AgentProvider) GetUrl() string
- func (*AgentProvider) ProtoMessage()
- func (x *AgentProvider) ProtoReflect() protoreflect.Message
- func (x *AgentProvider) Reset()
- func (x *AgentProvider) String() string
- type AgentSkill
- func (*AgentSkill) Descriptor() ([]byte, []int)deprecated
- func (x *AgentSkill) GetDescription() string
- func (x *AgentSkill) GetExamples() []string
- func (x *AgentSkill) GetId() string
- func (x *AgentSkill) GetInputModes() []string
- func (x *AgentSkill) GetName() string
- func (x *AgentSkill) GetOutputModes() []string
- func (x *AgentSkill) GetSecurityRequirements() []*SecurityRequirement
- func (x *AgentSkill) GetTags() []string
- func (*AgentSkill) ProtoMessage()
- func (x *AgentSkill) ProtoReflect() protoreflect.Message
- func (x *AgentSkill) Reset()
- func (x *AgentSkill) String() string
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetArtifactId() string
- func (x *Artifact) GetDescription() string
- func (x *Artifact) GetExtensions() []string
- func (x *Artifact) GetMetadata() *structpb.Struct
- func (x *Artifact) GetName() string
- func (x *Artifact) GetParts() []*Part
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type AuthenticationInfo
- func (*AuthenticationInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticationInfo) GetCredentials() string
- func (x *AuthenticationInfo) GetScheme() string
- func (*AuthenticationInfo) ProtoMessage()
- func (x *AuthenticationInfo) ProtoReflect() protoreflect.Message
- func (x *AuthenticationInfo) Reset()
- func (x *AuthenticationInfo) String() string
- type AuthorizationCodeOAuthFlow
- func (*AuthorizationCodeOAuthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationCodeOAuthFlow) GetAuthorizationUrl() string
- func (x *AuthorizationCodeOAuthFlow) GetPkceRequired() bool
- func (x *AuthorizationCodeOAuthFlow) GetRefreshUrl() string
- func (x *AuthorizationCodeOAuthFlow) GetScopes() map[string]string
- func (x *AuthorizationCodeOAuthFlow) GetTokenUrl() string
- func (*AuthorizationCodeOAuthFlow) ProtoMessage()
- func (x *AuthorizationCodeOAuthFlow) ProtoReflect() protoreflect.Message
- func (x *AuthorizationCodeOAuthFlow) Reset()
- func (x *AuthorizationCodeOAuthFlow) String() string
- type CancelTaskRequest
- func (*CancelTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTaskRequest) GetId() string
- func (x *CancelTaskRequest) GetMetadata() *structpb.Struct
- func (x *CancelTaskRequest) GetTenant() string
- func (*CancelTaskRequest) ProtoMessage()
- func (x *CancelTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTaskRequest) Reset()
- func (x *CancelTaskRequest) String() string
- type ClientCredentialsOAuthFlow
- func (*ClientCredentialsOAuthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *ClientCredentialsOAuthFlow) GetRefreshUrl() string
- func (x *ClientCredentialsOAuthFlow) GetScopes() map[string]string
- func (x *ClientCredentialsOAuthFlow) GetTokenUrl() string
- func (*ClientCredentialsOAuthFlow) ProtoMessage()
- func (x *ClientCredentialsOAuthFlow) ProtoReflect() protoreflect.Message
- func (x *ClientCredentialsOAuthFlow) Reset()
- func (x *ClientCredentialsOAuthFlow) String() string
- type DeleteTaskPushNotificationConfigRequest
- func (*DeleteTaskPushNotificationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTaskPushNotificationConfigRequest) GetId() string
- func (x *DeleteTaskPushNotificationConfigRequest) GetTaskId() string
- func (x *DeleteTaskPushNotificationConfigRequest) GetTenant() string
- func (*DeleteTaskPushNotificationConfigRequest) ProtoMessage()
- func (x *DeleteTaskPushNotificationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTaskPushNotificationConfigRequest) Reset()
- func (x *DeleteTaskPushNotificationConfigRequest) String() string
- type DeviceCodeOAuthFlow
- func (*DeviceCodeOAuthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCodeOAuthFlow) GetDeviceAuthorizationUrl() string
- func (x *DeviceCodeOAuthFlow) GetRefreshUrl() string
- func (x *DeviceCodeOAuthFlow) GetScopes() map[string]string
- func (x *DeviceCodeOAuthFlow) GetTokenUrl() string
- func (*DeviceCodeOAuthFlow) ProtoMessage()
- func (x *DeviceCodeOAuthFlow) ProtoReflect() protoreflect.Message
- func (x *DeviceCodeOAuthFlow) Reset()
- func (x *DeviceCodeOAuthFlow) String() string
- type GetExtendedAgentCardRequest
- func (*GetExtendedAgentCardRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExtendedAgentCardRequest) GetTenant() string
- func (*GetExtendedAgentCardRequest) ProtoMessage()
- func (x *GetExtendedAgentCardRequest) ProtoReflect() protoreflect.Message
- func (x *GetExtendedAgentCardRequest) Reset()
- func (x *GetExtendedAgentCardRequest) String() string
- type GetTaskPushNotificationConfigRequest
- func (*GetTaskPushNotificationConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskPushNotificationConfigRequest) GetId() string
- func (x *GetTaskPushNotificationConfigRequest) GetTaskId() string
- func (x *GetTaskPushNotificationConfigRequest) GetTenant() string
- func (*GetTaskPushNotificationConfigRequest) ProtoMessage()
- func (x *GetTaskPushNotificationConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetTaskPushNotificationConfigRequest) Reset()
- func (x *GetTaskPushNotificationConfigRequest) String() string
- type GetTaskRequest
- func (*GetTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTaskRequest) GetHistoryLength() int32
- func (x *GetTaskRequest) GetId() string
- func (x *GetTaskRequest) GetTenant() string
- func (*GetTaskRequest) ProtoMessage()
- func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
- func (x *GetTaskRequest) Reset()
- func (x *GetTaskRequest) String() string
- type HTTPAuthSecurityScheme
- func (*HTTPAuthSecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPAuthSecurityScheme) GetBearerFormat() string
- func (x *HTTPAuthSecurityScheme) GetDescription() string
- func (x *HTTPAuthSecurityScheme) GetScheme() string
- func (*HTTPAuthSecurityScheme) ProtoMessage()
- func (x *HTTPAuthSecurityScheme) ProtoReflect() protoreflect.Message
- func (x *HTTPAuthSecurityScheme) Reset()
- func (x *HTTPAuthSecurityScheme) String() string
- type ImplicitOAuthFlowdeprecated
- func (*ImplicitOAuthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *ImplicitOAuthFlow) GetAuthorizationUrl() string
- func (x *ImplicitOAuthFlow) GetRefreshUrl() string
- func (x *ImplicitOAuthFlow) GetScopes() map[string]string
- func (*ImplicitOAuthFlow) ProtoMessage()
- func (x *ImplicitOAuthFlow) ProtoReflect() protoreflect.Message
- func (x *ImplicitOAuthFlow) Reset()
- func (x *ImplicitOAuthFlow) String() string
- type ListTaskPushNotificationConfigsRequest
- func (*ListTaskPushNotificationConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskPushNotificationConfigsRequest) GetPageSize() int32
- func (x *ListTaskPushNotificationConfigsRequest) GetPageToken() string
- func (x *ListTaskPushNotificationConfigsRequest) GetTaskId() string
- func (x *ListTaskPushNotificationConfigsRequest) GetTenant() string
- func (*ListTaskPushNotificationConfigsRequest) ProtoMessage()
- func (x *ListTaskPushNotificationConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTaskPushNotificationConfigsRequest) Reset()
- func (x *ListTaskPushNotificationConfigsRequest) String() string
- type ListTaskPushNotificationConfigsResponse
- func (*ListTaskPushNotificationConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTaskPushNotificationConfigsResponse) GetConfigs() []*TaskPushNotificationConfig
- func (x *ListTaskPushNotificationConfigsResponse) GetNextPageToken() string
- func (*ListTaskPushNotificationConfigsResponse) ProtoMessage()
- func (x *ListTaskPushNotificationConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTaskPushNotificationConfigsResponse) Reset()
- func (x *ListTaskPushNotificationConfigsResponse) String() string
- type ListTasksRequest
- func (*ListTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksRequest) GetContextId() string
- func (x *ListTasksRequest) GetHistoryLength() int32
- func (x *ListTasksRequest) GetIncludeArtifacts() bool
- func (x *ListTasksRequest) GetPageSize() int32
- func (x *ListTasksRequest) GetPageToken() string
- func (x *ListTasksRequest) GetStatus() TaskState
- func (x *ListTasksRequest) GetStatusTimestampAfter() *timestamppb.Timestamp
- func (x *ListTasksRequest) GetTenant() string
- func (*ListTasksRequest) ProtoMessage()
- func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ListTasksRequest) Reset()
- func (x *ListTasksRequest) String() string
- type ListTasksResponse
- func (*ListTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksResponse) GetNextPageToken() string
- func (x *ListTasksResponse) GetPageSize() int32
- func (x *ListTasksResponse) GetTasks() []*Task
- func (x *ListTasksResponse) GetTotalSize() int32
- func (*ListTasksResponse) ProtoMessage()
- func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
- func (x *ListTasksResponse) Reset()
- func (x *ListTasksResponse) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetContextId() string
- func (x *Message) GetExtensions() []string
- func (x *Message) GetMessageId() string
- func (x *Message) GetMetadata() *structpb.Struct
- func (x *Message) GetParts() []*Part
- func (x *Message) GetReferenceTaskIds() []string
- func (x *Message) GetRole() Role
- func (x *Message) GetTaskId() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MutualTlsSecurityScheme
- func (*MutualTlsSecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *MutualTlsSecurityScheme) GetDescription() string
- func (*MutualTlsSecurityScheme) ProtoMessage()
- func (x *MutualTlsSecurityScheme) ProtoReflect() protoreflect.Message
- func (x *MutualTlsSecurityScheme) Reset()
- func (x *MutualTlsSecurityScheme) String() string
- type OAuth2SecurityScheme
- func (*OAuth2SecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *OAuth2SecurityScheme) GetDescription() string
- func (x *OAuth2SecurityScheme) GetFlows() *OAuthFlows
- func (x *OAuth2SecurityScheme) GetOauth2MetadataUrl() string
- func (*OAuth2SecurityScheme) ProtoMessage()
- func (x *OAuth2SecurityScheme) ProtoReflect() protoreflect.Message
- func (x *OAuth2SecurityScheme) Reset()
- func (x *OAuth2SecurityScheme) String() string
- type OAuthFlows
- func (*OAuthFlows) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthFlows) GetAuthorizationCode() *AuthorizationCodeOAuthFlow
- func (x *OAuthFlows) GetClientCredentials() *ClientCredentialsOAuthFlow
- func (x *OAuthFlows) GetDeviceCode() *DeviceCodeOAuthFlow
- func (x *OAuthFlows) GetFlow() isOAuthFlows_Flow
- func (x *OAuthFlows) GetImplicit() *ImplicitOAuthFlowdeprecated
- func (x *OAuthFlows) GetPassword() *PasswordOAuthFlowdeprecated
- func (*OAuthFlows) ProtoMessage()
- func (x *OAuthFlows) ProtoReflect() protoreflect.Message
- func (x *OAuthFlows) Reset()
- func (x *OAuthFlows) String() string
- type OAuthFlows_AuthorizationCode
- type OAuthFlows_ClientCredentials
- type OAuthFlows_DeviceCode
- type OAuthFlows_Implicit
- type OAuthFlows_Password
- type OpenIdConnectSecurityScheme
- func (*OpenIdConnectSecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *OpenIdConnectSecurityScheme) GetDescription() string
- func (x *OpenIdConnectSecurityScheme) GetOpenIdConnectUrl() string
- func (*OpenIdConnectSecurityScheme) ProtoMessage()
- func (x *OpenIdConnectSecurityScheme) ProtoReflect() protoreflect.Message
- func (x *OpenIdConnectSecurityScheme) Reset()
- func (x *OpenIdConnectSecurityScheme) String() string
- type Part
- func (*Part) Descriptor() ([]byte, []int)deprecated
- func (x *Part) GetContent() isPart_Content
- func (x *Part) GetData() *structpb.Value
- func (x *Part) GetFilename() string
- func (x *Part) GetMediaType() string
- func (x *Part) GetMetadata() *structpb.Struct
- func (x *Part) GetRaw() []byte
- func (x *Part) GetText() string
- func (x *Part) GetUrl() string
- func (*Part) ProtoMessage()
- func (x *Part) ProtoReflect() protoreflect.Message
- func (x *Part) Reset()
- func (x *Part) String() string
- type Part_Data
- type Part_Raw
- type Part_Text
- type Part_Url
- type PasswordOAuthFlowdeprecated
- func (*PasswordOAuthFlow) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordOAuthFlow) GetRefreshUrl() string
- func (x *PasswordOAuthFlow) GetScopes() map[string]string
- func (x *PasswordOAuthFlow) GetTokenUrl() string
- func (*PasswordOAuthFlow) ProtoMessage()
- func (x *PasswordOAuthFlow) ProtoReflect() protoreflect.Message
- func (x *PasswordOAuthFlow) Reset()
- func (x *PasswordOAuthFlow) String() string
- type Role
- type SecurityRequirement
- func (*SecurityRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityRequirement) GetSchemes() map[string]*StringList
- func (*SecurityRequirement) ProtoMessage()
- func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
- func (x *SecurityRequirement) Reset()
- func (x *SecurityRequirement) String() string
- type SecurityScheme
- func (*SecurityScheme) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityScheme) GetApiKeySecurityScheme() *APIKeySecurityScheme
- func (x *SecurityScheme) GetHttpAuthSecurityScheme() *HTTPAuthSecurityScheme
- func (x *SecurityScheme) GetMtlsSecurityScheme() *MutualTlsSecurityScheme
- func (x *SecurityScheme) GetOauth2SecurityScheme() *OAuth2SecurityScheme
- func (x *SecurityScheme) GetOpenIdConnectSecurityScheme() *OpenIdConnectSecurityScheme
- func (x *SecurityScheme) GetScheme() isSecurityScheme_Scheme
- func (*SecurityScheme) ProtoMessage()
- func (x *SecurityScheme) ProtoReflect() protoreflect.Message
- func (x *SecurityScheme) Reset()
- func (x *SecurityScheme) String() string
- type SecurityScheme_ApiKeySecurityScheme
- type SecurityScheme_HttpAuthSecurityScheme
- type SecurityScheme_MtlsSecurityScheme
- type SecurityScheme_Oauth2SecurityScheme
- type SecurityScheme_OpenIdConnectSecurityScheme
- type SendMessageConfiguration
- func (*SendMessageConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageConfiguration) GetAcceptedOutputModes() []string
- func (x *SendMessageConfiguration) GetHistoryLength() int32
- func (x *SendMessageConfiguration) GetReturnImmediately() bool
- func (x *SendMessageConfiguration) GetTaskPushNotificationConfig() *TaskPushNotificationConfig
- func (*SendMessageConfiguration) ProtoMessage()
- func (x *SendMessageConfiguration) ProtoReflect() protoreflect.Message
- func (x *SendMessageConfiguration) Reset()
- func (x *SendMessageConfiguration) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetConfiguration() *SendMessageConfiguration
- func (x *SendMessageRequest) GetMessage() *Message
- func (x *SendMessageRequest) GetMetadata() *structpb.Struct
- func (x *SendMessageRequest) GetTenant() string
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetMessage() *Message
- func (x *SendMessageResponse) GetPayload() isSendMessageResponse_Payload
- func (x *SendMessageResponse) GetTask() *Task
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- type SendMessageResponse_Message
- type SendMessageResponse_Task
- type StreamResponse
- func (*StreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamResponse) GetArtifactUpdate() *TaskArtifactUpdateEvent
- func (x *StreamResponse) GetMessage() *Message
- func (x *StreamResponse) GetPayload() isStreamResponse_Payload
- func (x *StreamResponse) GetStatusUpdate() *TaskStatusUpdateEvent
- func (x *StreamResponse) GetTask() *Task
- func (*StreamResponse) ProtoMessage()
- func (x *StreamResponse) ProtoReflect() protoreflect.Message
- func (x *StreamResponse) Reset()
- func (x *StreamResponse) String() string
- type StreamResponse_ArtifactUpdate
- type StreamResponse_Message
- type StreamResponse_StatusUpdate
- type StreamResponse_Task
- type StringList
- type SubscribeToTaskRequest
- func (*SubscribeToTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeToTaskRequest) GetId() string
- func (x *SubscribeToTaskRequest) GetTenant() string
- func (*SubscribeToTaskRequest) ProtoMessage()
- func (x *SubscribeToTaskRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeToTaskRequest) Reset()
- func (x *SubscribeToTaskRequest) String() string
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetArtifacts() []*Artifact
- func (x *Task) GetContextId() string
- func (x *Task) GetHistory() []*Message
- func (x *Task) GetId() string
- func (x *Task) GetMetadata() *structpb.Struct
- func (x *Task) GetStatus() *TaskStatus
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskArtifactUpdateEvent
- func (*TaskArtifactUpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TaskArtifactUpdateEvent) GetAppend() bool
- func (x *TaskArtifactUpdateEvent) GetArtifact() *Artifact
- func (x *TaskArtifactUpdateEvent) GetContextId() string
- func (x *TaskArtifactUpdateEvent) GetLastChunk() bool
- func (x *TaskArtifactUpdateEvent) GetMetadata() *structpb.Struct
- func (x *TaskArtifactUpdateEvent) GetTaskId() string
- func (*TaskArtifactUpdateEvent) ProtoMessage()
- func (x *TaskArtifactUpdateEvent) ProtoReflect() protoreflect.Message
- func (x *TaskArtifactUpdateEvent) Reset()
- func (x *TaskArtifactUpdateEvent) String() string
- type TaskPushNotificationConfig
- func (*TaskPushNotificationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TaskPushNotificationConfig) GetAuthentication() *AuthenticationInfo
- func (x *TaskPushNotificationConfig) GetId() string
- func (x *TaskPushNotificationConfig) GetTaskId() string
- func (x *TaskPushNotificationConfig) GetTenant() string
- func (x *TaskPushNotificationConfig) GetToken() string
- func (x *TaskPushNotificationConfig) GetUrl() string
- func (*TaskPushNotificationConfig) ProtoMessage()
- func (x *TaskPushNotificationConfig) ProtoReflect() protoreflect.Message
- func (x *TaskPushNotificationConfig) Reset()
- func (x *TaskPushNotificationConfig) String() string
- type TaskState
- type TaskStatus
- func (*TaskStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TaskStatus) GetMessage() *Message
- func (x *TaskStatus) GetState() TaskState
- func (x *TaskStatus) GetTimestamp() *timestamppb.Timestamp
- func (*TaskStatus) ProtoMessage()
- func (x *TaskStatus) ProtoReflect() protoreflect.Message
- func (x *TaskStatus) Reset()
- func (x *TaskStatus) String() string
- type TaskStatusUpdateEvent
- func (*TaskStatusUpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TaskStatusUpdateEvent) GetContextId() string
- func (x *TaskStatusUpdateEvent) GetMetadata() *structpb.Struct
- func (x *TaskStatusUpdateEvent) GetStatus() *TaskStatus
- func (x *TaskStatusUpdateEvent) GetTaskId() string
- func (*TaskStatusUpdateEvent) ProtoMessage()
- func (x *TaskStatusUpdateEvent) ProtoReflect() protoreflect.Message
- func (x *TaskStatusUpdateEvent) Reset()
- func (x *TaskStatusUpdateEvent) String() string
- type UnimplementedA2AServiceServer
- func (UnimplementedA2AServiceServer) CancelTask(context.Context, *CancelTaskRequest) (*Task, error)
- func (UnimplementedA2AServiceServer) CreateTaskPushNotificationConfig(context.Context, *TaskPushNotificationConfig) (*TaskPushNotificationConfig, error)
- func (UnimplementedA2AServiceServer) DeleteTaskPushNotificationConfig(context.Context, *DeleteTaskPushNotificationConfigRequest) (*emptypb.Empty, error)
- func (UnimplementedA2AServiceServer) GetExtendedAgentCard(context.Context, *GetExtendedAgentCardRequest) (*AgentCard, error)
- func (UnimplementedA2AServiceServer) GetTask(context.Context, *GetTaskRequest) (*Task, error)
- func (UnimplementedA2AServiceServer) GetTaskPushNotificationConfig(context.Context, *GetTaskPushNotificationConfigRequest) (*TaskPushNotificationConfig, error)
- func (UnimplementedA2AServiceServer) ListTaskPushNotificationConfigs(context.Context, *ListTaskPushNotificationConfigsRequest) (*ListTaskPushNotificationConfigsResponse, error)
- func (UnimplementedA2AServiceServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
- func (UnimplementedA2AServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (UnimplementedA2AServiceServer) SendStreamingMessage(*SendMessageRequest, grpc.ServerStreamingServer[StreamResponse]) error
- func (UnimplementedA2AServiceServer) SubscribeToTask(*SubscribeToTaskRequest, grpc.ServerStreamingServer[StreamResponse]) error
- type UnsafeA2AServiceServer
Constants ¶
const ( A2AService_SendMessage_FullMethodName = "/lf.a2a.v1.A2AService/SendMessage" A2AService_SendStreamingMessage_FullMethodName = "/lf.a2a.v1.A2AService/SendStreamingMessage" A2AService_GetTask_FullMethodName = "/lf.a2a.v1.A2AService/GetTask" A2AService_ListTasks_FullMethodName = "/lf.a2a.v1.A2AService/ListTasks" A2AService_CancelTask_FullMethodName = "/lf.a2a.v1.A2AService/CancelTask" A2AService_SubscribeToTask_FullMethodName = "/lf.a2a.v1.A2AService/SubscribeToTask" A2AService_CreateTaskPushNotificationConfig_FullMethodName = "/lf.a2a.v1.A2AService/CreateTaskPushNotificationConfig" A2AService_GetTaskPushNotificationConfig_FullMethodName = "/lf.a2a.v1.A2AService/GetTaskPushNotificationConfig" A2AService_ListTaskPushNotificationConfigs_FullMethodName = "/lf.a2a.v1.A2AService/ListTaskPushNotificationConfigs" A2AService_GetExtendedAgentCard_FullMethodName = "/lf.a2a.v1.A2AService/GetExtendedAgentCard" A2AService_DeleteTaskPushNotificationConfig_FullMethodName = "/lf.a2a.v1.A2AService/DeleteTaskPushNotificationConfig" )
Variables ¶
var ( TaskState_name = map[int32]string{ 0: "TASK_STATE_UNSPECIFIED", 1: "TASK_STATE_SUBMITTED", 2: "TASK_STATE_WORKING", 3: "TASK_STATE_COMPLETED", 4: "TASK_STATE_FAILED", 5: "TASK_STATE_CANCELED", 6: "TASK_STATE_INPUT_REQUIRED", 7: "TASK_STATE_REJECTED", 8: "TASK_STATE_AUTH_REQUIRED", } TaskState_value = map[string]int32{ "TASK_STATE_UNSPECIFIED": 0, "TASK_STATE_SUBMITTED": 1, "TASK_STATE_WORKING": 2, "TASK_STATE_COMPLETED": 3, "TASK_STATE_FAILED": 4, "TASK_STATE_CANCELED": 5, "TASK_STATE_INPUT_REQUIRED": 6, "TASK_STATE_REJECTED": 7, "TASK_STATE_AUTH_REQUIRED": 8, } )
Enum value maps for TaskState.
var ( Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "ROLE_USER", 2: "ROLE_AGENT", } Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "ROLE_USER": 1, "ROLE_AGENT": 2, } )
Enum value maps for Role.
var A2AService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lf.a2a.v1.A2AService", HandlerType: (*A2AServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendMessage", Handler: _A2AService_SendMessage_Handler, }, { MethodName: "GetTask", Handler: _A2AService_GetTask_Handler, }, { MethodName: "ListTasks", Handler: _A2AService_ListTasks_Handler, }, { MethodName: "CancelTask", Handler: _A2AService_CancelTask_Handler, }, { MethodName: "CreateTaskPushNotificationConfig", Handler: _A2AService_CreateTaskPushNotificationConfig_Handler, }, { MethodName: "GetTaskPushNotificationConfig", Handler: _A2AService_GetTaskPushNotificationConfig_Handler, }, { MethodName: "ListTaskPushNotificationConfigs", Handler: _A2AService_ListTaskPushNotificationConfigs_Handler, }, { MethodName: "GetExtendedAgentCard", Handler: _A2AService_GetExtendedAgentCard_Handler, }, { MethodName: "DeleteTaskPushNotificationConfig", Handler: _A2AService_DeleteTaskPushNotificationConfig_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SendStreamingMessage", Handler: _A2AService_SendStreamingMessage_Handler, ServerStreams: true, }, { StreamName: "SubscribeToTask", Handler: _A2AService_SubscribeToTask_Handler, ServerStreams: true, }, }, Metadata: "a2a/v1/a2a.proto", }
A2AService_ServiceDesc is the grpc.ServiceDesc for A2AService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_a2a_v1_a2a_proto protoreflect.FileDescriptor
Functions ¶
func RegisterA2AServiceServer ¶
func RegisterA2AServiceServer(s grpc.ServiceRegistrar, srv A2AServiceServer)
Types ¶
type A2AServiceClient ¶
type A2AServiceClient interface {
// Sends a message to an agent.
SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
// Sends a streaming message to an agent, allowing for real-time interaction and status updates.
// Streaming version of `SendMessage`
SendStreamingMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamResponse], error)
// Gets the latest state of a task.
GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error)
// Lists tasks that match the specified filter.
ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
// Cancels a task in progress.
CancelTask(ctx context.Context, in *CancelTaskRequest, opts ...grpc.CallOption) (*Task, error)
// Subscribes to task updates for tasks not in a terminal state.
// Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected).
SubscribeToTask(ctx context.Context, in *SubscribeToTaskRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StreamResponse], error)
// (-- api-linter: client-libraries::4232::required-fields=disabled
//
// api-linter: core::0133::method-signature=disabled
// api-linter: core::0133::request-message-name=disabled
// aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
//
// Creates a push notification config for a task.
CreateTaskPushNotificationConfig(ctx context.Context, in *TaskPushNotificationConfig, opts ...grpc.CallOption) (*TaskPushNotificationConfig, error)
// Gets a push notification config for a task.
GetTaskPushNotificationConfig(ctx context.Context, in *GetTaskPushNotificationConfigRequest, opts ...grpc.CallOption) (*TaskPushNotificationConfig, error)
// Get a list of push notifications configured for a task.
ListTaskPushNotificationConfigs(ctx context.Context, in *ListTaskPushNotificationConfigsRequest, opts ...grpc.CallOption) (*ListTaskPushNotificationConfigsResponse, error)
// Gets the extended agent card for the authenticated agent.
GetExtendedAgentCard(ctx context.Context, in *GetExtendedAgentCardRequest, opts ...grpc.CallOption) (*AgentCard, error)
// Deletes a push notification config for a task.
DeleteTaskPushNotificationConfig(ctx context.Context, in *DeleteTaskPushNotificationConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
A2AServiceClient is the client API for A2AService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Provides operations for interacting with agents using the A2A protocol.
func NewA2AServiceClient ¶
func NewA2AServiceClient(cc grpc.ClientConnInterface) A2AServiceClient
type A2AServiceServer ¶
type A2AServiceServer interface {
// Sends a message to an agent.
SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
// Sends a streaming message to an agent, allowing for real-time interaction and status updates.
// Streaming version of `SendMessage`
SendStreamingMessage(*SendMessageRequest, grpc.ServerStreamingServer[StreamResponse]) error
// Gets the latest state of a task.
GetTask(context.Context, *GetTaskRequest) (*Task, error)
// Lists tasks that match the specified filter.
ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
// Cancels a task in progress.
CancelTask(context.Context, *CancelTaskRequest) (*Task, error)
// Subscribes to task updates for tasks not in a terminal state.
// Returns `UnsupportedOperationError` if the task is already in a terminal state (completed, failed, canceled, rejected).
SubscribeToTask(*SubscribeToTaskRequest, grpc.ServerStreamingServer[StreamResponse]) error
// (-- api-linter: client-libraries::4232::required-fields=disabled
//
// api-linter: core::0133::method-signature=disabled
// api-linter: core::0133::request-message-name=disabled
// aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
//
// Creates a push notification config for a task.
CreateTaskPushNotificationConfig(context.Context, *TaskPushNotificationConfig) (*TaskPushNotificationConfig, error)
// Gets a push notification config for a task.
GetTaskPushNotificationConfig(context.Context, *GetTaskPushNotificationConfigRequest) (*TaskPushNotificationConfig, error)
// Get a list of push notifications configured for a task.
ListTaskPushNotificationConfigs(context.Context, *ListTaskPushNotificationConfigsRequest) (*ListTaskPushNotificationConfigsResponse, error)
// Gets the extended agent card for the authenticated agent.
GetExtendedAgentCard(context.Context, *GetExtendedAgentCardRequest) (*AgentCard, error)
// Deletes a push notification config for a task.
DeleteTaskPushNotificationConfig(context.Context, *DeleteTaskPushNotificationConfigRequest) (*emptypb.Empty, error)
// contains filtered or unexported methods
}
A2AServiceServer is the server API for A2AService service. All implementations must embed UnimplementedA2AServiceServer for forward compatibility.
Provides operations for interacting with agents using the A2A protocol.
type A2AService_SendStreamingMessageClient ¶
type A2AService_SendStreamingMessageClient = grpc.ServerStreamingClient[StreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type A2AService_SendStreamingMessageServer ¶
type A2AService_SendStreamingMessageServer = grpc.ServerStreamingServer[StreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type A2AService_SubscribeToTaskClient ¶
type A2AService_SubscribeToTaskClient = grpc.ServerStreamingClient[StreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type A2AService_SubscribeToTaskServer ¶
type A2AService_SubscribeToTaskServer = grpc.ServerStreamingServer[StreamResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type APIKeySecurityScheme ¶
type APIKeySecurityScheme struct {
// An optional description for the security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The location of the API key. Valid values are "query", "header", or "cookie".
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// The name of the header, query, or cookie parameter to be used.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Defines a security scheme using an API key.
func (*APIKeySecurityScheme) Descriptor
deprecated
func (*APIKeySecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use APIKeySecurityScheme.ProtoReflect.Descriptor instead.
func (*APIKeySecurityScheme) GetDescription ¶
func (x *APIKeySecurityScheme) GetDescription() string
func (*APIKeySecurityScheme) GetLocation ¶
func (x *APIKeySecurityScheme) GetLocation() string
func (*APIKeySecurityScheme) GetName ¶
func (x *APIKeySecurityScheme) GetName() string
func (*APIKeySecurityScheme) ProtoMessage ¶
func (*APIKeySecurityScheme) ProtoMessage()
func (*APIKeySecurityScheme) ProtoReflect ¶
func (x *APIKeySecurityScheme) ProtoReflect() protoreflect.Message
func (*APIKeySecurityScheme) Reset ¶
func (x *APIKeySecurityScheme) Reset()
func (*APIKeySecurityScheme) String ¶
func (x *APIKeySecurityScheme) String() string
type AgentCapabilities ¶
type AgentCapabilities struct {
// Indicates if the agent supports streaming responses.
Streaming *bool `protobuf:"varint,1,opt,name=streaming,proto3,oneof" json:"streaming,omitempty"`
// Indicates if the agent supports sending push notifications for asynchronous task updates.
PushNotifications *bool `protobuf:"varint,2,opt,name=push_notifications,json=pushNotifications,proto3,oneof" json:"push_notifications,omitempty"`
// A list of protocol extensions supported by the agent.
Extensions []*AgentExtension `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"`
// Indicates if the agent supports providing an extended agent card when authenticated.
ExtendedAgentCard *bool `protobuf:"varint,4,opt,name=extended_agent_card,json=extendedAgentCard,proto3,oneof" json:"extended_agent_card,omitempty"`
// contains filtered or unexported fields
}
Defines optional capabilities supported by an agent.
func (*AgentCapabilities) Descriptor
deprecated
func (*AgentCapabilities) Descriptor() ([]byte, []int)
Deprecated: Use AgentCapabilities.ProtoReflect.Descriptor instead.
func (*AgentCapabilities) GetExtendedAgentCard ¶
func (x *AgentCapabilities) GetExtendedAgentCard() bool
func (*AgentCapabilities) GetExtensions ¶
func (x *AgentCapabilities) GetExtensions() []*AgentExtension
func (*AgentCapabilities) GetPushNotifications ¶
func (x *AgentCapabilities) GetPushNotifications() bool
func (*AgentCapabilities) GetStreaming ¶
func (x *AgentCapabilities) GetStreaming() bool
func (*AgentCapabilities) ProtoMessage ¶
func (*AgentCapabilities) ProtoMessage()
func (*AgentCapabilities) ProtoReflect ¶
func (x *AgentCapabilities) ProtoReflect() protoreflect.Message
func (*AgentCapabilities) Reset ¶
func (x *AgentCapabilities) Reset()
func (*AgentCapabilities) String ¶
func (x *AgentCapabilities) String() string
type AgentCard ¶
type AgentCard struct {
// A human readable name for the agent.
// Example: "Recipe Agent"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A human-readable description of the agent, assisting users and other agents
// in understanding its purpose.
// Example: "Agent that helps users with recipes and cooking."
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Ordered list of supported interfaces. The first entry is preferred.
SupportedInterfaces []*AgentInterface `protobuf:"bytes,3,rep,name=supported_interfaces,json=supportedInterfaces,proto3" json:"supported_interfaces,omitempty"`
// The service provider of the agent.
Provider *AgentProvider `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
// The version of the agent.
// Example: "1.0.0"
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
// A URL providing additional documentation about the agent.
DocumentationUrl *string `protobuf:"bytes,6,opt,name=documentation_url,json=documentationUrl,proto3,oneof" json:"documentation_url,omitempty"`
// A2A Capability set supported by the agent.
Capabilities *AgentCapabilities `protobuf:"bytes,7,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
// The security scheme details used for authenticating with this agent.
SecuritySchemes map[string]*SecurityScheme `` /* 180-byte string literal not displayed */
// Security requirements for contacting the agent.
SecurityRequirements []*SecurityRequirement `protobuf:"bytes,9,rep,name=security_requirements,json=securityRequirements,proto3" json:"security_requirements,omitempty"`
// protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
// The set of interaction modes that the agent supports across all skills.
// This can be overridden per skill. Defined as media types.
DefaultInputModes []string `protobuf:"bytes,10,rep,name=default_input_modes,json=defaultInputModes,proto3" json:"default_input_modes,omitempty"`
// The media types supported as outputs from this agent.
DefaultOutputModes []string `protobuf:"bytes,11,rep,name=default_output_modes,json=defaultOutputModes,proto3" json:"default_output_modes,omitempty"`
// Skills represent the abilities of an agent.
// It is largely a descriptive concept but represents a more focused set of behaviors that the
// agent is likely to succeed at.
Skills []*AgentSkill `protobuf:"bytes,12,rep,name=skills,proto3" json:"skills,omitempty"`
// JSON Web Signatures computed for this `AgentCard`.
Signatures []*AgentCardSignature `protobuf:"bytes,13,rep,name=signatures,proto3" json:"signatures,omitempty"`
// Optional. A URL to an icon for the agent.
IconUrl *string `protobuf:"bytes,14,opt,name=icon_url,json=iconUrl,proto3,oneof" json:"icon_url,omitempty"`
// contains filtered or unexported fields
}
A self-describing manifest for an agent. It provides essential metadata including the agent's identity, capabilities, skills, supported communication methods, and security requirements. Next ID: 20
func (*AgentCard) Descriptor
deprecated
func (*AgentCard) GetCapabilities ¶
func (x *AgentCard) GetCapabilities() *AgentCapabilities
func (*AgentCard) GetDefaultInputModes ¶
func (*AgentCard) GetDefaultOutputModes ¶
func (*AgentCard) GetDescription ¶
func (*AgentCard) GetDocumentationUrl ¶
func (*AgentCard) GetIconUrl ¶
func (*AgentCard) GetProvider ¶
func (x *AgentCard) GetProvider() *AgentProvider
func (*AgentCard) GetSecurityRequirements ¶
func (x *AgentCard) GetSecurityRequirements() []*SecurityRequirement
func (*AgentCard) GetSecuritySchemes ¶
func (x *AgentCard) GetSecuritySchemes() map[string]*SecurityScheme
func (*AgentCard) GetSignatures ¶
func (x *AgentCard) GetSignatures() []*AgentCardSignature
func (*AgentCard) GetSkills ¶
func (x *AgentCard) GetSkills() []*AgentSkill
func (*AgentCard) GetSupportedInterfaces ¶
func (x *AgentCard) GetSupportedInterfaces() []*AgentInterface
func (*AgentCard) GetVersion ¶
func (*AgentCard) ProtoMessage ¶
func (*AgentCard) ProtoMessage()
func (*AgentCard) ProtoReflect ¶
func (x *AgentCard) ProtoReflect() protoreflect.Message
type AgentCardSignature ¶
type AgentCardSignature struct {
// (-- api-linter: core::0140::reserved-words=disabled
//
// aip.dev/not-precedent: Backwards compatibility --)
//
// Required. The protected JWS header for the signature. This is always a
// base64url-encoded JSON object.
Protected string `protobuf:"bytes,1,opt,name=protected,proto3" json:"protected,omitempty"`
// Required. The computed signature, base64url-encoded.
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// The unprotected JWS header values.
Header *structpb.Struct `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}
AgentCardSignature represents a JWS signature of an AgentCard. This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
func (*AgentCardSignature) Descriptor
deprecated
func (*AgentCardSignature) Descriptor() ([]byte, []int)
Deprecated: Use AgentCardSignature.ProtoReflect.Descriptor instead.
func (*AgentCardSignature) GetHeader ¶
func (x *AgentCardSignature) GetHeader() *structpb.Struct
func (*AgentCardSignature) GetProtected ¶
func (x *AgentCardSignature) GetProtected() string
func (*AgentCardSignature) GetSignature ¶
func (x *AgentCardSignature) GetSignature() string
func (*AgentCardSignature) ProtoMessage ¶
func (*AgentCardSignature) ProtoMessage()
func (*AgentCardSignature) ProtoReflect ¶
func (x *AgentCardSignature) ProtoReflect() protoreflect.Message
func (*AgentCardSignature) Reset ¶
func (x *AgentCardSignature) Reset()
func (*AgentCardSignature) String ¶
func (x *AgentCardSignature) String() string
type AgentExtension ¶
type AgentExtension struct {
// The unique URI identifying the extension.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// A human-readable description of how this agent uses the extension.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// If true, the client must understand and comply with the extension's requirements.
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// Optional. Extension-specific configuration parameters.
Params *structpb.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}
A declaration of a protocol extension supported by an Agent.
func (*AgentExtension) Descriptor
deprecated
func (*AgentExtension) Descriptor() ([]byte, []int)
Deprecated: Use AgentExtension.ProtoReflect.Descriptor instead.
func (*AgentExtension) GetDescription ¶
func (x *AgentExtension) GetDescription() string
func (*AgentExtension) GetParams ¶
func (x *AgentExtension) GetParams() *structpb.Struct
func (*AgentExtension) GetRequired ¶
func (x *AgentExtension) GetRequired() bool
func (*AgentExtension) GetUri ¶
func (x *AgentExtension) GetUri() string
func (*AgentExtension) ProtoMessage ¶
func (*AgentExtension) ProtoMessage()
func (*AgentExtension) ProtoReflect ¶
func (x *AgentExtension) ProtoReflect() protoreflect.Message
func (*AgentExtension) Reset ¶
func (x *AgentExtension) Reset()
func (*AgentExtension) String ¶
func (x *AgentExtension) String() string
type AgentInterface ¶
type AgentInterface struct {
// 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"
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// 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`.
ProtocolBinding string `protobuf:"bytes,2,opt,name=protocol_binding,json=protocolBinding,proto3" json:"protocol_binding,omitempty"`
// Optional. An opaque string used for routing requests to a specific agent
// or tenant when multiple agents are served behind a single A2A endpoint.
// When set, clients MUST include this value in the `tenant` field of all
// request messages sent to this interface. The server is responsible for
// interpreting the value and routing requests accordingly; the protocol
// does not define its format or semantics.
Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The version of the A2A protocol this interface exposes.
// Use the latest supported minor version per major version.
// Examples: "0.3", "1.0"
ProtocolVersion string `protobuf:"bytes,4,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
// contains filtered or unexported fields
}
Declares a combination of a target URL, transport and protocol version for interacting with the agent. This allows agents to expose the same functionality over multiple protocol binding mechanisms.
func (*AgentInterface) Descriptor
deprecated
func (*AgentInterface) Descriptor() ([]byte, []int)
Deprecated: Use AgentInterface.ProtoReflect.Descriptor instead.
func (*AgentInterface) GetProtocolBinding ¶
func (x *AgentInterface) GetProtocolBinding() string
func (*AgentInterface) GetProtocolVersion ¶
func (x *AgentInterface) GetProtocolVersion() string
func (*AgentInterface) GetTenant ¶
func (x *AgentInterface) GetTenant() string
func (*AgentInterface) GetUrl ¶
func (x *AgentInterface) GetUrl() string
func (*AgentInterface) ProtoMessage ¶
func (*AgentInterface) ProtoMessage()
func (*AgentInterface) ProtoReflect ¶
func (x *AgentInterface) ProtoReflect() protoreflect.Message
func (*AgentInterface) Reset ¶
func (x *AgentInterface) Reset()
func (*AgentInterface) String ¶
func (x *AgentInterface) String() string
type AgentProvider ¶
type AgentProvider struct {
// A URL for the agent provider's website or relevant documentation.
// Example: "https://ai.google.dev"
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// The name of the agent provider's organization.
// Example: "Google"
Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
// contains filtered or unexported fields
}
Represents the service provider of an agent.
func (*AgentProvider) Descriptor
deprecated
func (*AgentProvider) Descriptor() ([]byte, []int)
Deprecated: Use AgentProvider.ProtoReflect.Descriptor instead.
func (*AgentProvider) GetOrganization ¶
func (x *AgentProvider) GetOrganization() string
func (*AgentProvider) GetUrl ¶
func (x *AgentProvider) GetUrl() string
func (*AgentProvider) ProtoMessage ¶
func (*AgentProvider) ProtoMessage()
func (*AgentProvider) ProtoReflect ¶
func (x *AgentProvider) ProtoReflect() protoreflect.Message
func (*AgentProvider) Reset ¶
func (x *AgentProvider) Reset()
func (*AgentProvider) String ¶
func (x *AgentProvider) String() string
type AgentSkill ¶
type AgentSkill struct {
// A unique identifier for the agent's skill.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// A human-readable name for the skill.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// A detailed description of the skill.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// A set of keywords describing the skill's capabilities.
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Example prompts or scenarios that this skill can handle.
Examples []string `protobuf:"bytes,5,rep,name=examples,proto3" json:"examples,omitempty"`
// The set of supported input media types for this skill, overriding the agent's defaults.
InputModes []string `protobuf:"bytes,6,rep,name=input_modes,json=inputModes,proto3" json:"input_modes,omitempty"`
// The set of supported output media types for this skill, overriding the agent's defaults.
OutputModes []string `protobuf:"bytes,7,rep,name=output_modes,json=outputModes,proto3" json:"output_modes,omitempty"`
// Security schemes necessary for this skill.
SecurityRequirements []*SecurityRequirement `protobuf:"bytes,8,rep,name=security_requirements,json=securityRequirements,proto3" json:"security_requirements,omitempty"`
// contains filtered or unexported fields
}
Represents a distinct capability or function that an agent can perform.
func (*AgentSkill) Descriptor
deprecated
func (*AgentSkill) Descriptor() ([]byte, []int)
Deprecated: Use AgentSkill.ProtoReflect.Descriptor instead.
func (*AgentSkill) GetDescription ¶
func (x *AgentSkill) GetDescription() string
func (*AgentSkill) GetExamples ¶
func (x *AgentSkill) GetExamples() []string
func (*AgentSkill) GetId ¶
func (x *AgentSkill) GetId() string
func (*AgentSkill) GetInputModes ¶
func (x *AgentSkill) GetInputModes() []string
func (*AgentSkill) GetName ¶
func (x *AgentSkill) GetName() string
func (*AgentSkill) GetOutputModes ¶
func (x *AgentSkill) GetOutputModes() []string
func (*AgentSkill) GetSecurityRequirements ¶
func (x *AgentSkill) GetSecurityRequirements() []*SecurityRequirement
func (*AgentSkill) GetTags ¶
func (x *AgentSkill) GetTags() []string
func (*AgentSkill) ProtoMessage ¶
func (*AgentSkill) ProtoMessage()
func (*AgentSkill) ProtoReflect ¶
func (x *AgentSkill) ProtoReflect() protoreflect.Message
func (*AgentSkill) Reset ¶
func (x *AgentSkill) Reset()
func (*AgentSkill) String ¶
func (x *AgentSkill) String() string
type Artifact ¶
type Artifact struct {
// Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
// A human readable name for the artifact.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A human readable description of the artifact.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// The content of the artifact. Must contain at least one part.
Parts []*Part `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts,omitempty"`
// Optional. Metadata included with the artifact.
Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The URIs of extensions that are present or contributed to this Artifact.
Extensions []string `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}
Artifacts represent task outputs.
func (*Artifact) Descriptor
deprecated
func (*Artifact) GetArtifactId ¶
func (*Artifact) GetDescription ¶
func (*Artifact) GetExtensions ¶
func (*Artifact) GetMetadata ¶
func (*Artifact) ProtoMessage ¶
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶
func (x *Artifact) ProtoReflect() protoreflect.Message
type AuthenticationInfo ¶
type AuthenticationInfo struct {
// HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
// Examples: `Bearer`, `Basic`, `Digest`.
// Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
// Push Notification credentials. Format depends on the scheme (e.g., token for Bearer).
Credentials string `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
Defines authentication details, used for push notifications.
func (*AuthenticationInfo) Descriptor
deprecated
func (*AuthenticationInfo) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticationInfo.ProtoReflect.Descriptor instead.
func (*AuthenticationInfo) GetCredentials ¶
func (x *AuthenticationInfo) GetCredentials() string
func (*AuthenticationInfo) GetScheme ¶
func (x *AuthenticationInfo) GetScheme() string
func (*AuthenticationInfo) ProtoMessage ¶
func (*AuthenticationInfo) ProtoMessage()
func (*AuthenticationInfo) ProtoReflect ¶
func (x *AuthenticationInfo) ProtoReflect() protoreflect.Message
func (*AuthenticationInfo) Reset ¶
func (x *AuthenticationInfo) Reset()
func (*AuthenticationInfo) String ¶
func (x *AuthenticationInfo) String() string
type AuthorizationCodeOAuthFlow ¶
type AuthorizationCodeOAuthFlow struct {
// The authorization URL to be used for this flow.
AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
// The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,3,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `` /* 139-byte string literal not displayed */
// Indicates if PKCE (RFC 7636) is required for this flow.
// PKCE should always be used for public clients and is recommended for all clients.
PkceRequired bool `protobuf:"varint,5,opt,name=pkce_required,json=pkceRequired,proto3" json:"pkce_required,omitempty"`
// contains filtered or unexported fields
}
Defines configuration details for the OAuth 2.0 Authorization Code flow.
func (*AuthorizationCodeOAuthFlow) Descriptor
deprecated
func (*AuthorizationCodeOAuthFlow) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationCodeOAuthFlow.ProtoReflect.Descriptor instead.
func (*AuthorizationCodeOAuthFlow) GetAuthorizationUrl ¶
func (x *AuthorizationCodeOAuthFlow) GetAuthorizationUrl() string
func (*AuthorizationCodeOAuthFlow) GetPkceRequired ¶
func (x *AuthorizationCodeOAuthFlow) GetPkceRequired() bool
func (*AuthorizationCodeOAuthFlow) GetRefreshUrl ¶
func (x *AuthorizationCodeOAuthFlow) GetRefreshUrl() string
func (*AuthorizationCodeOAuthFlow) GetScopes ¶
func (x *AuthorizationCodeOAuthFlow) GetScopes() map[string]string
func (*AuthorizationCodeOAuthFlow) GetTokenUrl ¶
func (x *AuthorizationCodeOAuthFlow) GetTokenUrl() string
func (*AuthorizationCodeOAuthFlow) ProtoMessage ¶
func (*AuthorizationCodeOAuthFlow) ProtoMessage()
func (*AuthorizationCodeOAuthFlow) ProtoReflect ¶
func (x *AuthorizationCodeOAuthFlow) ProtoReflect() protoreflect.Message
func (*AuthorizationCodeOAuthFlow) Reset ¶
func (x *AuthorizationCodeOAuthFlow) Reset()
func (*AuthorizationCodeOAuthFlow) String ¶
func (x *AuthorizationCodeOAuthFlow) String() string
type CancelTaskRequest ¶
type CancelTaskRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The resource ID of the task to cancel.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// A flexible key-value map for passing additional context or parameters.
Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `CancelTask` method.
func (*CancelTaskRequest) Descriptor
deprecated
func (*CancelTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTaskRequest.ProtoReflect.Descriptor instead.
func (*CancelTaskRequest) GetId ¶
func (x *CancelTaskRequest) GetId() string
func (*CancelTaskRequest) GetMetadata ¶
func (x *CancelTaskRequest) GetMetadata() *structpb.Struct
func (*CancelTaskRequest) GetTenant ¶
func (x *CancelTaskRequest) GetTenant() string
func (*CancelTaskRequest) ProtoMessage ¶
func (*CancelTaskRequest) ProtoMessage()
func (*CancelTaskRequest) ProtoReflect ¶
func (x *CancelTaskRequest) ProtoReflect() protoreflect.Message
func (*CancelTaskRequest) Reset ¶
func (x *CancelTaskRequest) Reset()
func (*CancelTaskRequest) String ¶
func (x *CancelTaskRequest) String() string
type ClientCredentialsOAuthFlow ¶
type ClientCredentialsOAuthFlow struct {
// The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,1,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Defines configuration details for the OAuth 2.0 Client Credentials flow.
func (*ClientCredentialsOAuthFlow) Descriptor
deprecated
func (*ClientCredentialsOAuthFlow) Descriptor() ([]byte, []int)
Deprecated: Use ClientCredentialsOAuthFlow.ProtoReflect.Descriptor instead.
func (*ClientCredentialsOAuthFlow) GetRefreshUrl ¶
func (x *ClientCredentialsOAuthFlow) GetRefreshUrl() string
func (*ClientCredentialsOAuthFlow) GetScopes ¶
func (x *ClientCredentialsOAuthFlow) GetScopes() map[string]string
func (*ClientCredentialsOAuthFlow) GetTokenUrl ¶
func (x *ClientCredentialsOAuthFlow) GetTokenUrl() string
func (*ClientCredentialsOAuthFlow) ProtoMessage ¶
func (*ClientCredentialsOAuthFlow) ProtoMessage()
func (*ClientCredentialsOAuthFlow) ProtoReflect ¶
func (x *ClientCredentialsOAuthFlow) ProtoReflect() protoreflect.Message
func (*ClientCredentialsOAuthFlow) Reset ¶
func (x *ClientCredentialsOAuthFlow) Reset()
func (*ClientCredentialsOAuthFlow) String ¶
func (x *ClientCredentialsOAuthFlow) String() string
type DeleteTaskPushNotificationConfigRequest ¶
type DeleteTaskPushNotificationConfigRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The parent task resource ID.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The resource ID of the configuration to delete.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `DeleteTaskPushNotificationConfig` method.
func (*DeleteTaskPushNotificationConfigRequest) Descriptor
deprecated
func (*DeleteTaskPushNotificationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTaskPushNotificationConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteTaskPushNotificationConfigRequest) GetId ¶
func (x *DeleteTaskPushNotificationConfigRequest) GetId() string
func (*DeleteTaskPushNotificationConfigRequest) GetTaskId ¶
func (x *DeleteTaskPushNotificationConfigRequest) GetTaskId() string
func (*DeleteTaskPushNotificationConfigRequest) GetTenant ¶
func (x *DeleteTaskPushNotificationConfigRequest) GetTenant() string
func (*DeleteTaskPushNotificationConfigRequest) ProtoMessage ¶
func (*DeleteTaskPushNotificationConfigRequest) ProtoMessage()
func (*DeleteTaskPushNotificationConfigRequest) ProtoReflect ¶
func (x *DeleteTaskPushNotificationConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteTaskPushNotificationConfigRequest) Reset ¶
func (x *DeleteTaskPushNotificationConfigRequest) Reset()
func (*DeleteTaskPushNotificationConfigRequest) String ¶
func (x *DeleteTaskPushNotificationConfigRequest) String() string
type DeviceCodeOAuthFlow ¶
type DeviceCodeOAuthFlow struct {
// The device authorization endpoint URL.
DeviceAuthorizationUrl string `` /* 129-byte string literal not displayed */
// The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,3,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Defines configuration details for the OAuth 2.0 Device Code flow (RFC 8628). This flow is designed for input-constrained devices such as IoT devices, and CLI tools where the user authenticates on a separate device.
func (*DeviceCodeOAuthFlow) Descriptor
deprecated
func (*DeviceCodeOAuthFlow) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCodeOAuthFlow.ProtoReflect.Descriptor instead.
func (*DeviceCodeOAuthFlow) GetDeviceAuthorizationUrl ¶
func (x *DeviceCodeOAuthFlow) GetDeviceAuthorizationUrl() string
func (*DeviceCodeOAuthFlow) GetRefreshUrl ¶
func (x *DeviceCodeOAuthFlow) GetRefreshUrl() string
func (*DeviceCodeOAuthFlow) GetScopes ¶
func (x *DeviceCodeOAuthFlow) GetScopes() map[string]string
func (*DeviceCodeOAuthFlow) GetTokenUrl ¶
func (x *DeviceCodeOAuthFlow) GetTokenUrl() string
func (*DeviceCodeOAuthFlow) ProtoMessage ¶
func (*DeviceCodeOAuthFlow) ProtoMessage()
func (*DeviceCodeOAuthFlow) ProtoReflect ¶
func (x *DeviceCodeOAuthFlow) ProtoReflect() protoreflect.Message
func (*DeviceCodeOAuthFlow) Reset ¶
func (x *DeviceCodeOAuthFlow) Reset()
func (*DeviceCodeOAuthFlow) String ¶
func (x *DeviceCodeOAuthFlow) String() string
type GetExtendedAgentCardRequest ¶
type GetExtendedAgentCardRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `GetExtendedAgentCard` method.
func (*GetExtendedAgentCardRequest) Descriptor
deprecated
func (*GetExtendedAgentCardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExtendedAgentCardRequest.ProtoReflect.Descriptor instead.
func (*GetExtendedAgentCardRequest) GetTenant ¶
func (x *GetExtendedAgentCardRequest) GetTenant() string
func (*GetExtendedAgentCardRequest) ProtoMessage ¶
func (*GetExtendedAgentCardRequest) ProtoMessage()
func (*GetExtendedAgentCardRequest) ProtoReflect ¶
func (x *GetExtendedAgentCardRequest) ProtoReflect() protoreflect.Message
func (*GetExtendedAgentCardRequest) Reset ¶
func (x *GetExtendedAgentCardRequest) Reset()
func (*GetExtendedAgentCardRequest) String ¶
func (x *GetExtendedAgentCardRequest) String() string
type GetTaskPushNotificationConfigRequest ¶
type GetTaskPushNotificationConfigRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The parent task resource ID.
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The resource ID of the configuration to retrieve.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `GetTaskPushNotificationConfig` method.
func (*GetTaskPushNotificationConfigRequest) Descriptor
deprecated
func (*GetTaskPushNotificationConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskPushNotificationConfigRequest.ProtoReflect.Descriptor instead.
func (*GetTaskPushNotificationConfigRequest) GetId ¶
func (x *GetTaskPushNotificationConfigRequest) GetId() string
func (*GetTaskPushNotificationConfigRequest) GetTaskId ¶
func (x *GetTaskPushNotificationConfigRequest) GetTaskId() string
func (*GetTaskPushNotificationConfigRequest) GetTenant ¶
func (x *GetTaskPushNotificationConfigRequest) GetTenant() string
func (*GetTaskPushNotificationConfigRequest) ProtoMessage ¶
func (*GetTaskPushNotificationConfigRequest) ProtoMessage()
func (*GetTaskPushNotificationConfigRequest) ProtoReflect ¶
func (x *GetTaskPushNotificationConfigRequest) ProtoReflect() protoreflect.Message
func (*GetTaskPushNotificationConfigRequest) Reset ¶
func (x *GetTaskPushNotificationConfigRequest) Reset()
func (*GetTaskPushNotificationConfigRequest) String ¶
func (x *GetTaskPushNotificationConfigRequest) String() string
type GetTaskRequest ¶
type GetTaskRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The resource ID of the task to retrieve.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The maximum number of most recent messages from the task's history to retrieve. An
// unset value means the client does not impose any limit. A value of zero is
// a request to not include any messages. The server MUST NOT return more
// messages than the provided value, but MAY apply a lower limit.
HistoryLength *int32 `protobuf:"varint,3,opt,name=history_length,json=historyLength,proto3,oneof" json:"history_length,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `GetTask` method.
func (*GetTaskRequest) Descriptor
deprecated
func (*GetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) GetHistoryLength ¶
func (x *GetTaskRequest) GetHistoryLength() int32
func (*GetTaskRequest) GetId ¶
func (x *GetTaskRequest) GetId() string
func (*GetTaskRequest) GetTenant ¶
func (x *GetTaskRequest) GetTenant() string
func (*GetTaskRequest) ProtoMessage ¶
func (*GetTaskRequest) ProtoMessage()
func (*GetTaskRequest) ProtoReflect ¶
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
func (*GetTaskRequest) Reset ¶
func (x *GetTaskRequest) Reset()
func (*GetTaskRequest) String ¶
func (x *GetTaskRequest) String() string
type HTTPAuthSecurityScheme ¶
type HTTPAuthSecurityScheme struct {
// An optional description for the security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The name of the HTTP Authentication scheme to be used in the Authorization header,
// as defined in RFC7235 (e.g., "Bearer").
// This value should be registered in the IANA Authentication Scheme registry.
Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
// A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
// Primarily for documentation purposes.
BearerFormat string `protobuf:"bytes,3,opt,name=bearer_format,json=bearerFormat,proto3" json:"bearer_format,omitempty"`
// contains filtered or unexported fields
}
Defines a security scheme using HTTP authentication.
func (*HTTPAuthSecurityScheme) Descriptor
deprecated
func (*HTTPAuthSecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use HTTPAuthSecurityScheme.ProtoReflect.Descriptor instead.
func (*HTTPAuthSecurityScheme) GetBearerFormat ¶
func (x *HTTPAuthSecurityScheme) GetBearerFormat() string
func (*HTTPAuthSecurityScheme) GetDescription ¶
func (x *HTTPAuthSecurityScheme) GetDescription() string
func (*HTTPAuthSecurityScheme) GetScheme ¶
func (x *HTTPAuthSecurityScheme) GetScheme() string
func (*HTTPAuthSecurityScheme) ProtoMessage ¶
func (*HTTPAuthSecurityScheme) ProtoMessage()
func (*HTTPAuthSecurityScheme) ProtoReflect ¶
func (x *HTTPAuthSecurityScheme) ProtoReflect() protoreflect.Message
func (*HTTPAuthSecurityScheme) Reset ¶
func (x *HTTPAuthSecurityScheme) Reset()
func (*HTTPAuthSecurityScheme) String ¶
func (x *HTTPAuthSecurityScheme) String() string
type ImplicitOAuthFlow
deprecated
type ImplicitOAuthFlow struct {
// The authorization URL to be used for this flow. This MUST be in the
// form of a URL. The OAuth2 standard requires the use of TLS
AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
// The URL to be used for obtaining refresh tokens. This MUST be in the
// form of a URL. The OAuth2 standard requires the use of TLS.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme. A map between the
// scope name and a short description for it. The map MAY be empty.
Scopes map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: Use Authorization Code + PKCE instead.
func (*ImplicitOAuthFlow) Descriptor
deprecated
func (*ImplicitOAuthFlow) Descriptor() ([]byte, []int)
Deprecated: Use ImplicitOAuthFlow.ProtoReflect.Descriptor instead.
func (*ImplicitOAuthFlow) GetAuthorizationUrl ¶
func (x *ImplicitOAuthFlow) GetAuthorizationUrl() string
func (*ImplicitOAuthFlow) GetRefreshUrl ¶
func (x *ImplicitOAuthFlow) GetRefreshUrl() string
func (*ImplicitOAuthFlow) GetScopes ¶
func (x *ImplicitOAuthFlow) GetScopes() map[string]string
func (*ImplicitOAuthFlow) ProtoMessage ¶
func (*ImplicitOAuthFlow) ProtoMessage()
func (*ImplicitOAuthFlow) ProtoReflect ¶
func (x *ImplicitOAuthFlow) ProtoReflect() protoreflect.Message
func (*ImplicitOAuthFlow) Reset ¶
func (x *ImplicitOAuthFlow) Reset()
func (*ImplicitOAuthFlow) String ¶
func (x *ImplicitOAuthFlow) String() string
type ListTaskPushNotificationConfigsRequest ¶
type ListTaskPushNotificationConfigsRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The parent task resource ID.
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The maximum number of configurations to return.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `ListTaskPushNotificationConfigs` method.
func (*ListTaskPushNotificationConfigsRequest) Descriptor
deprecated
func (*ListTaskPushNotificationConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskPushNotificationConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListTaskPushNotificationConfigsRequest) GetPageSize ¶
func (x *ListTaskPushNotificationConfigsRequest) GetPageSize() int32
func (*ListTaskPushNotificationConfigsRequest) GetPageToken ¶
func (x *ListTaskPushNotificationConfigsRequest) GetPageToken() string
func (*ListTaskPushNotificationConfigsRequest) GetTaskId ¶
func (x *ListTaskPushNotificationConfigsRequest) GetTaskId() string
func (*ListTaskPushNotificationConfigsRequest) GetTenant ¶
func (x *ListTaskPushNotificationConfigsRequest) GetTenant() string
func (*ListTaskPushNotificationConfigsRequest) ProtoMessage ¶
func (*ListTaskPushNotificationConfigsRequest) ProtoMessage()
func (*ListTaskPushNotificationConfigsRequest) ProtoReflect ¶
func (x *ListTaskPushNotificationConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListTaskPushNotificationConfigsRequest) Reset ¶
func (x *ListTaskPushNotificationConfigsRequest) Reset()
func (*ListTaskPushNotificationConfigsRequest) String ¶
func (x *ListTaskPushNotificationConfigsRequest) String() string
type ListTaskPushNotificationConfigsResponse ¶
type ListTaskPushNotificationConfigsResponse struct {
// The list of push notification configurations.
Configs []*TaskPushNotificationConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
// A token to retrieve the next page of results, or empty if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Represents a successful response for the `ListTaskPushNotificationConfigs` method.
func (*ListTaskPushNotificationConfigsResponse) Descriptor
deprecated
func (*ListTaskPushNotificationConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTaskPushNotificationConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListTaskPushNotificationConfigsResponse) GetConfigs ¶
func (x *ListTaskPushNotificationConfigsResponse) GetConfigs() []*TaskPushNotificationConfig
func (*ListTaskPushNotificationConfigsResponse) GetNextPageToken ¶
func (x *ListTaskPushNotificationConfigsResponse) GetNextPageToken() string
func (*ListTaskPushNotificationConfigsResponse) ProtoMessage ¶
func (*ListTaskPushNotificationConfigsResponse) ProtoMessage()
func (*ListTaskPushNotificationConfigsResponse) ProtoReflect ¶
func (x *ListTaskPushNotificationConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListTaskPushNotificationConfigsResponse) Reset ¶
func (x *ListTaskPushNotificationConfigsResponse) Reset()
func (*ListTaskPushNotificationConfigsResponse) String ¶
func (x *ListTaskPushNotificationConfigsResponse) String() string
type ListTasksRequest ¶
type ListTasksRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// Filter tasks by context ID to get tasks from a specific conversation or session.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Filter tasks by their current status state.
Status TaskState `protobuf:"varint,3,opt,name=status,proto3,enum=lf.a2a.v1.TaskState" json:"status,omitempty"`
// The maximum number of tasks to return. The service may return fewer than this value.
// If unspecified, at most 50 tasks will be returned.
// The minimum value is 1.
// The maximum value is 100.
PageSize *int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3,oneof" json:"page_size,omitempty"`
// A page token, received from a previous `ListTasks` call.
// `ListTasksResponse.next_page_token`.
// Provide this to retrieve the subsequent page.
PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// The maximum number of messages to include in each task's history.
HistoryLength *int32 `protobuf:"varint,6,opt,name=history_length,json=historyLength,proto3,oneof" json:"history_length,omitempty"`
// Filter tasks which have a status updated after the provided timestamp in ISO 8601 format (e.g., "2023-10-27T10:00:00Z").
// Only tasks with a status timestamp time greater than or equal to this value will be returned.
StatusTimestampAfter *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=status_timestamp_after,json=statusTimestampAfter,proto3" json:"status_timestamp_after,omitempty"`
// Whether to include artifacts in the returned tasks.
// Defaults to false to reduce payload size.
IncludeArtifacts *bool `protobuf:"varint,8,opt,name=include_artifacts,json=includeArtifacts,proto3,oneof" json:"include_artifacts,omitempty"`
// contains filtered or unexported fields
}
Parameters for listing tasks with optional filtering criteria.
func (*ListTasksRequest) Descriptor
deprecated
func (*ListTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) GetContextId ¶
func (x *ListTasksRequest) GetContextId() string
func (*ListTasksRequest) GetHistoryLength ¶
func (x *ListTasksRequest) GetHistoryLength() int32
func (*ListTasksRequest) GetIncludeArtifacts ¶
func (x *ListTasksRequest) GetIncludeArtifacts() bool
func (*ListTasksRequest) GetPageSize ¶
func (x *ListTasksRequest) GetPageSize() int32
func (*ListTasksRequest) GetPageToken ¶
func (x *ListTasksRequest) GetPageToken() string
func (*ListTasksRequest) GetStatus ¶
func (x *ListTasksRequest) GetStatus() TaskState
func (*ListTasksRequest) GetStatusTimestampAfter ¶
func (x *ListTasksRequest) GetStatusTimestampAfter() *timestamppb.Timestamp
func (*ListTasksRequest) GetTenant ¶
func (x *ListTasksRequest) GetTenant() string
func (*ListTasksRequest) ProtoMessage ¶
func (*ListTasksRequest) ProtoMessage()
func (*ListTasksRequest) ProtoReflect ¶
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
func (*ListTasksRequest) Reset ¶
func (x *ListTasksRequest) Reset()
func (*ListTasksRequest) String ¶
func (x *ListTasksRequest) String() string
type ListTasksResponse ¶
type ListTasksResponse struct {
// Array of tasks matching the specified criteria.
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
// A token to retrieve the next page of results, or empty if there are no more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// The page size used for this response.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Total number of tasks available (before pagination).
TotalSize int32 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
// contains filtered or unexported fields
}
Result object for `ListTasks` method containing an array of tasks and pagination information.
func (*ListTasksResponse) Descriptor
deprecated
func (*ListTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) GetNextPageToken ¶
func (x *ListTasksResponse) GetNextPageToken() string
func (*ListTasksResponse) GetPageSize ¶
func (x *ListTasksResponse) GetPageSize() int32
func (*ListTasksResponse) GetTasks ¶
func (x *ListTasksResponse) GetTasks() []*Task
func (*ListTasksResponse) GetTotalSize ¶
func (x *ListTasksResponse) GetTotalSize() int32
func (*ListTasksResponse) ProtoMessage ¶
func (*ListTasksResponse) ProtoMessage()
func (*ListTasksResponse) ProtoReflect ¶
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
func (*ListTasksResponse) Reset ¶
func (x *ListTasksResponse) Reset()
func (*ListTasksResponse) String ¶
func (x *ListTasksResponse) String() string
type Message ¶
type Message struct {
// The unique identifier (e.g. UUID) of the message. This is created by the message creator.
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// Optional. The context id of the message. If set, the message will be associated with the given context.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Optional. The task id of the message. If set, the message will be associated with the given task.
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Identifies the sender of the message.
Role Role `protobuf:"varint,4,opt,name=role,proto3,enum=lf.a2a.v1.Role" json:"role,omitempty"`
// Parts is the container of the message content.
Parts []*Part `protobuf:"bytes,5,rep,name=parts,proto3" json:"parts,omitempty"`
// Optional. Any metadata to provide along with the message.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// The URIs of extensions that are present or contributed to this Message.
Extensions []string `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty"`
// A list of task IDs that this message references for additional context.
ReferenceTaskIds []string `protobuf:"bytes,8,rep,name=reference_task_ids,json=referenceTaskIds,proto3" json:"reference_task_ids,omitempty"`
// contains filtered or unexported fields
}
`Message` is one unit of communication between client and server. It can be associated with a context and/or a task. For server messages, `context_id` must be provided, and `task_id` only if a task was created. For client messages, both fields are optional, with the caveat that if both are provided, they have to match (the `context_id` has to be the one that is set on the task). If only `task_id` is provided, the server will infer `context_id` from it.
func (*Message) Descriptor
deprecated
func (*Message) GetContextId ¶
func (*Message) GetExtensions ¶
func (*Message) GetMessageId ¶
func (*Message) GetMetadata ¶
func (*Message) GetReferenceTaskIds ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MutualTlsSecurityScheme ¶
type MutualTlsSecurityScheme struct {
// An optional description for the security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Defines a security scheme using mTLS authentication.
func (*MutualTlsSecurityScheme) Descriptor
deprecated
func (*MutualTlsSecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use MutualTlsSecurityScheme.ProtoReflect.Descriptor instead.
func (*MutualTlsSecurityScheme) GetDescription ¶
func (x *MutualTlsSecurityScheme) GetDescription() string
func (*MutualTlsSecurityScheme) ProtoMessage ¶
func (*MutualTlsSecurityScheme) ProtoMessage()
func (*MutualTlsSecurityScheme) ProtoReflect ¶
func (x *MutualTlsSecurityScheme) ProtoReflect() protoreflect.Message
func (*MutualTlsSecurityScheme) Reset ¶
func (x *MutualTlsSecurityScheme) Reset()
func (*MutualTlsSecurityScheme) String ¶
func (x *MutualTlsSecurityScheme) String() string
type OAuth2SecurityScheme ¶
type OAuth2SecurityScheme struct {
// An optional description for the security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// An object containing configuration information for the supported OAuth 2.0 flows.
Flows *OAuthFlows `protobuf:"bytes,2,opt,name=flows,proto3" json:"flows,omitempty"`
// URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
// TLS is required.
Oauth2MetadataUrl string `protobuf:"bytes,3,opt,name=oauth2_metadata_url,json=oauth2MetadataUrl,proto3" json:"oauth2_metadata_url,omitempty"`
// contains filtered or unexported fields
}
Defines a security scheme using OAuth 2.0.
func (*OAuth2SecurityScheme) Descriptor
deprecated
func (*OAuth2SecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use OAuth2SecurityScheme.ProtoReflect.Descriptor instead.
func (*OAuth2SecurityScheme) GetDescription ¶
func (x *OAuth2SecurityScheme) GetDescription() string
func (*OAuth2SecurityScheme) GetFlows ¶
func (x *OAuth2SecurityScheme) GetFlows() *OAuthFlows
func (*OAuth2SecurityScheme) GetOauth2MetadataUrl ¶
func (x *OAuth2SecurityScheme) GetOauth2MetadataUrl() string
func (*OAuth2SecurityScheme) ProtoMessage ¶
func (*OAuth2SecurityScheme) ProtoMessage()
func (*OAuth2SecurityScheme) ProtoReflect ¶
func (x *OAuth2SecurityScheme) ProtoReflect() protoreflect.Message
func (*OAuth2SecurityScheme) Reset ¶
func (x *OAuth2SecurityScheme) Reset()
func (*OAuth2SecurityScheme) String ¶
func (x *OAuth2SecurityScheme) String() string
type OAuthFlows ¶
type OAuthFlows struct {
// Types that are valid to be assigned to Flow:
//
// *OAuthFlows_AuthorizationCode
// *OAuthFlows_ClientCredentials
// *OAuthFlows_Implicit
// *OAuthFlows_Password
// *OAuthFlows_DeviceCode
Flow isOAuthFlows_Flow `protobuf_oneof:"flow"`
// contains filtered or unexported fields
}
Defines the configuration for the supported OAuth 2.0 flows.
func (*OAuthFlows) Descriptor
deprecated
func (*OAuthFlows) Descriptor() ([]byte, []int)
Deprecated: Use OAuthFlows.ProtoReflect.Descriptor instead.
func (*OAuthFlows) GetAuthorizationCode ¶
func (x *OAuthFlows) GetAuthorizationCode() *AuthorizationCodeOAuthFlow
func (*OAuthFlows) GetClientCredentials ¶
func (x *OAuthFlows) GetClientCredentials() *ClientCredentialsOAuthFlow
func (*OAuthFlows) GetDeviceCode ¶
func (x *OAuthFlows) GetDeviceCode() *DeviceCodeOAuthFlow
func (*OAuthFlows) GetFlow ¶
func (x *OAuthFlows) GetFlow() isOAuthFlows_Flow
func (*OAuthFlows) GetImplicit
deprecated
func (x *OAuthFlows) GetImplicit() *ImplicitOAuthFlow
Deprecated: Marked as deprecated in a2a/v1/a2a.proto.
func (*OAuthFlows) GetPassword
deprecated
func (x *OAuthFlows) GetPassword() *PasswordOAuthFlow
Deprecated: Marked as deprecated in a2a/v1/a2a.proto.
func (*OAuthFlows) ProtoMessage ¶
func (*OAuthFlows) ProtoMessage()
func (*OAuthFlows) ProtoReflect ¶
func (x *OAuthFlows) ProtoReflect() protoreflect.Message
func (*OAuthFlows) Reset ¶
func (x *OAuthFlows) Reset()
func (*OAuthFlows) String ¶
func (x *OAuthFlows) String() string
type OAuthFlows_AuthorizationCode ¶
type OAuthFlows_AuthorizationCode struct {
// Configuration for the OAuth Authorization Code flow.
AuthorizationCode *AuthorizationCodeOAuthFlow `protobuf:"bytes,1,opt,name=authorization_code,json=authorizationCode,proto3,oneof"`
}
type OAuthFlows_ClientCredentials ¶
type OAuthFlows_ClientCredentials struct {
// Configuration for the OAuth Client Credentials flow.
ClientCredentials *ClientCredentialsOAuthFlow `protobuf:"bytes,2,opt,name=client_credentials,json=clientCredentials,proto3,oneof"`
}
type OAuthFlows_DeviceCode ¶
type OAuthFlows_DeviceCode struct {
// Configuration for the OAuth Device Code flow.
DeviceCode *DeviceCodeOAuthFlow `protobuf:"bytes,5,opt,name=device_code,json=deviceCode,proto3,oneof"`
}
type OAuthFlows_Implicit ¶
type OAuthFlows_Implicit struct {
// Deprecated: Use Authorization Code + PKCE instead.
//
// Deprecated: Marked as deprecated in a2a/v1/a2a.proto.
Implicit *ImplicitOAuthFlow `protobuf:"bytes,3,opt,name=implicit,proto3,oneof"`
}
type OAuthFlows_Password ¶
type OAuthFlows_Password struct {
// Deprecated: Use Authorization Code + PKCE or Device Code.
//
// Deprecated: Marked as deprecated in a2a/v1/a2a.proto.
Password *PasswordOAuthFlow `protobuf:"bytes,4,opt,name=password,proto3,oneof"`
}
type OpenIdConnectSecurityScheme ¶
type OpenIdConnectSecurityScheme struct {
// An optional description for the security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
OpenIdConnectUrl string `protobuf:"bytes,2,opt,name=open_id_connect_url,json=openIdConnectUrl,proto3" json:"open_id_connect_url,omitempty"`
// contains filtered or unexported fields
}
Defines a security scheme using OpenID Connect.
func (*OpenIdConnectSecurityScheme) Descriptor
deprecated
func (*OpenIdConnectSecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use OpenIdConnectSecurityScheme.ProtoReflect.Descriptor instead.
func (*OpenIdConnectSecurityScheme) GetDescription ¶
func (x *OpenIdConnectSecurityScheme) GetDescription() string
func (*OpenIdConnectSecurityScheme) GetOpenIdConnectUrl ¶
func (x *OpenIdConnectSecurityScheme) GetOpenIdConnectUrl() string
func (*OpenIdConnectSecurityScheme) ProtoMessage ¶
func (*OpenIdConnectSecurityScheme) ProtoMessage()
func (*OpenIdConnectSecurityScheme) ProtoReflect ¶
func (x *OpenIdConnectSecurityScheme) ProtoReflect() protoreflect.Message
func (*OpenIdConnectSecurityScheme) Reset ¶
func (x *OpenIdConnectSecurityScheme) Reset()
func (*OpenIdConnectSecurityScheme) String ¶
func (x *OpenIdConnectSecurityScheme) String() string
type Part ¶
type Part struct {
// Types that are valid to be assigned to Content:
//
// *Part_Text
// *Part_Raw
// *Part_Url
// *Part_Data
Content isPart_Content `protobuf_oneof:"content"`
// Optional. metadata associated with this part.
Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
// An optional `filename` for the file (e.g., "document.pdf").
Filename string `protobuf:"bytes,6,opt,name=filename,proto3" json:"filename,omitempty"`
// The `media_type` (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
// This field is available for all part types.
MediaType string `protobuf:"bytes,7,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
// contains filtered or unexported fields
}
`Part` represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).
func (*Part) Descriptor
deprecated
func (*Part) GetContent ¶
func (x *Part) GetContent() isPart_Content
func (*Part) GetFilename ¶
func (*Part) GetMediaType ¶
func (*Part) GetMetadata ¶
func (*Part) ProtoMessage ¶
func (*Part) ProtoMessage()
func (*Part) ProtoReflect ¶
func (x *Part) ProtoReflect() protoreflect.Message
type Part_Raw ¶
type Part_Raw struct {
// The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
Raw []byte `protobuf:"bytes,2,opt,name=raw,proto3,oneof"`
}
type Part_Text ¶
type Part_Text struct {
// The string content of the `text` part.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type Part_Url ¶
type Part_Url struct {
// A `url` pointing to the file's content.
Url string `protobuf:"bytes,3,opt,name=url,proto3,oneof"`
}
type PasswordOAuthFlow
deprecated
type PasswordOAuthFlow struct {
// The token URL to be used for this flow. This MUST be in the form of a URL.
// The OAuth2 standard requires the use of TLS.
TokenUrl string `protobuf:"bytes,1,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// The URL to be used for obtaining refresh tokens. This MUST be in the
// form of a URL. The OAuth2 standard requires the use of TLS.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme. A map between the
// scope name and a short description for it. The map MAY be empty.
Scopes map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: Use Authorization Code + PKCE or Device Code.
func (*PasswordOAuthFlow) Descriptor
deprecated
func (*PasswordOAuthFlow) Descriptor() ([]byte, []int)
Deprecated: Use PasswordOAuthFlow.ProtoReflect.Descriptor instead.
func (*PasswordOAuthFlow) GetRefreshUrl ¶
func (x *PasswordOAuthFlow) GetRefreshUrl() string
func (*PasswordOAuthFlow) GetScopes ¶
func (x *PasswordOAuthFlow) GetScopes() map[string]string
func (*PasswordOAuthFlow) GetTokenUrl ¶
func (x *PasswordOAuthFlow) GetTokenUrl() string
func (*PasswordOAuthFlow) ProtoMessage ¶
func (*PasswordOAuthFlow) ProtoMessage()
func (*PasswordOAuthFlow) ProtoReflect ¶
func (x *PasswordOAuthFlow) ProtoReflect() protoreflect.Message
func (*PasswordOAuthFlow) Reset ¶
func (x *PasswordOAuthFlow) Reset()
func (*PasswordOAuthFlow) String ¶
func (x *PasswordOAuthFlow) String() string
type Role ¶
type Role int32
Defines the sender of a message in A2A protocol communication.
func (Role) Descriptor ¶
func (Role) Descriptor() protoreflect.EnumDescriptor
func (Role) EnumDescriptor
deprecated
func (Role) Number ¶
func (x Role) Number() protoreflect.EnumNumber
func (Role) Type ¶
func (Role) Type() protoreflect.EnumType
type SecurityRequirement ¶
type SecurityRequirement struct {
// A map of security schemes to the required scopes.
Schemes map[string]*StringList `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
Defines the security requirements for an agent.
func (*SecurityRequirement) Descriptor
deprecated
func (*SecurityRequirement) Descriptor() ([]byte, []int)
Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead.
func (*SecurityRequirement) GetSchemes ¶
func (x *SecurityRequirement) GetSchemes() map[string]*StringList
func (*SecurityRequirement) ProtoMessage ¶
func (*SecurityRequirement) ProtoMessage()
func (*SecurityRequirement) ProtoReflect ¶
func (x *SecurityRequirement) ProtoReflect() protoreflect.Message
func (*SecurityRequirement) Reset ¶
func (x *SecurityRequirement) Reset()
func (*SecurityRequirement) String ¶
func (x *SecurityRequirement) String() string
type SecurityScheme ¶
type SecurityScheme struct {
// Types that are valid to be assigned to Scheme:
//
// *SecurityScheme_ApiKeySecurityScheme
// *SecurityScheme_HttpAuthSecurityScheme
// *SecurityScheme_Oauth2SecurityScheme
// *SecurityScheme_OpenIdConnectSecurityScheme
// *SecurityScheme_MtlsSecurityScheme
Scheme isSecurityScheme_Scheme `protobuf_oneof:"scheme"`
// contains filtered or unexported fields
}
Defines a security scheme that can be used to secure an agent's endpoints. This is a discriminated union type based on the OpenAPI 3.2 Security Scheme Object. See: https://spec.openapis.org/oas/v3.2.0.html#security-scheme-object
func (*SecurityScheme) Descriptor
deprecated
func (*SecurityScheme) Descriptor() ([]byte, []int)
Deprecated: Use SecurityScheme.ProtoReflect.Descriptor instead.
func (*SecurityScheme) GetApiKeySecurityScheme ¶
func (x *SecurityScheme) GetApiKeySecurityScheme() *APIKeySecurityScheme
func (*SecurityScheme) GetHttpAuthSecurityScheme ¶
func (x *SecurityScheme) GetHttpAuthSecurityScheme() *HTTPAuthSecurityScheme
func (*SecurityScheme) GetMtlsSecurityScheme ¶
func (x *SecurityScheme) GetMtlsSecurityScheme() *MutualTlsSecurityScheme
func (*SecurityScheme) GetOauth2SecurityScheme ¶
func (x *SecurityScheme) GetOauth2SecurityScheme() *OAuth2SecurityScheme
func (*SecurityScheme) GetOpenIdConnectSecurityScheme ¶
func (x *SecurityScheme) GetOpenIdConnectSecurityScheme() *OpenIdConnectSecurityScheme
func (*SecurityScheme) GetScheme ¶
func (x *SecurityScheme) GetScheme() isSecurityScheme_Scheme
func (*SecurityScheme) ProtoMessage ¶
func (*SecurityScheme) ProtoMessage()
func (*SecurityScheme) ProtoReflect ¶
func (x *SecurityScheme) ProtoReflect() protoreflect.Message
func (*SecurityScheme) Reset ¶
func (x *SecurityScheme) Reset()
func (*SecurityScheme) String ¶
func (x *SecurityScheme) String() string
type SecurityScheme_ApiKeySecurityScheme ¶
type SecurityScheme_ApiKeySecurityScheme struct {
// API key-based authentication.
ApiKeySecurityScheme *APIKeySecurityScheme `protobuf:"bytes,1,opt,name=api_key_security_scheme,json=apiKeySecurityScheme,proto3,oneof"`
}
type SecurityScheme_HttpAuthSecurityScheme ¶
type SecurityScheme_HttpAuthSecurityScheme struct {
// HTTP authentication (Basic, Bearer, etc.).
HttpAuthSecurityScheme *HTTPAuthSecurityScheme `protobuf:"bytes,2,opt,name=http_auth_security_scheme,json=httpAuthSecurityScheme,proto3,oneof"`
}
type SecurityScheme_MtlsSecurityScheme ¶
type SecurityScheme_MtlsSecurityScheme struct {
// Mutual TLS authentication.
MtlsSecurityScheme *MutualTlsSecurityScheme `protobuf:"bytes,5,opt,name=mtls_security_scheme,json=mtlsSecurityScheme,proto3,oneof"`
}
type SecurityScheme_Oauth2SecurityScheme ¶
type SecurityScheme_Oauth2SecurityScheme struct {
// OAuth 2.0 authentication.
Oauth2SecurityScheme *OAuth2SecurityScheme `protobuf:"bytes,3,opt,name=oauth2_security_scheme,json=oauth2SecurityScheme,proto3,oneof"`
}
type SecurityScheme_OpenIdConnectSecurityScheme ¶
type SecurityScheme_OpenIdConnectSecurityScheme struct {
// OpenID Connect authentication.
OpenIdConnectSecurityScheme *OpenIdConnectSecurityScheme `protobuf:"bytes,4,opt,name=open_id_connect_security_scheme,json=openIdConnectSecurityScheme,proto3,oneof"`
}
type SendMessageConfiguration ¶
type SendMessageConfiguration struct {
// A list of media types the client is prepared to accept for response parts.
// Agents SHOULD use this to tailor their output.
AcceptedOutputModes []string `protobuf:"bytes,1,rep,name=accepted_output_modes,json=acceptedOutputModes,proto3" json:"accepted_output_modes,omitempty"`
// Configuration for the agent to send push notifications for task updates.
// Task id should be empty when sending this configuration in a `SendMessage` request.
TaskPushNotificationConfig *TaskPushNotificationConfig `` /* 143-byte string literal not displayed */
// The maximum number of most recent messages from the task's history to retrieve in
// the response. An unset value means the client does not impose any limit. A
// value of zero is a request to not include any messages. The server MUST NOT
// return more messages than the provided value, but MAY apply a lower limit.
HistoryLength *int32 `protobuf:"varint,3,opt,name=history_length,json=historyLength,proto3,oneof" json:"history_length,omitempty"`
// If `true`, the operation returns immediately after creating the task,
// even if processing is still in progress.
// If `false` (default), the operation MUST wait until the task reaches a
// terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted
// (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.
ReturnImmediately bool `protobuf:"varint,4,opt,name=return_immediately,json=returnImmediately,proto3" json:"return_immediately,omitempty"`
// contains filtered or unexported fields
}
Configuration of a send message request.
func (*SendMessageConfiguration) Descriptor
deprecated
func (*SendMessageConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageConfiguration.ProtoReflect.Descriptor instead.
func (*SendMessageConfiguration) GetAcceptedOutputModes ¶
func (x *SendMessageConfiguration) GetAcceptedOutputModes() []string
func (*SendMessageConfiguration) GetHistoryLength ¶
func (x *SendMessageConfiguration) GetHistoryLength() int32
func (*SendMessageConfiguration) GetReturnImmediately ¶
func (x *SendMessageConfiguration) GetReturnImmediately() bool
func (*SendMessageConfiguration) GetTaskPushNotificationConfig ¶
func (x *SendMessageConfiguration) GetTaskPushNotificationConfig() *TaskPushNotificationConfig
func (*SendMessageConfiguration) ProtoMessage ¶
func (*SendMessageConfiguration) ProtoMessage()
func (*SendMessageConfiguration) ProtoReflect ¶
func (x *SendMessageConfiguration) ProtoReflect() protoreflect.Message
func (*SendMessageConfiguration) Reset ¶
func (x *SendMessageConfiguration) Reset()
func (*SendMessageConfiguration) String ¶
func (x *SendMessageConfiguration) String() string
type SendMessageRequest ¶
type SendMessageRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The message to send to the agent.
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Configuration for the send request.
Configuration *SendMessageConfiguration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
// A flexible key-value map for passing additional context or parameters.
Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `SendMessage` method.
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetConfiguration ¶
func (x *SendMessageRequest) GetConfiguration() *SendMessageConfiguration
func (*SendMessageRequest) GetMessage ¶
func (x *SendMessageRequest) GetMessage() *Message
func (*SendMessageRequest) GetMetadata ¶
func (x *SendMessageRequest) GetMetadata() *structpb.Struct
func (*SendMessageRequest) GetTenant ¶
func (x *SendMessageRequest) GetTenant() string
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SendMessageResponse ¶
type SendMessageResponse struct {
// The payload of the response.
//
// Types that are valid to be assigned to Payload:
//
// *SendMessageResponse_Task
// *SendMessageResponse_Message
Payload isSendMessageResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
Represents the response for the `SendMessage` method.
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMessage ¶
func (x *SendMessageResponse) GetMessage() *Message
func (*SendMessageResponse) GetPayload ¶
func (x *SendMessageResponse) GetPayload() isSendMessageResponse_Payload
func (*SendMessageResponse) GetTask ¶
func (x *SendMessageResponse) GetTask() *Task
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
type SendMessageResponse_Message ¶
type SendMessageResponse_Message struct {
// A message from the agent.
Message *Message `protobuf:"bytes,2,opt,name=message,proto3,oneof"`
}
type SendMessageResponse_Task ¶
type SendMessageResponse_Task struct {
// The task created or updated by the message.
Task *Task `protobuf:"bytes,1,opt,name=task,proto3,oneof"`
}
type StreamResponse ¶
type StreamResponse struct {
// The payload of the stream response.
//
// Types that are valid to be assigned to Payload:
//
// *StreamResponse_Task
// *StreamResponse_Message
// *StreamResponse_StatusUpdate
// *StreamResponse_ArtifactUpdate
Payload isStreamResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
A wrapper object used in streaming operations to encapsulate different types of response data.
func (*StreamResponse) Descriptor
deprecated
func (*StreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.
func (*StreamResponse) GetArtifactUpdate ¶
func (x *StreamResponse) GetArtifactUpdate() *TaskArtifactUpdateEvent
func (*StreamResponse) GetMessage ¶
func (x *StreamResponse) GetMessage() *Message
func (*StreamResponse) GetPayload ¶
func (x *StreamResponse) GetPayload() isStreamResponse_Payload
func (*StreamResponse) GetStatusUpdate ¶
func (x *StreamResponse) GetStatusUpdate() *TaskStatusUpdateEvent
func (*StreamResponse) GetTask ¶
func (x *StreamResponse) GetTask() *Task
func (*StreamResponse) ProtoMessage ¶
func (*StreamResponse) ProtoMessage()
func (*StreamResponse) ProtoReflect ¶
func (x *StreamResponse) ProtoReflect() protoreflect.Message
func (*StreamResponse) Reset ¶
func (x *StreamResponse) Reset()
func (*StreamResponse) String ¶
func (x *StreamResponse) String() string
type StreamResponse_ArtifactUpdate ¶
type StreamResponse_ArtifactUpdate struct {
// An event indicating a task artifact update.
ArtifactUpdate *TaskArtifactUpdateEvent `protobuf:"bytes,4,opt,name=artifact_update,json=artifactUpdate,proto3,oneof"`
}
type StreamResponse_Message ¶
type StreamResponse_Message struct {
// A Message object containing a message from the agent.
Message *Message `protobuf:"bytes,2,opt,name=message,proto3,oneof"`
}
type StreamResponse_StatusUpdate ¶
type StreamResponse_StatusUpdate struct {
// An event indicating a task status update.
StatusUpdate *TaskStatusUpdateEvent `protobuf:"bytes,3,opt,name=status_update,json=statusUpdate,proto3,oneof"`
}
type StreamResponse_Task ¶
type StreamResponse_Task struct {
// A Task object containing the current state of the task.
Task *Task `protobuf:"bytes,1,opt,name=task,proto3,oneof"`
}
type StringList ¶
type StringList struct {
// The individual string values.
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED A list of strings.
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetList ¶
func (x *StringList) GetList() []string
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
type SubscribeToTaskRequest ¶
type SubscribeToTaskRequest struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The resource ID of the task to subscribe to.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
Represents a request for the `SubscribeToTask` method.
func (*SubscribeToTaskRequest) Descriptor
deprecated
func (*SubscribeToTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeToTaskRequest.ProtoReflect.Descriptor instead.
func (*SubscribeToTaskRequest) GetId ¶
func (x *SubscribeToTaskRequest) GetId() string
func (*SubscribeToTaskRequest) GetTenant ¶
func (x *SubscribeToTaskRequest) GetTenant() string
func (*SubscribeToTaskRequest) ProtoMessage ¶
func (*SubscribeToTaskRequest) ProtoMessage()
func (*SubscribeToTaskRequest) ProtoReflect ¶
func (x *SubscribeToTaskRequest) ProtoReflect() protoreflect.Message
func (*SubscribeToTaskRequest) Reset ¶
func (x *SubscribeToTaskRequest) Reset()
func (*SubscribeToTaskRequest) String ¶
func (x *SubscribeToTaskRequest) String() string
type Task ¶
type Task struct {
// Unique identifier (e.g. UUID) for the task, generated by the server for a
// new task.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Unique identifier (e.g. UUID) for the contextual collection of interactions
// (tasks and messages).
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// The current status of a `Task`, including `state` and a `message`.
Status *TaskStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// A set of output artifacts for a `Task`.
Artifacts []*Artifact `protobuf:"bytes,4,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
// protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
// The history of interactions from a `Task`.
History []*Message `protobuf:"bytes,5,rep,name=history,proto3" json:"history,omitempty"`
// protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
// A key/value object to store custom metadata about a task.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
`Task` is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.
func (*Task) Descriptor
deprecated
func (*Task) GetArtifacts ¶
func (*Task) GetContextId ¶
func (*Task) GetHistory ¶
func (*Task) GetMetadata ¶
func (*Task) GetStatus ¶
func (x *Task) GetStatus() *TaskStatus
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
type TaskArtifactUpdateEvent ¶
type TaskArtifactUpdateEvent struct {
// The ID of the task for this artifact.
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The ID of the context that this task belongs to.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// The artifact that was generated or updated.
Artifact *Artifact `protobuf:"bytes,3,opt,name=artifact,proto3" json:"artifact,omitempty"`
// If true, the content of this artifact should be appended to a previously
// sent artifact with the same ID.
Append bool `protobuf:"varint,4,opt,name=append,proto3" json:"append,omitempty"`
// If true, this is the final chunk of the artifact.
LastChunk bool `protobuf:"varint,5,opt,name=last_chunk,json=lastChunk,proto3" json:"last_chunk,omitempty"`
// Optional. Metadata associated with the artifact update.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
A task delta where an artifact has been generated.
func (*TaskArtifactUpdateEvent) Descriptor
deprecated
func (*TaskArtifactUpdateEvent) Descriptor() ([]byte, []int)
Deprecated: Use TaskArtifactUpdateEvent.ProtoReflect.Descriptor instead.
func (*TaskArtifactUpdateEvent) GetAppend ¶
func (x *TaskArtifactUpdateEvent) GetAppend() bool
func (*TaskArtifactUpdateEvent) GetArtifact ¶
func (x *TaskArtifactUpdateEvent) GetArtifact() *Artifact
func (*TaskArtifactUpdateEvent) GetContextId ¶
func (x *TaskArtifactUpdateEvent) GetContextId() string
func (*TaskArtifactUpdateEvent) GetLastChunk ¶
func (x *TaskArtifactUpdateEvent) GetLastChunk() bool
func (*TaskArtifactUpdateEvent) GetMetadata ¶
func (x *TaskArtifactUpdateEvent) GetMetadata() *structpb.Struct
func (*TaskArtifactUpdateEvent) GetTaskId ¶
func (x *TaskArtifactUpdateEvent) GetTaskId() string
func (*TaskArtifactUpdateEvent) ProtoMessage ¶
func (*TaskArtifactUpdateEvent) ProtoMessage()
func (*TaskArtifactUpdateEvent) ProtoReflect ¶
func (x *TaskArtifactUpdateEvent) ProtoReflect() protoreflect.Message
func (*TaskArtifactUpdateEvent) Reset ¶
func (x *TaskArtifactUpdateEvent) Reset()
func (*TaskArtifactUpdateEvent) String ¶
func (x *TaskArtifactUpdateEvent) String() string
type TaskPushNotificationConfig ¶
type TaskPushNotificationConfig struct {
// Optional. Opaque routing identifier. Must match the `tenant` value from
// the selected `AgentInterface` in the Agent Card when that field is set.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// The push notification configuration details.
// A unique identifier (e.g. UUID) for this push notification configuration.
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The ID of the task this configuration is associated with.
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The URL where the notification should be sent.
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
// A token unique for this task or session.
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
// Authentication information required to send the notification.
Authentication *AuthenticationInfo `protobuf:"bytes,6,opt,name=authentication,proto3" json:"authentication,omitempty"`
// contains filtered or unexported fields
}
A container associating a push notification configuration with a specific task.
func (*TaskPushNotificationConfig) Descriptor
deprecated
func (*TaskPushNotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use TaskPushNotificationConfig.ProtoReflect.Descriptor instead.
func (*TaskPushNotificationConfig) GetAuthentication ¶
func (x *TaskPushNotificationConfig) GetAuthentication() *AuthenticationInfo
func (*TaskPushNotificationConfig) GetId ¶
func (x *TaskPushNotificationConfig) GetId() string
func (*TaskPushNotificationConfig) GetTaskId ¶
func (x *TaskPushNotificationConfig) GetTaskId() string
func (*TaskPushNotificationConfig) GetTenant ¶
func (x *TaskPushNotificationConfig) GetTenant() string
func (*TaskPushNotificationConfig) GetToken ¶
func (x *TaskPushNotificationConfig) GetToken() string
func (*TaskPushNotificationConfig) GetUrl ¶
func (x *TaskPushNotificationConfig) GetUrl() string
func (*TaskPushNotificationConfig) ProtoMessage ¶
func (*TaskPushNotificationConfig) ProtoMessage()
func (*TaskPushNotificationConfig) ProtoReflect ¶
func (x *TaskPushNotificationConfig) ProtoReflect() protoreflect.Message
func (*TaskPushNotificationConfig) Reset ¶
func (x *TaskPushNotificationConfig) Reset()
func (*TaskPushNotificationConfig) String ¶
func (x *TaskPushNotificationConfig) String() string
type TaskState ¶
type TaskState int32
Defines the possible lifecycle states of a `Task`.
const ( // The task is in an unknown or indeterminate state. TaskState_TASK_STATE_UNSPECIFIED TaskState = 0 // Indicates that a task has been successfully submitted and acknowledged. TaskState_TASK_STATE_SUBMITTED TaskState = 1 // Indicates that a task is actively being processed by the agent. TaskState_TASK_STATE_WORKING TaskState = 2 // Indicates that a task has finished successfully. This is a terminal state. TaskState_TASK_STATE_COMPLETED TaskState = 3 // Indicates that a task has finished with an error. This is a terminal state. TaskState_TASK_STATE_FAILED TaskState = 4 // Indicates that a task was canceled before completion. This is a terminal state. TaskState_TASK_STATE_CANCELED TaskState = 5 // Indicates that the agent requires additional user input to proceed. This is an interrupted state. TaskState_TASK_STATE_INPUT_REQUIRED TaskState = 6 // Indicates that the agent has decided to not perform the task. // This may be done during initial task creation or later once an agent // has determined it can't or won't proceed. This is a terminal state. TaskState_TASK_STATE_REJECTED TaskState = 7 // Indicates that authentication is required to proceed. This is an interrupted state. TaskState_TASK_STATE_AUTH_REQUIRED TaskState = 8 )
func (TaskState) Descriptor ¶
func (TaskState) Descriptor() protoreflect.EnumDescriptor
func (TaskState) EnumDescriptor
deprecated
func (TaskState) Number ¶
func (x TaskState) Number() protoreflect.EnumNumber
func (TaskState) Type ¶
func (TaskState) Type() protoreflect.EnumType
type TaskStatus ¶
type TaskStatus struct {
// The current state of this task.
State TaskState `protobuf:"varint,1,opt,name=state,proto3,enum=lf.a2a.v1.TaskState" json:"state,omitempty"`
// A message associated with the status.
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// ISO 8601 Timestamp when the status was recorded.
// Example: "2023-10-27T10:00:00Z"
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
A container for the status of a task
func (*TaskStatus) Descriptor
deprecated
func (*TaskStatus) Descriptor() ([]byte, []int)
Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
func (*TaskStatus) GetMessage ¶
func (x *TaskStatus) GetMessage() *Message
func (*TaskStatus) GetState ¶
func (x *TaskStatus) GetState() TaskState
func (*TaskStatus) GetTimestamp ¶
func (x *TaskStatus) GetTimestamp() *timestamppb.Timestamp
func (*TaskStatus) ProtoMessage ¶
func (*TaskStatus) ProtoMessage()
func (*TaskStatus) ProtoReflect ¶
func (x *TaskStatus) ProtoReflect() protoreflect.Message
func (*TaskStatus) Reset ¶
func (x *TaskStatus) Reset()
func (*TaskStatus) String ¶
func (x *TaskStatus) String() string
type TaskStatusUpdateEvent ¶
type TaskStatusUpdateEvent struct {
// The ID of the task that has changed.
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// The ID of the context that the task belongs to.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// The new status of the task.
Status *TaskStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// Optional. Metadata associated with the task update.
Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
An event sent by the agent to notify the client of a change in a task's status.
func (*TaskStatusUpdateEvent) Descriptor
deprecated
func (*TaskStatusUpdateEvent) Descriptor() ([]byte, []int)
Deprecated: Use TaskStatusUpdateEvent.ProtoReflect.Descriptor instead.
func (*TaskStatusUpdateEvent) GetContextId ¶
func (x *TaskStatusUpdateEvent) GetContextId() string
func (*TaskStatusUpdateEvent) GetMetadata ¶
func (x *TaskStatusUpdateEvent) GetMetadata() *structpb.Struct
func (*TaskStatusUpdateEvent) GetStatus ¶
func (x *TaskStatusUpdateEvent) GetStatus() *TaskStatus
func (*TaskStatusUpdateEvent) GetTaskId ¶
func (x *TaskStatusUpdateEvent) GetTaskId() string
func (*TaskStatusUpdateEvent) ProtoMessage ¶
func (*TaskStatusUpdateEvent) ProtoMessage()
func (*TaskStatusUpdateEvent) ProtoReflect ¶
func (x *TaskStatusUpdateEvent) ProtoReflect() protoreflect.Message
func (*TaskStatusUpdateEvent) Reset ¶
func (x *TaskStatusUpdateEvent) Reset()
func (*TaskStatusUpdateEvent) String ¶
func (x *TaskStatusUpdateEvent) String() string
type UnimplementedA2AServiceServer ¶
type UnimplementedA2AServiceServer struct{}
UnimplementedA2AServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedA2AServiceServer) CancelTask ¶
func (UnimplementedA2AServiceServer) CancelTask(context.Context, *CancelTaskRequest) (*Task, error)
func (UnimplementedA2AServiceServer) CreateTaskPushNotificationConfig ¶
func (UnimplementedA2AServiceServer) CreateTaskPushNotificationConfig(context.Context, *TaskPushNotificationConfig) (*TaskPushNotificationConfig, error)
func (UnimplementedA2AServiceServer) DeleteTaskPushNotificationConfig ¶
func (UnimplementedA2AServiceServer) DeleteTaskPushNotificationConfig(context.Context, *DeleteTaskPushNotificationConfigRequest) (*emptypb.Empty, error)
func (UnimplementedA2AServiceServer) GetExtendedAgentCard ¶
func (UnimplementedA2AServiceServer) GetExtendedAgentCard(context.Context, *GetExtendedAgentCardRequest) (*AgentCard, error)
func (UnimplementedA2AServiceServer) GetTask ¶
func (UnimplementedA2AServiceServer) GetTask(context.Context, *GetTaskRequest) (*Task, error)
func (UnimplementedA2AServiceServer) GetTaskPushNotificationConfig ¶
func (UnimplementedA2AServiceServer) GetTaskPushNotificationConfig(context.Context, *GetTaskPushNotificationConfigRequest) (*TaskPushNotificationConfig, error)
func (UnimplementedA2AServiceServer) ListTaskPushNotificationConfigs ¶
func (UnimplementedA2AServiceServer) ListTaskPushNotificationConfigs(context.Context, *ListTaskPushNotificationConfigsRequest) (*ListTaskPushNotificationConfigsResponse, error)
func (UnimplementedA2AServiceServer) ListTasks ¶
func (UnimplementedA2AServiceServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
func (UnimplementedA2AServiceServer) SendMessage ¶
func (UnimplementedA2AServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (UnimplementedA2AServiceServer) SendStreamingMessage ¶
func (UnimplementedA2AServiceServer) SendStreamingMessage(*SendMessageRequest, grpc.ServerStreamingServer[StreamResponse]) error
func (UnimplementedA2AServiceServer) SubscribeToTask ¶
func (UnimplementedA2AServiceServer) SubscribeToTask(*SubscribeToTaskRequest, grpc.ServerStreamingServer[StreamResponse]) error
type UnsafeA2AServiceServer ¶
type UnsafeA2AServiceServer interface {
// contains filtered or unexported methods
}
UnsafeA2AServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to A2AServiceServer will result in compilation errors.