From 41aa7e9f3861d623eb6a50316dcb3b8423d48862 Mon Sep 17 00:00:00 2001 From: Emmanuel Hugonnet Date: Thu, 26 Feb 2026 19:51:04 +0100 Subject: [PATCH] fix!: Update a2a.proto changes - Aligning to the latest version of a2a.proto - Update tests to match a2a.proto changes: Fixes test failures after proto update - adjusts JSON structures and package references to align with new proto definitions. Signed-off-by: Emmanuel Hugonnet --- .../client/transport/grpc/GrpcTransport.java | 5 +- .../transport/jsonrpc/JSONRPCTransport.java | 4 +- .../transport/jsonrpc/JsonMessages.java | 6 +- .../client/transport/rest/RestTransport.java | 9 +- .../transport/rest/JsonRestMessages.java | 10 +- .../jsonrpc/common/wrappers/A2AResponse.java | 2 +- ...stTaskPushNotificationConfigsRequest.java} | 12 +- ...tTaskPushNotificationConfigsResponse.java} | 10 +- .../wrappers/NonStreamingJSONRPCRequest.java | 2 +- .../server/apps/quarkus/A2AServerRoutes.java | 8 +- .../apps/quarkus/A2AServerRoutesTest.java | 12 +- .../io/a2a/server/util/sse/SseFormatter.java | 4 +- spec-grpc/src/main/java/io/a2a/grpc/A2A.java | 1053 +++++++++-------- .../main/java/io/a2a/grpc/A2AServiceGrpc.java | 217 ++-- .../io/a2a/grpc/APIKeySecurityScheme.java | 24 +- .../grpc/APIKeySecuritySchemeOrBuilder.java | 2 +- .../java/io/a2a/grpc/AgentCapabilities.java | 92 +- .../a2a/grpc/AgentCapabilitiesOrBuilder.java | 16 +- .../src/main/java/io/a2a/grpc/AgentCard.java | 626 +++++----- .../java/io/a2a/grpc/AgentCardOrBuilder.java | 122 +- .../java/io/a2a/grpc/AgentCardSignature.java | 80 +- .../a2a/grpc/AgentCardSignatureOrBuilder.java | 18 +- .../main/java/io/a2a/grpc/AgentExtension.java | 48 +- .../io/a2a/grpc/AgentExtensionOrBuilder.java | 8 +- .../main/java/io/a2a/grpc/AgentInterface.java | 38 +- .../io/a2a/grpc/AgentInterfaceOrBuilder.java | 6 +- .../main/java/io/a2a/grpc/AgentProvider.java | 24 +- .../io/a2a/grpc/AgentProviderOrBuilder.java | 2 +- .../src/main/java/io/a2a/grpc/AgentSkill.java | 70 +- .../java/io/a2a/grpc/AgentSkillOrBuilder.java | 12 +- .../src/main/java/io/a2a/grpc/Artifact.java | 255 ++-- .../java/io/a2a/grpc/ArtifactOrBuilder.java | 50 +- .../java/io/a2a/grpc/AuthenticationInfo.java | 45 +- .../a2a/grpc/AuthenticationInfoOrBuilder.java | 8 +- .../a2a/grpc/AuthorizationCodeOAuthFlow.java | 26 +- .../AuthorizationCodeOAuthFlowOrBuilder.java | 2 +- .../java/io/a2a/grpc/CancelTaskRequest.java | 349 +++++- .../a2a/grpc/CancelTaskRequestOrBuilder.java | 45 +- .../a2a/grpc/ClientCredentialsOAuthFlow.java | 26 +- .../ClientCredentialsOAuthFlowOrBuilder.java | 2 +- ...eateTaskPushNotificationConfigRequest.java | 324 ++--- ...ushNotificationConfigRequestOrBuilder.java | 44 +- ...leteTaskPushNotificationConfigRequest.java | 146 ++- ...ushNotificationConfigRequestOrBuilder.java | 26 +- .../java/io/a2a/grpc/DeviceCodeOAuthFlow.java | 26 +- .../grpc/DeviceCodeOAuthFlowOrBuilder.java | 2 +- .../a2a/grpc/GetExtendedAgentCardRequest.java | 40 +- .../GetExtendedAgentCardRequestOrBuilder.java | 6 +- .../GetTaskPushNotificationConfigRequest.java | 148 +-- ...ushNotificationConfigRequestOrBuilder.java | 26 +- .../main/java/io/a2a/grpc/GetTaskRequest.java | 134 ++- .../io/a2a/grpc/GetTaskRequestOrBuilder.java | 22 +- .../io/a2a/grpc/HTTPAuthSecurityScheme.java | 38 +- .../grpc/HTTPAuthSecuritySchemeOrBuilder.java | 6 +- .../java/io/a2a/grpc/ImplicitOAuthFlow.java | 28 +- .../a2a/grpc/ImplicitOAuthFlowOrBuilder.java | 2 +- ...stTaskPushNotificationConfigsRequest.java} | 158 +-- ...hNotificationConfigsRequestOrBuilder.java} | 16 +- ...tTaskPushNotificationConfigsResponse.java} | 187 ++- ...NotificationConfigsResponseOrBuilder.java} | 20 +- .../java/io/a2a/grpc/ListTasksRequest.java | 310 ++--- .../a2a/grpc/ListTasksRequestOrBuilder.java | 60 +- .../java/io/a2a/grpc/ListTasksResponse.java | 96 +- .../a2a/grpc/ListTasksResponseOrBuilder.java | 18 +- .../src/main/java/io/a2a/grpc/Message.java | 226 ++-- .../java/io/a2a/grpc/MessageOrBuilder.java | 48 +- .../io/a2a/grpc/MutualTlsSecurityScheme.java | 24 +- .../MutualTlsSecuritySchemeOrBuilder.java | 2 +- .../io/a2a/grpc/OAuth2SecurityScheme.java | 76 +- .../grpc/OAuth2SecuritySchemeOrBuilder.java | 16 +- .../src/main/java/io/a2a/grpc/OAuthFlows.java | 272 +++-- .../java/io/a2a/grpc/OAuthFlowsOrBuilder.java | 72 +- .../a2a/grpc/OpenIdConnectSecurityScheme.java | 45 +- .../OpenIdConnectSecuritySchemeOrBuilder.java | 8 +- spec-grpc/src/main/java/io/a2a/grpc/Part.java | 152 ++- .../main/java/io/a2a/grpc/PartOrBuilder.java | 38 +- .../java/io/a2a/grpc/PasswordOAuthFlow.java | 28 +- .../a2a/grpc/PasswordOAuthFlowOrBuilder.java | 2 +- .../io/a2a/grpc/PushNotificationConfig.java | 114 +- .../grpc/PushNotificationConfigOrBuilder.java | 26 +- spec-grpc/src/main/java/io/a2a/grpc/Role.java | 21 +- .../java/io/a2a/grpc/SecurityRequirement.java | 104 +- .../grpc/SecurityRequirementOrBuilder.java | 32 +- .../main/java/io/a2a/grpc/SecurityScheme.java | 144 ++- .../io/a2a/grpc/SecuritySchemeOrBuilder.java | 32 +- .../io/a2a/grpc/SendMessageConfiguration.java | 103 +- .../SendMessageConfigurationOrBuilder.java | 24 +- .../java/io/a2a/grpc/SendMessageRequest.java | 176 ++- .../a2a/grpc/SendMessageRequestOrBuilder.java | 28 +- .../java/io/a2a/grpc/SendMessageResponse.java | 172 ++- .../grpc/SendMessageResponseOrBuilder.java | 38 +- .../main/java/io/a2a/grpc/StreamResponse.java | 120 +- .../io/a2a/grpc/StreamResponseOrBuilder.java | 26 +- .../src/main/java/io/a2a/grpc/StringList.java | 76 +- .../java/io/a2a/grpc/StringListOrBuilder.java | 18 +- .../io/a2a/grpc/SubscribeToTaskRequest.java | 110 +- .../grpc/SubscribeToTaskRequestOrBuilder.java | 18 +- spec-grpc/src/main/java/io/a2a/grpc/Task.java | 260 ++-- .../io/a2a/grpc/TaskArtifactUpdateEvent.java | 106 +- .../TaskArtifactUpdateEventOrBuilder.java | 22 +- .../main/java/io/a2a/grpc/TaskOrBuilder.java | 54 +- .../a2a/grpc/TaskPushNotificationConfig.java | 340 ++---- .../TaskPushNotificationConfigOrBuilder.java | 44 +- .../src/main/java/io/a2a/grpc/TaskState.java | 45 +- .../src/main/java/io/a2a/grpc/TaskStatus.java | 62 +- .../java/io/a2a/grpc/TaskStatusOrBuilder.java | 12 +- .../io/a2a/grpc/TaskStatusUpdateEvent.java | 140 ++- .../grpc/TaskStatusUpdateEventOrBuilder.java | 28 +- ...reateTaskPushNotificationConfigMapper.java | 3 +- ...askPushNotificationConfigParamsMapper.java | 10 +- .../a2a/grpc/mapper/TaskIdParamsMapper.java | 5 +- .../TaskPushNotificationConfigMapper.java | 3 +- .../java/io/a2a/grpc/utils/JSONRPCUtils.java | 14 +- .../java/io/a2a/grpc/utils/ProtoUtils.java | 16 +- spec-grpc/src/main/proto/a2a.proto | 472 +++----- .../io/a2a/grpc/utils/JSONRPCUtilsTest.java | 17 +- .../java/io/a2a/grpc/utils/ToProtoTest.java | 8 +- .../src/main/java/io/a2a/spec/A2AMethods.java | 2 +- .../main/java/io/a2a/spec/TaskIdParams.java | 21 +- .../transport/grpc/handler/GrpcHandler.java | 6 +- .../grpc/handler/GrpcHandlerTest.java | 29 +- .../jsonrpc/handler/JSONRPCHandler.java | 16 +- .../jsonrpc/handler/JSONRPCHandlerTest.java | 28 +- .../transport/rest/handler/RestHandler.java | 6 +- .../rest/handler/RestHandlerTest.java | 4 +- 125 files changed, 4766 insertions(+), 4631 deletions(-) rename jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/{ListTaskPushNotificationConfigRequest.java => ListTaskPushNotificationConfigsRequest.java} (82%) rename jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/{ListTaskPushNotificationConfigResponse.java => ListTaskPushNotificationConfigsResponse.java} (75%) rename spec-grpc/src/main/java/io/a2a/grpc/{ListTaskPushNotificationConfigRequest.java => ListTaskPushNotificationConfigsRequest.java} (81%) rename spec-grpc/src/main/java/io/a2a/grpc/{ListTaskPushNotificationConfigRequestOrBuilder.java => ListTaskPushNotificationConfigsRequestOrBuilder.java} (73%) rename spec-grpc/src/main/java/io/a2a/grpc/{ListTaskPushNotificationConfigResponse.java => ListTaskPushNotificationConfigsResponse.java} (78%) rename spec-grpc/src/main/java/io/a2a/grpc/{ListTaskPushNotificationConfigResponseOrBuilder.java => ListTaskPushNotificationConfigsResponseOrBuilder.java} (63%) diff --git a/client/transport/grpc/src/main/java/io/a2a/client/transport/grpc/GrpcTransport.java b/client/transport/grpc/src/main/java/io/a2a/client/transport/grpc/GrpcTransport.java index 6c75594ca..f3fcccabb 100644 --- a/client/transport/grpc/src/main/java/io/a2a/client/transport/grpc/GrpcTransport.java +++ b/client/transport/grpc/src/main/java/io/a2a/client/transport/grpc/GrpcTransport.java @@ -238,7 +238,6 @@ public TaskPushNotificationConfig createTaskPushNotificationConfiguration(TaskPu io.a2a.grpc.CreateTaskPushNotificationConfigRequest grpcRequest = io.a2a.grpc.CreateTaskPushNotificationConfigRequest.newBuilder() .setTaskId(request.taskId()) .setConfig(ToProto.taskPushNotificationConfig(request).getPushNotificationConfig()) - .setConfigId(configId != null ? configId : request.taskId()) .setTenant(resolveTenant(request.tenant())) .build(); PayloadAndHeaders payloadAndHeaders = applyInterceptors(SET_TASK_PUSH_NOTIFICATION_CONFIG_METHOD, grpcRequest, agentCard, context); @@ -281,7 +280,7 @@ public ListTaskPushNotificationConfigResult listTaskPushNotificationConfiguratio @Nullable ClientCallContext context) throws A2AClientException { checkNotNullParam("request", request); - io.a2a.grpc.ListTaskPushNotificationConfigRequest grpcRequest = io.a2a.grpc.ListTaskPushNotificationConfigRequest.newBuilder() + io.a2a.grpc.ListTaskPushNotificationConfigsRequest grpcRequest = io.a2a.grpc.ListTaskPushNotificationConfigsRequest.newBuilder() .setTaskId(request.id()) .setTenant(resolveTenant(request.tenant())) .setPageSize(request.pageSize()) @@ -292,7 +291,7 @@ public ListTaskPushNotificationConfigResult listTaskPushNotificationConfiguratio try { A2AServiceBlockingV2Stub stubWithMetadata = createBlockingStubWithMetadata(context, payloadAndHeaders); - io.a2a.grpc.ListTaskPushNotificationConfigResponse grpcResponse = stubWithMetadata.listTaskPushNotificationConfig(grpcRequest); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse grpcResponse = stubWithMetadata.listTaskPushNotificationConfigs(grpcRequest); return FromProto.listTaskPushNotificationConfigResult(grpcResponse); } catch (StatusRuntimeException | StatusException e) { throw GrpcErrorMapper.mapGrpcError(e, "Failed to list task push notification config: "); diff --git a/client/transport/jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc/JSONRPCTransport.java b/client/transport/jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc/JSONRPCTransport.java index a26600fe3..a06efb81e 100644 --- a/client/transport/jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc/JSONRPCTransport.java +++ b/client/transport/jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc/JSONRPCTransport.java @@ -39,7 +39,7 @@ import io.a2a.jsonrpc.common.wrappers.GetExtendedAgentCardResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksResult; import io.a2a.jsonrpc.common.wrappers.SendMessageResponse; @@ -228,7 +228,7 @@ public ListTaskPushNotificationConfigResult listTaskPushNotificationConfiguratio try { String httpResponseBody = sendPostRequest(Utils.buildBaseUrl(agentInterface, request.tenant()), payloadAndHeaders, LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD); - ListTaskPushNotificationConfigResponse response = unmarshalResponse(httpResponseBody, LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD); + ListTaskPushNotificationConfigsResponse response = unmarshalResponse(httpResponseBody, LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD); return response.getResult(); } catch (A2AClientException e) { throw e; diff --git a/client/transport/jsonrpc/src/test/java/io/a2a/client/transport/jsonrpc/JsonMessages.java b/client/transport/jsonrpc/src/test/java/io/a2a/client/transport/jsonrpc/JsonMessages.java index b55c0f9d1..f2a5977d4 100644 --- a/client/transport/jsonrpc/src/test/java/io/a2a/client/transport/jsonrpc/JsonMessages.java +++ b/client/transport/jsonrpc/src/test/java/io/a2a/client/transport/jsonrpc/JsonMessages.java @@ -322,8 +322,8 @@ public class JsonMessages { "id": "cd4c76de-d54c-436c-8b9f-4c2703648d64", "result": { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "id": "c295ea44-7543-4f78-b524-7a38915ad6e4", "pushNotificationConfig": { + "id": "c295ea44-7543-4f78-b524-7a38915ad6e4", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -339,8 +339,8 @@ public class JsonMessages { "method":"CreateTaskPushNotificationConfig", "params":{ "taskId":"de38c76d-d54c-436c-8b9f-4c2703648d64", - "configId":"c295ea44-7543-4f78-b524-7a38915ad6e4", "config":{ + "id":"c295ea44-7543-4f78-b524-7a38915ad6e4", "url":"https://example.com/callback", "authentication":{ "scheme":"jwt" @@ -355,8 +355,8 @@ public class JsonMessages { "id": "cd4c76de-d54c-436c-8b9f-4c2703648d64", "result": { "taskId":"de38c76d-d54c-436c-8b9f-4c2703648d64", - "id":"c295ea44-7543-4f78-b524-7a38915ad6e4", "pushNotificationConfig": { + "id":"c295ea44-7543-4f78-b524-7a38915ad6e4", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" diff --git a/client/transport/rest/src/main/java/io/a2a/client/transport/rest/RestTransport.java b/client/transport/rest/src/main/java/io/a2a/client/transport/rest/RestTransport.java index 11c5f2fc6..11142a644 100644 --- a/client/transport/rest/src/main/java/io/a2a/client/transport/rest/RestTransport.java +++ b/client/transport/rest/src/main/java/io/a2a/client/transport/rest/RestTransport.java @@ -275,9 +275,6 @@ public TaskPushNotificationConfig createTaskPushNotificationConfiguration(TaskPu = io.a2a.grpc.CreateTaskPushNotificationConfigRequest.newBuilder(); builder.setConfig(ProtoUtils.ToProto.taskPushNotificationConfig(request).getPushNotificationConfig()) .setTaskId(request.taskId()); - if (request.config().id() != null) { - builder.setConfigId(request.config().id()); - } PayloadAndHeaders payloadAndHeaders = applyInterceptors(SET_TASK_PUSH_NOTIFICATION_CONFIG_METHOD, builder, agentCard, context); try { String httpResponseBody = sendPostRequest(Utils.buildBaseUrl(agentInterface, request.tenant()) + String.format("/tasks/%1s/pushNotificationConfigs", request.taskId()), payloadAndHeaders); @@ -333,8 +330,8 @@ public TaskPushNotificationConfig getTaskPushNotificationConfiguration(GetTaskPu @Override public ListTaskPushNotificationConfigResult listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams request, @Nullable ClientCallContext context) throws A2AClientException { checkNotNullParam("request", request); - io.a2a.grpc.ListTaskPushNotificationConfigRequest.Builder builder - = io.a2a.grpc.ListTaskPushNotificationConfigRequest.newBuilder(); + io.a2a.grpc.ListTaskPushNotificationConfigsRequest.Builder builder + = io.a2a.grpc.ListTaskPushNotificationConfigsRequest.newBuilder(); builder.setTaskId(request.id()); PayloadAndHeaders payloadAndHeaders = applyInterceptors(LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD, builder, agentCard, context); @@ -351,7 +348,7 @@ public ListTaskPushNotificationConfigResult listTaskPushNotificationConfiguratio throw RestErrorMapper.mapRestError(response); } String httpResponseBody = response.body(); - io.a2a.grpc.ListTaskPushNotificationConfigResponse.Builder responseBuilder = io.a2a.grpc.ListTaskPushNotificationConfigResponse.newBuilder(); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.Builder responseBuilder = io.a2a.grpc.ListTaskPushNotificationConfigsResponse.newBuilder(); JsonFormat.parser().merge(httpResponseBody, responseBuilder); return ProtoUtils.FromProto.listTaskPushNotificationConfigResult(responseBuilder); } catch (A2AClientException e) { diff --git a/client/transport/rest/src/test/java/io/a2a/client/transport/rest/JsonRestMessages.java b/client/transport/rest/src/test/java/io/a2a/client/transport/rest/JsonRestMessages.java index 35ac4a9c5..aa54d4b86 100644 --- a/client/transport/rest/src/test/java/io/a2a/client/transport/rest/JsonRestMessages.java +++ b/client/transport/rest/src/test/java/io/a2a/client/transport/rest/JsonRestMessages.java @@ -308,8 +308,8 @@ public class JsonRestMessages { static final String GET_TASK_PUSH_NOTIFICATION_CONFIG_TEST_RESPONSE = """ { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "id": "10", "pushNotificationConfig": { + "id": "10", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -321,8 +321,8 @@ public class JsonRestMessages { "configs":[ { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "id": "10", "pushNotificationConfig": { + "id": "10", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -331,8 +331,8 @@ public class JsonRestMessages { }, { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "id": "5", "pushNotificationConfig": { + "id": "5", "url": "https://test.com/callback" } } @@ -343,8 +343,8 @@ public class JsonRestMessages { static final String SET_TASK_PUSH_NOTIFICATION_CONFIG_TEST_REQUEST = """ { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "configId": "default-config-id", "config": { + "id": "default-config-id", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -355,8 +355,8 @@ public class JsonRestMessages { static final String SET_TASK_PUSH_NOTIFICATION_CONFIG_TEST_RESPONSE = """ { "taskId": "de38c76d-d54c-436c-8b9f-4c2703648d64", - "id": "10", "pushNotificationConfig": { + "id": "10", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" diff --git a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/A2AResponse.java b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/A2AResponse.java index 20fc4bd42..c318f2166 100644 --- a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/A2AResponse.java +++ b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/A2AResponse.java @@ -10,7 +10,7 @@ * * @param the type of the result value returned in successful responses */ -public abstract sealed class A2AResponse implements A2AMessage permits CancelTaskResponse, DeleteTaskPushNotificationConfigResponse, GetExtendedAgentCardResponse, GetTaskPushNotificationConfigResponse, GetTaskResponse, A2AErrorResponse, ListTaskPushNotificationConfigResponse, ListTasksResponse, SendMessageResponse, SendStreamingMessageResponse, CreateTaskPushNotificationConfigResponse { +public abstract sealed class A2AResponse implements A2AMessage permits CancelTaskResponse, DeleteTaskPushNotificationConfigResponse, GetExtendedAgentCardResponse, GetTaskPushNotificationConfigResponse, GetTaskResponse, A2AErrorResponse, ListTaskPushNotificationConfigsResponse, ListTasksResponse, SendMessageResponse, SendStreamingMessageResponse, CreateTaskPushNotificationConfigResponse { /** The JSON-RPC protocol version. */ protected String jsonrpc; diff --git a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigRequest.java b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsRequest.java similarity index 82% rename from jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigRequest.java rename to jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsRequest.java index ebd5c98e5..66133f250 100644 --- a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigRequest.java +++ b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsRequest.java @@ -16,12 +16,12 @@ *

* This class implements the JSON-RPC {@code tasks/pushNotificationConfig/list} method. * - * @see ListTaskPushNotificationConfigResponse for the response + * @see ListTaskPushNotificationConfigsResponse for the response * @see ListTaskPushNotificationConfigParams for the parameter structure * @see TaskPushNotificationConfig for the configuration structure * @see A2A Protocol Specification */ -public final class ListTaskPushNotificationConfigRequest extends NonStreamingJSONRPCRequest { +public final class ListTaskPushNotificationConfigsRequest extends NonStreamingJSONRPCRequest { /** * Constructs request with all parameters. @@ -30,7 +30,7 @@ public final class ListTaskPushNotificationConfigRequest extends NonStreamingJSO * @param id the request ID * @param params the request parameters */ - public ListTaskPushNotificationConfigRequest(String jsonrpc, Object id, ListTaskPushNotificationConfigParams params) { + public ListTaskPushNotificationConfigsRequest(String jsonrpc, Object id, ListTaskPushNotificationConfigParams params) { super(jsonrpc, LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD, id, params); } @@ -40,7 +40,7 @@ public ListTaskPushNotificationConfigRequest(String jsonrpc, Object id, ListTask * @param id the request ID * @param params the request parameters */ - public ListTaskPushNotificationConfigRequest(String id, ListTaskPushNotificationConfigParams params) { + public ListTaskPushNotificationConfigsRequest(String id, ListTaskPushNotificationConfigParams params) { this(null, id, params); } @@ -105,11 +105,11 @@ public Builder params(ListTaskPushNotificationConfigParams params) { * * @return a new instance */ - public ListTaskPushNotificationConfigRequest build() { + public ListTaskPushNotificationConfigsRequest build() { if (id == null) { id = UUID.randomUUID().toString(); } - return new ListTaskPushNotificationConfigRequest(jsonrpc, id, params); + return new ListTaskPushNotificationConfigsRequest(jsonrpc, id, params); } } } diff --git a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigResponse.java b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsResponse.java similarity index 75% rename from jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigResponse.java rename to jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsResponse.java index e5e24739f..30b983c06 100644 --- a/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigResponse.java +++ b/jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigsResponse.java @@ -13,12 +13,12 @@ *

* If an error occurs, the error field will contain a {@link A2AError}. * - * @see ListTaskPushNotificationConfigRequest for the corresponding request + * @see ListTaskPushNotificationConfigsRequest for the corresponding request * @see ListTaskPushNotificationConfigResult for the result structure * @see TaskPushNotificationConfig for the configuration structure * @see A2A Protocol Specification */ -public final class ListTaskPushNotificationConfigResponse extends A2AResponse { +public final class ListTaskPushNotificationConfigsResponse extends A2AResponse { /** * Constructs response with all parameters. @@ -28,7 +28,7 @@ public final class ListTaskPushNotificationConfigResponse extends A2AResponse

  • extends A2ARequest permits GetTaskRequest, CancelTaskRequest, CreateTaskPushNotificationConfigRequest, GetTaskPushNotificationConfigRequest, - SendMessageRequest, DeleteTaskPushNotificationConfigRequest, ListTaskPushNotificationConfigRequest, + SendMessageRequest, DeleteTaskPushNotificationConfigRequest, ListTaskPushNotificationConfigsRequest, GetExtendedAgentCardRequest, ListTasksRequest { NonStreamingJSONRPCRequest(String jsonrpc, String method, Object id, T params) { diff --git a/reference/jsonrpc/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java b/reference/jsonrpc/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java index 971a0cc77..ceded1fc4 100644 --- a/reference/jsonrpc/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java +++ b/reference/jsonrpc/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java @@ -43,8 +43,8 @@ import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskRequest; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigRequest; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsRequest; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksRequest; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.NonStreamingJSONRPCRequest; @@ -187,7 +187,7 @@ private A2AResponse processNonStreamingRequest(NonStreamingJSONRPCRequest if (request instanceof SendMessageRequest req) { return jsonRpcHandler.onMessageSend(req, context); } - if (request instanceof ListTaskPushNotificationConfigRequest req) { + if (request instanceof ListTaskPushNotificationConfigsRequest req) { return jsonRpcHandler.listPushNotificationConfig(req, context); } if (request instanceof DeleteTaskPushNotificationConfigRequest req) { @@ -304,7 +304,7 @@ private static com.google.protobuf.MessageOrBuilder convertToProto(A2AResponse contextCaptor = ArgumentCaptor.forClass(ServerCallContext.class); @@ -445,7 +445,7 @@ public void testListTaskPushNotificationConfig_MethodNameSetInContext() { routes.invokeJSONRPCHandler(jsonRpcRequest, mockRoutingContext); // Assert - verify(mockJsonRpcHandler).listPushNotificationConfig(any(ListTaskPushNotificationConfigRequest.class), + verify(mockJsonRpcHandler).listPushNotificationConfig(any(ListTaskPushNotificationConfigsRequest.class), contextCaptor.capture()); ServerCallContext capturedContext = contextCaptor.getValue(); assertNotNull(capturedContext); diff --git a/server-common/src/main/java/io/a2a/server/util/sse/SseFormatter.java b/server-common/src/main/java/io/a2a/server/util/sse/SseFormatter.java index ba02222e6..fec2386cc 100644 --- a/server-common/src/main/java/io/a2a/server/util/sse/SseFormatter.java +++ b/server-common/src/main/java/io/a2a/server/util/sse/SseFormatter.java @@ -9,7 +9,7 @@ import io.a2a.jsonrpc.common.wrappers.GetExtendedAgentCardResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.SendMessageResponse; import io.a2a.jsonrpc.common.wrappers.SendStreamingMessageResponse; @@ -120,7 +120,7 @@ private static com.google.protobuf.MessageOrBuilder convertToProto(A2AResponse\n\022AuthenticationInfo\022\023\n\006scheme\030\001 \001(" + - "\tB\003\340A\002\022\023\n\013credentials\030\002 \001(\t\"p\n\016AgentInte" + - "rface\022\020\n\003url\030\001 \001(\tB\003\340A\002\022\035\n\020protocol_bind" + - "ing\030\002 \001(\tB\003\340A\002\022\016\n\006tenant\030\003 \001(\t\022\035\n\020protoc" + - "ol_version\030\004 \001(\tB\003\340A\002\"\314\005\n\tAgentCard\022\021\n\004n" + - "ame\030\001 \001(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\002" + - "\0229\n\024supported_interfaces\030\023 \003(\0132\026.a2a.v1." + - "AgentInterfaceB\003\340A\002\022\'\n\010provider\030\004 \001(\0132\025." + - "a2a.v1.AgentProvider\022\024\n\007version\030\005 \001(\tB\003\340" + - "A\002\022\036\n\021documentation_url\030\006 \001(\tH\000\210\001\001\0224\n\014ca" + - "pabilities\030\007 \001(\0132\031.a2a.v1.AgentCapabilit" + - "iesB\003\340A\002\022@\n\020security_schemes\030\010 \003(\0132&.a2a" + - ".v1.AgentCard.SecuritySchemesEntry\022:\n\025se" + - "curity_requirements\030\r \003(\0132\033.a2a.v1.Secur" + - "ityRequirement\022 \n\023default_input_modes\030\n " + - "\003(\tB\003\340A\002\022!\n\024default_output_modes\030\013 \003(\tB\003" + - "\340A\002\022\'\n\006skills\030\014 \003(\0132\022.a2a.v1.AgentSkillB" + - "\003\340A\002\022.\n\nsignatures\030\021 \003(\0132\032.a2a.v1.AgentC" + - "ardSignature\022\025\n\010icon_url\030\022 \001(\tH\001\210\001\001\032N\n\024S" + - "ecuritySchemesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005valu" + - "e\030\002 \001(\0132\026.a2a.v1.SecurityScheme:\0028\001B\024\n\022_" + - "documentation_urlB\013\n\t_icon_urlJ\004\010\003\020\004J\004\010\t" + - "\020\nJ\004\010\016\020\017J\004\010\017\020\020J\004\010\020\020\021\"<\n\rAgentProvider\022\020\n" + - "\003url\030\001 \001(\tB\003\340A\002\022\031\n\014organization\030\002 \001(\tB\003\340" + - "A\002\"\335\001\n\021AgentCapabilities\022\026\n\tstreaming\030\001 " + - "\001(\010H\000\210\001\001\022\037\n\022push_notifications\030\002 \001(\010H\001\210\001" + - "\001\022*\n\nextensions\030\003 \003(\0132\026.a2a.v1.AgentExte" + - "nsion\022 \n\023extended_agent_card\030\005 \001(\010H\002\210\001\001B" + - "\014\n\n_streamingB\025\n\023_push_notificationsB\026\n\024" + - "_extended_agent_cardJ\004\010\004\020\005\"m\n\016AgentExten" + - "sion\022\013\n\003uri\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022\020" + - "\n\010required\030\003 \001(\010\022\'\n\006params\030\004 \001(\0132\027.googl" + - "e.protobuf.Struct\"\326\001\n\nAgentSkill\022\017\n\002id\030\001" + - " \001(\tB\003\340A\002\022\021\n\004name\030\002 \001(\tB\003\340A\002\022\030\n\013descript" + - "ion\030\003 \001(\tB\003\340A\002\022\021\n\004tags\030\004 \003(\tB\003\340A\002\022\020\n\010exa" + - "mples\030\005 \003(\t\022\023\n\013input_modes\030\006 \003(\t\022\024\n\014outp" + - "ut_modes\030\007 \003(\t\022:\n\025security_requirements\030" + - "\010 \003(\0132\033.a2a.v1.SecurityRequirement\"m\n\022Ag" + - "entCardSignature\022\026\n\tprotected\030\001 \001(\tB\003\340A\002" + - "\022\026\n\tsignature\030\002 \001(\tB\003\340A\002\022\'\n\006header\030\003 \001(\013" + - "2\027.google.protobuf.Struct\"\232\001\n\032TaskPushNo" + - "tificationConfig\022\016\n\006tenant\030\004 \001(\t\022\017\n\002id\030\001" + - " \001(\tB\003\340A\002\022\024\n\007task_id\030\003 \001(\tB\003\340A\002\022E\n\030push_" + - "notification_config\030\002 \001(\0132\036.a2a.v1.PushN" + - "otificationConfigB\003\340A\002\"\032\n\nStringList\022\014\n\004" + - "list\030\001 \003(\t\"\224\001\n\023SecurityRequirement\0229\n\007sc" + - "hemes\030\001 \003(\0132(.a2a.v1.SecurityRequirement" + - ".SchemesEntry\032B\n\014SchemesEntry\022\013\n\003key\030\001 \001" + - "(\t\022!\n\005value\030\002 \001(\0132\022.a2a.v1.StringList:\0028" + - "\001\"\361\002\n\016SecurityScheme\022?\n\027api_key_security" + - "_scheme\030\001 \001(\0132\034.a2a.v1.APIKeySecuritySch" + - "emeH\000\022C\n\031http_auth_security_scheme\030\002 \001(\013" + - "2\036.a2a.v1.HTTPAuthSecuritySchemeH\000\022>\n\026oa" + - "uth2_security_scheme\030\003 \001(\0132\034.a2a.v1.OAut" + - "h2SecuritySchemeH\000\022N\n\037open_id_connect_se" + - "curity_scheme\030\004 \001(\0132#.a2a.v1.OpenIdConne" + - "ctSecuritySchemeH\000\022?\n\024mtls_security_sche" + - "me\030\005 \001(\0132\037.a2a.v1.MutualTlsSecuritySchem" + - "eH\000B\010\n\006scheme\"U\n\024APIKeySecurityScheme\022\023\n" + - "\013description\030\001 \001(\t\022\025\n\010location\030\002 \001(\tB\003\340A" + - "\002\022\021\n\004name\030\003 \001(\tB\003\340A\002\"Y\n\026HTTPAuthSecurity" + - "Scheme\022\023\n\013description\030\001 \001(\t\022\023\n\006scheme\030\002 " + - "\001(\tB\003\340A\002\022\025\n\rbearer_format\030\003 \001(\t\"p\n\024OAuth" + - "2SecurityScheme\022\023\n\013description\030\001 \001(\t\022&\n\005" + - "flows\030\002 \001(\0132\022.a2a.v1.OAuthFlowsB\003\340A\002\022\033\n\023" + - "oauth2_metadata_url\030\003 \001(\t\"T\n\033OpenIdConne" + - "ctSecurityScheme\022\023\n\013description\030\001 \001(\t\022 \n" + - "\023open_id_connect_url\030\002 \001(\tB\003\340A\002\".\n\027Mutua" + - "lTlsSecurityScheme\022\023\n\013description\030\001 \001(\t\"" + - "\262\002\n\nOAuthFlows\022@\n\022authorization_code\030\001 \001" + - "(\0132\".a2a.v1.AuthorizationCodeOAuthFlowH\000" + - "\022@\n\022client_credentials\030\002 \001(\0132\".a2a.v1.Cl" + - "ientCredentialsOAuthFlowH\000\0221\n\010implicit\030\003" + - " \001(\0132\031.a2a.v1.ImplicitOAuthFlowB\002\030\001H\000\0221\n" + - "\010password\030\004 \001(\0132\031.a2a.v1.PasswordOAuthFl" + - "owB\002\030\001H\000\0222\n\013device_code\030\005 \001(\0132\033.a2a.v1.D" + - "eviceCodeOAuthFlowH\000B\006\n\004flow\"\364\001\n\032Authori" + - "zationCodeOAuthFlow\022\036\n\021authorization_url" + - "\030\001 \001(\tB\003\340A\002\022\026\n\ttoken_url\030\002 \001(\tB\003\340A\002\022\023\n\013r" + - "efresh_url\030\003 \001(\t\022C\n\006scopes\030\004 \003(\0132..a2a.v" + - "1.AuthorizationCodeOAuthFlow.ScopesEntry" + - "B\003\340A\002\022\025\n\rpkce_required\030\005 \001(\010\032-\n\013ScopesEn" + - "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\275\001\n\032" + - "ClientCredentialsOAuthFlow\022\026\n\ttoken_url\030" + - "\001 \001(\tB\003\340A\002\022\023\n\013refresh_url\030\002 \001(\t\022C\n\006scope" + - "s\030\003 \003(\0132..a2a.v1.ClientCredentialsOAuthF" + - "low.ScopesEntryB\003\340A\002\032-\n\013ScopesEntry\022\013\n\003k" + - "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\251\001\n\021Implicit" + - "OAuthFlow\022\031\n\021authorization_url\030\001 \001(\t\022\023\n\013" + - "refresh_url\030\002 \001(\t\0225\n\006scopes\030\003 \003(\0132%.a2a." + - "v1.ImplicitOAuthFlow.ScopesEntry\032-\n\013Scop" + - "esEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "\241\001\n\021PasswordOAuthFlow\022\021\n\ttoken_url\030\001 \001(\t" + - "\022\023\n\013refresh_url\030\002 \001(\t\0225\n\006scopes\030\003 \003(\0132%." + - "a2a.v1.PasswordOAuthFlow.ScopesEntry\032-\n\013" + - "ScopesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"\326\001\n\023DeviceCodeOAuthFlow\022%\n\030device_au" + - "thorization_url\030\001 \001(\tB\003\340A\002\022\026\n\ttoken_url\030" + - "\002 \001(\tB\003\340A\002\022\023\n\013refresh_url\030\003 \001(\t\022<\n\006scope" + - "s\030\004 \003(\0132\'.a2a.v1.DeviceCodeOAuthFlow.Sco" + - "pesEntryB\003\340A\002\032-\n\013ScopesEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\257\001\n\022SendMessageRequ" + - "est\022\016\n\006tenant\030\004 \001(\t\022%\n\007message\030\001 \001(\0132\017.a" + - "2a.v1.MessageB\003\340A\002\0227\n\rconfiguration\030\002 \001(" + - "\0132 .a2a.v1.SendMessageConfiguration\022)\n\010m" + - "etadata\030\003 \001(\0132\027.google.protobuf.Struct\"a" + - "\n\016GetTaskRequest\022\016\n\006tenant\030\003 \001(\t\022\017\n\002id\030\001" + - " \001(\tB\003\340A\002\022\033\n\016history_length\030\002 \001(\005H\000\210\001\001B\021" + - "\n\017_history_length\"\265\002\n\020ListTasksRequest\022\016" + - "\n\006tenant\030\t \001(\t\022\022\n\ncontext_id\030\001 \001(\t\022!\n\006st" + - "atus\030\002 \001(\0162\021.a2a.v1.TaskState\022\026\n\tpage_si" + - "ze\030\003 \001(\005H\000\210\001\001\022\022\n\npage_token\030\004 \001(\t\022\033\n\016his" + - "tory_length\030\005 \001(\005H\001\210\001\001\022:\n\026status_timesta" + - "mp_after\030\006 \001(\0132\032.google.protobuf.Timesta" + - "mp\022\036\n\021include_artifacts\030\007 \001(\010H\002\210\001\001B\014\n\n_p" + - "age_sizeB\021\n\017_history_lengthB\024\n\022_include_" + - "artifacts\"\204\001\n\021ListTasksResponse\022 \n\005tasks" + - "\030\001 \003(\0132\014.a2a.v1.TaskB\003\340A\002\022\034\n\017next_page_t" + - "oken\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\002\022" + - "\027\n\ntotal_size\030\004 \001(\005B\003\340A\002\"4\n\021CancelTaskRe" + - "quest\022\016\n\006tenant\030\002 \001(\t\022\017\n\002id\030\001 \001(\tB\003\340A\002\"]" + - "\n$GetTaskPushNotificationConfigRequest\022\016" + - "\n\006tenant\030\002 \001(\t\022\024\n\007task_id\030\003 \001(\tB\003\340A\002\022\017\n\002" + - "id\030\001 \001(\tB\003\340A\002\"`\n\'DeleteTaskPushNotificat" + - "ionConfigRequest\022\016\n\006tenant\030\002 \001(\t\022\024\n\007task" + - "_id\030\003 \001(\tB\003\340A\002\022\017\n\002id\030\001 \001(\tB\003\340A\002\"\242\001\n\'Crea" + - "teTaskPushNotificationConfigRequest\022\016\n\006t" + - "enant\030\004 \001(\t\022\024\n\007task_id\030\001 \001(\tB\003\340A\002\022\026\n\tcon" + - "fig_id\030\002 \001(\tB\003\340A\002\0223\n\006config\030\005 \001(\0132\036.a2a." + - "v1.PushNotificationConfigB\003\340A\002J\004\010\003\020\004\"9\n\026" + - "SubscribeToTaskRequest\022\016\n\006tenant\030\002 \001(\t\022\017" + - "\n\002id\030\001 \001(\tB\003\340A\002\"t\n%ListTaskPushNotificat" + - "ionConfigRequest\022\016\n\006tenant\030\004 \001(\t\022\024\n\007task" + - "_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npag" + - "e_token\030\003 \001(\t\"-\n\033GetExtendedAgentCardReq" + - "uest\022\016\n\006tenant\030\001 \001(\t\"b\n\023SendMessageRespo" + - "nse\022\034\n\004task\030\001 \001(\0132\014.a2a.v1.TaskH\000\022\"\n\007mes" + - "sage\030\002 \001(\0132\017.a2a.v1.MessageH\000B\t\n\007payload" + - "\"\321\001\n\016StreamResponse\022\034\n\004task\030\001 \001(\0132\014.a2a." + - "v1.TaskH\000\022\"\n\007message\030\002 \001(\0132\017.a2a.v1.Mess" + - "ageH\000\0226\n\rstatus_update\030\003 \001(\0132\035.a2a.v1.Ta" + - "skStatusUpdateEventH\000\022:\n\017artifact_update" + - "\030\004 \001(\0132\037.a2a.v1.TaskArtifactUpdateEventH" + - "\000B\t\n\007payload\"v\n&ListTaskPushNotification" + - "ConfigResponse\0223\n\007configs\030\001 \003(\0132\".a2a.v1" + - ".TaskPushNotificationConfig\022\027\n\017next_page" + - "_token\030\002 \001(\t*\371\001\n\tTaskState\022\032\n\026TASK_STATE" + - "_UNSPECIFIED\020\000\022\030\n\024TASK_STATE_SUBMITTED\020\001" + - "\022\026\n\022TASK_STATE_WORKING\020\002\022\030\n\024TASK_STATE_C" + - "OMPLETED\020\003\022\025\n\021TASK_STATE_FAILED\020\004\022\027\n\023TAS" + - "K_STATE_CANCELED\020\005\022\035\n\031TASK_STATE_INPUT_R" + - "EQUIRED\020\006\022\027\n\023TASK_STATE_REJECTED\020\007\022\034\n\030TA" + - "SK_STATE_AUTH_REQUIRED\020\010*;\n\004Role\022\024\n\020ROLE" + - "_UNSPECIFIED\020\000\022\r\n\tROLE_USER\020\001\022\016\n\nROLE_AG" + - "ENT\020\0022\352\016\n\nA2AService\022}\n\013SendMessage\022\032.a2" + - "a.v1.SendMessageRequest\032\033.a2a.v1.SendMes" + - "sageResponse\"5\202\323\344\223\002/\"\r/message:send:\001*Z\033" + - "\"\026/{tenant}/message:send:\001*\022\207\001\n\024SendStre" + - "amingMessage\022\032.a2a.v1.SendMessageRequest" + - "\032\026.a2a.v1.StreamResponse\"9\202\323\344\223\0023\"\017/messa" + - "ge:stream:\001*Z\035\"\030/{tenant}/message:stream" + - ":\001*0\001\022e\n\007GetTask\022\026.a2a.v1.GetTaskRequest" + - "\032\014.a2a.v1.Task\"4\332A\002id\202\323\344\223\002)\022\r/tasks/{id=" + - "*}Z\030\022\026/{tenant}/tasks/{id=*}\022c\n\tListTask" + - "s\022\030.a2a.v1.ListTasksRequest\032\031.a2a.v1.Lis" + - "tTasksResponse\"!\202\323\344\223\002\033\022\006/tasksZ\021\022\017/{tena" + - "nt}/tasks\022z\n\nCancelTask\022\031.a2a.v1.CancelT" + - "askRequest\032\014.a2a.v1.Task\"C\202\323\344\223\002=\"\024/tasks" + - "/{id=*}:cancel:\001*Z\"\"\035/{tenant}/tasks/{id" + - "=*}:cancel:\001*\022\220\001\n\017SubscribeToTask\022\036.a2a." + - "v1.SubscribeToTaskRequest\032\026.a2a.v1.Strea" + - "mResponse\"C\202\323\344\223\002=\022\027/tasks/{id=*}:subscri" + - "beZ\"\022 /{tenant}/tasks/{id=*}:subscribe0\001" + - "\022\204\002\n CreateTaskPushNotificationConfig\022/." + - "a2a.v1.CreateTaskPushNotificationConfigR" + - "equest\032\".a2a.v1.TaskPushNotificationConf" + - "ig\"\212\001\332A\016task_id,config\202\323\344\223\002s\"*/tasks/{ta" + - "sk_id=*}/pushNotificationConfigs:\006config" + - "Z=\"3/{tenant}/tasks/{task_id=*}/pushNoti" + - "ficationConfigs:\006config\022\370\001\n\035GetTaskPushN" + - "otificationConfig\022,.a2a.v1.GetTaskPushNo" + - "tificationConfigRequest\032\".a2a.v1.TaskPus" + - "hNotificationConfig\"\204\001\332A\ntask_id,id\202\323\344\223\002" + - "q\0221/tasks/{task_id=*}/pushNotificationCo" + - "nfigs/{id=*}Z<\022:/{tenant}/tasks/{task_id" + - "=*}/pushNotificationConfigs/{id=*}\022\364\001\n\036L" + - "istTaskPushNotificationConfig\022-.a2a.v1.L" + - "istTaskPushNotificationConfigRequest\032..a" + - "2a.v1.ListTaskPushNotificationConfigResp" + - "onse\"s\332A\007task_id\202\323\344\223\002c\022*/tasks/{task_id=" + - "*}/pushNotificationConfigsZ5\0223/{tenant}/" + - "tasks/{task_id=*}/pushNotificationConfig" + - "s\022\211\001\n\024GetExtendedAgentCard\022#.a2a.v1.GetE" + - "xtendedAgentCardRequest\032\021.a2a.v1.AgentCa" + - "rd\"9\202\323\344\223\0023\022\022/extendedAgentCardZ\035\022\033/{tena" + - "nt}/extendedAgentCard\022\362\001\n DeleteTaskPush" + - "NotificationConfig\022/.a2a.v1.DeleteTaskPu" + - "shNotificationConfigRequest\032\026.google.pro" + - "tobuf.Empty\"\204\001\332A\ntask_id,id\202\323\344\223\002q*1/task" + - "s/{task_id=*}/pushNotificationConfigs/{i" + - "d=*}Z<*:/{tenant}/tasks/{task_id=*}/push" + - "NotificationConfigs/{id=*}B7\n\013io.a2a.grp" + - "cB\003A2AP\001Z\030google.golang.org/a2a/v1\252\002\006A2a" + - ".V1b\006proto3" + "\n\ta2a.proto\022\tlf.a2a.v1\032\034google/api/annot" + + "ations.proto\032\027google/api/client.proto\032\037g" + + "oogle/api/field_behavior.proto\032\033google/p" + + "rotobuf/empty.proto\032\034google/protobuf/str" + + "uct.proto\032\037google/protobuf/timestamp.pro" + + "to\"\300\001\n\030SendMessageConfiguration\022\035\n\025accep" + + "ted_output_modes\030\001 \003(\t\022C\n\030push_notificat" + + "ion_config\030\002 \001(\0132!.lf.a2a.v1.PushNotific" + + "ationConfig\022\033\n\016history_length\030\003 \001(\005H\000\210\001\001" + + "\022\020\n\010blocking\030\004 \001(\010B\021\n\017_history_length\"\324\001" + + "\n\004Task\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\027\n\ncontext_id\030\002 " + + "\001(\tB\003\340A\002\022*\n\006status\030\003 \001(\0132\025.lf.a2a.v1.Tas" + + "kStatusB\003\340A\002\022&\n\tartifacts\030\004 \003(\0132\023.lf.a2a" + + ".v1.Artifact\022#\n\007history\030\005 \003(\0132\022.lf.a2a.v" + + "1.Message\022)\n\010metadata\030\006 \001(\0132\027.google.pro" + + "tobuf.Struct\"\212\001\n\nTaskStatus\022(\n\005state\030\001 \001" + + "(\0162\024.lf.a2a.v1.TaskStateB\003\340A\002\022#\n\007message" + + "\030\002 \001(\0132\022.lf.a2a.v1.Message\022-\n\ttimestamp\030" + + "\003 \001(\0132\032.google.protobuf.Timestamp\"\270\001\n\004Pa" + + "rt\022\016\n\004text\030\001 \001(\tH\000\022\r\n\003raw\030\002 \001(\014H\000\022\r\n\003url" + + "\030\003 \001(\tH\000\022&\n\004data\030\004 \001(\0132\026.google.protobuf" + + ".ValueH\000\022)\n\010metadata\030\005 \001(\0132\027.google.prot" + + "obuf.Struct\022\020\n\010filename\030\006 \001(\t\022\022\n\nmedia_t" + + "ype\030\007 \001(\tB\t\n\007content\"\353\001\n\007Message\022\027\n\nmess" + + "age_id\030\001 \001(\tB\003\340A\002\022\022\n\ncontext_id\030\002 \001(\t\022\017\n" + + "\007task_id\030\003 \001(\t\022\"\n\004role\030\004 \001(\0162\017.lf.a2a.v1" + + ".RoleB\003\340A\002\022#\n\005parts\030\005 \003(\0132\017.lf.a2a.v1.Pa" + + "rtB\003\340A\002\022)\n\010metadata\030\006 \001(\0132\027.google.proto" + + "buf.Struct\022\022\n\nextensions\030\007 \003(\t\022\032\n\022refere" + + "nce_task_ids\030\010 \003(\t\"\253\001\n\010Artifact\022\030\n\013artif" + + "act_id\030\001 \001(\tB\003\340A\002\022\014\n\004name\030\002 \001(\t\022\023\n\013descr" + + "iption\030\003 \001(\t\022#\n\005parts\030\004 \003(\0132\017.lf.a2a.v1." + + "PartB\003\340A\002\022)\n\010metadata\030\005 \001(\0132\027.google.pro" + + "tobuf.Struct\022\022\n\nextensions\030\006 \003(\t\"\235\001\n\025Tas" + + "kStatusUpdateEvent\022\024\n\007task_id\030\001 \001(\tB\003\340A\002" + + "\022\027\n\ncontext_id\030\002 \001(\tB\003\340A\002\022*\n\006status\030\003 \001(" + + "\0132\025.lf.a2a.v1.TaskStatusB\003\340A\002\022)\n\010metadat" + + "a\030\004 \001(\0132\027.google.protobuf.Struct\"\303\001\n\027Tas" + + "kArtifactUpdateEvent\022\024\n\007task_id\030\001 \001(\tB\003\340" + + "A\002\022\027\n\ncontext_id\030\002 \001(\tB\003\340A\002\022*\n\010artifact\030" + + "\003 \001(\0132\023.lf.a2a.v1.ArtifactB\003\340A\002\022\016\n\006appen" + + "d\030\004 \001(\010\022\022\n\nlast_chunk\030\005 \001(\010\022)\n\010metadata\030" + + "\006 \001(\0132\027.google.protobuf.Struct\"|\n\026PushNo" + + "tificationConfig\022\n\n\002id\030\001 \001(\t\022\020\n\003url\030\002 \001(" + + "\tB\003\340A\002\022\r\n\005token\030\003 \001(\t\0225\n\016authentication\030" + + "\004 \001(\0132\035.lf.a2a.v1.AuthenticationInfo\">\n\022" + + "AuthenticationInfo\022\023\n\006scheme\030\001 \001(\tB\003\340A\002\022" + + "\023\n\013credentials\030\002 \001(\t\"p\n\016AgentInterface\022\020" + + "\n\003url\030\001 \001(\tB\003\340A\002\022\035\n\020protocol_binding\030\002 \001" + + "(\tB\003\340A\002\022\016\n\006tenant\030\003 \001(\t\022\035\n\020protocol_vers" + + "ion\030\004 \001(\tB\003\340A\002\"\306\005\n\tAgentCard\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\002\022\030\n\013description\030\002 \001(\tB\003\340A\002\022<\n\024sup" + + "ported_interfaces\030\003 \003(\0132\031.lf.a2a.v1.Agen" + + "tInterfaceB\003\340A\002\022*\n\010provider\030\004 \001(\0132\030.lf.a" + + "2a.v1.AgentProvider\022\024\n\007version\030\005 \001(\tB\003\340A" + + "\002\022\036\n\021documentation_url\030\006 \001(\tH\000\210\001\001\0227\n\014cap" + + "abilities\030\007 \001(\0132\034.lf.a2a.v1.AgentCapabil" + + "itiesB\003\340A\002\022C\n\020security_schemes\030\010 \003(\0132).l" + + "f.a2a.v1.AgentCard.SecuritySchemesEntry\022" + + "=\n\025security_requirements\030\t \003(\0132\036.lf.a2a." + + "v1.SecurityRequirement\022 \n\023default_input_" + + "modes\030\n \003(\tB\003\340A\002\022!\n\024default_output_modes" + + "\030\013 \003(\tB\003\340A\002\022*\n\006skills\030\014 \003(\0132\025.lf.a2a.v1." + + "AgentSkillB\003\340A\002\0221\n\nsignatures\030\r \003(\0132\035.lf" + + ".a2a.v1.AgentCardSignature\022\025\n\010icon_url\030\016" + + " \001(\tH\001\210\001\001\032Q\n\024SecuritySchemesEntry\022\013\n\003key" + + "\030\001 \001(\t\022(\n\005value\030\002 \001(\0132\031.lf.a2a.v1.Securi" + + "tyScheme:\0028\001B\024\n\022_documentation_urlB\013\n\t_i" + + "con_url\"<\n\rAgentProvider\022\020\n\003url\030\001 \001(\tB\003\340" + + "A\002\022\031\n\014organization\030\002 \001(\tB\003\340A\002\"\332\001\n\021AgentC" + + "apabilities\022\026\n\tstreaming\030\001 \001(\010H\000\210\001\001\022\037\n\022p" + + "ush_notifications\030\002 \001(\010H\001\210\001\001\022-\n\nextensio" + + "ns\030\003 \003(\0132\031.lf.a2a.v1.AgentExtension\022 \n\023e" + + "xtended_agent_card\030\004 \001(\010H\002\210\001\001B\014\n\n_stream" + + "ingB\025\n\023_push_notificationsB\026\n\024_extended_" + + "agent_card\"m\n\016AgentExtension\022\013\n\003uri\030\001 \001(" + + "\t\022\023\n\013description\030\002 \001(\t\022\020\n\010required\030\003 \001(\010" + + "\022\'\n\006params\030\004 \001(\0132\027.google.protobuf.Struc" + + "t\"\331\001\n\nAgentSkill\022\017\n\002id\030\001 \001(\tB\003\340A\002\022\021\n\004nam" + + "e\030\002 \001(\tB\003\340A\002\022\030\n\013description\030\003 \001(\tB\003\340A\002\022\021" + + "\n\004tags\030\004 \003(\tB\003\340A\002\022\020\n\010examples\030\005 \003(\t\022\023\n\013i" + + "nput_modes\030\006 \003(\t\022\024\n\014output_modes\030\007 \003(\t\022=" + + "\n\025security_requirements\030\010 \003(\0132\036.lf.a2a.v" + + "1.SecurityRequirement\"m\n\022AgentCardSignat" + + "ure\022\026\n\tprotected\030\001 \001(\tB\003\340A\002\022\026\n\tsignature" + + "\030\002 \001(\tB\003\340A\002\022\'\n\006header\030\003 \001(\0132\027.google.pro" + + "tobuf.Struct\"\214\001\n\032TaskPushNotificationCon" + + "fig\022\016\n\006tenant\030\001 \001(\t\022\024\n\007task_id\030\002 \001(\tB\003\340A" + + "\002\022H\n\030push_notification_config\030\003 \001(\0132!.lf" + + ".a2a.v1.PushNotificationConfigB\003\340A\002\"\032\n\nS" + + "tringList\022\014\n\004list\030\001 \003(\t\"\232\001\n\023SecurityRequ" + + "irement\022<\n\007schemes\030\001 \003(\0132+.lf.a2a.v1.Sec" + + "urityRequirement.SchemesEntry\032E\n\014Schemes" + + "Entry\022\013\n\003key\030\001 \001(\t\022$\n\005value\030\002 \001(\0132\025.lf.a" + + "2a.v1.StringList:\0028\001\"\200\003\n\016SecurityScheme\022" + + "B\n\027api_key_security_scheme\030\001 \001(\0132\037.lf.a2" + + "a.v1.APIKeySecuritySchemeH\000\022F\n\031http_auth" + + "_security_scheme\030\002 \001(\0132!.lf.a2a.v1.HTTPA" + + "uthSecuritySchemeH\000\022A\n\026oauth2_security_s" + + "cheme\030\003 \001(\0132\037.lf.a2a.v1.OAuth2SecuritySc" + + "hemeH\000\022Q\n\037open_id_connect_security_schem" + + "e\030\004 \001(\0132&.lf.a2a.v1.OpenIdConnectSecurit" + + "ySchemeH\000\022B\n\024mtls_security_scheme\030\005 \001(\0132" + + "\".lf.a2a.v1.MutualTlsSecuritySchemeH\000B\010\n" + + "\006scheme\"U\n\024APIKeySecurityScheme\022\023\n\013descr" + + "iption\030\001 \001(\t\022\025\n\010location\030\002 \001(\tB\003\340A\002\022\021\n\004n" + + "ame\030\003 \001(\tB\003\340A\002\"Y\n\026HTTPAuthSecurityScheme" + + "\022\023\n\013description\030\001 \001(\t\022\023\n\006scheme\030\002 \001(\tB\003\340" + + "A\002\022\025\n\rbearer_format\030\003 \001(\t\"s\n\024OAuth2Secur" + + "ityScheme\022\023\n\013description\030\001 \001(\t\022)\n\005flows\030" + + "\002 \001(\0132\025.lf.a2a.v1.OAuthFlowsB\003\340A\002\022\033\n\023oau" + + "th2_metadata_url\030\003 \001(\t\"T\n\033OpenIdConnectS" + + "ecurityScheme\022\023\n\013description\030\001 \001(\t\022 \n\023op" + + "en_id_connect_url\030\002 \001(\tB\003\340A\002\".\n\027MutualTl" + + "sSecurityScheme\022\023\n\013description\030\001 \001(\t\"\301\002\n" + + "\nOAuthFlows\022C\n\022authorization_code\030\001 \001(\0132" + + "%.lf.a2a.v1.AuthorizationCodeOAuthFlowH\000" + + "\022C\n\022client_credentials\030\002 \001(\0132%.lf.a2a.v1" + + ".ClientCredentialsOAuthFlowH\000\0224\n\010implici" + + "t\030\003 \001(\0132\034.lf.a2a.v1.ImplicitOAuthFlowB\002\030" + + "\001H\000\0224\n\010password\030\004 \001(\0132\034.lf.a2a.v1.Passwo" + + "rdOAuthFlowB\002\030\001H\000\0225\n\013device_code\030\005 \001(\0132\036" + + ".lf.a2a.v1.DeviceCodeOAuthFlowH\000B\006\n\004flow" + + "\"\367\001\n\032AuthorizationCodeOAuthFlow\022\036\n\021autho" + + "rization_url\030\001 \001(\tB\003\340A\002\022\026\n\ttoken_url\030\002 \001" + + "(\tB\003\340A\002\022\023\n\013refresh_url\030\003 \001(\t\022F\n\006scopes\030\004" + + " \003(\01321.lf.a2a.v1.AuthorizationCodeOAuthF" + + "low.ScopesEntryB\003\340A\002\022\025\n\rpkce_required\030\005 " + + "\001(\010\032-\n\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + + "\030\002 \001(\t:\0028\001\"\300\001\n\032ClientCredentialsOAuthFlo" + + "w\022\026\n\ttoken_url\030\001 \001(\tB\003\340A\002\022\023\n\013refresh_url" + + "\030\002 \001(\t\022F\n\006scopes\030\003 \003(\01321.lf.a2a.v1.Clien" + + "tCredentialsOAuthFlow.ScopesEntryB\003\340A\002\032-" + + "\n\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"\254\001\n\021ImplicitOAuthFlow\022\031\n\021authoriza" + + "tion_url\030\001 \001(\t\022\023\n\013refresh_url\030\002 \001(\t\0228\n\006s" + + "copes\030\003 \003(\0132(.lf.a2a.v1.ImplicitOAuthFlo" + + "w.ScopesEntry\032-\n\013ScopesEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\244\001\n\021PasswordOAuthFl" + + "ow\022\021\n\ttoken_url\030\001 \001(\t\022\023\n\013refresh_url\030\002 \001" + + "(\t\0228\n\006scopes\030\003 \003(\0132(.lf.a2a.v1.PasswordO" + + "AuthFlow.ScopesEntry\032-\n\013ScopesEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\331\001\n\023DeviceCo" + + "deOAuthFlow\022%\n\030device_authorization_url\030" + + "\001 \001(\tB\003\340A\002\022\026\n\ttoken_url\030\002 \001(\tB\003\340A\002\022\023\n\013re" + + "fresh_url\030\003 \001(\t\022?\n\006scopes\030\004 \003(\0132*.lf.a2a" + + ".v1.DeviceCodeOAuthFlow.ScopesEntryB\003\340A\002" + + "\032-\n\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"\265\001\n\022SendMessageRequest\022\016\n\006tenant" + + "\030\001 \001(\t\022(\n\007message\030\002 \001(\0132\022.lf.a2a.v1.Mess" + + "ageB\003\340A\002\022:\n\rconfiguration\030\003 \001(\0132#.lf.a2a" + + ".v1.SendMessageConfiguration\022)\n\010metadata" + + "\030\004 \001(\0132\027.google.protobuf.Struct\"a\n\016GetTa" + + "skRequest\022\016\n\006tenant\030\001 \001(\t\022\017\n\002id\030\002 \001(\tB\003\340" + + "A\002\022\033\n\016history_length\030\003 \001(\005H\000\210\001\001B\021\n\017_hist" + + "ory_length\"\270\002\n\020ListTasksRequest\022\016\n\006tenan" + + "t\030\001 \001(\t\022\022\n\ncontext_id\030\002 \001(\t\022$\n\006status\030\003 " + + "\001(\0162\024.lf.a2a.v1.TaskState\022\026\n\tpage_size\030\004" + + " \001(\005H\000\210\001\001\022\022\n\npage_token\030\005 \001(\t\022\033\n\016history" + + "_length\030\006 \001(\005H\001\210\001\001\022:\n\026status_timestamp_a" + + "fter\030\007 \001(\0132\032.google.protobuf.Timestamp\022\036" + + "\n\021include_artifacts\030\010 \001(\010H\002\210\001\001B\014\n\n_page_" + + "sizeB\021\n\017_history_lengthB\024\n\022_include_arti" + + "facts\"\207\001\n\021ListTasksResponse\022#\n\005tasks\030\001 \003" + + "(\0132\017.lf.a2a.v1.TaskB\003\340A\002\022\034\n\017next_page_to" + + "ken\030\002 \001(\tB\003\340A\002\022\026\n\tpage_size\030\003 \001(\005B\003\340A\002\022\027" + + "\n\ntotal_size\030\004 \001(\005B\003\340A\002\"_\n\021CancelTaskReq" + + "uest\022\016\n\006tenant\030\001 \001(\t\022\017\n\002id\030\002 \001(\tB\003\340A\002\022)\n" + + "\010metadata\030\003 \001(\0132\027.google.protobuf.Struct" + + "\"]\n$GetTaskPushNotificationConfigRequest" + + "\022\016\n\006tenant\030\001 \001(\t\022\024\n\007task_id\030\002 \001(\tB\003\340A\002\022\017" + + "\n\002id\030\003 \001(\tB\003\340A\002\"`\n\'DeleteTaskPushNotific" + + "ationConfigRequest\022\016\n\006tenant\030\001 \001(\t\022\024\n\007ta" + + "sk_id\030\002 \001(\tB\003\340A\002\022\017\n\002id\030\003 \001(\tB\003\340A\002\"\207\001\n\'Cr" + + "eateTaskPushNotificationConfigRequest\022\016\n" + + "\006tenant\030\001 \001(\t\022\024\n\007task_id\030\002 \001(\tB\003\340A\002\0226\n\006c" + + "onfig\030\003 \001(\0132!.lf.a2a.v1.PushNotification" + + "ConfigB\003\340A\002\"9\n\026SubscribeToTaskRequest\022\016\n" + + "\006tenant\030\001 \001(\t\022\017\n\002id\030\002 \001(\tB\003\340A\002\"u\n&ListTa" + + "skPushNotificationConfigsRequest\022\016\n\006tena" + + "nt\030\004 \001(\t\022\024\n\007task_id\030\001 \001(\tB\003\340A\002\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"-\n\033GetExte" + + "ndedAgentCardRequest\022\016\n\006tenant\030\001 \001(\t\"h\n\023" + + "SendMessageResponse\022\037\n\004task\030\001 \001(\0132\017.lf.a" + + "2a.v1.TaskH\000\022%\n\007message\030\002 \001(\0132\022.lf.a2a.v" + + "1.MessageH\000B\t\n\007payload\"\335\001\n\016StreamRespons" + + "e\022\037\n\004task\030\001 \001(\0132\017.lf.a2a.v1.TaskH\000\022%\n\007me" + + "ssage\030\002 \001(\0132\022.lf.a2a.v1.MessageH\000\0229\n\rsta" + + "tus_update\030\003 \001(\0132 .lf.a2a.v1.TaskStatusU" + + "pdateEventH\000\022=\n\017artifact_update\030\004 \001(\0132\"." + + "lf.a2a.v1.TaskArtifactUpdateEventH\000B\t\n\007p" + + "ayload\"z\n\'ListTaskPushNotificationConfig" + + "sResponse\0226\n\007configs\030\001 \003(\0132%.lf.a2a.v1.T" + + "askPushNotificationConfig\022\027\n\017next_page_t" + + "oken\030\002 \001(\t*\371\001\n\tTaskState\022\032\n\026TASK_STATE_U" + + "NSPECIFIED\020\000\022\030\n\024TASK_STATE_SUBMITTED\020\001\022\026" + + "\n\022TASK_STATE_WORKING\020\002\022\030\n\024TASK_STATE_COM" + + "PLETED\020\003\022\025\n\021TASK_STATE_FAILED\020\004\022\027\n\023TASK_" + + "STATE_CANCELED\020\005\022\035\n\031TASK_STATE_INPUT_REQ" + + "UIRED\020\006\022\027\n\023TASK_STATE_REJECTED\020\007\022\034\n\030TASK" + + "_STATE_AUTH_REQUIRED\020\010*;\n\004Role\022\024\n\020ROLE_U" + + "NSPECIFIED\020\000\022\r\n\tROLE_USER\020\001\022\016\n\nROLE_AGEN" + + "T\020\0022\256\017\n\nA2AService\022\203\001\n\013SendMessage\022\035.lf." + + "a2a.v1.SendMessageRequest\032\036.lf.a2a.v1.Se" + + "ndMessageResponse\"5\202\323\344\223\002/\"\r/message:send" + + ":\001*Z\033\"\026/{tenant}/message:send:\001*\022\215\001\n\024Sen" + + "dStreamingMessage\022\035.lf.a2a.v1.SendMessag" + + "eRequest\032\031.lf.a2a.v1.StreamResponse\"9\202\323\344" + + "\223\0023\"\017/message:stream:\001*Z\035\"\030/{tenant}/mes" + + "sage:stream:\001*0\001\022k\n\007GetTask\022\031.lf.a2a.v1." + + "GetTaskRequest\032\017.lf.a2a.v1.Task\"4\332A\002id\202\323" + + "\344\223\002)\022\r/tasks/{id=*}Z\030\022\026/{tenant}/tasks/{" + + "id=*}\022i\n\tListTasks\022\033.lf.a2a.v1.ListTasks" + + "Request\032\034.lf.a2a.v1.ListTasksResponse\"!\202" + + "\323\344\223\002\033\022\006/tasksZ\021\022\017/{tenant}/tasks\022\200\001\n\nCan" + + "celTask\022\034.lf.a2a.v1.CancelTaskRequest\032\017." + + "lf.a2a.v1.Task\"C\202\323\344\223\002=\"\024/tasks/{id=*}:ca" + + "ncel:\001*Z\"\"\035/{tenant}/tasks/{id=*}:cancel" + + ":\001*\022\226\001\n\017SubscribeToTask\022!.lf.a2a.v1.Subs" + + "cribeToTaskRequest\032\031.lf.a2a.v1.StreamRes" + + "ponse\"C\202\323\344\223\002=\022\027/tasks/{id=*}:subscribeZ\"" + + "\022 /{tenant}/tasks/{id=*}:subscribe0\001\022\212\002\n" + + " CreateTaskPushNotificationConfig\0222.lf.a" + + "2a.v1.CreateTaskPushNotificationConfigRe" + + "quest\032%.lf.a2a.v1.TaskPushNotificationCo" + + "nfig\"\212\001\332A\016task_id,config\202\323\344\223\002s\"*/tasks/{" + + "task_id=*}/pushNotificationConfigs:\006conf" + + "igZ=\"3/{tenant}/tasks/{task_id=*}/pushNo" + + "tificationConfigs:\006config\022\376\001\n\035GetTaskPus" + + "hNotificationConfig\022/.lf.a2a.v1.GetTaskP" + + "ushNotificationConfigRequest\032%.lf.a2a.v1" + + ".TaskPushNotificationConfig\"\204\001\332A\ntask_id" + + ",id\202\323\344\223\002q\0221/tasks/{task_id=*}/pushNotifi" + + "cationConfigs/{id=*}Z<\022:/{tenant}/tasks/" + + "{task_id=*}/pushNotificationConfigs/{id=" + + "*}\022\375\001\n\037ListTaskPushNotificationConfigs\0221" + + ".lf.a2a.v1.ListTaskPushNotificationConfi" + + "gsRequest\0322.lf.a2a.v1.ListTaskPushNotifi" + + "cationConfigsResponse\"s\332A\007task_id\202\323\344\223\002c\022" + + "*/tasks/{task_id=*}/pushNotificationConf" + + "igsZ5\0223/{tenant}/tasks/{task_id=*}/pushN" + + "otificationConfigs\022\217\001\n\024GetExtendedAgentC" + + "ard\022&.lf.a2a.v1.GetExtendedAgentCardRequ" + + "est\032\024.lf.a2a.v1.AgentCard\"9\202\323\344\223\0023\022\022/exte" + + "ndedAgentCardZ\035\022\033/{tenant}/extendedAgent" + + "Card\022\365\001\n DeleteTaskPushNotificationConfi" + + "g\0222.lf.a2a.v1.DeleteTaskPushNotification" + + "ConfigRequest\032\026.google.protobuf.Empty\"\204\001" + + "\332A\ntask_id,id\202\323\344\223\002q*1/tasks/{task_id=*}/" + + "pushNotificationConfigs/{id=*}Z<*:/{tena" + + "nt}/tasks/{task_id=*}/pushNotificationCo" + + "nfigs/{id=*}B=\n\013io.a2a.grpcB\003A2AP\001Z\033goog" + + "le.golang.org/lf/a2a/v1\252\002\tLf.A2a.V1b\006pro" + + "to3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -560,323 +565,323 @@ public static void registerAllExtensions( com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_a2a_v1_SendMessageConfiguration_descriptor = + internal_static_lf_a2a_v1_SendMessageConfiguration_descriptor = getDescriptor().getMessageType(0); - internal_static_a2a_v1_SendMessageConfiguration_fieldAccessorTable = new + internal_static_lf_a2a_v1_SendMessageConfiguration_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SendMessageConfiguration_descriptor, + internal_static_lf_a2a_v1_SendMessageConfiguration_descriptor, new java.lang.String[] { "AcceptedOutputModes", "PushNotificationConfig", "HistoryLength", "Blocking", }); - internal_static_a2a_v1_Task_descriptor = + internal_static_lf_a2a_v1_Task_descriptor = getDescriptor().getMessageType(1); - internal_static_a2a_v1_Task_fieldAccessorTable = new + internal_static_lf_a2a_v1_Task_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_Task_descriptor, + internal_static_lf_a2a_v1_Task_descriptor, new java.lang.String[] { "Id", "ContextId", "Status", "Artifacts", "History", "Metadata", }); - internal_static_a2a_v1_TaskStatus_descriptor = + internal_static_lf_a2a_v1_TaskStatus_descriptor = getDescriptor().getMessageType(2); - internal_static_a2a_v1_TaskStatus_fieldAccessorTable = new + internal_static_lf_a2a_v1_TaskStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_TaskStatus_descriptor, + internal_static_lf_a2a_v1_TaskStatus_descriptor, new java.lang.String[] { "State", "Message", "Timestamp", }); - internal_static_a2a_v1_Part_descriptor = + internal_static_lf_a2a_v1_Part_descriptor = getDescriptor().getMessageType(3); - internal_static_a2a_v1_Part_fieldAccessorTable = new + internal_static_lf_a2a_v1_Part_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_Part_descriptor, + internal_static_lf_a2a_v1_Part_descriptor, new java.lang.String[] { "Text", "Raw", "Url", "Data", "Metadata", "Filename", "MediaType", "Content", }); - internal_static_a2a_v1_Message_descriptor = + internal_static_lf_a2a_v1_Message_descriptor = getDescriptor().getMessageType(4); - internal_static_a2a_v1_Message_fieldAccessorTable = new + internal_static_lf_a2a_v1_Message_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_Message_descriptor, + internal_static_lf_a2a_v1_Message_descriptor, new java.lang.String[] { "MessageId", "ContextId", "TaskId", "Role", "Parts", "Metadata", "Extensions", "ReferenceTaskIds", }); - internal_static_a2a_v1_Artifact_descriptor = + internal_static_lf_a2a_v1_Artifact_descriptor = getDescriptor().getMessageType(5); - internal_static_a2a_v1_Artifact_fieldAccessorTable = new + internal_static_lf_a2a_v1_Artifact_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_Artifact_descriptor, + internal_static_lf_a2a_v1_Artifact_descriptor, new java.lang.String[] { "ArtifactId", "Name", "Description", "Parts", "Metadata", "Extensions", }); - internal_static_a2a_v1_TaskStatusUpdateEvent_descriptor = + internal_static_lf_a2a_v1_TaskStatusUpdateEvent_descriptor = getDescriptor().getMessageType(6); - internal_static_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable = new + internal_static_lf_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_TaskStatusUpdateEvent_descriptor, + internal_static_lf_a2a_v1_TaskStatusUpdateEvent_descriptor, new java.lang.String[] { "TaskId", "ContextId", "Status", "Metadata", }); - internal_static_a2a_v1_TaskArtifactUpdateEvent_descriptor = + internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_descriptor = getDescriptor().getMessageType(7); - internal_static_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable = new + internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_TaskArtifactUpdateEvent_descriptor, + internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_descriptor, new java.lang.String[] { "TaskId", "ContextId", "Artifact", "Append", "LastChunk", "Metadata", }); - internal_static_a2a_v1_PushNotificationConfig_descriptor = + internal_static_lf_a2a_v1_PushNotificationConfig_descriptor = getDescriptor().getMessageType(8); - internal_static_a2a_v1_PushNotificationConfig_fieldAccessorTable = new + internal_static_lf_a2a_v1_PushNotificationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_PushNotificationConfig_descriptor, + internal_static_lf_a2a_v1_PushNotificationConfig_descriptor, new java.lang.String[] { "Id", "Url", "Token", "Authentication", }); - internal_static_a2a_v1_AuthenticationInfo_descriptor = + internal_static_lf_a2a_v1_AuthenticationInfo_descriptor = getDescriptor().getMessageType(9); - internal_static_a2a_v1_AuthenticationInfo_fieldAccessorTable = new + internal_static_lf_a2a_v1_AuthenticationInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AuthenticationInfo_descriptor, + internal_static_lf_a2a_v1_AuthenticationInfo_descriptor, new java.lang.String[] { "Scheme", "Credentials", }); - internal_static_a2a_v1_AgentInterface_descriptor = + internal_static_lf_a2a_v1_AgentInterface_descriptor = getDescriptor().getMessageType(10); - internal_static_a2a_v1_AgentInterface_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentInterface_descriptor, + internal_static_lf_a2a_v1_AgentInterface_descriptor, new java.lang.String[] { "Url", "ProtocolBinding", "Tenant", "ProtocolVersion", }); - internal_static_a2a_v1_AgentCard_descriptor = + internal_static_lf_a2a_v1_AgentCard_descriptor = getDescriptor().getMessageType(11); - internal_static_a2a_v1_AgentCard_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentCard_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentCard_descriptor, + internal_static_lf_a2a_v1_AgentCard_descriptor, new java.lang.String[] { "Name", "Description", "SupportedInterfaces", "Provider", "Version", "DocumentationUrl", "Capabilities", "SecuritySchemes", "SecurityRequirements", "DefaultInputModes", "DefaultOutputModes", "Skills", "Signatures", "IconUrl", }); - internal_static_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor = - internal_static_a2a_v1_AgentCard_descriptor.getNestedType(0); - internal_static_a2a_v1_AgentCard_SecuritySchemesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor = + internal_static_lf_a2a_v1_AgentCard_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_AgentCard_SecuritySchemesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor, + internal_static_lf_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_AgentProvider_descriptor = + internal_static_lf_a2a_v1_AgentProvider_descriptor = getDescriptor().getMessageType(12); - internal_static_a2a_v1_AgentProvider_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentProvider_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentProvider_descriptor, + internal_static_lf_a2a_v1_AgentProvider_descriptor, new java.lang.String[] { "Url", "Organization", }); - internal_static_a2a_v1_AgentCapabilities_descriptor = + internal_static_lf_a2a_v1_AgentCapabilities_descriptor = getDescriptor().getMessageType(13); - internal_static_a2a_v1_AgentCapabilities_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentCapabilities_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentCapabilities_descriptor, + internal_static_lf_a2a_v1_AgentCapabilities_descriptor, new java.lang.String[] { "Streaming", "PushNotifications", "Extensions", "ExtendedAgentCard", }); - internal_static_a2a_v1_AgentExtension_descriptor = + internal_static_lf_a2a_v1_AgentExtension_descriptor = getDescriptor().getMessageType(14); - internal_static_a2a_v1_AgentExtension_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentExtension_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentExtension_descriptor, + internal_static_lf_a2a_v1_AgentExtension_descriptor, new java.lang.String[] { "Uri", "Description", "Required", "Params", }); - internal_static_a2a_v1_AgentSkill_descriptor = + internal_static_lf_a2a_v1_AgentSkill_descriptor = getDescriptor().getMessageType(15); - internal_static_a2a_v1_AgentSkill_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentSkill_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentSkill_descriptor, + internal_static_lf_a2a_v1_AgentSkill_descriptor, new java.lang.String[] { "Id", "Name", "Description", "Tags", "Examples", "InputModes", "OutputModes", "SecurityRequirements", }); - internal_static_a2a_v1_AgentCardSignature_descriptor = + internal_static_lf_a2a_v1_AgentCardSignature_descriptor = getDescriptor().getMessageType(16); - internal_static_a2a_v1_AgentCardSignature_fieldAccessorTable = new + internal_static_lf_a2a_v1_AgentCardSignature_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AgentCardSignature_descriptor, + internal_static_lf_a2a_v1_AgentCardSignature_descriptor, new java.lang.String[] { "Protected", "Signature", "Header", }); - internal_static_a2a_v1_TaskPushNotificationConfig_descriptor = + internal_static_lf_a2a_v1_TaskPushNotificationConfig_descriptor = getDescriptor().getMessageType(17); - internal_static_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable = new + internal_static_lf_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_TaskPushNotificationConfig_descriptor, - new java.lang.String[] { "Tenant", "Id", "TaskId", "PushNotificationConfig", }); - internal_static_a2a_v1_StringList_descriptor = + internal_static_lf_a2a_v1_TaskPushNotificationConfig_descriptor, + new java.lang.String[] { "Tenant", "TaskId", "PushNotificationConfig", }); + internal_static_lf_a2a_v1_StringList_descriptor = getDescriptor().getMessageType(18); - internal_static_a2a_v1_StringList_fieldAccessorTable = new + internal_static_lf_a2a_v1_StringList_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_StringList_descriptor, + internal_static_lf_a2a_v1_StringList_descriptor, new java.lang.String[] { "List", }); - internal_static_a2a_v1_SecurityRequirement_descriptor = + internal_static_lf_a2a_v1_SecurityRequirement_descriptor = getDescriptor().getMessageType(19); - internal_static_a2a_v1_SecurityRequirement_fieldAccessorTable = new + internal_static_lf_a2a_v1_SecurityRequirement_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SecurityRequirement_descriptor, + internal_static_lf_a2a_v1_SecurityRequirement_descriptor, new java.lang.String[] { "Schemes", }); - internal_static_a2a_v1_SecurityRequirement_SchemesEntry_descriptor = - internal_static_a2a_v1_SecurityRequirement_descriptor.getNestedType(0); - internal_static_a2a_v1_SecurityRequirement_SchemesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_SecurityRequirement_SchemesEntry_descriptor = + internal_static_lf_a2a_v1_SecurityRequirement_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_SecurityRequirement_SchemesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SecurityRequirement_SchemesEntry_descriptor, + internal_static_lf_a2a_v1_SecurityRequirement_SchemesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_SecurityScheme_descriptor = + internal_static_lf_a2a_v1_SecurityScheme_descriptor = getDescriptor().getMessageType(20); - internal_static_a2a_v1_SecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_SecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SecurityScheme_descriptor, + internal_static_lf_a2a_v1_SecurityScheme_descriptor, new java.lang.String[] { "ApiKeySecurityScheme", "HttpAuthSecurityScheme", "Oauth2SecurityScheme", "OpenIdConnectSecurityScheme", "MtlsSecurityScheme", "Scheme", }); - internal_static_a2a_v1_APIKeySecurityScheme_descriptor = + internal_static_lf_a2a_v1_APIKeySecurityScheme_descriptor = getDescriptor().getMessageType(21); - internal_static_a2a_v1_APIKeySecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_APIKeySecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_APIKeySecurityScheme_descriptor, + internal_static_lf_a2a_v1_APIKeySecurityScheme_descriptor, new java.lang.String[] { "Description", "Location", "Name", }); - internal_static_a2a_v1_HTTPAuthSecurityScheme_descriptor = + internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_descriptor = getDescriptor().getMessageType(22); - internal_static_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_HTTPAuthSecurityScheme_descriptor, + internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_descriptor, new java.lang.String[] { "Description", "Scheme", "BearerFormat", }); - internal_static_a2a_v1_OAuth2SecurityScheme_descriptor = + internal_static_lf_a2a_v1_OAuth2SecurityScheme_descriptor = getDescriptor().getMessageType(23); - internal_static_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_OAuth2SecurityScheme_descriptor, + internal_static_lf_a2a_v1_OAuth2SecurityScheme_descriptor, new java.lang.String[] { "Description", "Flows", "Oauth2MetadataUrl", }); - internal_static_a2a_v1_OpenIdConnectSecurityScheme_descriptor = + internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_descriptor = getDescriptor().getMessageType(24); - internal_static_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_OpenIdConnectSecurityScheme_descriptor, + internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_descriptor, new java.lang.String[] { "Description", "OpenIdConnectUrl", }); - internal_static_a2a_v1_MutualTlsSecurityScheme_descriptor = + internal_static_lf_a2a_v1_MutualTlsSecurityScheme_descriptor = getDescriptor().getMessageType(25); - internal_static_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable = new + internal_static_lf_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_MutualTlsSecurityScheme_descriptor, + internal_static_lf_a2a_v1_MutualTlsSecurityScheme_descriptor, new java.lang.String[] { "Description", }); - internal_static_a2a_v1_OAuthFlows_descriptor = + internal_static_lf_a2a_v1_OAuthFlows_descriptor = getDescriptor().getMessageType(26); - internal_static_a2a_v1_OAuthFlows_fieldAccessorTable = new + internal_static_lf_a2a_v1_OAuthFlows_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_OAuthFlows_descriptor, + internal_static_lf_a2a_v1_OAuthFlows_descriptor, new java.lang.String[] { "AuthorizationCode", "ClientCredentials", "Implicit", "Password", "DeviceCode", "Flow", }); - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor = + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor = getDescriptor().getMessageType(27); - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable = new + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor, + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor, new java.lang.String[] { "AuthorizationUrl", "TokenUrl", "RefreshUrl", "Scopes", "PkceRequired", }); - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor = - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor.getNestedType(0); - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor = + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor, + internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor = + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor = getDescriptor().getMessageType(28); - internal_static_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable = new + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor, + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor, new java.lang.String[] { "TokenUrl", "RefreshUrl", "Scopes", }); - internal_static_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor = - internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor.getNestedType(0); - internal_static_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor = + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor, + internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_ImplicitOAuthFlow_descriptor = + internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor = getDescriptor().getMessageType(29); - internal_static_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable = new + internal_static_lf_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ImplicitOAuthFlow_descriptor, + internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor, new java.lang.String[] { "AuthorizationUrl", "RefreshUrl", "Scopes", }); - internal_static_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor = - internal_static_a2a_v1_ImplicitOAuthFlow_descriptor.getNestedType(0); - internal_static_a2a_v1_ImplicitOAuthFlow_ScopesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor = + internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_ImplicitOAuthFlow_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor, + internal_static_lf_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_PasswordOAuthFlow_descriptor = + internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor = getDescriptor().getMessageType(30); - internal_static_a2a_v1_PasswordOAuthFlow_fieldAccessorTable = new + internal_static_lf_a2a_v1_PasswordOAuthFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_PasswordOAuthFlow_descriptor, + internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor, new java.lang.String[] { "TokenUrl", "RefreshUrl", "Scopes", }); - internal_static_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor = - internal_static_a2a_v1_PasswordOAuthFlow_descriptor.getNestedType(0); - internal_static_a2a_v1_PasswordOAuthFlow_ScopesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor = + internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_PasswordOAuthFlow_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor, + internal_static_lf_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor = + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor = getDescriptor().getMessageType(31); - internal_static_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable = new + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor, + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor, new java.lang.String[] { "DeviceAuthorizationUrl", "TokenUrl", "RefreshUrl", "Scopes", }); - internal_static_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor = - internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor.getNestedType(0); - internal_static_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_fieldAccessorTable = new + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor = + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor.getNestedType(0); + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor, + internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); - internal_static_a2a_v1_SendMessageRequest_descriptor = + internal_static_lf_a2a_v1_SendMessageRequest_descriptor = getDescriptor().getMessageType(32); - internal_static_a2a_v1_SendMessageRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_SendMessageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SendMessageRequest_descriptor, + internal_static_lf_a2a_v1_SendMessageRequest_descriptor, new java.lang.String[] { "Tenant", "Message", "Configuration", "Metadata", }); - internal_static_a2a_v1_GetTaskRequest_descriptor = + internal_static_lf_a2a_v1_GetTaskRequest_descriptor = getDescriptor().getMessageType(33); - internal_static_a2a_v1_GetTaskRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_GetTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_GetTaskRequest_descriptor, + internal_static_lf_a2a_v1_GetTaskRequest_descriptor, new java.lang.String[] { "Tenant", "Id", "HistoryLength", }); - internal_static_a2a_v1_ListTasksRequest_descriptor = + internal_static_lf_a2a_v1_ListTasksRequest_descriptor = getDescriptor().getMessageType(34); - internal_static_a2a_v1_ListTasksRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_ListTasksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ListTasksRequest_descriptor, + internal_static_lf_a2a_v1_ListTasksRequest_descriptor, new java.lang.String[] { "Tenant", "ContextId", "Status", "PageSize", "PageToken", "HistoryLength", "StatusTimestampAfter", "IncludeArtifacts", }); - internal_static_a2a_v1_ListTasksResponse_descriptor = + internal_static_lf_a2a_v1_ListTasksResponse_descriptor = getDescriptor().getMessageType(35); - internal_static_a2a_v1_ListTasksResponse_fieldAccessorTable = new + internal_static_lf_a2a_v1_ListTasksResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ListTasksResponse_descriptor, + internal_static_lf_a2a_v1_ListTasksResponse_descriptor, new java.lang.String[] { "Tasks", "NextPageToken", "PageSize", "TotalSize", }); - internal_static_a2a_v1_CancelTaskRequest_descriptor = + internal_static_lf_a2a_v1_CancelTaskRequest_descriptor = getDescriptor().getMessageType(36); - internal_static_a2a_v1_CancelTaskRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_CancelTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_CancelTaskRequest_descriptor, - new java.lang.String[] { "Tenant", "Id", }); - internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor = + internal_static_lf_a2a_v1_CancelTaskRequest_descriptor, + new java.lang.String[] { "Tenant", "Id", "Metadata", }); + internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor = getDescriptor().getMessageType(37); - internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor, + internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor, new java.lang.String[] { "Tenant", "TaskId", "Id", }); - internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor = + internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor = getDescriptor().getMessageType(38); - internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor, + internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor, new java.lang.String[] { "Tenant", "TaskId", "Id", }); - internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor = + internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor = getDescriptor().getMessageType(39); - internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor, - new java.lang.String[] { "Tenant", "TaskId", "ConfigId", "Config", }); - internal_static_a2a_v1_SubscribeToTaskRequest_descriptor = + internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor, + new java.lang.String[] { "Tenant", "TaskId", "Config", }); + internal_static_lf_a2a_v1_SubscribeToTaskRequest_descriptor = getDescriptor().getMessageType(40); - internal_static_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SubscribeToTaskRequest_descriptor, + internal_static_lf_a2a_v1_SubscribeToTaskRequest_descriptor, new java.lang.String[] { "Tenant", "Id", }); - internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_descriptor = + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_descriptor = getDescriptor().getMessageType(41); - internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_descriptor, + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_descriptor, new java.lang.String[] { "Tenant", "TaskId", "PageSize", "PageToken", }); - internal_static_a2a_v1_GetExtendedAgentCardRequest_descriptor = + internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_descriptor = getDescriptor().getMessageType(42); - internal_static_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable = new + internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_GetExtendedAgentCardRequest_descriptor, + internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_descriptor, new java.lang.String[] { "Tenant", }); - internal_static_a2a_v1_SendMessageResponse_descriptor = + internal_static_lf_a2a_v1_SendMessageResponse_descriptor = getDescriptor().getMessageType(43); - internal_static_a2a_v1_SendMessageResponse_fieldAccessorTable = new + internal_static_lf_a2a_v1_SendMessageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_SendMessageResponse_descriptor, + internal_static_lf_a2a_v1_SendMessageResponse_descriptor, new java.lang.String[] { "Task", "Message", "Payload", }); - internal_static_a2a_v1_StreamResponse_descriptor = + internal_static_lf_a2a_v1_StreamResponse_descriptor = getDescriptor().getMessageType(44); - internal_static_a2a_v1_StreamResponse_fieldAccessorTable = new + internal_static_lf_a2a_v1_StreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_StreamResponse_descriptor, + internal_static_lf_a2a_v1_StreamResponse_descriptor, new java.lang.String[] { "Task", "Message", "StatusUpdate", "ArtifactUpdate", "Payload", }); - internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_descriptor = + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_descriptor = getDescriptor().getMessageType(45); - internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_fieldAccessorTable = new + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_descriptor, + internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_descriptor, new java.lang.String[] { "Configs", "NextPageToken", }); descriptor.resolveAllFeaturesImmutable(); com.google.api.AnnotationsProto.getDescriptor(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java b/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java index 6d179b674..b1e719d33 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java @@ -4,7 +4,7 @@ /** *
    - * A2AService defines the operations of the A2A protocol.
    + * Provides operations for interacting with agents using the A2A protocol.
      * 
    */ @io.grpc.stub.annotations.GrpcGenerated @@ -12,7 +12,7 @@ public final class A2AServiceGrpc { private A2AServiceGrpc() {} - public static final java.lang.String SERVICE_NAME = "a2a.v1.A2AService"; + public static final java.lang.String SERVICE_NAME = "lf.a2a.v1.A2AService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getGetTaskPushNotificationConfigMethod() return getGetTaskPushNotificationConfigMethod; } - private static volatile io.grpc.MethodDescriptor getListTaskPushNotificationConfigMethod; + private static volatile io.grpc.MethodDescriptor getListTaskPushNotificationConfigsMethod; @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTaskPushNotificationConfig", - requestType = io.a2a.grpc.ListTaskPushNotificationConfigRequest.class, - responseType = io.a2a.grpc.ListTaskPushNotificationConfigResponse.class, + fullMethodName = SERVICE_NAME + '/' + "ListTaskPushNotificationConfigs", + requestType = io.a2a.grpc.ListTaskPushNotificationConfigsRequest.class, + responseType = io.a2a.grpc.ListTaskPushNotificationConfigsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTaskPushNotificationConfigMethod() { - io.grpc.MethodDescriptor getListTaskPushNotificationConfigMethod; - if ((getListTaskPushNotificationConfigMethod = A2AServiceGrpc.getListTaskPushNotificationConfigMethod) == null) { + public static io.grpc.MethodDescriptor getListTaskPushNotificationConfigsMethod() { + io.grpc.MethodDescriptor getListTaskPushNotificationConfigsMethod; + if ((getListTaskPushNotificationConfigsMethod = A2AServiceGrpc.getListTaskPushNotificationConfigsMethod) == null) { synchronized (A2AServiceGrpc.class) { - if ((getListTaskPushNotificationConfigMethod = A2AServiceGrpc.getListTaskPushNotificationConfigMethod) == null) { - A2AServiceGrpc.getListTaskPushNotificationConfigMethod = getListTaskPushNotificationConfigMethod = - io.grpc.MethodDescriptor.newBuilder() + if ((getListTaskPushNotificationConfigsMethod = A2AServiceGrpc.getListTaskPushNotificationConfigsMethod) == null) { + A2AServiceGrpc.getListTaskPushNotificationConfigsMethod = getListTaskPushNotificationConfigsMethod = + io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaskPushNotificationConfig")) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTaskPushNotificationConfigs")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - io.a2a.grpc.ListTaskPushNotificationConfigRequest.getDefaultInstance())) + io.a2a.grpc.ListTaskPushNotificationConfigsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - io.a2a.grpc.ListTaskPushNotificationConfigResponse.getDefaultInstance())) - .setSchemaDescriptor(new A2AServiceMethodDescriptorSupplier("ListTaskPushNotificationConfig")) + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new A2AServiceMethodDescriptorSupplier("ListTaskPushNotificationConfigs")) .build(); } } } - return getListTaskPushNotificationConfigMethod; + return getListTaskPushNotificationConfigsMethod; } private static volatile io.grpc.MethodDescriptor - * A2AService defines the operations of the A2A protocol. + * Provides operations for interacting with agents using the A2A protocol. * */ public interface AsyncService { /** *
    -     * Send a message to the agent.
    +     * Sends a message to an agent.
          * 
    */ default void sendMessage(io.a2a.grpc.SendMessageRequest request, @@ -434,7 +434,8 @@ default void sendMessage(io.a2a.grpc.SendMessageRequest request, /** *
    -     * SendStreamingMessage is a streaming version of SendMessage.
    +     * Sends a streaming message to an agent, allowing for real-time interaction and status updates.
    +     * Streaming version of `SendMessage`
          * 
    */ default void sendStreamingMessage(io.a2a.grpc.SendMessageRequest request, @@ -444,7 +445,7 @@ default void sendStreamingMessage(io.a2a.grpc.SendMessageRequest request, /** *
    -     * Get the current state of a task from the agent.
    +     * Gets the latest state of a task.
          * 
    */ default void getTask(io.a2a.grpc.GetTaskRequest request, @@ -454,7 +455,7 @@ default void getTask(io.a2a.grpc.GetTaskRequest request, /** *
    -     * List tasks with optional filtering and pagination.
    +     * Lists tasks that match the specified filter.
          * 
    */ default void listTasks(io.a2a.grpc.ListTasksRequest request, @@ -464,7 +465,7 @@ default void listTasks(io.a2a.grpc.ListTasksRequest request, /** *
    -     * Cancel a task.
    +     * Cancels a task in progress.
          * 
    */ default void cancelTask(io.a2a.grpc.CancelTaskRequest request, @@ -474,8 +475,8 @@ default void cancelTask(io.a2a.grpc.CancelTaskRequest request, /** *
    -     * SubscribeToTask allows subscribing to task updates for tasks not in terminal state.
    -     * Returns UnsupportedOperationError if task is in terminal state (completed, failed, canceled, rejected).
    +     * 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).
          * 
    */ default void subscribeToTask(io.a2a.grpc.SubscribeToTaskRequest request, @@ -485,7 +486,10 @@ default void subscribeToTask(io.a2a.grpc.SubscribeToTaskRequest request, /** *
    -     * Create a push notification config for a task.
    +     * (-- api-linter: client-libraries::4232::required-fields=disabled
    +     *     api-linter: core::0133::method-signature=disabled
    +     *     aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
    +     * Creates a push notification config for a task.
          * 
    */ default void createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotificationConfigRequest request, @@ -495,7 +499,7 @@ default void createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotifica /** *
    -     * Get a push notification config for a task.
    +     * Gets a push notification config for a task.
          * 
    */ default void getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationConfigRequest request, @@ -508,14 +512,14 @@ default void getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationCo * Get a list of push notifications configured for a task. * */ - default void listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaskPushNotificationConfigMethod(), responseObserver); + default void listTaskPushNotificationConfigs(io.a2a.grpc.ListTaskPushNotificationConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTaskPushNotificationConfigsMethod(), responseObserver); } /** *
    -     * GetExtendedAgentCard returns the extended agent card for authenticated agents.
    +     * Gets the extended agent card for the authenticated agent.
          * 
    */ default void getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest request, @@ -525,7 +529,7 @@ default void getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest reques /** *
    -     * Delete a push notification config for a task.
    +     * Deletes a push notification config for a task.
          * 
    */ default void deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotificationConfigRequest request, @@ -537,7 +541,7 @@ default void deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotifica /** * Base class for the server implementation of the service A2AService. *
    -   * A2AService defines the operations of the A2A protocol.
    +   * Provides operations for interacting with agents using the A2A protocol.
        * 
    */ public static abstract class A2AServiceImplBase @@ -551,7 +555,7 @@ public static abstract class A2AServiceImplBase /** * A stub to allow clients to do asynchronous rpc calls to service A2AService. *
    -   * A2AService defines the operations of the A2A protocol.
    +   * Provides operations for interacting with agents using the A2A protocol.
        * 
    */ public static final class A2AServiceStub @@ -569,7 +573,7 @@ protected A2AServiceStub build( /** *
    -     * Send a message to the agent.
    +     * Sends a message to an agent.
          * 
    */ public void sendMessage(io.a2a.grpc.SendMessageRequest request, @@ -580,7 +584,8 @@ public void sendMessage(io.a2a.grpc.SendMessageRequest request, /** *
    -     * SendStreamingMessage is a streaming version of SendMessage.
    +     * Sends a streaming message to an agent, allowing for real-time interaction and status updates.
    +     * Streaming version of `SendMessage`
          * 
    */ public void sendStreamingMessage(io.a2a.grpc.SendMessageRequest request, @@ -591,7 +596,7 @@ public void sendStreamingMessage(io.a2a.grpc.SendMessageRequest request, /** *
    -     * Get the current state of a task from the agent.
    +     * Gets the latest state of a task.
          * 
    */ public void getTask(io.a2a.grpc.GetTaskRequest request, @@ -602,7 +607,7 @@ public void getTask(io.a2a.grpc.GetTaskRequest request, /** *
    -     * List tasks with optional filtering and pagination.
    +     * Lists tasks that match the specified filter.
          * 
    */ public void listTasks(io.a2a.grpc.ListTasksRequest request, @@ -613,7 +618,7 @@ public void listTasks(io.a2a.grpc.ListTasksRequest request, /** *
    -     * Cancel a task.
    +     * Cancels a task in progress.
          * 
    */ public void cancelTask(io.a2a.grpc.CancelTaskRequest request, @@ -624,8 +629,8 @@ public void cancelTask(io.a2a.grpc.CancelTaskRequest request, /** *
    -     * SubscribeToTask allows subscribing to task updates for tasks not in terminal state.
    -     * Returns UnsupportedOperationError if task is in terminal state (completed, failed, canceled, rejected).
    +     * 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).
          * 
    */ public void subscribeToTask(io.a2a.grpc.SubscribeToTaskRequest request, @@ -636,7 +641,10 @@ public void subscribeToTask(io.a2a.grpc.SubscribeToTaskRequest request, /** *
    -     * Create a push notification config for a task.
    +     * (-- api-linter: client-libraries::4232::required-fields=disabled
    +     *     api-linter: core::0133::method-signature=disabled
    +     *     aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
    +     * Creates a push notification config for a task.
          * 
    */ public void createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotificationConfigRequest request, @@ -647,7 +655,7 @@ public void createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotificat /** *
    -     * Get a push notification config for a task.
    +     * Gets a push notification config for a task.
          * 
    */ public void getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationConfigRequest request, @@ -661,15 +669,15 @@ public void getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationCon * Get a list of push notifications configured for a task. * */ - public void listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listTaskPushNotificationConfigs(io.a2a.grpc.ListTaskPushNotificationConfigsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTaskPushNotificationConfigMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListTaskPushNotificationConfigsMethod(), getCallOptions()), request, responseObserver); } /** *
    -     * GetExtendedAgentCard returns the extended agent card for authenticated agents.
    +     * Gets the extended agent card for the authenticated agent.
          * 
    */ public void getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest request, @@ -680,7 +688,7 @@ public void getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest request /** *
    -     * Delete a push notification config for a task.
    +     * Deletes a push notification config for a task.
          * 
    */ public void deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotificationConfigRequest request, @@ -693,7 +701,7 @@ public void deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotificat /** * A stub to allow clients to do synchronous rpc calls to service A2AService. *
    -   * A2AService defines the operations of the A2A protocol.
    +   * Provides operations for interacting with agents using the A2A protocol.
        * 
    */ public static final class A2AServiceBlockingV2Stub @@ -711,7 +719,7 @@ protected A2AServiceBlockingV2Stub build( /** *
    -     * Send a message to the agent.
    +     * Sends a message to an agent.
          * 
    */ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageRequest request) throws io.grpc.StatusException { @@ -721,7 +729,8 @@ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageReques /** *
    -     * SendStreamingMessage is a streaming version of SendMessage.
    +     * Sends a streaming message to an agent, allowing for real-time interaction and status updates.
    +     * Streaming version of `SendMessage`
          * 
    */ @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") @@ -733,7 +742,7 @@ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageReques /** *
    -     * Get the current state of a task from the agent.
    +     * Gets the latest state of a task.
          * 
    */ public io.a2a.grpc.Task getTask(io.a2a.grpc.GetTaskRequest request) throws io.grpc.StatusException { @@ -743,7 +752,7 @@ public io.a2a.grpc.Task getTask(io.a2a.grpc.GetTaskRequest request) throws io.gr /** *
    -     * List tasks with optional filtering and pagination.
    +     * Lists tasks that match the specified filter.
          * 
    */ public io.a2a.grpc.ListTasksResponse listTasks(io.a2a.grpc.ListTasksRequest request) throws io.grpc.StatusException { @@ -753,7 +762,7 @@ public io.a2a.grpc.ListTasksResponse listTasks(io.a2a.grpc.ListTasksRequest requ /** *
    -     * Cancel a task.
    +     * Cancels a task in progress.
          * 
    */ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) throws io.grpc.StatusException { @@ -763,8 +772,8 @@ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) throws /** *
    -     * SubscribeToTask allows subscribing to task updates for tasks not in terminal state.
    -     * Returns UnsupportedOperationError if task is in terminal state (completed, failed, canceled, rejected).
    +     * 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).
          * 
    */ @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") @@ -776,7 +785,10 @@ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) throws /** *
    -     * Create a push notification config for a task.
    +     * (-- api-linter: client-libraries::4232::required-fields=disabled
    +     *     api-linter: core::0133::method-signature=disabled
    +     *     aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
    +     * Creates a push notification config for a task.
          * 
    */ public io.a2a.grpc.TaskPushNotificationConfig createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotificationConfigRequest request) throws io.grpc.StatusException { @@ -786,7 +798,7 @@ public io.a2a.grpc.TaskPushNotificationConfig createTaskPushNotificationConfig(i /** *
    -     * Get a push notification config for a task.
    +     * Gets a push notification config for a task.
          * 
    */ public io.a2a.grpc.TaskPushNotificationConfig getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationConfigRequest request) throws io.grpc.StatusException { @@ -799,14 +811,14 @@ public io.a2a.grpc.TaskPushNotificationConfig getTaskPushNotificationConfig(io.a * Get a list of push notifications configured for a task. * */ - public io.a2a.grpc.ListTaskPushNotificationConfigResponse listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationConfigRequest request) throws io.grpc.StatusException { + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse listTaskPushNotificationConfigs(io.a2a.grpc.ListTaskPushNotificationConfigsRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListTaskPushNotificationConfigMethod(), getCallOptions(), request); + getChannel(), getListTaskPushNotificationConfigsMethod(), getCallOptions(), request); } /** *
    -     * GetExtendedAgentCard returns the extended agent card for authenticated agents.
    +     * Gets the extended agent card for the authenticated agent.
          * 
    */ public io.a2a.grpc.AgentCard getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest request) throws io.grpc.StatusException { @@ -816,7 +828,7 @@ public io.a2a.grpc.AgentCard getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCa /** *
    -     * Delete a push notification config for a task.
    +     * Deletes a push notification config for a task.
          * 
    */ public com.google.protobuf.Empty deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotificationConfigRequest request) throws io.grpc.StatusException { @@ -828,7 +840,7 @@ public com.google.protobuf.Empty deleteTaskPushNotificationConfig(io.a2a.grpc.De /** * A stub to allow clients to do limited synchronous rpc calls to service A2AService. *
    -   * A2AService defines the operations of the A2A protocol.
    +   * Provides operations for interacting with agents using the A2A protocol.
        * 
    */ public static final class A2AServiceBlockingStub @@ -846,7 +858,7 @@ protected A2AServiceBlockingStub build( /** *
    -     * Send a message to the agent.
    +     * Sends a message to an agent.
          * 
    */ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageRequest request) { @@ -856,7 +868,8 @@ public io.a2a.grpc.SendMessageResponse sendMessage(io.a2a.grpc.SendMessageReques /** *
    -     * SendStreamingMessage is a streaming version of SendMessage.
    +     * Sends a streaming message to an agent, allowing for real-time interaction and status updates.
    +     * Streaming version of `SendMessage`
          * 
    */ public java.util.Iterator sendStreamingMessage( @@ -867,7 +880,7 @@ public java.util.Iterator sendStreamingMessage( /** *
    -     * Get the current state of a task from the agent.
    +     * Gets the latest state of a task.
          * 
    */ public io.a2a.grpc.Task getTask(io.a2a.grpc.GetTaskRequest request) { @@ -877,7 +890,7 @@ public io.a2a.grpc.Task getTask(io.a2a.grpc.GetTaskRequest request) { /** *
    -     * List tasks with optional filtering and pagination.
    +     * Lists tasks that match the specified filter.
          * 
    */ public io.a2a.grpc.ListTasksResponse listTasks(io.a2a.grpc.ListTasksRequest request) { @@ -887,7 +900,7 @@ public io.a2a.grpc.ListTasksResponse listTasks(io.a2a.grpc.ListTasksRequest requ /** *
    -     * Cancel a task.
    +     * Cancels a task in progress.
          * 
    */ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) { @@ -897,8 +910,8 @@ public io.a2a.grpc.Task cancelTask(io.a2a.grpc.CancelTaskRequest request) { /** *
    -     * SubscribeToTask allows subscribing to task updates for tasks not in terminal state.
    -     * Returns UnsupportedOperationError if task is in terminal state (completed, failed, canceled, rejected).
    +     * 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).
          * 
    */ public java.util.Iterator subscribeToTask( @@ -909,7 +922,10 @@ public java.util.Iterator subscribeToTask( /** *
    -     * Create a push notification config for a task.
    +     * (-- api-linter: client-libraries::4232::required-fields=disabled
    +     *     api-linter: core::0133::method-signature=disabled
    +     *     aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
    +     * Creates a push notification config for a task.
          * 
    */ public io.a2a.grpc.TaskPushNotificationConfig createTaskPushNotificationConfig(io.a2a.grpc.CreateTaskPushNotificationConfigRequest request) { @@ -919,7 +935,7 @@ public io.a2a.grpc.TaskPushNotificationConfig createTaskPushNotificationConfig(i /** *
    -     * Get a push notification config for a task.
    +     * Gets a push notification config for a task.
          * 
    */ public io.a2a.grpc.TaskPushNotificationConfig getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationConfigRequest request) { @@ -932,14 +948,14 @@ public io.a2a.grpc.TaskPushNotificationConfig getTaskPushNotificationConfig(io.a * Get a list of push notifications configured for a task. * */ - public io.a2a.grpc.ListTaskPushNotificationConfigResponse listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationConfigRequest request) { + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse listTaskPushNotificationConfigs(io.a2a.grpc.ListTaskPushNotificationConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTaskPushNotificationConfigMethod(), getCallOptions(), request); + getChannel(), getListTaskPushNotificationConfigsMethod(), getCallOptions(), request); } /** *
    -     * GetExtendedAgentCard returns the extended agent card for authenticated agents.
    +     * Gets the extended agent card for the authenticated agent.
          * 
    */ public io.a2a.grpc.AgentCard getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCardRequest request) { @@ -949,7 +965,7 @@ public io.a2a.grpc.AgentCard getExtendedAgentCard(io.a2a.grpc.GetExtendedAgentCa /** *
    -     * Delete a push notification config for a task.
    +     * Deletes a push notification config for a task.
          * 
    */ public com.google.protobuf.Empty deleteTaskPushNotificationConfig(io.a2a.grpc.DeleteTaskPushNotificationConfigRequest request) { @@ -961,7 +977,7 @@ public com.google.protobuf.Empty deleteTaskPushNotificationConfig(io.a2a.grpc.De /** * A stub to allow clients to do ListenableFuture-style rpc calls to service A2AService. *
    -   * A2AService defines the operations of the A2A protocol.
    +   * Provides operations for interacting with agents using the A2A protocol.
        * 
    */ public static final class A2AServiceFutureStub @@ -979,7 +995,7 @@ protected A2AServiceFutureStub build( /** *
    -     * Send a message to the agent.
    +     * Sends a message to an agent.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture sendMessage( @@ -990,7 +1006,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Get the current state of a task from the agent. + * Gets the latest state of a task. * */ public com.google.common.util.concurrent.ListenableFuture getTask( @@ -1001,7 +1017,7 @@ public com.google.common.util.concurrent.ListenableFuture getT /** *
    -     * List tasks with optional filtering and pagination.
    +     * Lists tasks that match the specified filter.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture listTasks( @@ -1012,7 +1028,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Cancel a task. + * Cancels a task in progress. * */ public com.google.common.util.concurrent.ListenableFuture cancelTask( @@ -1023,7 +1039,10 @@ public com.google.common.util.concurrent.ListenableFuture canc /** *
    -     * Create a push notification config for a task.
    +     * (-- api-linter: client-libraries::4232::required-fields=disabled
    +     *     api-linter: core::0133::method-signature=disabled
    +     *     aip.dev/not-precedent: method_signature preserved for backwards compatibility --)
    +     * Creates a push notification config for a task.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture createTaskPushNotificationConfig( @@ -1034,7 +1053,7 @@ public com.google.common.util.concurrent.ListenableFuture - * Get a push notification config for a task. + * Gets a push notification config for a task. * */ public com.google.common.util.concurrent.ListenableFuture getTaskPushNotificationConfig( @@ -1048,15 +1067,15 @@ public com.google.common.util.concurrent.ListenableFuture */ - public com.google.common.util.concurrent.ListenableFuture listTaskPushNotificationConfig( - io.a2a.grpc.ListTaskPushNotificationConfigRequest request) { + public com.google.common.util.concurrent.ListenableFuture listTaskPushNotificationConfigs( + io.a2a.grpc.ListTaskPushNotificationConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTaskPushNotificationConfigMethod(), getCallOptions()), request); + getChannel().newCall(getListTaskPushNotificationConfigsMethod(), getCallOptions()), request); } /** *
    -     * GetExtendedAgentCard returns the extended agent card for authenticated agents.
    +     * Gets the extended agent card for the authenticated agent.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture getExtendedAgentCard( @@ -1067,7 +1086,7 @@ public com.google.common.util.concurrent.ListenableFuture /** *
    -     * Delete a push notification config for a task.
    +     * Deletes a push notification config for a task.
          * 
    */ public com.google.common.util.concurrent.ListenableFuture deleteTaskPushNotificationConfig( @@ -1085,7 +1104,7 @@ public com.google.common.util.concurrent.ListenableFuture responseObserv serviceImpl.getTaskPushNotificationConfig((io.a2a.grpc.GetTaskPushNotificationConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; - case METHODID_LIST_TASK_PUSH_NOTIFICATION_CONFIG: - serviceImpl.listTaskPushNotificationConfig((io.a2a.grpc.ListTaskPushNotificationConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + case METHODID_LIST_TASK_PUSH_NOTIFICATION_CONFIGS: + serviceImpl.listTaskPushNotificationConfigs((io.a2a.grpc.ListTaskPushNotificationConfigsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_EXTENDED_AGENT_CARD: serviceImpl.getExtendedAgentCard((io.a2a.grpc.GetExtendedAgentCardRequest) request, @@ -1225,12 +1244,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser io.a2a.grpc.TaskPushNotificationConfig>( service, METHODID_GET_TASK_PUSH_NOTIFICATION_CONFIG))) .addMethod( - getListTaskPushNotificationConfigMethod(), + getListTaskPushNotificationConfigsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< - io.a2a.grpc.ListTaskPushNotificationConfigRequest, - io.a2a.grpc.ListTaskPushNotificationConfigResponse>( - service, METHODID_LIST_TASK_PUSH_NOTIFICATION_CONFIG))) + io.a2a.grpc.ListTaskPushNotificationConfigsRequest, + io.a2a.grpc.ListTaskPushNotificationConfigsResponse>( + service, METHODID_LIST_TASK_PUSH_NOTIFICATION_CONFIGS))) .addMethod( getGetExtendedAgentCardMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -1301,7 +1320,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getSubscribeToTaskMethod()) .addMethod(getCreateTaskPushNotificationConfigMethod()) .addMethod(getGetTaskPushNotificationConfigMethod()) - .addMethod(getListTaskPushNotificationConfigMethod()) + .addMethod(getListTaskPushNotificationConfigsMethod()) .addMethod(getGetExtendedAgentCardMethod()) .addMethod(getDeleteTaskPushNotificationConfigMethod()) .build(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java index a189729df..d7c950934 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:APIKeySecurityScheme]
      * Defines a security scheme using an API key.
      * 
    * - * Protobuf type {@code a2a.v1.APIKeySecurityScheme} + * Protobuf type {@code lf.a2a.v1.APIKeySecurityScheme} */ @com.google.protobuf.Generated public final class APIKeySecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.APIKeySecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.APIKeySecurityScheme) APIKeySecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +39,13 @@ private APIKeySecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_APIKeySecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_APIKeySecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_APIKeySecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_APIKeySecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.APIKeySecurityScheme.class, io.a2a.grpc.APIKeySecurityScheme.Builder.class); } @@ -370,25 +369,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:APIKeySecurityScheme]
        * Defines a security scheme using an API key.
        * 
    * - * Protobuf type {@code a2a.v1.APIKeySecurityScheme} + * Protobuf type {@code lf.a2a.v1.APIKeySecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.APIKeySecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.APIKeySecurityScheme) io.a2a.grpc.APIKeySecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_APIKeySecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_APIKeySecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_APIKeySecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_APIKeySecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.APIKeySecurityScheme.class, io.a2a.grpc.APIKeySecurityScheme.Builder.class); } @@ -416,7 +414,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_APIKeySecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_APIKeySecurityScheme_descriptor; } @java.lang.Override @@ -815,10 +813,10 @@ public Builder setNameBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.APIKeySecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.APIKeySecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.APIKeySecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.APIKeySecurityScheme) private static final io.a2a.grpc.APIKeySecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.APIKeySecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java index 757464225..402c95c3c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface APIKeySecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.APIKeySecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.APIKeySecurityScheme) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java index 84796af69..f01517fa3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:AgentCapabilities]
      * Defines optional capabilities supported by an agent.
      * 
    * - * Protobuf type {@code a2a.v1.AgentCapabilities} + * Protobuf type {@code lf.a2a.v1.AgentCapabilities} */ @com.google.protobuf.Generated public final class AgentCapabilities extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentCapabilities) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentCapabilities) AgentCapabilitiesOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,13 +37,13 @@ private AgentCapabilities() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCapabilities_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCapabilities_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCapabilities_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCapabilities_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCapabilities.class, io.a2a.grpc.AgentCapabilities.Builder.class); } @@ -112,7 +111,7 @@ public boolean getPushNotifications() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public java.util.List getExtensionsList() { @@ -123,7 +122,7 @@ public java.util.List getExtensionsList() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public java.util.List @@ -135,7 +134,7 @@ public java.util.List getExtensionsList() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public int getExtensionsCount() { @@ -146,7 +145,7 @@ public int getExtensionsCount() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public io.a2a.grpc.AgentExtension getExtensions(int index) { @@ -157,7 +156,7 @@ public io.a2a.grpc.AgentExtension getExtensions(int index) { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( @@ -165,14 +164,14 @@ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( return extensions_.get(index); } - public static final int EXTENDED_AGENT_CARD_FIELD_NUMBER = 5; + public static final int EXTENDED_AGENT_CARD_FIELD_NUMBER = 4; private boolean extendedAgentCard_ = false; /** *
        * Indicates if the agent supports providing an extended agent card when authenticated.
        * 
    * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return Whether the extendedAgentCard field is set. */ @java.lang.Override @@ -184,7 +183,7 @@ public boolean hasExtendedAgentCard() { * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return The extendedAgentCard. */ @java.lang.Override @@ -216,7 +215,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(3, extensions_.get(i)); } if (((bitField0_ & 0x00000004) != 0)) { - output.writeBool(5, extendedAgentCard_); + output.writeBool(4, extendedAgentCard_); } getUnknownFields().writeTo(output); } @@ -241,7 +240,7 @@ public int getSerializedSize() { } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, extendedAgentCard_); + .computeBoolSize(4, extendedAgentCard_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -404,25 +403,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentCapabilities]
        * Defines optional capabilities supported by an agent.
        * 
    * - * Protobuf type {@code a2a.v1.AgentCapabilities} + * Protobuf type {@code lf.a2a.v1.AgentCapabilities} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentCapabilities) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentCapabilities) io.a2a.grpc.AgentCapabilitiesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCapabilities_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCapabilities_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCapabilities_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCapabilities_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCapabilities.class, io.a2a.grpc.AgentCapabilities.Builder.class); } @@ -457,7 +455,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCapabilities_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCapabilities_descriptor; } @java.lang.Override @@ -609,11 +607,11 @@ public Builder mergeFrom( } break; } // case 26 - case 40: { + case 32: { extendedAgentCard_ = input.readBool(); bitField0_ |= 0x00000008; break; - } // case 40 + } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -760,7 +758,7 @@ private void ensureExtensionsIsMutable() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsList() { if (extensionsBuilder_ == null) { @@ -774,7 +772,7 @@ public java.util.List getExtensionsList() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public int getExtensionsCount() { if (extensionsBuilder_ == null) { @@ -788,7 +786,7 @@ public int getExtensionsCount() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension getExtensions(int index) { if (extensionsBuilder_ == null) { @@ -802,7 +800,7 @@ public io.a2a.grpc.AgentExtension getExtensions(int index) { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder setExtensions( int index, io.a2a.grpc.AgentExtension value) { @@ -823,7 +821,7 @@ public Builder setExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder setExtensions( int index, io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -841,7 +839,7 @@ public Builder setExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions(io.a2a.grpc.AgentExtension value) { if (extensionsBuilder_ == null) { @@ -861,7 +859,7 @@ public Builder addExtensions(io.a2a.grpc.AgentExtension value) { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( int index, io.a2a.grpc.AgentExtension value) { @@ -882,7 +880,7 @@ public Builder addExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -900,7 +898,7 @@ public Builder addExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( int index, io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -918,7 +916,7 @@ public Builder addExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder addAllExtensions( java.lang.Iterable values) { @@ -937,7 +935,7 @@ public Builder addAllExtensions( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder clearExtensions() { if (extensionsBuilder_ == null) { @@ -954,7 +952,7 @@ public Builder clearExtensions() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public Builder removeExtensions(int index) { if (extensionsBuilder_ == null) { @@ -971,7 +969,7 @@ public Builder removeExtensions(int index) { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder getExtensionsBuilder( int index) { @@ -982,7 +980,7 @@ public io.a2a.grpc.AgentExtension.Builder getExtensionsBuilder( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( int index) { @@ -996,7 +994,7 @@ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsOrBuilderList() { @@ -1011,7 +1009,7 @@ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder() { return internalGetExtensionsFieldBuilder().addBuilder( @@ -1022,7 +1020,7 @@ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder() { * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder( int index) { @@ -1034,7 +1032,7 @@ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder( * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsBuilderList() { @@ -1061,7 +1059,7 @@ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder( * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return Whether the extendedAgentCard field is set. */ @java.lang.Override @@ -1073,7 +1071,7 @@ public boolean hasExtendedAgentCard() { * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return The extendedAgentCard. */ @java.lang.Override @@ -1085,7 +1083,7 @@ public boolean getExtendedAgentCard() { * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @param value The extendedAgentCard to set. * @return This builder for chaining. */ @@ -1101,7 +1099,7 @@ public Builder setExtendedAgentCard(boolean value) { * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return This builder for chaining. */ public Builder clearExtendedAgentCard() { @@ -1111,10 +1109,10 @@ public Builder clearExtendedAgentCard() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentCapabilities) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentCapabilities) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentCapabilities) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentCapabilities) private static final io.a2a.grpc.AgentCapabilities DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentCapabilities(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java index 05c90e4d2..112329f21 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentCapabilitiesOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentCapabilities) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentCapabilities) com.google.protobuf.MessageOrBuilder { /** @@ -53,7 +53,7 @@ public interface AgentCapabilitiesOrBuilder extends * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ java.util.List getExtensionsList(); @@ -62,7 +62,7 @@ public interface AgentCapabilitiesOrBuilder extends * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ io.a2a.grpc.AgentExtension getExtensions(int index); /** @@ -70,7 +70,7 @@ public interface AgentCapabilitiesOrBuilder extends * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ int getExtensionsCount(); /** @@ -78,7 +78,7 @@ public interface AgentCapabilitiesOrBuilder extends * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ java.util.List getExtensionsOrBuilderList(); @@ -87,7 +87,7 @@ public interface AgentCapabilitiesOrBuilder extends * A list of protocol extensions supported by the agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3; + * repeated .lf.a2a.v1.AgentExtension extensions = 3; */ io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( int index); @@ -97,7 +97,7 @@ io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return Whether the extendedAgentCard field is set. */ boolean hasExtendedAgentCard(); @@ -106,7 +106,7 @@ io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * Indicates if the agent supports providing an extended agent card when authenticated. * * - * optional bool extended_agent_card = 5; + * optional bool extended_agent_card = 4; * @return The extendedAgentCard. */ boolean getExtendedAgentCard(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java index 2b06f54b8..7e75ae6a0 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java @@ -7,19 +7,18 @@ /** *
    - * --8<-- [start:AgentCard]
    - * AgentCard is a self-describing manifest for an agent. It provides essential
    + * 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
      * 
    * - * Protobuf type {@code a2a.v1.AgentCard} + * Protobuf type {@code lf.a2a.v1.AgentCard} */ @com.google.protobuf.Generated public final class AgentCard extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentCard) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentCard) AgentCardOrBuilder { private static final long serialVersionUID = 0L; static { @@ -53,7 +52,7 @@ private AgentCard() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -71,7 +70,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCard.class, io.a2a.grpc.AgentCard.Builder.class); } @@ -177,15 +176,15 @@ public java.lang.String getDescription() { } } - public static final int SUPPORTED_INTERFACES_FIELD_NUMBER = 19; + public static final int SUPPORTED_INTERFACES_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List supportedInterfaces_; /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getSupportedInterfacesList() { @@ -193,10 +192,10 @@ public java.util.List getSupportedInterfacesList() { } /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List @@ -205,10 +204,10 @@ public java.util.List getSupportedInterfacesList() { } /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getSupportedInterfacesCount() { @@ -216,10 +215,10 @@ public int getSupportedInterfacesCount() { } /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.AgentInterface getSupportedInterfaces(int index) { @@ -227,10 +226,10 @@ public io.a2a.grpc.AgentInterface getSupportedInterfaces(int index) { } /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( @@ -245,7 +244,7 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ @java.lang.Override @@ -257,7 +256,7 @@ public boolean hasProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return The provider. */ @java.lang.Override @@ -269,7 +268,7 @@ public io.a2a.grpc.AgentProvider getProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ @java.lang.Override public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { @@ -330,7 +329,7 @@ public java.lang.String getVersion() { private volatile java.lang.Object documentationUrl_ = ""; /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -342,7 +341,7 @@ public boolean hasDocumentationUrl() { } /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -363,7 +362,7 @@ public java.lang.String getDocumentationUrl() { } /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -391,7 +390,7 @@ public java.lang.String getDocumentationUrl() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the capabilities field is set. */ @java.lang.Override @@ -403,7 +402,7 @@ public boolean hasCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The capabilities. */ @java.lang.Override @@ -415,7 +414,7 @@ public io.a2a.grpc.AgentCapabilities getCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { @@ -428,7 +427,7 @@ private static final class SecuritySchemesDefaultEntryHolder { java.lang.String, io.a2a.grpc.SecurityScheme> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_SecuritySchemesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -453,7 +452,7 @@ public int getSecuritySchemesCount() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public boolean containsSecuritySchemes( @@ -474,7 +473,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public java.util.Map getSecuritySchemesMap() { @@ -485,7 +484,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public /* nullable */ @@ -503,7 +502,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( @@ -517,7 +516,7 @@ public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( return map.get(key); } - public static final int SECURITY_REQUIREMENTS_FIELD_NUMBER = 13; + public static final int SECURITY_REQUIREMENTS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private java.util.List securityRequirements_; /** @@ -525,7 +524,7 @@ public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ @java.lang.Override public java.util.List getSecurityRequirementsList() { @@ -536,7 +535,7 @@ public java.util.List getSecurityRequirementsLi * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ @java.lang.Override public java.util.List @@ -548,7 +547,7 @@ public java.util.List getSecurityRequirementsLi * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ @java.lang.Override public int getSecurityRequirementsCount() { @@ -559,7 +558,7 @@ public int getSecurityRequirementsCount() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ @java.lang.Override public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { @@ -570,7 +569,7 @@ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ @java.lang.Override public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( @@ -697,12 +696,12 @@ public java.lang.String getDefaultOutputModes(int index) { private java.util.List skills_; /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getSkillsList() { @@ -710,12 +709,12 @@ public java.util.List getSkillsList() { } /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List @@ -724,12 +723,12 @@ public java.util.List getSkillsList() { } /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getSkillsCount() { @@ -737,12 +736,12 @@ public int getSkillsCount() { } /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.AgentSkill getSkills(int index) { @@ -750,12 +749,12 @@ public io.a2a.grpc.AgentSkill getSkills(int index) { } /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( @@ -763,15 +762,15 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( return skills_.get(index); } - public static final int SIGNATURES_FIELD_NUMBER = 17; + public static final int SIGNATURES_FIELD_NUMBER = 13; @SuppressWarnings("serial") private java.util.List signatures_; /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ @java.lang.Override public java.util.List getSignaturesList() { @@ -779,10 +778,10 @@ public java.util.List getSignaturesList() { } /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ @java.lang.Override public java.util.List @@ -791,10 +790,10 @@ public java.util.List getSignaturesList() { } /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ @java.lang.Override public int getSignaturesCount() { @@ -802,10 +801,10 @@ public int getSignaturesCount() { } /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ @java.lang.Override public io.a2a.grpc.AgentCardSignature getSignatures(int index) { @@ -813,10 +812,10 @@ public io.a2a.grpc.AgentCardSignature getSignatures(int index) { } /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ @java.lang.Override public io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( @@ -824,15 +823,15 @@ public io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( return signatures_.get(index); } - public static final int ICON_URL_FIELD_NUMBER = 18; + public static final int ICON_URL_FIELD_NUMBER = 14; @SuppressWarnings("serial") private volatile java.lang.Object iconUrl_ = ""; /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return Whether the iconUrl field is set. */ @java.lang.Override @@ -841,10 +840,10 @@ public boolean hasIconUrl() { } /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The iconUrl. */ @java.lang.Override @@ -862,10 +861,10 @@ public java.lang.String getIconUrl() { } /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The bytes for iconUrl. */ @java.lang.Override @@ -903,6 +902,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } + for (int i = 0; i < supportedInterfaces_.size(); i++) { + output.writeMessage(3, supportedInterfaces_.get(i)); + } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getProvider()); } @@ -921,6 +923,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) internalGetSecuritySchemes(), SecuritySchemesDefaultEntryHolder.defaultEntry, 8); + for (int i = 0; i < securityRequirements_.size(); i++) { + output.writeMessage(9, securityRequirements_.get(i)); + } for (int i = 0; i < defaultInputModes_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 10, defaultInputModes_.getRaw(i)); } @@ -930,17 +935,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) for (int i = 0; i < skills_.size(); i++) { output.writeMessage(12, skills_.get(i)); } - for (int i = 0; i < securityRequirements_.size(); i++) { - output.writeMessage(13, securityRequirements_.get(i)); - } for (int i = 0; i < signatures_.size(); i++) { - output.writeMessage(17, signatures_.get(i)); + output.writeMessage(13, signatures_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessage.writeString(output, 18, iconUrl_); - } - for (int i = 0; i < supportedInterfaces_.size(); i++) { - output.writeMessage(19, supportedInterfaces_.get(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 14, iconUrl_); } getUnknownFields().writeTo(output); } @@ -957,6 +956,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } + for (int i = 0; i < supportedInterfaces_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, supportedInterfaces_.get(i)); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getProvider()); @@ -981,6 +984,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, securitySchemes__); } + for (int i = 0; i < securityRequirements_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, securityRequirements_.get(i)); + } { int dataSize = 0; for (int i = 0; i < defaultInputModes_.size(); i++) { @@ -1001,20 +1008,12 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, skills_.get(i)); } - for (int i = 0; i < securityRequirements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, securityRequirements_.get(i)); - } for (int i = 0; i < signatures_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, signatures_.get(i)); + .computeMessageSize(13, signatures_.get(i)); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(18, iconUrl_); - } - for (int i = 0; i < supportedInterfaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, supportedInterfaces_.get(i)); + size += com.google.protobuf.GeneratedMessage.computeStringSize(14, iconUrl_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1231,22 +1230,21 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentCard]
    -   * AgentCard is a self-describing manifest for an agent. It provides essential
    +   * 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
        * 
    * - * Protobuf type {@code a2a.v1.AgentCard} + * Protobuf type {@code lf.a2a.v1.AgentCard} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentCard) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentCard) io.a2a.grpc.AgentCardOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -1274,7 +1272,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCard.class, io.a2a.grpc.AgentCard.Builder.class); } @@ -1358,7 +1356,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCard_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCard_descriptor; } @java.lang.Override @@ -1675,6 +1673,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 18 + case 26: { + io.a2a.grpc.AgentInterface m = + input.readMessage( + io.a2a.grpc.AgentInterface.parser(), + extensionRegistry); + if (supportedInterfacesBuilder_ == null) { + ensureSupportedInterfacesIsMutable(); + supportedInterfaces_.add(m); + } else { + supportedInterfacesBuilder_.addMessage(m); + } + break; + } // case 26 case 34: { input.readMessage( internalGetProviderFieldBuilder().getBuilder(), @@ -1708,6 +1719,19 @@ public Builder mergeFrom( bitField0_ |= 0x00000080; break; } // case 66 + case 74: { + io.a2a.grpc.SecurityRequirement m = + input.readMessage( + io.a2a.grpc.SecurityRequirement.parser(), + extensionRegistry); + if (securityRequirementsBuilder_ == null) { + ensureSecurityRequirementsIsMutable(); + securityRequirements_.add(m); + } else { + securityRequirementsBuilder_.addMessage(m); + } + break; + } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensureDefaultInputModesIsMutable(); @@ -1734,19 +1758,6 @@ public Builder mergeFrom( break; } // case 98 case 106: { - io.a2a.grpc.SecurityRequirement m = - input.readMessage( - io.a2a.grpc.SecurityRequirement.parser(), - extensionRegistry); - if (securityRequirementsBuilder_ == null) { - ensureSecurityRequirementsIsMutable(); - securityRequirements_.add(m); - } else { - securityRequirementsBuilder_.addMessage(m); - } - break; - } // case 106 - case 138: { io.a2a.grpc.AgentCardSignature m = input.readMessage( io.a2a.grpc.AgentCardSignature.parser(), @@ -1758,25 +1769,12 @@ public Builder mergeFrom( signaturesBuilder_.addMessage(m); } break; - } // case 138 - case 146: { + } // case 106 + case 114: { iconUrl_ = input.readStringRequireUtf8(); bitField0_ |= 0x00002000; break; - } // case 146 - case 154: { - io.a2a.grpc.AgentInterface m = - input.readMessage( - io.a2a.grpc.AgentInterface.parser(), - extensionRegistry); - if (supportedInterfacesBuilder_ == null) { - ensureSupportedInterfacesIsMutable(); - supportedInterfaces_.add(m); - } else { - supportedInterfacesBuilder_.addMessage(m); - } - break; - } // case 154 + } // case 114 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -2007,10 +2005,10 @@ private void ensureSupportedInterfacesIsMutable() { /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSupportedInterfacesList() { if (supportedInterfacesBuilder_ == null) { @@ -2021,10 +2019,10 @@ public java.util.List getSupportedInterfacesList() { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getSupportedInterfacesCount() { if (supportedInterfacesBuilder_ == null) { @@ -2035,10 +2033,10 @@ public int getSupportedInterfacesCount() { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentInterface getSupportedInterfaces(int index) { if (supportedInterfacesBuilder_ == null) { @@ -2049,10 +2047,10 @@ public io.a2a.grpc.AgentInterface getSupportedInterfaces(int index) { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSupportedInterfaces( int index, io.a2a.grpc.AgentInterface value) { @@ -2070,10 +2068,10 @@ public Builder setSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSupportedInterfaces( int index, io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2088,10 +2086,10 @@ public Builder setSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSupportedInterfaces(io.a2a.grpc.AgentInterface value) { if (supportedInterfacesBuilder_ == null) { @@ -2108,10 +2106,10 @@ public Builder addSupportedInterfaces(io.a2a.grpc.AgentInterface value) { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSupportedInterfaces( int index, io.a2a.grpc.AgentInterface value) { @@ -2129,10 +2127,10 @@ public Builder addSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSupportedInterfaces( io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2147,10 +2145,10 @@ public Builder addSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSupportedInterfaces( int index, io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2165,10 +2163,10 @@ public Builder addSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllSupportedInterfaces( java.lang.Iterable values) { @@ -2184,10 +2182,10 @@ public Builder addAllSupportedInterfaces( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSupportedInterfaces() { if (supportedInterfacesBuilder_ == null) { @@ -2201,10 +2199,10 @@ public Builder clearSupportedInterfaces() { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeSupportedInterfaces(int index) { if (supportedInterfacesBuilder_ == null) { @@ -2218,10 +2216,10 @@ public Builder removeSupportedInterfaces(int index) { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentInterface.Builder getSupportedInterfacesBuilder( int index) { @@ -2229,10 +2227,10 @@ public io.a2a.grpc.AgentInterface.Builder getSupportedInterfacesBuilder( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( int index) { @@ -2243,10 +2241,10 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSupportedInterfacesOrBuilderList() { @@ -2258,10 +2256,10 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentInterface.Builder addSupportedInterfacesBuilder() { return internalGetSupportedInterfacesFieldBuilder().addBuilder( @@ -2269,10 +2267,10 @@ public io.a2a.grpc.AgentInterface.Builder addSupportedInterfacesBuilder() { } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentInterface.Builder addSupportedInterfacesBuilder( int index) { @@ -2281,10 +2279,10 @@ public io.a2a.grpc.AgentInterface.Builder addSupportedInterfacesBuilder( } /** *
    -     * Ordered list of supported interfaces. First entry is preferred.
    +     * Ordered list of supported interfaces. The first entry is preferred.
          * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSupportedInterfacesBuilderList() { @@ -2313,7 +2311,7 @@ public io.a2a.grpc.AgentInterface.Builder addSupportedInterfacesBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ public boolean hasProvider() { @@ -2324,7 +2322,7 @@ public boolean hasProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return The provider. */ public io.a2a.grpc.AgentProvider getProvider() { @@ -2339,7 +2337,7 @@ public io.a2a.grpc.AgentProvider getProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public Builder setProvider(io.a2a.grpc.AgentProvider value) { if (providerBuilder_ == null) { @@ -2359,7 +2357,7 @@ public Builder setProvider(io.a2a.grpc.AgentProvider value) { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public Builder setProvider( io.a2a.grpc.AgentProvider.Builder builderForValue) { @@ -2377,7 +2375,7 @@ public Builder setProvider( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public Builder mergeProvider(io.a2a.grpc.AgentProvider value) { if (providerBuilder_ == null) { @@ -2402,7 +2400,7 @@ public Builder mergeProvider(io.a2a.grpc.AgentProvider value) { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public Builder clearProvider() { bitField0_ = (bitField0_ & ~0x00000008); @@ -2419,7 +2417,7 @@ public Builder clearProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public io.a2a.grpc.AgentProvider.Builder getProviderBuilder() { bitField0_ |= 0x00000008; @@ -2431,7 +2429,7 @@ public io.a2a.grpc.AgentProvider.Builder getProviderBuilder() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { if (providerBuilder_ != null) { @@ -2446,7 +2444,7 @@ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AgentProvider, io.a2a.grpc.AgentProvider.Builder, io.a2a.grpc.AgentProviderOrBuilder> @@ -2562,7 +2560,7 @@ public Builder setVersionBytes( private java.lang.Object documentationUrl_ = ""; /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2573,7 +2571,7 @@ public boolean hasDocumentationUrl() { } /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2593,7 +2591,7 @@ public java.lang.String getDocumentationUrl() { } /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2614,7 +2612,7 @@ public java.lang.String getDocumentationUrl() { } /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2631,7 +2629,7 @@ public Builder setDocumentationUrl( } /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2645,7 +2643,7 @@ public Builder clearDocumentationUrl() { } /** *
    -     * A url to provide additional documentation about the agent.
    +     * A URL providing additional documentation about the agent.
          * 
    * * optional string documentation_url = 6; @@ -2670,7 +2668,7 @@ public Builder setDocumentationUrlBytes( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the capabilities field is set. */ public boolean hasCapabilities() { @@ -2681,7 +2679,7 @@ public boolean hasCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The capabilities. */ public io.a2a.grpc.AgentCapabilities getCapabilities() { @@ -2696,7 +2694,7 @@ public io.a2a.grpc.AgentCapabilities getCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCapabilities(io.a2a.grpc.AgentCapabilities value) { if (capabilitiesBuilder_ == null) { @@ -2716,7 +2714,7 @@ public Builder setCapabilities(io.a2a.grpc.AgentCapabilities value) { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCapabilities( io.a2a.grpc.AgentCapabilities.Builder builderForValue) { @@ -2734,7 +2732,7 @@ public Builder setCapabilities( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCapabilities(io.a2a.grpc.AgentCapabilities value) { if (capabilitiesBuilder_ == null) { @@ -2759,7 +2757,7 @@ public Builder mergeCapabilities(io.a2a.grpc.AgentCapabilities value) { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCapabilities() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2776,7 +2774,7 @@ public Builder clearCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentCapabilities.Builder getCapabilitiesBuilder() { bitField0_ |= 0x00000040; @@ -2788,7 +2786,7 @@ public io.a2a.grpc.AgentCapabilities.Builder getCapabilitiesBuilder() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { if (capabilitiesBuilder_ != null) { @@ -2803,7 +2801,7 @@ public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AgentCapabilities, io.a2a.grpc.AgentCapabilities.Builder, io.a2a.grpc.AgentCapabilitiesOrBuilder> @@ -2859,7 +2857,7 @@ public int getSecuritySchemesCount() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public boolean containsSecuritySchemes( @@ -2880,7 +2878,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public java.util.Map getSecuritySchemesMap() { @@ -2891,7 +2889,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public /* nullable */ @@ -2908,7 +2906,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( @@ -2930,7 +2928,7 @@ public Builder clearSecuritySchemes() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder removeSecuritySchemes( java.lang.String key) { @@ -2953,7 +2951,7 @@ public Builder removeSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder putSecuritySchemes( java.lang.String key, @@ -2970,7 +2968,7 @@ public Builder putSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder putAllSecuritySchemes( java.util.Map values) { @@ -2989,7 +2987,7 @@ public Builder putAllSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ public io.a2a.grpc.SecurityScheme.Builder putSecuritySchemesBuilderIfAbsent( java.lang.String key) { @@ -3023,7 +3021,7 @@ private void ensureSecurityRequirementsIsMutable() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public java.util.List getSecurityRequirementsList() { if (securityRequirementsBuilder_ == null) { @@ -3037,7 +3035,7 @@ public java.util.List getSecurityRequirementsLi * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public int getSecurityRequirementsCount() { if (securityRequirementsBuilder_ == null) { @@ -3051,7 +3049,7 @@ public int getSecurityRequirementsCount() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { if (securityRequirementsBuilder_ == null) { @@ -3065,7 +3063,7 @@ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder setSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement value) { @@ -3086,7 +3084,7 @@ public Builder setSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder setSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -3104,7 +3102,7 @@ public Builder setSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder addSecurityRequirements(io.a2a.grpc.SecurityRequirement value) { if (securityRequirementsBuilder_ == null) { @@ -3124,7 +3122,7 @@ public Builder addSecurityRequirements(io.a2a.grpc.SecurityRequirement value) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder addSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement value) { @@ -3145,7 +3143,7 @@ public Builder addSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder addSecurityRequirements( io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -3163,7 +3161,7 @@ public Builder addSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder addSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -3181,7 +3179,7 @@ public Builder addSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder addAllSecurityRequirements( java.lang.Iterable values) { @@ -3200,7 +3198,7 @@ public Builder addAllSecurityRequirements( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder clearSecurityRequirements() { if (securityRequirementsBuilder_ == null) { @@ -3217,7 +3215,7 @@ public Builder clearSecurityRequirements() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public Builder removeSecurityRequirements(int index) { if (securityRequirementsBuilder_ == null) { @@ -3234,7 +3232,7 @@ public Builder removeSecurityRequirements(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public io.a2a.grpc.SecurityRequirement.Builder getSecurityRequirementsBuilder( int index) { @@ -3245,7 +3243,7 @@ public io.a2a.grpc.SecurityRequirement.Builder getSecurityRequirementsBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( int index) { @@ -3259,7 +3257,7 @@ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public java.util.List getSecurityRequirementsOrBuilderList() { @@ -3274,7 +3272,7 @@ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder() { return internalGetSecurityRequirementsFieldBuilder().addBuilder( @@ -3285,7 +3283,7 @@ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder() * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder( int index) { @@ -3297,7 +3295,7 @@ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ public java.util.List getSecurityRequirementsBuilderList() { @@ -3644,12 +3642,12 @@ private void ensureSkillsIsMutable() { /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSkillsList() { if (skillsBuilder_ == null) { @@ -3660,12 +3658,12 @@ public java.util.List getSkillsList() { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public int getSkillsCount() { if (skillsBuilder_ == null) { @@ -3676,12 +3674,12 @@ public int getSkillsCount() { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentSkill getSkills(int index) { if (skillsBuilder_ == null) { @@ -3692,12 +3690,12 @@ public io.a2a.grpc.AgentSkill getSkills(int index) { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSkills( int index, io.a2a.grpc.AgentSkill value) { @@ -3715,12 +3713,12 @@ public Builder setSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setSkills( int index, io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -3735,12 +3733,12 @@ public Builder setSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSkills(io.a2a.grpc.AgentSkill value) { if (skillsBuilder_ == null) { @@ -3757,12 +3755,12 @@ public Builder addSkills(io.a2a.grpc.AgentSkill value) { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSkills( int index, io.a2a.grpc.AgentSkill value) { @@ -3780,12 +3778,12 @@ public Builder addSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSkills( io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -3800,12 +3798,12 @@ public Builder addSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addSkills( int index, io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -3820,12 +3818,12 @@ public Builder addSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllSkills( java.lang.Iterable values) { @@ -3841,12 +3839,12 @@ public Builder addAllSkills( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearSkills() { if (skillsBuilder_ == null) { @@ -3860,12 +3858,12 @@ public Builder clearSkills() { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeSkills(int index) { if (skillsBuilder_ == null) { @@ -3879,12 +3877,12 @@ public Builder removeSkills(int index) { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentSkill.Builder getSkillsBuilder( int index) { @@ -3892,12 +3890,12 @@ public io.a2a.grpc.AgentSkill.Builder getSkillsBuilder( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( int index) { @@ -3908,12 +3906,12 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSkillsOrBuilderList() { @@ -3925,12 +3923,12 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder() { return internalGetSkillsFieldBuilder().addBuilder( @@ -3938,12 +3936,12 @@ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder() { } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder( int index) { @@ -3952,12 +3950,12 @@ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder( } /** *
    -     * Skills represent an ability of an agent. It is largely
    -     * a descriptive concept but represents a more focused set of behaviors that the
    +     * 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.
          * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getSkillsBuilderList() { @@ -3992,10 +3990,10 @@ private void ensureSignaturesIsMutable() { /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public java.util.List getSignaturesList() { if (signaturesBuilder_ == null) { @@ -4006,10 +4004,10 @@ public java.util.List getSignaturesList() { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public int getSignaturesCount() { if (signaturesBuilder_ == null) { @@ -4020,10 +4018,10 @@ public int getSignaturesCount() { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public io.a2a.grpc.AgentCardSignature getSignatures(int index) { if (signaturesBuilder_ == null) { @@ -4034,10 +4032,10 @@ public io.a2a.grpc.AgentCardSignature getSignatures(int index) { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder setSignatures( int index, io.a2a.grpc.AgentCardSignature value) { @@ -4055,10 +4053,10 @@ public Builder setSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder setSignatures( int index, io.a2a.grpc.AgentCardSignature.Builder builderForValue) { @@ -4073,10 +4071,10 @@ public Builder setSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder addSignatures(io.a2a.grpc.AgentCardSignature value) { if (signaturesBuilder_ == null) { @@ -4093,10 +4091,10 @@ public Builder addSignatures(io.a2a.grpc.AgentCardSignature value) { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder addSignatures( int index, io.a2a.grpc.AgentCardSignature value) { @@ -4114,10 +4112,10 @@ public Builder addSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder addSignatures( io.a2a.grpc.AgentCardSignature.Builder builderForValue) { @@ -4132,10 +4130,10 @@ public Builder addSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder addSignatures( int index, io.a2a.grpc.AgentCardSignature.Builder builderForValue) { @@ -4150,10 +4148,10 @@ public Builder addSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder addAllSignatures( java.lang.Iterable values) { @@ -4169,10 +4167,10 @@ public Builder addAllSignatures( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder clearSignatures() { if (signaturesBuilder_ == null) { @@ -4186,10 +4184,10 @@ public Builder clearSignatures() { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public Builder removeSignatures(int index) { if (signaturesBuilder_ == null) { @@ -4203,10 +4201,10 @@ public Builder removeSignatures(int index) { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public io.a2a.grpc.AgentCardSignature.Builder getSignaturesBuilder( int index) { @@ -4214,10 +4212,10 @@ public io.a2a.grpc.AgentCardSignature.Builder getSignaturesBuilder( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( int index) { @@ -4228,10 +4226,10 @@ public io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public java.util.List getSignaturesOrBuilderList() { @@ -4243,10 +4241,10 @@ public io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public io.a2a.grpc.AgentCardSignature.Builder addSignaturesBuilder() { return internalGetSignaturesFieldBuilder().addBuilder( @@ -4254,10 +4252,10 @@ public io.a2a.grpc.AgentCardSignature.Builder addSignaturesBuilder() { } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public io.a2a.grpc.AgentCardSignature.Builder addSignaturesBuilder( int index) { @@ -4266,10 +4264,10 @@ public io.a2a.grpc.AgentCardSignature.Builder addSignaturesBuilder( } /** *
    -     * JSON Web Signatures computed for this AgentCard.
    +     * JSON Web Signatures computed for this `AgentCard`.
          * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ public java.util.List getSignaturesBuilderList() { @@ -4293,10 +4291,10 @@ public io.a2a.grpc.AgentCardSignature.Builder addSignaturesBuilder( private java.lang.Object iconUrl_ = ""; /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return Whether the iconUrl field is set. */ public boolean hasIconUrl() { @@ -4304,10 +4302,10 @@ public boolean hasIconUrl() { } /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The iconUrl. */ public java.lang.String getIconUrl() { @@ -4324,10 +4322,10 @@ public java.lang.String getIconUrl() { } /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The bytes for iconUrl. */ public com.google.protobuf.ByteString @@ -4345,10 +4343,10 @@ public java.lang.String getIconUrl() { } /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @param value The iconUrl to set. * @return This builder for chaining. */ @@ -4362,10 +4360,10 @@ public Builder setIconUrl( } /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return This builder for chaining. */ public Builder clearIconUrl() { @@ -4376,10 +4374,10 @@ public Builder clearIconUrl() { } /** *
    -     * An optional URL to an icon for the agent.
    +     * Optional. A URL to an icon for the agent.
          * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @param value The bytes for iconUrl to set. * @return This builder for chaining. */ @@ -4393,10 +4391,10 @@ public Builder setIconUrlBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentCard) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentCard) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentCard) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentCard) private static final io.a2a.grpc.AgentCard DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentCard(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java index 379ec0282..8e19c6bd8 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentCardOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentCard) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentCard) com.google.protobuf.MessageOrBuilder { /** @@ -58,44 +58,44 @@ public interface AgentCardOrBuilder extends /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getSupportedInterfacesList(); /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.AgentInterface getSupportedInterfaces(int index); /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getSupportedInterfacesCount(); /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getSupportedInterfacesOrBuilderList(); /** *
    -   * Ordered list of supported interfaces. First entry is preferred.
    +   * Ordered list of supported interfaces. The first entry is preferred.
        * 
    * - * repeated .a2a.v1.AgentInterface supported_interfaces = 19 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentInterface supported_interfaces = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( int index); @@ -105,7 +105,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ boolean hasProvider(); @@ -114,7 +114,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; * @return The provider. */ io.a2a.grpc.AgentProvider getProvider(); @@ -123,7 +123,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4; + * .lf.a2a.v1.AgentProvider provider = 4; */ io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder(); @@ -151,7 +151,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -160,7 +160,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( boolean hasDocumentationUrl(); /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -169,7 +169,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( java.lang.String getDocumentationUrl(); /** *
    -   * A url to provide additional documentation about the agent.
    +   * A URL providing additional documentation about the agent.
        * 
    * * optional string documentation_url = 6; @@ -183,7 +183,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the capabilities field is set. */ boolean hasCapabilities(); @@ -192,7 +192,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; * @return The capabilities. */ io.a2a.grpc.AgentCapabilities getCapabilities(); @@ -201,7 +201,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.AgentCapabilities capabilities = 7 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder(); @@ -210,7 +210,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ int getSecuritySchemesCount(); /** @@ -218,7 +218,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getSupportedInterfacesOrBuilder( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ boolean containsSecuritySchemes( java.lang.String key); @@ -233,7 +233,7 @@ boolean containsSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ java.util.Map getSecuritySchemesMap(); @@ -242,7 +242,7 @@ boolean containsSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ /* nullable */ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( @@ -254,7 +254,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; + * map<string, .lf.a2a.v1.SecurityScheme> security_schemes = 8; */ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( java.lang.String key); @@ -264,7 +264,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ java.util.List getSecurityRequirementsList(); @@ -273,7 +273,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index); /** @@ -281,7 +281,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ int getSecurityRequirementsCount(); /** @@ -289,7 +289,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ java.util.List getSecurityRequirementsOrBuilderList(); @@ -298,7 +298,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 13; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 9; */ io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( int index); @@ -395,126 +395,126 @@ io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getSkillsList(); /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.AgentSkill getSkills(int index); /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ int getSkillsCount(); /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getSkillsOrBuilderList(); /** *
    -   * Skills represent an ability of an agent. It is largely
    -   * a descriptive concept but represents a more focused set of behaviors that the
    +   * 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.
        * 
    * - * repeated .a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.AgentSkill skills = 12 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( int index); /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ java.util.List getSignaturesList(); /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ io.a2a.grpc.AgentCardSignature getSignatures(int index); /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ int getSignaturesCount(); /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ java.util.List getSignaturesOrBuilderList(); /** *
    -   * JSON Web Signatures computed for this AgentCard.
    +   * JSON Web Signatures computed for this `AgentCard`.
        * 
    * - * repeated .a2a.v1.AgentCardSignature signatures = 17; + * repeated .lf.a2a.v1.AgentCardSignature signatures = 13; */ io.a2a.grpc.AgentCardSignatureOrBuilder getSignaturesOrBuilder( int index); /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return Whether the iconUrl field is set. */ boolean hasIconUrl(); /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The iconUrl. */ java.lang.String getIconUrl(); /** *
    -   * An optional URL to an icon for the agent.
    +   * Optional. A URL to an icon for the agent.
        * 
    * - * optional string icon_url = 18; + * optional string icon_url = 14; * @return The bytes for iconUrl. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignature.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignature.java index eef107309..567d94c50 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignature.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignature.java @@ -7,17 +7,16 @@ /** *
    - * --8<-- [start:AgentCardSignature]
      * AgentCardSignature represents a JWS signature of an AgentCard.
      * This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
      * 
    * - * Protobuf type {@code a2a.v1.AgentCardSignature} + * Protobuf type {@code lf.a2a.v1.AgentCardSignature} */ @com.google.protobuf.Generated public final class AgentCardSignature extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentCardSignature) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentCardSignature) AgentCardSignatureOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +39,13 @@ private AgentCardSignature() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCardSignature_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCardSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCardSignature_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCardSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCardSignature.class, io.a2a.grpc.AgentCardSignature.Builder.class); } @@ -57,8 +56,10 @@ private AgentCardSignature() { private volatile java.lang.Object protected_ = ""; /** *
    -   * The protected JWS header for the signature. This is always a
    -   * base64url-encoded JSON object. Required.
    +   * (-- 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.
        * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -79,8 +80,10 @@ public java.lang.String getProtected() { } /** *
    -   * The protected JWS header for the signature. This is always a
    -   * base64url-encoded JSON object. Required.
    +   * (-- 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.
        * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -106,7 +109,7 @@ public java.lang.String getProtected() { private volatile java.lang.Object signature_ = ""; /** *
    -   * The computed signature, base64url-encoded. Required.
    +   * Required. The computed signature, base64url-encoded.
        * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -127,7 +130,7 @@ public java.lang.String getSignature() { } /** *
    -   * The computed signature, base64url-encoded. Required.
    +   * Required. The computed signature, base64url-encoded.
        * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -370,26 +373,25 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentCardSignature]
        * AgentCardSignature represents a JWS signature of an AgentCard.
        * This follows the JSON format of an RFC 7515 JSON Web Signature (JWS).
        * 
    * - * Protobuf type {@code a2a.v1.AgentCardSignature} + * Protobuf type {@code lf.a2a.v1.AgentCardSignature} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentCardSignature) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentCardSignature) io.a2a.grpc.AgentCardSignatureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCardSignature_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCardSignature_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCardSignature_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCardSignature_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentCardSignature.class, io.a2a.grpc.AgentCardSignature.Builder.class); } @@ -427,7 +429,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentCardSignature_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentCardSignature_descriptor; } @java.lang.Override @@ -558,8 +560,10 @@ public Builder mergeFrom( private java.lang.Object protected_ = ""; /** *
    -     * The protected JWS header for the signature. This is always a
    -     * base64url-encoded JSON object. Required.
    +     * (-- 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.
          * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -579,8 +583,10 @@ public java.lang.String getProtected() { } /** *
    -     * The protected JWS header for the signature. This is always a
    -     * base64url-encoded JSON object. Required.
    +     * (-- 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.
          * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -601,8 +607,10 @@ public java.lang.String getProtected() { } /** *
    -     * The protected JWS header for the signature. This is always a
    -     * base64url-encoded JSON object. Required.
    +     * (-- 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.
          * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -619,8 +627,10 @@ public Builder setProtected( } /** *
    -     * The protected JWS header for the signature. This is always a
    -     * base64url-encoded JSON object. Required.
    +     * (-- 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.
          * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -634,8 +644,10 @@ public Builder clearProtected() { } /** *
    -     * The protected JWS header for the signature. This is always a
    -     * base64url-encoded JSON object. Required.
    +     * (-- 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.
          * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -655,7 +667,7 @@ public Builder setProtectedBytes( private java.lang.Object signature_ = ""; /** *
    -     * The computed signature, base64url-encoded. Required.
    +     * Required. The computed signature, base64url-encoded.
          * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -675,7 +687,7 @@ public java.lang.String getSignature() { } /** *
    -     * The computed signature, base64url-encoded. Required.
    +     * Required. The computed signature, base64url-encoded.
          * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -696,7 +708,7 @@ public java.lang.String getSignature() { } /** *
    -     * The computed signature, base64url-encoded. Required.
    +     * Required. The computed signature, base64url-encoded.
          * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -713,7 +725,7 @@ public Builder setSignature( } /** *
    -     * The computed signature, base64url-encoded. Required.
    +     * Required. The computed signature, base64url-encoded.
          * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -727,7 +739,7 @@ public Builder clearSignature() { } /** *
    -     * The computed signature, base64url-encoded. Required.
    +     * Required. The computed signature, base64url-encoded.
          * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -901,10 +913,10 @@ public com.google.protobuf.StructOrBuilder getHeaderOrBuilder() { return headerBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentCardSignature) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentCardSignature) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentCardSignature) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentCardSignature) private static final io.a2a.grpc.AgentCardSignature DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentCardSignature(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignatureOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignatureOrBuilder.java index 1d05b9c6d..ecd7ff95d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignatureOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignatureOrBuilder.java @@ -7,13 +7,15 @@ @com.google.protobuf.Generated public interface AgentCardSignatureOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentCardSignature) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentCardSignature) com.google.protobuf.MessageOrBuilder { /** *
    -   * The protected JWS header for the signature. This is always a
    -   * base64url-encoded JSON object. Required.
    +   * (-- 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.
        * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -22,8 +24,10 @@ public interface AgentCardSignatureOrBuilder extends java.lang.String getProtected(); /** *
    -   * The protected JWS header for the signature. This is always a
    -   * base64url-encoded JSON object. Required.
    +   * (-- 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.
        * 
    * * string protected = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -34,7 +38,7 @@ public interface AgentCardSignatureOrBuilder extends /** *
    -   * The computed signature, base64url-encoded. Required.
    +   * Required. The computed signature, base64url-encoded.
        * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -43,7 +47,7 @@ public interface AgentCardSignatureOrBuilder extends java.lang.String getSignature(); /** *
    -   * The computed signature, base64url-encoded. Required.
    +   * Required. The computed signature, base64url-encoded.
        * 
    * * string signature = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java index 6f942268e..e623157f3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:AgentExtension]
      * A declaration of a protocol extension supported by an Agent.
      * 
    * - * Protobuf type {@code a2a.v1.AgentExtension} + * Protobuf type {@code lf.a2a.v1.AgentExtension} */ @com.google.protobuf.Generated public final class AgentExtension extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentExtension) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentExtension) AgentExtensionOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private AgentExtension() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentExtension_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentExtension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentExtension_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentExtension_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentExtension.class, io.a2a.grpc.AgentExtension.Builder.class); } @@ -164,7 +163,7 @@ public boolean getRequired() { private com.google.protobuf.Struct params_; /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; @@ -176,7 +175,7 @@ public boolean hasParams() { } /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; @@ -188,7 +187,7 @@ public com.google.protobuf.Struct getParams() { } /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; @@ -394,25 +393,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentExtension]
        * A declaration of a protocol extension supported by an Agent.
        * 
    * - * Protobuf type {@code a2a.v1.AgentExtension} + * Protobuf type {@code lf.a2a.v1.AgentExtension} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentExtension) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentExtension) io.a2a.grpc.AgentExtensionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentExtension_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentExtension_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentExtension_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentExtension_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentExtension.class, io.a2a.grpc.AgentExtension.Builder.class); } @@ -451,7 +449,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentExtension_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentExtension_descriptor; } @java.lang.Override @@ -823,7 +821,7 @@ public Builder clearRequired() { com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> paramsBuilder_; /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -834,7 +832,7 @@ public boolean hasParams() { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -849,7 +847,7 @@ public com.google.protobuf.Struct getParams() { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -869,7 +867,7 @@ public Builder setParams(com.google.protobuf.Struct value) { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -887,7 +885,7 @@ public Builder setParams( } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -912,7 +910,7 @@ public Builder mergeParams(com.google.protobuf.Struct value) { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -929,7 +927,7 @@ public Builder clearParams() { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -941,7 +939,7 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -956,7 +954,7 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() { } /** *
    -     * Optional, extension-specific configuration parameters.
    +     * Optional. Extension-specific configuration parameters.
          * 
    * * .google.protobuf.Struct params = 4; @@ -975,10 +973,10 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() { return paramsBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentExtension) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentExtension) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentExtension) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentExtension) private static final io.a2a.grpc.AgentExtension DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentExtension(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java index e5df98bb1..42cb9594b 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentExtensionOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentExtension) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentExtension) com.google.protobuf.MessageOrBuilder { /** @@ -62,7 +62,7 @@ public interface AgentExtensionOrBuilder extends /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; @@ -71,7 +71,7 @@ public interface AgentExtensionOrBuilder extends boolean hasParams(); /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; @@ -80,7 +80,7 @@ public interface AgentExtensionOrBuilder extends com.google.protobuf.Struct getParams(); /** *
    -   * Optional, extension-specific configuration parameters.
    +   * Optional. Extension-specific configuration parameters.
        * 
    * * .google.protobuf.Struct params = 4; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java index ac8001a8e..4d6fb828e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java @@ -7,17 +7,16 @@ /** *
    - * --8<-- [start:AgentInterface]
      * 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.
      * 
    * - * Protobuf type {@code a2a.v1.AgentInterface} + * Protobuf type {@code lf.a2a.v1.AgentInterface} */ @com.google.protobuf.Generated public final class AgentInterface extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentInterface) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentInterface) AgentInterfaceOrBuilder { private static final long serialVersionUID = 0L; static { @@ -42,13 +41,13 @@ private AgentInterface() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentInterface_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentInterface_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentInterface.class, io.a2a.grpc.AgentInterface.Builder.class); } @@ -158,7 +157,7 @@ public java.lang.String getProtocolBinding() { private volatile java.lang.Object tenant_ = ""; /** *
    -   * Tenant to be set in the request when calling the agent.
    +   * Tenant ID to be used in the request when calling the agent.
        * 
    * * string tenant = 3; @@ -179,7 +178,7 @@ public java.lang.String getTenant() { } /** *
    -   * Tenant to be set in the request when calling the agent.
    +   * Tenant ID to be used in the request when calling the agent.
        * 
    * * string tenant = 3; @@ -439,26 +438,25 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentInterface]
        * 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.
        * 
    * - * Protobuf type {@code a2a.v1.AgentInterface} + * Protobuf type {@code lf.a2a.v1.AgentInterface} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentInterface) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentInterface) io.a2a.grpc.AgentInterfaceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentInterface_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentInterface_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentInterface_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentInterface_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentInterface.class, io.a2a.grpc.AgentInterface.Builder.class); } @@ -487,7 +485,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentInterface_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentInterface_descriptor; } @java.lang.Override @@ -825,7 +823,7 @@ public Builder setProtocolBindingBytes( private java.lang.Object tenant_ = ""; /** *
    -     * Tenant to be set in the request when calling the agent.
    +     * Tenant ID to be used in the request when calling the agent.
          * 
    * * string tenant = 3; @@ -845,7 +843,7 @@ public java.lang.String getTenant() { } /** *
    -     * Tenant to be set in the request when calling the agent.
    +     * Tenant ID to be used in the request when calling the agent.
          * 
    * * string tenant = 3; @@ -866,7 +864,7 @@ public java.lang.String getTenant() { } /** *
    -     * Tenant to be set in the request when calling the agent.
    +     * Tenant ID to be used in the request when calling the agent.
          * 
    * * string tenant = 3; @@ -883,7 +881,7 @@ public Builder setTenant( } /** *
    -     * Tenant to be set in the request when calling the agent.
    +     * Tenant ID to be used in the request when calling the agent.
          * 
    * * string tenant = 3; @@ -897,7 +895,7 @@ public Builder clearTenant() { } /** *
    -     * Tenant to be set in the request when calling the agent.
    +     * Tenant ID to be used in the request when calling the agent.
          * 
    * * string tenant = 3; @@ -1016,10 +1014,10 @@ public Builder setProtocolVersionBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentInterface) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentInterface) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentInterface) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentInterface) private static final io.a2a.grpc.AgentInterface DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentInterface(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java index 3dfe76f41..3f31901c7 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentInterfaceOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentInterface) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentInterface) com.google.protobuf.MessageOrBuilder { /** @@ -58,7 +58,7 @@ public interface AgentInterfaceOrBuilder extends /** *
    -   * Tenant to be set in the request when calling the agent.
    +   * Tenant ID to be used in the request when calling the agent.
        * 
    * * string tenant = 3; @@ -67,7 +67,7 @@ public interface AgentInterfaceOrBuilder extends java.lang.String getTenant(); /** *
    -   * Tenant to be set in the request when calling the agent.
    +   * Tenant ID to be used in the request when calling the agent.
        * 
    * * string tenant = 3; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java index fdd9402a3..dc484c549 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:AgentProvider]
      * Represents the service provider of an agent.
      * 
    * - * Protobuf type {@code a2a.v1.AgentProvider} + * Protobuf type {@code lf.a2a.v1.AgentProvider} */ @com.google.protobuf.Generated public final class AgentProvider extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentProvider) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentProvider) AgentProviderOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private AgentProvider() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentProvider_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentProvider_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentProvider_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentProvider_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentProvider.class, io.a2a.grpc.AgentProvider.Builder.class); } @@ -316,25 +315,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentProvider]
        * Represents the service provider of an agent.
        * 
    * - * Protobuf type {@code a2a.v1.AgentProvider} + * Protobuf type {@code lf.a2a.v1.AgentProvider} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentProvider) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentProvider) io.a2a.grpc.AgentProviderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentProvider_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentProvider_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentProvider_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentProvider_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentProvider.class, io.a2a.grpc.AgentProvider.Builder.class); } @@ -361,7 +359,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentProvider_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentProvider_descriptor; } @java.lang.Override @@ -665,10 +663,10 @@ public Builder setOrganizationBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentProvider) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentProvider) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentProvider) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentProvider) private static final io.a2a.grpc.AgentProvider DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentProvider(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java index a0e2efefa..cfff51140 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentProviderOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentProvider) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentProvider) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java index 087596019..304775e4c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:AgentSkill]
      * Represents a distinct capability or function that an agent can perform.
      * 
    * - * Protobuf type {@code a2a.v1.AgentSkill} + * Protobuf type {@code lf.a2a.v1.AgentSkill} */ @com.google.protobuf.Generated public final class AgentSkill extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AgentSkill) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AgentSkill) AgentSkillOrBuilder { private static final long serialVersionUID = 0L; static { @@ -49,13 +48,13 @@ private AgentSkill() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentSkill_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentSkill_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentSkill_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentSkill_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentSkill.class, io.a2a.grpc.AgentSkill.Builder.class); } @@ -421,7 +420,7 @@ public java.lang.String getOutputModes(int index) { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ @java.lang.Override public java.util.List getSecurityRequirementsList() { @@ -432,7 +431,7 @@ public java.util.List getSecurityRequirementsLi * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ @java.lang.Override public java.util.List @@ -444,7 +443,7 @@ public java.util.List getSecurityRequirementsLi * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ @java.lang.Override public int getSecurityRequirementsCount() { @@ -455,7 +454,7 @@ public int getSecurityRequirementsCount() { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ @java.lang.Override public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { @@ -466,7 +465,7 @@ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ @java.lang.Override public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( @@ -733,25 +732,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AgentSkill]
        * Represents a distinct capability or function that an agent can perform.
        * 
    * - * Protobuf type {@code a2a.v1.AgentSkill} + * Protobuf type {@code lf.a2a.v1.AgentSkill} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AgentSkill) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AgentSkill) io.a2a.grpc.AgentSkillOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentSkill_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentSkill_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentSkill_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentSkill_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AgentSkill.class, io.a2a.grpc.AgentSkill.Builder.class); } @@ -794,7 +792,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AgentSkill_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AgentSkill_descriptor; } @java.lang.Override @@ -1930,7 +1928,7 @@ private void ensureSecurityRequirementsIsMutable() { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public java.util.List getSecurityRequirementsList() { if (securityRequirementsBuilder_ == null) { @@ -1944,7 +1942,7 @@ public java.util.List getSecurityRequirementsLi * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public int getSecurityRequirementsCount() { if (securityRequirementsBuilder_ == null) { @@ -1958,7 +1956,7 @@ public int getSecurityRequirementsCount() { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { if (securityRequirementsBuilder_ == null) { @@ -1972,7 +1970,7 @@ public io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index) { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder setSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement value) { @@ -1993,7 +1991,7 @@ public Builder setSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder setSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -2011,7 +2009,7 @@ public Builder setSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder addSecurityRequirements(io.a2a.grpc.SecurityRequirement value) { if (securityRequirementsBuilder_ == null) { @@ -2031,7 +2029,7 @@ public Builder addSecurityRequirements(io.a2a.grpc.SecurityRequirement value) { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder addSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement value) { @@ -2052,7 +2050,7 @@ public Builder addSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder addSecurityRequirements( io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -2070,7 +2068,7 @@ public Builder addSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder addSecurityRequirements( int index, io.a2a.grpc.SecurityRequirement.Builder builderForValue) { @@ -2088,7 +2086,7 @@ public Builder addSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder addAllSecurityRequirements( java.lang.Iterable values) { @@ -2107,7 +2105,7 @@ public Builder addAllSecurityRequirements( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder clearSecurityRequirements() { if (securityRequirementsBuilder_ == null) { @@ -2124,7 +2122,7 @@ public Builder clearSecurityRequirements() { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public Builder removeSecurityRequirements(int index) { if (securityRequirementsBuilder_ == null) { @@ -2141,7 +2139,7 @@ public Builder removeSecurityRequirements(int index) { * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public io.a2a.grpc.SecurityRequirement.Builder getSecurityRequirementsBuilder( int index) { @@ -2152,7 +2150,7 @@ public io.a2a.grpc.SecurityRequirement.Builder getSecurityRequirementsBuilder( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( int index) { @@ -2166,7 +2164,7 @@ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public java.util.List getSecurityRequirementsOrBuilderList() { @@ -2181,7 +2179,7 @@ public io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder() { return internalGetSecurityRequirementsFieldBuilder().addBuilder( @@ -2192,7 +2190,7 @@ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder() * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder( int index) { @@ -2204,7 +2202,7 @@ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder( * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ public java.util.List getSecurityRequirementsBuilderList() { @@ -2225,10 +2223,10 @@ public io.a2a.grpc.SecurityRequirement.Builder addSecurityRequirementsBuilder( return securityRequirementsBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AgentSkill) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AgentSkill) } - // @@protoc_insertion_point(class_scope:a2a.v1.AgentSkill) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AgentSkill) private static final io.a2a.grpc.AgentSkill DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AgentSkill(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java index 8cb65a6c5..c982233c5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AgentSkillOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AgentSkill) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AgentSkill) com.google.protobuf.MessageOrBuilder { /** @@ -239,7 +239,7 @@ public interface AgentSkillOrBuilder extends * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ java.util.List getSecurityRequirementsList(); @@ -248,7 +248,7 @@ public interface AgentSkillOrBuilder extends * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ io.a2a.grpc.SecurityRequirement getSecurityRequirements(int index); /** @@ -256,7 +256,7 @@ public interface AgentSkillOrBuilder extends * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ int getSecurityRequirementsCount(); /** @@ -264,7 +264,7 @@ public interface AgentSkillOrBuilder extends * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ java.util.List getSecurityRequirementsOrBuilderList(); @@ -273,7 +273,7 @@ public interface AgentSkillOrBuilder extends * Security schemes necessary for this skill. * * - * repeated .a2a.v1.SecurityRequirement security_requirements = 8; + * repeated .lf.a2a.v1.SecurityRequirement security_requirements = 8; */ io.a2a.grpc.SecurityRequirementOrBuilder getSecurityRequirementsOrBuilder( int index); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java b/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java index 6716e86e2..d49d2184f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:Artifact]
      * Artifacts represent task outputs.
      * 
    * - * Protobuf type {@code a2a.v1.Artifact} + * Protobuf type {@code lf.a2a.v1.Artifact} */ @com.google.protobuf.Generated public final class Artifact extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.Artifact) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.Artifact) ArtifactOrBuilder { private static final long serialVersionUID = 0L; static { @@ -43,13 +42,13 @@ private Artifact() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Artifact.class, io.a2a.grpc.Artifact.Builder.class); } @@ -60,8 +59,7 @@ private Artifact() { private volatile java.lang.Object artifactId_ = ""; /** *
    -   * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -   * within a task.
    +   * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
        * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -82,8 +80,7 @@ public java.lang.String getArtifactId() { } /** *
    -   * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -   * within a task.
    +   * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
        * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -104,7 +101,7 @@ public java.lang.String getArtifactId() { } } - public static final int NAME_FIELD_NUMBER = 3; + public static final int NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** @@ -112,7 +109,7 @@ public java.lang.String getArtifactId() { * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The name. */ @java.lang.Override @@ -133,7 +130,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The bytes for name. */ @java.lang.Override @@ -151,15 +148,15 @@ public java.lang.String getName() { } } - public static final int DESCRIPTION_FIELD_NUMBER = 4; + public static final int DESCRIPTION_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** *
    -   * A human readable description of the artifact, optional.
    +   * Optional. A human readable description of the artifact.
        * 
    * - * string description = 4; + * string description = 3; * @return The description. */ @java.lang.Override @@ -177,10 +174,10 @@ public java.lang.String getDescription() { } /** *
    -   * A human readable description of the artifact, optional.
    +   * Optional. A human readable description of the artifact.
        * 
    * - * string description = 4; + * string description = 3; * @return The bytes for description. */ @java.lang.Override @@ -198,7 +195,7 @@ public java.lang.String getDescription() { } } - public static final int PARTS_FIELD_NUMBER = 5; + public static final int PARTS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List parts_; /** @@ -206,7 +203,7 @@ public java.lang.String getDescription() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getPartsList() { @@ -217,7 +214,7 @@ public java.util.List getPartsList() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List @@ -229,7 +226,7 @@ public java.util.List getPartsList() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getPartsCount() { @@ -240,7 +237,7 @@ public int getPartsCount() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.Part getParts(int index) { @@ -251,7 +248,7 @@ public io.a2a.grpc.Part getParts(int index) { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( @@ -259,14 +256,14 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( return parts_.get(index); } - public static final int METADATA_FIELD_NUMBER = 6; + public static final int METADATA_FIELD_NUMBER = 5; private com.google.protobuf.Struct metadata_; /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ @java.lang.Override @@ -275,10 +272,10 @@ public boolean hasMetadata() { } /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ @java.lang.Override @@ -287,17 +284,17 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } - public static final int EXTENSIONS_FIELD_NUMBER = 7; + public static final int EXTENSIONS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList extensions_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -306,7 +303,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -318,7 +315,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return The count of extensions. */ public int getExtensionsCount() { @@ -329,7 +326,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -341,7 +338,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -368,19 +365,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessage.writeString(output, 1, artifactId_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, name_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, name_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, description_); + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } for (int i = 0; i < parts_.size(); i++) { - output.writeMessage(5, parts_.get(i)); + output.writeMessage(4, parts_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(6, getMetadata()); + output.writeMessage(5, getMetadata()); } for (int i = 0; i < extensions_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 7, extensions_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 6, extensions_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -395,18 +392,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, artifactId_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, name_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, description_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } for (int i = 0; i < parts_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, parts_.get(i)); + .computeMessageSize(4, parts_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMetadata()); + .computeMessageSize(5, getMetadata()); } { int dataSize = 0; @@ -574,25 +571,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:Artifact]
        * Artifacts represent task outputs.
        * 
    * - * Protobuf type {@code a2a.v1.Artifact} + * Protobuf type {@code lf.a2a.v1.Artifact} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.Artifact) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.Artifact) io.a2a.grpc.ArtifactOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Artifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Artifact_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Artifact.class, io.a2a.grpc.Artifact.Builder.class); } @@ -641,7 +637,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Artifact_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Artifact_descriptor; } @java.lang.Override @@ -801,17 +797,17 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 10 - case 26: { + case 18: { name_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; - } // case 26 - case 34: { + } // case 18 + case 26: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; - } // case 34 - case 42: { + } // case 26 + case 34: { io.a2a.grpc.Part m = input.readMessage( io.a2a.grpc.Part.parser(), @@ -823,20 +819,20 @@ public Builder mergeFrom( partsBuilder_.addMessage(m); } break; - } // case 42 - case 50: { + } // case 34 + case 42: { input.readMessage( internalGetMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; - } // case 50 - case 58: { + } // case 42 + case 50: { java.lang.String s = input.readStringRequireUtf8(); ensureExtensionsIsMutable(); extensions_.add(s); break; - } // case 58 + } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -857,8 +853,7 @@ public Builder mergeFrom( private java.lang.Object artifactId_ = ""; /** *
    -     * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -     * within a task.
    +     * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
          * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -878,8 +873,7 @@ public java.lang.String getArtifactId() { } /** *
    -     * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -     * within a task.
    +     * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
          * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -900,8 +894,7 @@ public java.lang.String getArtifactId() { } /** *
    -     * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -     * within a task.
    +     * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
          * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -918,8 +911,7 @@ public Builder setArtifactId( } /** *
    -     * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -     * within a task.
    +     * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
          * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -933,8 +925,7 @@ public Builder clearArtifactId() { } /** *
    -     * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -     * within a task.
    +     * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
          * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -957,7 +948,7 @@ public Builder setArtifactIdBytes( * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The name. */ public java.lang.String getName() { @@ -977,7 +968,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -998,7 +989,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @param value The name to set. * @return This builder for chaining. */ @@ -1015,7 +1006,7 @@ public Builder setName( * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return This builder for chaining. */ public Builder clearName() { @@ -1029,7 +1020,7 @@ public Builder clearName() { * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1046,10 +1037,10 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** *
    -     * A human readable description of the artifact, optional.
    +     * Optional. A human readable description of the artifact.
          * 
    * - * string description = 4; + * string description = 3; * @return The description. */ public java.lang.String getDescription() { @@ -1066,10 +1057,10 @@ public java.lang.String getDescription() { } /** *
    -     * A human readable description of the artifact, optional.
    +     * Optional. A human readable description of the artifact.
          * 
    * - * string description = 4; + * string description = 3; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -1087,10 +1078,10 @@ public java.lang.String getDescription() { } /** *
    -     * A human readable description of the artifact, optional.
    +     * Optional. A human readable description of the artifact.
          * 
    * - * string description = 4; + * string description = 3; * @param value The description to set. * @return This builder for chaining. */ @@ -1104,10 +1095,10 @@ public Builder setDescription( } /** *
    -     * A human readable description of the artifact, optional.
    +     * Optional. A human readable description of the artifact.
          * 
    * - * string description = 4; + * string description = 3; * @return This builder for chaining. */ public Builder clearDescription() { @@ -1118,10 +1109,10 @@ public Builder clearDescription() { } /** *
    -     * A human readable description of the artifact, optional.
    +     * Optional. A human readable description of the artifact.
          * 
    * - * string description = 4; + * string description = 3; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -1152,7 +1143,7 @@ private void ensurePartsIsMutable() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsList() { if (partsBuilder_ == null) { @@ -1166,7 +1157,7 @@ public java.util.List getPartsList() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public int getPartsCount() { if (partsBuilder_ == null) { @@ -1180,7 +1171,7 @@ public int getPartsCount() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part getParts(int index) { if (partsBuilder_ == null) { @@ -1194,7 +1185,7 @@ public io.a2a.grpc.Part getParts(int index) { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setParts( int index, io.a2a.grpc.Part value) { @@ -1215,7 +1206,7 @@ public Builder setParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1233,7 +1224,7 @@ public Builder setParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts(io.a2a.grpc.Part value) { if (partsBuilder_ == null) { @@ -1253,7 +1244,7 @@ public Builder addParts(io.a2a.grpc.Part value) { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( int index, io.a2a.grpc.Part value) { @@ -1274,7 +1265,7 @@ public Builder addParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( io.a2a.grpc.Part.Builder builderForValue) { @@ -1292,7 +1283,7 @@ public Builder addParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1310,7 +1301,7 @@ public Builder addParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllParts( java.lang.Iterable values) { @@ -1329,7 +1320,7 @@ public Builder addAllParts( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearParts() { if (partsBuilder_ == null) { @@ -1346,7 +1337,7 @@ public Builder clearParts() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeParts(int index) { if (partsBuilder_ == null) { @@ -1363,7 +1354,7 @@ public Builder removeParts(int index) { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder getPartsBuilder( int index) { @@ -1374,7 +1365,7 @@ public io.a2a.grpc.Part.Builder getPartsBuilder( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index) { @@ -1388,7 +1379,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsOrBuilderList() { @@ -1403,7 +1394,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder addPartsBuilder() { return internalGetPartsFieldBuilder().addBuilder( @@ -1414,7 +1405,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder() { * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder addPartsBuilder( int index) { @@ -1426,7 +1417,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsBuilderList() { @@ -1452,10 +1443,10 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1463,10 +1454,10 @@ public boolean hasMetadata() { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1478,10 +1469,10 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1498,10 +1489,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1516,10 +1507,10 @@ public Builder setMetadata( } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1541,10 +1532,10 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1558,10 +1549,10 @@ public Builder clearMetadata() { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000010; @@ -1570,10 +1561,10 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1585,10 +1576,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } /** *
    -     * Optional metadata included with the artifact.
    +     * Optional. Metadata included with the artifact.
          * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1617,7 +1608,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -1630,7 +1621,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return The count of extensions. */ public int getExtensionsCount() { @@ -1641,7 +1632,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -1653,7 +1644,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -1666,7 +1657,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index to set the value at. * @param value The extensions to set. * @return This builder for chaining. @@ -1685,7 +1676,7 @@ public Builder setExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param value The extensions to add. * @return This builder for chaining. */ @@ -1703,7 +1694,7 @@ public Builder addExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param values The extensions to add. * @return This builder for chaining. */ @@ -1721,7 +1712,7 @@ public Builder addAllExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return This builder for chaining. */ public Builder clearExtensions() { @@ -1736,7 +1727,7 @@ public Builder clearExtensions() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param value The bytes of the extensions to add. * @return This builder for chaining. */ @@ -1751,10 +1742,10 @@ public Builder addExtensionsBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.Artifact) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.Artifact) } - // @@protoc_insertion_point(class_scope:a2a.v1.Artifact) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.Artifact) private static final io.a2a.grpc.Artifact DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.Artifact(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java index 3c1de141f..4ba0ed83d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java @@ -7,13 +7,12 @@ @com.google.protobuf.Generated public interface ArtifactOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.Artifact) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.Artifact) com.google.protobuf.MessageOrBuilder { /** *
    -   * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -   * within a task.
    +   * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
        * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -22,8 +21,7 @@ public interface ArtifactOrBuilder extends java.lang.String getArtifactId(); /** *
    -   * Unique identifier (e.g. UUID) for the artifact. It must be at least unique
    -   * within a task.
    +   * Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
        * 
    * * string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -37,7 +35,7 @@ public interface ArtifactOrBuilder extends * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The name. */ java.lang.String getName(); @@ -46,7 +44,7 @@ public interface ArtifactOrBuilder extends * A human readable name for the artifact. * * - * string name = 3; + * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -54,19 +52,19 @@ public interface ArtifactOrBuilder extends /** *
    -   * A human readable description of the artifact, optional.
    +   * Optional. A human readable description of the artifact.
        * 
    * - * string description = 4; + * string description = 3; * @return The description. */ java.lang.String getDescription(); /** *
    -   * A human readable description of the artifact, optional.
    +   * Optional. A human readable description of the artifact.
        * 
    * - * string description = 4; + * string description = 3; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -77,7 +75,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getPartsList(); @@ -86,7 +84,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.Part getParts(int index); /** @@ -94,7 +92,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getPartsCount(); /** @@ -102,7 +100,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getPartsOrBuilderList(); @@ -111,35 +109,35 @@ public interface ArtifactOrBuilder extends * The content of the artifact. Must contain at least one part. * * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index); /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** *
    -   * Optional metadata included with the artifact.
    +   * Optional. Metadata included with the artifact.
        * 
    * - * .google.protobuf.Struct metadata = 6; + * .google.protobuf.Struct metadata = 5; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); @@ -148,7 +146,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return A list containing the extensions. */ java.util.List @@ -158,7 +156,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @return The count of extensions. */ int getExtensionsCount(); @@ -167,7 +165,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -177,7 +175,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7; + * repeated string extensions = 6; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java index 703a6da52..fc4750715 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:PushNotificationAuthenticationInfo]
      * Defines authentication details, used for push notifications.
      * 
    * - * Protobuf type {@code a2a.v1.AuthenticationInfo} + * Protobuf type {@code lf.a2a.v1.AuthenticationInfo} */ @com.google.protobuf.Generated public final class AuthenticationInfo extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AuthenticationInfo) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AuthenticationInfo) AuthenticationInfoOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private AuthenticationInfo() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthenticationInfo_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthenticationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthenticationInfo_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthenticationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AuthenticationInfo.class, io.a2a.grpc.AuthenticationInfo.Builder.class); } @@ -56,7 +55,8 @@ private AuthenticationInfo() { /** *
        * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -   * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +   * 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).
        * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -78,7 +78,8 @@ public java.lang.String getScheme() { /** *
        * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -   * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +   * 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).
        * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -314,25 +315,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:PushNotificationAuthenticationInfo]
        * Defines authentication details, used for push notifications.
        * 
    * - * Protobuf type {@code a2a.v1.AuthenticationInfo} + * Protobuf type {@code lf.a2a.v1.AuthenticationInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AuthenticationInfo) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AuthenticationInfo) io.a2a.grpc.AuthenticationInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthenticationInfo_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthenticationInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthenticationInfo_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthenticationInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AuthenticationInfo.class, io.a2a.grpc.AuthenticationInfo.Builder.class); } @@ -359,7 +359,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthenticationInfo_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthenticationInfo_descriptor; } @java.lang.Override @@ -473,7 +473,8 @@ public Builder mergeFrom( /** *
          * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -     * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +     * 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).
          * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -494,7 +495,8 @@ public java.lang.String getScheme() { /** *
          * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -     * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +     * 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).
          * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -516,7 +518,8 @@ public java.lang.String getScheme() { /** *
          * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -     * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +     * 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).
          * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -534,7 +537,8 @@ public Builder setScheme( /** *
          * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -     * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +     * 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).
          * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -549,7 +553,8 @@ public Builder clearScheme() { /** *
          * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -     * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +     * 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).
          * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -658,10 +663,10 @@ public Builder setCredentialsBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AuthenticationInfo) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AuthenticationInfo) } - // @@protoc_insertion_point(class_scope:a2a.v1.AuthenticationInfo) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AuthenticationInfo) private static final io.a2a.grpc.AuthenticationInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AuthenticationInfo(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java index b142c3670..7d5860fe1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java @@ -7,13 +7,14 @@ @com.google.protobuf.Generated public interface AuthenticationInfoOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AuthenticationInfo) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AuthenticationInfo) com.google.protobuf.MessageOrBuilder { /** *
        * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -   * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +   * 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).
        * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -23,7 +24,8 @@ public interface AuthenticationInfoOrBuilder extends /** *
        * HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/).
    -   * Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1).
    +   * 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).
        * 
    * * string scheme = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java index 06b7b8f41..13b09915a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:AuthorizationCodeOAuthFlow]
      * Defines configuration details for the OAuth 2.0 Authorization Code flow.
      * 
    * - * Protobuf type {@code a2a.v1.AuthorizationCodeOAuthFlow} + * Protobuf type {@code lf.a2a.v1.AuthorizationCodeOAuthFlow} */ @com.google.protobuf.Generated public final class AuthorizationCodeOAuthFlow extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.AuthorizationCodeOAuthFlow) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.AuthorizationCodeOAuthFlow) AuthorizationCodeOAuthFlowOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,7 +39,7 @@ private AuthorizationCodeOAuthFlow() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -58,7 +57,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AuthorizationCodeOAuthFlow.class, io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder.class); } @@ -210,7 +209,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -527,19 +526,18 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:AuthorizationCodeOAuthFlow]
        * Defines configuration details for the OAuth 2.0 Authorization Code flow.
        * 
    * - * Protobuf type {@code a2a.v1.AuthorizationCodeOAuthFlow} + * Protobuf type {@code lf.a2a.v1.AuthorizationCodeOAuthFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.AuthorizationCodeOAuthFlow) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.AuthorizationCodeOAuthFlow) io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -567,7 +565,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.AuthorizationCodeOAuthFlow.class, io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder.class); } @@ -597,7 +595,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_AuthorizationCodeOAuthFlow_descriptor; } @java.lang.Override @@ -1225,10 +1223,10 @@ public Builder clearPkceRequired() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.AuthorizationCodeOAuthFlow) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.AuthorizationCodeOAuthFlow) } - // @@protoc_insertion_point(class_scope:a2a.v1.AuthorizationCodeOAuthFlow) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.AuthorizationCodeOAuthFlow) private static final io.a2a.grpc.AuthorizationCodeOAuthFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.AuthorizationCodeOAuthFlow(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java index 5dd2d393d..55c17dc7b 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface AuthorizationCodeOAuthFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.AuthorizationCodeOAuthFlow) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.AuthorizationCodeOAuthFlow) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java index 3aa57435f..d1ca30eca 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:CancelTaskRequest]
      * Represents a request for the `CancelTask` method.
      * 
    * - * Protobuf type {@code a2a.v1.CancelTaskRequest} + * Protobuf type {@code lf.a2a.v1.CancelTaskRequest} */ @com.google.protobuf.Generated public final class CancelTaskRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.CancelTaskRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.CancelTaskRequest) CancelTaskRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,26 +38,27 @@ private CancelTaskRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CancelTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CancelTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CancelTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CancelTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.CancelTaskRequest.class, io.a2a.grpc.CancelTaskRequest.Builder.class); } - public static final int TENANT_FIELD_NUMBER = 2; + private int bitField0_; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -76,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -97,15 +97,15 @@ public java.lang.String getTenant() { } } - public static final int ID_FIELD_NUMBER = 1; + public static final int ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
    -   * The resource id of the task to cancel.
    +   * The resource ID of the task to cancel.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override @@ -123,10 +123,10 @@ public java.lang.String getId() { } /** *
    -   * The resource id of the task to cancel.
    +   * The resource ID of the task to cancel.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override @@ -144,6 +144,44 @@ public java.lang.String getId() { } } + public static final int METADATA_FIELD_NUMBER = 3; + private com.google.protobuf.Struct metadata_; + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return Whether the metadata field is set. + */ + @java.lang.Override + public boolean hasMetadata() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return The metadata. + */ + @java.lang.Override + public com.google.protobuf.Struct getMetadata() { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + @java.lang.Override + public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -158,11 +196,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, id_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, tenant_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getMetadata()); } getUnknownFields().writeTo(output); } @@ -173,11 +214,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, id_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenant_); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -198,6 +243,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getTenant())) return false; if (!getId() .equals(other.getId())) return false; + if (hasMetadata() != other.hasMetadata()) return false; + if (hasMetadata()) { + if (!getMetadata() + .equals(other.getMetadata())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,6 +263,10 @@ public int hashCode() { hash = (53 * hash) + getTenant().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); + if (hasMetadata()) { + hash = (37 * hash) + METADATA_FIELD_NUMBER; + hash = (53 * hash) + getMetadata().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -312,38 +366,43 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:CancelTaskRequest]
        * Represents a request for the `CancelTask` method.
        * 
    * - * Protobuf type {@code a2a.v1.CancelTaskRequest} + * Protobuf type {@code lf.a2a.v1.CancelTaskRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.CancelTaskRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.CancelTaskRequest) io.a2a.grpc.CancelTaskRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CancelTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CancelTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CancelTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CancelTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.CancelTaskRequest.class, io.a2a.grpc.CancelTaskRequest.Builder.class); } // Construct using io.a2a.grpc.CancelTaskRequest.newBuilder() private Builder() { - + maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); - + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage + .alwaysUseFieldBuilders) { + internalGetMetadataFieldBuilder(); + } } @java.lang.Override public Builder clear() { @@ -351,13 +410,18 @@ public Builder clear() { bitField0_ = 0; tenant_ = ""; id_ = ""; + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CancelTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CancelTaskRequest_descriptor; } @java.lang.Override @@ -390,6 +454,14 @@ private void buildPartial0(io.a2a.grpc.CancelTaskRequest result) { if (((from_bitField0_ & 0x00000002) != 0)) { result.id_ = id_; } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.metadata_ = metadataBuilder_ == null + ? metadata_ + : metadataBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -414,6 +486,9 @@ public Builder mergeFrom(io.a2a.grpc.CancelTaskRequest other) { bitField0_ |= 0x00000002; onChanged(); } + if (other.hasMetadata()) { + mergeMetadata(other.getMetadata()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -441,15 +516,22 @@ public Builder mergeFrom( done = true; break; case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 + case 26: { + input.readMessage( + internalGetMetadataFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -470,10 +552,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -490,10 +572,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -511,10 +593,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -528,10 +610,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -542,10 +624,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -562,10 +644,10 @@ public Builder setTenantBytes( private java.lang.Object id_ = ""; /** *
    -     * The resource id of the task to cancel.
    +     * The resource ID of the task to cancel.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { @@ -582,10 +664,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task to cancel.
    +     * The resource ID of the task to cancel.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -603,10 +685,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task to cancel.
    +     * The resource ID of the task to cancel.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ @@ -620,10 +702,10 @@ public Builder setId( } /** *
    -     * The resource id of the task to cancel.
    +     * The resource ID of the task to cancel.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { @@ -634,10 +716,10 @@ public Builder clearId() { } /** *
    -     * The resource id of the task to cancel.
    +     * The resource ID of the task to cancel.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -651,10 +733,167 @@ public Builder setIdBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.CancelTaskRequest) + private com.google.protobuf.Struct metadata_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return Whether the metadata field is set. + */ + public boolean hasMetadata() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return The metadata. + */ + public com.google.protobuf.Struct getMetadata() { + if (metadataBuilder_ == null) { + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } else { + return metadataBuilder_.getMessage(); + } + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public Builder setMetadata(com.google.protobuf.Struct value) { + if (metadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metadata_ = value; + } else { + metadataBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { + if (metadataBuilder_ == null) { + metadata_ = builderForValue.build(); + } else { + metadataBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public Builder mergeMetadata(com.google.protobuf.Struct value) { + if (metadataBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + metadata_ != null && + metadata_ != com.google.protobuf.Struct.getDefaultInstance()) { + getMetadataBuilder().mergeFrom(value); + } else { + metadata_ = value; + } + } else { + metadataBuilder_.mergeFrom(value); + } + if (metadata_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public Builder clearMetadata() { + bitField0_ = (bitField0_ & ~0x00000004); + metadata_ = null; + if (metadataBuilder_ != null) { + metadataBuilder_.dispose(); + metadataBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public com.google.protobuf.Struct.Builder getMetadataBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetMetadataFieldBuilder().getBuilder(); + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { + if (metadataBuilder_ != null) { + return metadataBuilder_.getMessageOrBuilder(); + } else { + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; + } + } + /** + *
    +     * A flexible key-value map for passing additional context or parameters.
    +     * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + internalGetMetadataFieldBuilder() { + if (metadataBuilder_ == null) { + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); + metadata_ = null; + } + return metadataBuilder_; + } + + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.CancelTaskRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.CancelTaskRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.CancelTaskRequest) private static final io.a2a.grpc.CancelTaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.CancelTaskRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java index 1e3251328..6dc8b9243 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface CancelTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.CancelTaskRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.CancelTaskRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,21 +32,48 @@ public interface CancelTaskRequestOrBuilder extends /** *
    -   * The resource id of the task to cancel.
    +   * The resource ID of the task to cancel.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ java.lang.String getId(); /** *
    -   * The resource id of the task to cancel.
    +   * The resource ID of the task to cancel.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); + + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return Whether the metadata field is set. + */ + boolean hasMetadata(); + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + * @return The metadata. + */ + com.google.protobuf.Struct getMetadata(); + /** + *
    +   * A flexible key-value map for passing additional context or parameters.
    +   * 
    + * + * .google.protobuf.Struct metadata = 3; + */ + com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java index 1af7c907c..c91bda94f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:ClientCredentialsOAuthFlow]
      * Defines configuration details for the OAuth 2.0 Client Credentials flow.
      * 
    * - * Protobuf type {@code a2a.v1.ClientCredentialsOAuthFlow} + * Protobuf type {@code lf.a2a.v1.ClientCredentialsOAuthFlow} */ @com.google.protobuf.Generated public final class ClientCredentialsOAuthFlow extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ClientCredentialsOAuthFlow) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ClientCredentialsOAuthFlow) ClientCredentialsOAuthFlowOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,7 +38,7 @@ private ClientCredentialsOAuthFlow() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -57,7 +56,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ClientCredentialsOAuthFlow.class, io.a2a.grpc.ClientCredentialsOAuthFlow.Builder.class); } @@ -162,7 +161,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -441,19 +440,18 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:ClientCredentialsOAuthFlow]
        * Defines configuration details for the OAuth 2.0 Client Credentials flow.
        * 
    * - * Protobuf type {@code a2a.v1.ClientCredentialsOAuthFlow} + * Protobuf type {@code lf.a2a.v1.ClientCredentialsOAuthFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ClientCredentialsOAuthFlow) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ClientCredentialsOAuthFlow) io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -481,7 +479,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ClientCredentialsOAuthFlow.class, io.a2a.grpc.ClientCredentialsOAuthFlow.Builder.class); } @@ -509,7 +507,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ClientCredentialsOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ClientCredentialsOAuthFlow_descriptor; } @java.lang.Override @@ -974,10 +972,10 @@ public Builder putAllScopes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ClientCredentialsOAuthFlow) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ClientCredentialsOAuthFlow) } - // @@protoc_insertion_point(class_scope:a2a.v1.ClientCredentialsOAuthFlow) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ClientCredentialsOAuthFlow) private static final io.a2a.grpc.ClientCredentialsOAuthFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.ClientCredentialsOAuthFlow(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java index 4178ed50d..0c60b6a5a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface ClientCredentialsOAuthFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ClientCredentialsOAuthFlow) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ClientCredentialsOAuthFlow) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java index f445a86d2..d48f29694 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:CreateTaskPushNotificationConfigRequest]
      * Represents a request for the `CreateTaskPushNotificationConfig` method.
      * 
    * - * Protobuf type {@code a2a.v1.CreateTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.CreateTaskPushNotificationConfigRequest} */ @com.google.protobuf.Generated public final class CreateTaskPushNotificationConfigRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.CreateTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.CreateTaskPushNotificationConfigRequest) CreateTaskPushNotificationConfigRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -35,32 +34,31 @@ private CreateTaskPushNotificationConfigRequest(com.google.protobuf.GeneratedMes private CreateTaskPushNotificationConfigRequest() { tenant_ = ""; taskId_ = ""; - configId_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.CreateTaskPushNotificationConfigRequest.class, io.a2a.grpc.CreateTaskPushNotificationConfigRequest.Builder.class); } private int bitField0_; - public static final int TENANT_FIELD_NUMBER = 4; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -78,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -99,15 +97,15 @@ public java.lang.String getTenant() { } } - public static final int TASK_ID_FIELD_NUMBER = 1; + public static final int TASK_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ @java.lang.Override @@ -125,10 +123,10 @@ public java.lang.String getTaskId() { } /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ @java.lang.Override @@ -146,61 +144,14 @@ public java.lang.String getTaskId() { } } - public static final int CONFIG_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private volatile java.lang.Object configId_ = ""; - /** - *
    -   * The ID for the new config.
    -   * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The configId. - */ - @java.lang.Override - public java.lang.String getConfigId() { - java.lang.Object ref = configId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - configId_ = s; - return s; - } - } - /** - *
    -   * The ID for the new config.
    -   * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for configId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getConfigIdBytes() { - java.lang.Object ref = configId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - configId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CONFIG_FIELD_NUMBER = 5; + public static final int CONFIG_FIELD_NUMBER = 3; private io.a2a.grpc.PushNotificationConfig config_; /** *
        * The configuration to create.
        * 
    * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -212,7 +163,7 @@ public boolean hasConfig() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override @@ -224,7 +175,7 @@ public io.a2a.grpc.PushNotificationConfig getConfig() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.PushNotificationConfigOrBuilder getConfigOrBuilder() { @@ -245,17 +196,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, taskId_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(configId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, configId_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, tenant_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, taskId_); } if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(5, getConfig()); + output.writeMessage(3, getConfig()); } getUnknownFields().writeTo(output); } @@ -266,18 +214,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, taskId_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(configId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, configId_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tenant_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, taskId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getConfig()); + .computeMessageSize(3, getConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -298,8 +243,6 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getTenant())) return false; if (!getTaskId() .equals(other.getTaskId())) return false; - if (!getConfigId() - .equals(other.getConfigId())) return false; if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { if (!getConfig() @@ -320,8 +263,6 @@ public int hashCode() { hash = (53 * hash) + getTenant().hashCode(); hash = (37 * hash) + TASK_ID_FIELD_NUMBER; hash = (53 * hash) + getTaskId().hashCode(); - hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER; - hash = (53 * hash) + getConfigId().hashCode(); if (hasConfig()) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfig().hashCode(); @@ -425,25 +366,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:CreateTaskPushNotificationConfigRequest]
        * Represents a request for the `CreateTaskPushNotificationConfig` method.
        * 
    * - * Protobuf type {@code a2a.v1.CreateTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.CreateTaskPushNotificationConfigRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.CreateTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.CreateTaskPushNotificationConfigRequest) io.a2a.grpc.CreateTaskPushNotificationConfigRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.CreateTaskPushNotificationConfigRequest.class, io.a2a.grpc.CreateTaskPushNotificationConfigRequest.Builder.class); } @@ -470,7 +410,6 @@ public Builder clear() { bitField0_ = 0; tenant_ = ""; taskId_ = ""; - configId_ = ""; config_ = null; if (configBuilder_ != null) { configBuilder_.dispose(); @@ -482,7 +421,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_CreateTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override @@ -515,11 +454,8 @@ private void buildPartial0(io.a2a.grpc.CreateTaskPushNotificationConfigRequest r if (((from_bitField0_ & 0x00000002) != 0)) { result.taskId_ = taskId_; } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.configId_ = configId_; - } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.config_ = configBuilder_ == null ? config_ : configBuilder_.build(); @@ -550,11 +486,6 @@ public Builder mergeFrom(io.a2a.grpc.CreateTaskPushNotificationConfigRequest oth bitField0_ |= 0x00000002; onChanged(); } - if (!other.getConfigId().isEmpty()) { - configId_ = other.configId_; - bitField0_ |= 0x00000004; - onChanged(); - } if (other.hasConfig()) { mergeConfig(other.getConfig()); } @@ -585,27 +516,22 @@ public Builder mergeFrom( done = true; break; case 10: { - taskId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - configId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 - case 34: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 34 - case 42: { + case 26: { input.readMessage( internalGetConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; break; - } // case 42 + } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -626,10 +552,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -646,10 +572,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -667,10 +593,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -684,10 +610,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -698,10 +624,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -718,10 +644,10 @@ public Builder setTenantBytes( private java.lang.Object taskId_ = ""; /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ public java.lang.String getTaskId() { @@ -738,10 +664,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -759,10 +685,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The taskId to set. * @return This builder for chaining. */ @@ -776,10 +702,10 @@ public Builder setTaskId( } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -790,10 +716,10 @@ public Builder clearTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -807,98 +733,6 @@ public Builder setTaskIdBytes( return this; } - private java.lang.Object configId_ = ""; - /** - *
    -     * The ID for the new config.
    -     * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The configId. - */ - public java.lang.String getConfigId() { - java.lang.Object ref = configId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - configId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
    -     * The ID for the new config.
    -     * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for configId. - */ - public com.google.protobuf.ByteString - getConfigIdBytes() { - java.lang.Object ref = configId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - configId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
    -     * The ID for the new config.
    -     * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param value The configId to set. - * @return This builder for chaining. - */ - public Builder setConfigId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - configId_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - *
    -     * The ID for the new config.
    -     * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return This builder for chaining. - */ - public Builder clearConfigId() { - configId_ = getDefaultInstance().getConfigId(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - *
    -     * The ID for the new config.
    -     * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param value The bytes for configId to set. - * @return This builder for chaining. - */ - public Builder setConfigIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - configId_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - private io.a2a.grpc.PushNotificationConfig config_; private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> configBuilder_; @@ -907,18 +741,18 @@ public Builder setConfigIdBytes( * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** *
          * The configuration to create.
          * 
    * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public io.a2a.grpc.PushNotificationConfig getConfig() { @@ -933,7 +767,7 @@ public io.a2a.grpc.PushNotificationConfig getConfig() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(io.a2a.grpc.PushNotificationConfig value) { if (configBuilder_ == null) { @@ -944,7 +778,7 @@ public Builder setConfig(io.a2a.grpc.PushNotificationConfig value) { } else { configBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -953,7 +787,7 @@ public Builder setConfig(io.a2a.grpc.PushNotificationConfig value) { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( io.a2a.grpc.PushNotificationConfig.Builder builderForValue) { @@ -962,7 +796,7 @@ public Builder setConfig( } else { configBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -971,11 +805,11 @@ public Builder setConfig( * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(io.a2a.grpc.PushNotificationConfig value) { if (configBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && + if (((bitField0_ & 0x00000004) != 0) && config_ != null && config_ != io.a2a.grpc.PushNotificationConfig.getDefaultInstance()) { getConfigBuilder().mergeFrom(value); @@ -986,7 +820,7 @@ public Builder mergeConfig(io.a2a.grpc.PushNotificationConfig value) { configBuilder_.mergeFrom(value); } if (config_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); } return this; @@ -996,10 +830,10 @@ public Builder mergeConfig(io.a2a.grpc.PushNotificationConfig value) { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); config_ = null; if (configBuilder_ != null) { configBuilder_.dispose(); @@ -1013,10 +847,10 @@ public Builder clearConfig() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PushNotificationConfig.Builder getConfigBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return internalGetConfigFieldBuilder().getBuilder(); } @@ -1025,7 +859,7 @@ public io.a2a.grpc.PushNotificationConfig.Builder getConfigBuilder() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PushNotificationConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -1040,7 +874,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getConfigOrBuilder() { * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> @@ -1056,10 +890,10 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getConfigOrBuilder() { return configBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.CreateTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.CreateTaskPushNotificationConfigRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.CreateTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.CreateTaskPushNotificationConfigRequest) private static final io.a2a.grpc.CreateTaskPushNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.CreateTaskPushNotificationConfigRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java index 77a661f26..d8863657e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface CreateTaskPushNotificationConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.CreateTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.CreateTaskPushNotificationConfigRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,50 +32,30 @@ public interface CreateTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ java.lang.String getTaskId(); /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ com.google.protobuf.ByteString getTaskIdBytes(); - /** - *
    -   * The ID for the new config.
    -   * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The configId. - */ - java.lang.String getConfigId(); - /** - *
    -   * The ID for the new config.
    -   * 
    - * - * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for configId. - */ - com.google.protobuf.ByteString - getConfigIdBytes(); - /** *
        * The configuration to create.
        * 
    * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); @@ -84,7 +64,7 @@ public interface CreateTaskPushNotificationConfigRequestOrBuilder extends * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ io.a2a.grpc.PushNotificationConfig getConfig(); @@ -93,7 +73,7 @@ public interface CreateTaskPushNotificationConfigRequestOrBuilder extends * The configuration to create. * * - * .a2a.v1.PushNotificationConfig config = 5 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.PushNotificationConfigOrBuilder getConfigOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java index bb1ac53b5..7375f7b5d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:DeleteTaskPushNotificationConfigRequest]
      * Represents a request for the `DeleteTaskPushNotificationConfig` method.
      * 
    * - * Protobuf type {@code a2a.v1.DeleteTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.DeleteTaskPushNotificationConfigRequest} */ @com.google.protobuf.Generated public final class DeleteTaskPushNotificationConfigRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.DeleteTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.DeleteTaskPushNotificationConfigRequest) DeleteTaskPushNotificationConfigRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,26 +39,26 @@ private DeleteTaskPushNotificationConfigRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.class, io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.Builder.class); } - public static final int TENANT_FIELD_NUMBER = 2; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -77,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -98,15 +97,15 @@ public java.lang.String getTenant() { } } - public static final int TASK_ID_FIELD_NUMBER = 3; + public static final int TASK_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ @java.lang.Override @@ -124,10 +123,10 @@ public java.lang.String getTaskId() { } /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ @java.lang.Override @@ -145,15 +144,15 @@ public java.lang.String getTaskId() { } } - public static final int ID_FIELD_NUMBER = 1; + public static final int ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
    -   * The resource id of the config to delete.
    +   * The resource ID of the configuration to delete.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override @@ -171,10 +170,10 @@ public java.lang.String getId() { } /** *
    -   * The resource id of the config to delete.
    +   * The resource ID of the configuration to delete.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override @@ -206,14 +205,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, tenant_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, taskId_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, taskId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, id_); } getUnknownFields().writeTo(output); } @@ -224,14 +223,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenant_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, taskId_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, taskId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, id_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -370,25 +369,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:DeleteTaskPushNotificationConfigRequest]
        * Represents a request for the `DeleteTaskPushNotificationConfig` method.
        * 
    * - * Protobuf type {@code a2a.v1.DeleteTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.DeleteTaskPushNotificationConfigRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.DeleteTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.DeleteTaskPushNotificationConfigRequest) io.a2a.grpc.DeleteTaskPushNotificationConfigRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.class, io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.Builder.class); } @@ -416,7 +414,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeleteTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override @@ -508,18 +506,18 @@ public Builder mergeFrom( done = true; break; case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 case 26: { - taskId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; break; } // case 26 default: { @@ -542,10 +540,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -562,10 +560,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -583,10 +581,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -600,10 +598,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -614,10 +612,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -634,10 +632,10 @@ public Builder setTenantBytes( private java.lang.Object taskId_ = ""; /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ public java.lang.String getTaskId() { @@ -654,10 +652,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -675,10 +673,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The taskId to set. * @return This builder for chaining. */ @@ -692,10 +690,10 @@ public Builder setTaskId( } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -706,10 +704,10 @@ public Builder clearTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -726,10 +724,10 @@ public Builder setTaskIdBytes( private java.lang.Object id_ = ""; /** *
    -     * The resource id of the config to delete.
    +     * The resource ID of the configuration to delete.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { @@ -746,10 +744,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the config to delete.
    +     * The resource ID of the configuration to delete.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -767,10 +765,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the config to delete.
    +     * The resource ID of the configuration to delete.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ @@ -784,10 +782,10 @@ public Builder setId( } /** *
    -     * The resource id of the config to delete.
    +     * The resource ID of the configuration to delete.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { @@ -798,10 +796,10 @@ public Builder clearId() { } /** *
    -     * The resource id of the config to delete.
    +     * The resource ID of the configuration to delete.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -815,10 +813,10 @@ public Builder setIdBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.DeleteTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.DeleteTaskPushNotificationConfigRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.DeleteTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.DeleteTaskPushNotificationConfigRequest) private static final io.a2a.grpc.DeleteTaskPushNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.DeleteTaskPushNotificationConfigRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java index 4219aea04..f0f9c4b0d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface DeleteTaskPushNotificationConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.DeleteTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.DeleteTaskPushNotificationConfigRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,19 +32,19 @@ public interface DeleteTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ java.lang.String getTaskId(); /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -52,19 +52,19 @@ public interface DeleteTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The resource id of the config to delete.
    +   * The resource ID of the configuration to delete.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ java.lang.String getId(); /** *
    -   * The resource id of the config to delete.
    +   * The resource ID of the configuration to delete.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlow.java b/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlow.java index 701371c2b..15c0404ca 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlow.java @@ -7,18 +7,17 @@ /** *
    - * --8<-- [start:DeviceCodeOAuthFlow]
      * 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.
      * 
    * - * Protobuf type {@code a2a.v1.DeviceCodeOAuthFlow} + * Protobuf type {@code lf.a2a.v1.DeviceCodeOAuthFlow} */ @com.google.protobuf.Generated public final class DeviceCodeOAuthFlow extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.DeviceCodeOAuthFlow) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.DeviceCodeOAuthFlow) DeviceCodeOAuthFlowOrBuilder { private static final long serialVersionUID = 0L; static { @@ -42,7 +41,7 @@ private DeviceCodeOAuthFlow() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -60,7 +59,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.DeviceCodeOAuthFlow.class, io.a2a.grpc.DeviceCodeOAuthFlow.Builder.class); } @@ -212,7 +211,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -501,21 +500,20 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:DeviceCodeOAuthFlow]
        * 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.
        * 
    * - * Protobuf type {@code a2a.v1.DeviceCodeOAuthFlow} + * Protobuf type {@code lf.a2a.v1.DeviceCodeOAuthFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.DeviceCodeOAuthFlow) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.DeviceCodeOAuthFlow) io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -543,7 +541,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.DeviceCodeOAuthFlow.class, io.a2a.grpc.DeviceCodeOAuthFlow.Builder.class); } @@ -572,7 +570,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_DeviceCodeOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_DeviceCodeOAuthFlow_descriptor; } @java.lang.Override @@ -1142,10 +1140,10 @@ public Builder putAllScopes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.DeviceCodeOAuthFlow) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.DeviceCodeOAuthFlow) } - // @@protoc_insertion_point(class_scope:a2a.v1.DeviceCodeOAuthFlow) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.DeviceCodeOAuthFlow) private static final io.a2a.grpc.DeviceCodeOAuthFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.DeviceCodeOAuthFlow(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlowOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlowOrBuilder.java index 761e2a6db..d7b8add51 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlowOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface DeviceCodeOAuthFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.DeviceCodeOAuthFlow) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.DeviceCodeOAuthFlow) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequest.java index 5c1b07907..452f7481e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequest.java @@ -7,15 +7,15 @@ /** *
    - * --8<-- [start:GetExtendedAgentCardRequest]
    + * Represents a request for the `GetExtendedAgentCard` method.
      * 
    * - * Protobuf type {@code a2a.v1.GetExtendedAgentCardRequest} + * Protobuf type {@code lf.a2a.v1.GetExtendedAgentCardRequest} */ @com.google.protobuf.Generated public final class GetExtendedAgentCardRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.GetExtendedAgentCardRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.GetExtendedAgentCardRequest) GetExtendedAgentCardRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -37,13 +37,13 @@ private GetExtendedAgentCardRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetExtendedAgentCardRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetExtendedAgentCardRequest.class, io.a2a.grpc.GetExtendedAgentCardRequest.Builder.class); } @@ -53,7 +53,7 @@ private GetExtendedAgentCardRequest() { private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 1; @@ -74,7 +74,7 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 1; @@ -253,24 +253,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:GetExtendedAgentCardRequest]
    +   * Represents a request for the `GetExtendedAgentCard` method.
        * 
    * - * Protobuf type {@code a2a.v1.GetExtendedAgentCardRequest} + * Protobuf type {@code lf.a2a.v1.GetExtendedAgentCardRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.GetExtendedAgentCardRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.GetExtendedAgentCardRequest) io.a2a.grpc.GetExtendedAgentCardRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetExtendedAgentCardRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetExtendedAgentCardRequest.class, io.a2a.grpc.GetExtendedAgentCardRequest.Builder.class); } @@ -296,7 +296,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetExtendedAgentCardRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetExtendedAgentCardRequest_descriptor; } @java.lang.Override @@ -396,7 +396,7 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 1; @@ -416,7 +416,7 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 1; @@ -437,7 +437,7 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 1; @@ -454,7 +454,7 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 1; @@ -468,7 +468,7 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 1; @@ -485,10 +485,10 @@ public Builder setTenantBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.GetExtendedAgentCardRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.GetExtendedAgentCardRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.GetExtendedAgentCardRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.GetExtendedAgentCardRequest) private static final io.a2a.grpc.GetExtendedAgentCardRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.GetExtendedAgentCardRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequestOrBuilder.java index f6efaa410..e7f6a6615 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequestOrBuilder.java @@ -7,12 +7,12 @@ @com.google.protobuf.Generated public interface GetExtendedAgentCardRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.GetExtendedAgentCardRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.GetExtendedAgentCardRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 1; @@ -21,7 +21,7 @@ public interface GetExtendedAgentCardRequestOrBuilder extends java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 1; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java index e254a9022..5fc7aa7fc 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java @@ -7,15 +7,15 @@ /** *
    - * --8<-- [start:GetTaskPushNotificationConfigRequest]
    + * Represents a request for the `GetTaskPushNotificationConfig` method.
      * 
    * - * Protobuf type {@code a2a.v1.GetTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.GetTaskPushNotificationConfigRequest} */ @com.google.protobuf.Generated public final class GetTaskPushNotificationConfigRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.GetTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.GetTaskPushNotificationConfigRequest) GetTaskPushNotificationConfigRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,26 +39,26 @@ private GetTaskPushNotificationConfigRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetTaskPushNotificationConfigRequest.class, io.a2a.grpc.GetTaskPushNotificationConfigRequest.Builder.class); } - public static final int TENANT_FIELD_NUMBER = 2; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -76,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -97,15 +97,15 @@ public java.lang.String getTenant() { } } - public static final int TASK_ID_FIELD_NUMBER = 3; + public static final int TASK_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ @java.lang.Override @@ -123,10 +123,10 @@ public java.lang.String getTaskId() { } /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ @java.lang.Override @@ -144,15 +144,15 @@ public java.lang.String getTaskId() { } } - public static final int ID_FIELD_NUMBER = 1; + public static final int ID_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
    -   * The resource id of the config to retrieve.
    +   * The resource ID of the configuration to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override @@ -170,10 +170,10 @@ public java.lang.String getId() { } /** *
    -   * The resource id of the config to retrieve.
    +   * The resource ID of the configuration to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override @@ -205,14 +205,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, tenant_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, taskId_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, taskId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, id_); } getUnknownFields().writeTo(output); } @@ -223,14 +223,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenant_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, taskId_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, taskId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, id_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -369,24 +369,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:GetTaskPushNotificationConfigRequest]
    +   * Represents a request for the `GetTaskPushNotificationConfig` method.
        * 
    * - * Protobuf type {@code a2a.v1.GetTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.GetTaskPushNotificationConfigRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.GetTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.GetTaskPushNotificationConfigRequest) io.a2a.grpc.GetTaskPushNotificationConfigRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetTaskPushNotificationConfigRequest.class, io.a2a.grpc.GetTaskPushNotificationConfigRequest.Builder.class); } @@ -414,7 +414,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskPushNotificationConfigRequest_descriptor; } @java.lang.Override @@ -506,18 +506,18 @@ public Builder mergeFrom( done = true; break; case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 case 26: { - taskId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; break; } // case 26 default: { @@ -540,10 +540,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -560,10 +560,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -581,10 +581,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -598,10 +598,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -612,10 +612,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -632,10 +632,10 @@ public Builder setTenantBytes( private java.lang.Object taskId_ = ""; /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ public java.lang.String getTaskId() { @@ -652,10 +652,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -673,10 +673,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The taskId to set. * @return This builder for chaining. */ @@ -690,10 +690,10 @@ public Builder setTaskId( } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -704,10 +704,10 @@ public Builder clearTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -724,10 +724,10 @@ public Builder setTaskIdBytes( private java.lang.Object id_ = ""; /** *
    -     * The resource id of the config to retrieve.
    +     * The resource ID of the configuration to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { @@ -744,10 +744,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the config to retrieve.
    +     * The resource ID of the configuration to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -765,10 +765,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the config to retrieve.
    +     * The resource ID of the configuration to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ @@ -782,10 +782,10 @@ public Builder setId( } /** *
    -     * The resource id of the config to retrieve.
    +     * The resource ID of the configuration to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { @@ -796,10 +796,10 @@ public Builder clearId() { } /** *
    -     * The resource id of the config to retrieve.
    +     * The resource ID of the configuration to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -813,10 +813,10 @@ public Builder setIdBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.GetTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.GetTaskPushNotificationConfigRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.GetTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.GetTaskPushNotificationConfigRequest) private static final io.a2a.grpc.GetTaskPushNotificationConfigRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.GetTaskPushNotificationConfigRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java index 5e9047f46..9c6ab84e3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface GetTaskPushNotificationConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.GetTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.GetTaskPushNotificationConfigRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,19 +32,19 @@ public interface GetTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ java.lang.String getTaskId(); /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -52,19 +52,19 @@ public interface GetTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The resource id of the config to retrieve.
    +   * The resource ID of the configuration to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ java.lang.String getId(); /** *
    -   * The resource id of the config to retrieve.
    +   * The resource ID of the configuration to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java index 9fa872c52..2d6ff2246 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:GetTaskRequest]
      * Represents a request for the `GetTask` method.
      * 
    * - * Protobuf type {@code a2a.v1.GetTaskRequest} + * Protobuf type {@code lf.a2a.v1.GetTaskRequest} */ @com.google.protobuf.Generated public final class GetTaskRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.GetTaskRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.GetTaskRequest) GetTaskRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,27 +38,27 @@ private GetTaskRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetTaskRequest.class, io.a2a.grpc.GetTaskRequest.Builder.class); } private int bitField0_; - public static final int TENANT_FIELD_NUMBER = 3; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 3; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -77,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 3; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -98,15 +97,15 @@ public java.lang.String getTenant() { } } - public static final int ID_FIELD_NUMBER = 1; + public static final int ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
    -   * The resource id of the task.
    +   * The resource ID of the task to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override @@ -124,10 +123,10 @@ public java.lang.String getId() { } /** *
    -   * The resource id of the task.
    +   * The resource ID of the task to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override @@ -145,7 +144,7 @@ public java.lang.String getId() { } } - public static final int HISTORY_LENGTH_FIELD_NUMBER = 2; + public static final int HISTORY_LENGTH_FIELD_NUMBER = 3; private int historyLength_ = 0; /** *
    @@ -155,7 +154,7 @@ public java.lang.String getId() {
        * messages than the provided value, but MAY apply a lower limit.
        * 
    * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return Whether the historyLength field is set. */ @java.lang.Override @@ -170,7 +169,7 @@ public boolean hasHistoryLength() { * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return The historyLength. */ @java.lang.Override @@ -192,14 +191,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, id_); } if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(2, historyLength_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, tenant_); + output.writeInt32(3, historyLength_); } getUnknownFields().writeTo(output); } @@ -210,15 +209,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, id_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, historyLength_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, tenant_); + .computeInt32Size(3, historyLength_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -362,25 +361,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:GetTaskRequest]
        * Represents a request for the `GetTask` method.
        * 
    * - * Protobuf type {@code a2a.v1.GetTaskRequest} + * Protobuf type {@code lf.a2a.v1.GetTaskRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.GetTaskRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.GetTaskRequest) io.a2a.grpc.GetTaskRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.GetTaskRequest.class, io.a2a.grpc.GetTaskRequest.Builder.class); } @@ -408,7 +406,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_GetTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_GetTaskRequest_descriptor; } @java.lang.Override @@ -501,20 +499,20 @@ public Builder mergeFrom( done = true; break; case 10: { + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { id_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; - } // case 10 - case 16: { + } // case 18 + case 24: { historyLength_ = input.readInt32(); bitField0_ |= 0x00000004; break; - } // case 16 - case 26: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 26 + } // case 24 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -535,10 +533,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 3; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -555,10 +553,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 3; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -576,10 +574,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 3; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -593,10 +591,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 3; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -607,10 +605,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 3; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -627,10 +625,10 @@ public Builder setTenantBytes( private java.lang.Object id_ = ""; /** *
    -     * The resource id of the task.
    +     * The resource ID of the task to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { @@ -647,10 +645,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task.
    +     * The resource ID of the task to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -668,10 +666,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task.
    +     * The resource ID of the task to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ @@ -685,10 +683,10 @@ public Builder setId( } /** *
    -     * The resource id of the task.
    +     * The resource ID of the task to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { @@ -699,10 +697,10 @@ public Builder clearId() { } /** *
    -     * The resource id of the task.
    +     * The resource ID of the task to retrieve.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -725,7 +723,7 @@ public Builder setIdBytes( * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return Whether the historyLength field is set. */ @java.lang.Override @@ -740,7 +738,7 @@ public boolean hasHistoryLength() { * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return The historyLength. */ @java.lang.Override @@ -755,7 +753,7 @@ public int getHistoryLength() { * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @param value The historyLength to set. * @return This builder for chaining. */ @@ -774,7 +772,7 @@ public Builder setHistoryLength(int value) { * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return This builder for chaining. */ public Builder clearHistoryLength() { @@ -784,10 +782,10 @@ public Builder clearHistoryLength() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.GetTaskRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.GetTaskRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.GetTaskRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.GetTaskRequest) private static final io.a2a.grpc.GetTaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.GetTaskRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java index 7a86eb56c..e844a918c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface GetTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.GetTaskRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.GetTaskRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 3; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 3; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,19 +32,19 @@ public interface GetTaskRequestOrBuilder extends /** *
    -   * The resource id of the task.
    +   * The resource ID of the task to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ java.lang.String getId(); /** *
    -   * The resource id of the task.
    +   * The resource ID of the task to retrieve.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -58,7 +58,7 @@ public interface GetTaskRequestOrBuilder extends * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return Whether the historyLength field is set. */ boolean hasHistoryLength(); @@ -70,7 +70,7 @@ public interface GetTaskRequestOrBuilder extends * messages than the provided value, but MAY apply a lower limit. * * - * optional int32 history_length = 2; + * optional int32 history_length = 3; * @return The historyLength. */ int getHistoryLength(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java index cad53d0b9..9e1132a20 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:HTTPAuthSecurityScheme]
      * Defines a security scheme using HTTP authentication.
      * 
    * - * Protobuf type {@code a2a.v1.HTTPAuthSecurityScheme} + * Protobuf type {@code lf.a2a.v1.HTTPAuthSecurityScheme} */ @com.google.protobuf.Generated public final class HTTPAuthSecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.HTTPAuthSecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.HTTPAuthSecurityScheme) HTTPAuthSecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +39,13 @@ private HTTPAuthSecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_HTTPAuthSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.HTTPAuthSecurityScheme.class, io.a2a.grpc.HTTPAuthSecurityScheme.Builder.class); } @@ -155,7 +154,7 @@ public java.lang.String getScheme() { /** *
        * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -   * This is primarily for documentation purposes.
    +   * Primarily for documentation purposes.
        * 
    * * string bearer_format = 3; @@ -177,7 +176,7 @@ public java.lang.String getBearerFormat() { /** *
        * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -   * This is primarily for documentation purposes.
    +   * Primarily for documentation purposes.
        * 
    * * string bearer_format = 3; @@ -376,25 +375,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:HTTPAuthSecurityScheme]
        * Defines a security scheme using HTTP authentication.
        * 
    * - * Protobuf type {@code a2a.v1.HTTPAuthSecurityScheme} + * Protobuf type {@code lf.a2a.v1.HTTPAuthSecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.HTTPAuthSecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.HTTPAuthSecurityScheme) io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_HTTPAuthSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.HTTPAuthSecurityScheme.class, io.a2a.grpc.HTTPAuthSecurityScheme.Builder.class); } @@ -422,7 +420,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_HTTPAuthSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_HTTPAuthSecurityScheme_descriptor; } @java.lang.Override @@ -743,7 +741,7 @@ public Builder setSchemeBytes( /** *
          * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -     * This is primarily for documentation purposes.
    +     * Primarily for documentation purposes.
          * 
    * * string bearer_format = 3; @@ -764,7 +762,7 @@ public java.lang.String getBearerFormat() { /** *
          * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -     * This is primarily for documentation purposes.
    +     * Primarily for documentation purposes.
          * 
    * * string bearer_format = 3; @@ -786,7 +784,7 @@ public java.lang.String getBearerFormat() { /** *
          * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -     * This is primarily for documentation purposes.
    +     * Primarily for documentation purposes.
          * 
    * * string bearer_format = 3; @@ -804,7 +802,7 @@ public Builder setBearerFormat( /** *
          * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -     * This is primarily for documentation purposes.
    +     * Primarily for documentation purposes.
          * 
    * * string bearer_format = 3; @@ -819,7 +817,7 @@ public Builder clearBearerFormat() { /** *
          * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -     * This is primarily for documentation purposes.
    +     * Primarily for documentation purposes.
          * 
    * * string bearer_format = 3; @@ -836,10 +834,10 @@ public Builder setBearerFormatBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.HTTPAuthSecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.HTTPAuthSecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.HTTPAuthSecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.HTTPAuthSecurityScheme) private static final io.a2a.grpc.HTTPAuthSecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.HTTPAuthSecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java index 9a8e8847b..ee79f8014 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface HTTPAuthSecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.HTTPAuthSecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.HTTPAuthSecurityScheme) com.google.protobuf.MessageOrBuilder { /** @@ -57,7 +57,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends /** *
        * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -   * This is primarily for documentation purposes.
    +   * Primarily for documentation purposes.
        * 
    * * string bearer_format = 3; @@ -67,7 +67,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends /** *
        * A hint to the client to identify how the bearer token is formatted (e.g., "JWT").
    -   * This is primarily for documentation purposes.
    +   * Primarily for documentation purposes.
        * 
    * * string bearer_format = 3; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java index e1fd0601c..e11473d4f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java @@ -7,15 +7,15 @@ /** *
    - * DEPRECATED
    + * Deprecated: Use Authorization Code + PKCE instead.
      * 
    * - * Protobuf type {@code a2a.v1.ImplicitOAuthFlow} + * Protobuf type {@code lf.a2a.v1.ImplicitOAuthFlow} */ @com.google.protobuf.Generated public final class ImplicitOAuthFlow extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ImplicitOAuthFlow) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ImplicitOAuthFlow) ImplicitOAuthFlowOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,7 +38,7 @@ private ImplicitOAuthFlow() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -56,7 +56,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ImplicitOAuthFlow.class, io.a2a.grpc.ImplicitOAuthFlow.Builder.class); } @@ -165,7 +165,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -448,18 +448,18 @@ protected Builder newBuilderForType( } /** *
    -   * DEPRECATED
    +   * Deprecated: Use Authorization Code + PKCE instead.
        * 
    * - * Protobuf type {@code a2a.v1.ImplicitOAuthFlow} + * Protobuf type {@code lf.a2a.v1.ImplicitOAuthFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ImplicitOAuthFlow) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ImplicitOAuthFlow) io.a2a.grpc.ImplicitOAuthFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -487,7 +487,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ImplicitOAuthFlow.class, io.a2a.grpc.ImplicitOAuthFlow.Builder.class); } @@ -515,7 +515,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ImplicitOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ImplicitOAuthFlow_descriptor; } @java.lang.Override @@ -997,10 +997,10 @@ public Builder putAllScopes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ImplicitOAuthFlow) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ImplicitOAuthFlow) } - // @@protoc_insertion_point(class_scope:a2a.v1.ImplicitOAuthFlow) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ImplicitOAuthFlow) private static final io.a2a.grpc.ImplicitOAuthFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.ImplicitOAuthFlow(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java index 3b0180dbc..90d959a61 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface ImplicitOAuthFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ImplicitOAuthFlow) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ImplicitOAuthFlow) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequest.java similarity index 81% rename from spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java rename to spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequest.java index b80396df7..a95d7ea53 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequest.java @@ -7,16 +7,16 @@ /** *
    - * --8<-- [start:ListTaskPushNotificationConfigRequest]
    + * Represents a request for the `ListTaskPushNotificationConfigs` method.
      * 
    * - * Protobuf type {@code a2a.v1.ListTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.ListTaskPushNotificationConfigsRequest} */ @com.google.protobuf.Generated -public final class ListTaskPushNotificationConfigRequest extends +public final class ListTaskPushNotificationConfigsRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ListTaskPushNotificationConfigRequest) - ListTaskPushNotificationConfigRequestOrBuilder { + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ListTaskPushNotificationConfigsRequest) + ListTaskPushNotificationConfigsRequestOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( @@ -25,13 +25,13 @@ public final class ListTaskPushNotificationConfigRequest extends /* minor= */ 33, /* patch= */ 1, /* suffix= */ "", - "ListTaskPushNotificationConfigRequest"); + "ListTaskPushNotificationConfigsRequest"); } - // Use ListTaskPushNotificationConfigRequest.newBuilder() to construct. - private ListTaskPushNotificationConfigRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListTaskPushNotificationConfigsRequest.newBuilder() to construct. + private ListTaskPushNotificationConfigsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListTaskPushNotificationConfigRequest() { + private ListTaskPushNotificationConfigsRequest() { tenant_ = ""; taskId_ = ""; pageToken_ = ""; @@ -39,15 +39,15 @@ private ListTaskPushNotificationConfigRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.a2a.grpc.ListTaskPushNotificationConfigRequest.class, io.a2a.grpc.ListTaskPushNotificationConfigRequest.Builder.class); + io.a2a.grpc.ListTaskPushNotificationConfigsRequest.class, io.a2a.grpc.ListTaskPushNotificationConfigsRequest.Builder.class); } public static final int TENANT_FIELD_NUMBER = 4; @@ -55,7 +55,7 @@ private ListTaskPushNotificationConfigRequest() { private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 4; @@ -76,7 +76,7 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 4; @@ -102,7 +102,7 @@ public java.lang.String getTenant() { private volatile java.lang.Object taskId_ = ""; /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -123,7 +123,7 @@ public java.lang.String getTaskId() { } /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -164,7 +164,7 @@ public int getPageSize() { private volatile java.lang.Object pageToken_ = ""; /** *
    -   * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +   * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
        * 
    * * string page_token = 3; @@ -185,7 +185,7 @@ public java.lang.String getPageToken() { } /** *
    -   * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +   * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
        * 
    * * string page_token = 3; @@ -264,10 +264,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.a2a.grpc.ListTaskPushNotificationConfigRequest)) { + if (!(obj instanceof io.a2a.grpc.ListTaskPushNotificationConfigsRequest)) { return super.equals(obj); } - io.a2a.grpc.ListTaskPushNotificationConfigRequest other = (io.a2a.grpc.ListTaskPushNotificationConfigRequest) obj; + io.a2a.grpc.ListTaskPushNotificationConfigsRequest other = (io.a2a.grpc.ListTaskPushNotificationConfigsRequest) obj; if (!getTenant() .equals(other.getTenant())) return false; @@ -301,44 +301,44 @@ public int hashCode() { return hash; } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom(byte[] data) + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom(java.io.InputStream input) + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -346,26 +346,26 @@ public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseDelimitedFrom(java.io.InputStream input) + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseDelimitedFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -378,7 +378,7 @@ public static io.a2a.grpc.ListTaskPushNotificationConfigRequest parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.a2a.grpc.ListTaskPushNotificationConfigRequest prototype) { + public static Builder newBuilder(io.a2a.grpc.ListTaskPushNotificationConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -395,29 +395,29 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:ListTaskPushNotificationConfigRequest]
    +   * Represents a request for the `ListTaskPushNotificationConfigs` method.
        * 
    * - * Protobuf type {@code a2a.v1.ListTaskPushNotificationConfigRequest} + * Protobuf type {@code lf.a2a.v1.ListTaskPushNotificationConfigsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ListTaskPushNotificationConfigRequest) - io.a2a.grpc.ListTaskPushNotificationConfigRequestOrBuilder { + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ListTaskPushNotificationConfigsRequest) + io.a2a.grpc.ListTaskPushNotificationConfigsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.a2a.grpc.ListTaskPushNotificationConfigRequest.class, io.a2a.grpc.ListTaskPushNotificationConfigRequest.Builder.class); + io.a2a.grpc.ListTaskPushNotificationConfigsRequest.class, io.a2a.grpc.ListTaskPushNotificationConfigsRequest.Builder.class); } - // Construct using io.a2a.grpc.ListTaskPushNotificationConfigRequest.newBuilder() + // Construct using io.a2a.grpc.ListTaskPushNotificationConfigsRequest.newBuilder() private Builder() { } @@ -441,17 +441,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsRequest_descriptor; } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigRequest getDefaultInstanceForType() { - return io.a2a.grpc.ListTaskPushNotificationConfigRequest.getDefaultInstance(); + public io.a2a.grpc.ListTaskPushNotificationConfigsRequest getDefaultInstanceForType() { + return io.a2a.grpc.ListTaskPushNotificationConfigsRequest.getDefaultInstance(); } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigRequest build() { - io.a2a.grpc.ListTaskPushNotificationConfigRequest result = buildPartial(); + public io.a2a.grpc.ListTaskPushNotificationConfigsRequest build() { + io.a2a.grpc.ListTaskPushNotificationConfigsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -459,14 +459,14 @@ public io.a2a.grpc.ListTaskPushNotificationConfigRequest build() { } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigRequest buildPartial() { - io.a2a.grpc.ListTaskPushNotificationConfigRequest result = new io.a2a.grpc.ListTaskPushNotificationConfigRequest(this); + public io.a2a.grpc.ListTaskPushNotificationConfigsRequest buildPartial() { + io.a2a.grpc.ListTaskPushNotificationConfigsRequest result = new io.a2a.grpc.ListTaskPushNotificationConfigsRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigRequest result) { + private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.tenant_ = tenant_; @@ -484,16 +484,16 @@ private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigRequest res @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.a2a.grpc.ListTaskPushNotificationConfigRequest) { - return mergeFrom((io.a2a.grpc.ListTaskPushNotificationConfigRequest)other); + if (other instanceof io.a2a.grpc.ListTaskPushNotificationConfigsRequest) { + return mergeFrom((io.a2a.grpc.ListTaskPushNotificationConfigsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.a2a.grpc.ListTaskPushNotificationConfigRequest other) { - if (other == io.a2a.grpc.ListTaskPushNotificationConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom(io.a2a.grpc.ListTaskPushNotificationConfigsRequest other) { + if (other == io.a2a.grpc.ListTaskPushNotificationConfigsRequest.getDefaultInstance()) return this; if (!other.getTenant().isEmpty()) { tenant_ = other.tenant_; bitField0_ |= 0x00000001; @@ -578,7 +578,7 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 4; @@ -598,7 +598,7 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 4; @@ -619,7 +619,7 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 4; @@ -636,7 +636,7 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 4; @@ -650,7 +650,7 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * * string tenant = 4; @@ -670,7 +670,7 @@ public Builder setTenantBytes( private java.lang.Object taskId_ = ""; /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -690,7 +690,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -711,7 +711,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -728,7 +728,7 @@ public Builder setTaskId( } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -742,7 +742,7 @@ public Builder clearTaskId() { } /** *
    -     * The parent task resource id.
    +     * The parent task resource ID.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -806,7 +806,7 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** *
    -     * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +     * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
          * 
    * * string page_token = 3; @@ -826,7 +826,7 @@ public java.lang.String getPageToken() { } /** *
    -     * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +     * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
          * 
    * * string page_token = 3; @@ -847,7 +847,7 @@ public java.lang.String getPageToken() { } /** *
    -     * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +     * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
          * 
    * * string page_token = 3; @@ -864,7 +864,7 @@ public Builder setPageToken( } /** *
    -     * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +     * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
          * 
    * * string page_token = 3; @@ -878,7 +878,7 @@ public Builder clearPageToken() { } /** *
    -     * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +     * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
          * 
    * * string page_token = 3; @@ -895,23 +895,23 @@ public Builder setPageTokenBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ListTaskPushNotificationConfigRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ListTaskPushNotificationConfigsRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.ListTaskPushNotificationConfigRequest) - private static final io.a2a.grpc.ListTaskPushNotificationConfigRequest DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ListTaskPushNotificationConfigsRequest) + private static final io.a2a.grpc.ListTaskPushNotificationConfigsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.a2a.grpc.ListTaskPushNotificationConfigRequest(); + DEFAULT_INSTANCE = new io.a2a.grpc.ListTaskPushNotificationConfigsRequest(); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest getDefaultInstance() { + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListTaskPushNotificationConfigRequest parsePartialFrom( + public ListTaskPushNotificationConfigsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -930,17 +930,17 @@ public ListTaskPushNotificationConfigRequest parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigRequest getDefaultInstanceForType() { + public io.a2a.grpc.ListTaskPushNotificationConfigsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequestOrBuilder.java similarity index 73% rename from spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java rename to spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequestOrBuilder.java index ba43bb3d7..adaf35d45 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequestOrBuilder.java @@ -6,13 +6,13 @@ package io.a2a.grpc; @com.google.protobuf.Generated -public interface ListTaskPushNotificationConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ListTaskPushNotificationConfigRequest) +public interface ListTaskPushNotificationConfigsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ListTaskPushNotificationConfigsRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 4; @@ -21,7 +21,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * * string tenant = 4; @@ -32,7 +32,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends java.lang.String getTaskId(); /** *
    -   * The parent task resource id.
    +   * The parent task resource ID.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -62,7 +62,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends /** *
    -   * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +   * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
        * 
    * * string page_token = 3; @@ -71,7 +71,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends java.lang.String getPageToken(); /** *
    -   * A page token received from a previous ListTaskPushNotificationConfigRequest call.
    +   * A page token received from a previous `ListTaskPushNotificationConfigsRequest` call.
        * 
    * * string page_token = 3; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponse.java similarity index 78% rename from spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java rename to spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponse.java index e057230c9..231e22f89 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponse.java @@ -7,18 +7,17 @@ /** *
    - * --8<-- [start:ListTaskPushNotificationConfigResponse]
    - * Represents a successful response for the `ListTaskPushNotificationConfig`
    + * Represents a successful response for the `ListTaskPushNotificationConfigs`
      * method.
      * 
    * - * Protobuf type {@code a2a.v1.ListTaskPushNotificationConfigResponse} + * Protobuf type {@code lf.a2a.v1.ListTaskPushNotificationConfigsResponse} */ @com.google.protobuf.Generated -public final class ListTaskPushNotificationConfigResponse extends +public final class ListTaskPushNotificationConfigsResponse extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ListTaskPushNotificationConfigResponse) - ListTaskPushNotificationConfigResponseOrBuilder { + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ListTaskPushNotificationConfigsResponse) + ListTaskPushNotificationConfigsResponseOrBuilder { private static final long serialVersionUID = 0L; static { com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( @@ -27,28 +26,28 @@ public final class ListTaskPushNotificationConfigResponse extends /* minor= */ 33, /* patch= */ 1, /* suffix= */ "", - "ListTaskPushNotificationConfigResponse"); + "ListTaskPushNotificationConfigsResponse"); } - // Use ListTaskPushNotificationConfigResponse.newBuilder() to construct. - private ListTaskPushNotificationConfigResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + // Use ListTaskPushNotificationConfigsResponse.newBuilder() to construct. + private ListTaskPushNotificationConfigsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } - private ListTaskPushNotificationConfigResponse() { + private ListTaskPushNotificationConfigsResponse() { configs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.a2a.grpc.ListTaskPushNotificationConfigResponse.class, io.a2a.grpc.ListTaskPushNotificationConfigResponse.Builder.class); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.class, io.a2a.grpc.ListTaskPushNotificationConfigsResponse.Builder.class); } public static final int CONFIGS_FIELD_NUMBER = 1; @@ -59,7 +58,7 @@ private ListTaskPushNotificationConfigResponse() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public java.util.List getConfigsList() { @@ -70,7 +69,7 @@ public java.util.List getConfigsList() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public java.util.List @@ -82,7 +81,7 @@ public java.util.List getConfigsList() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public int getConfigsCount() { @@ -93,7 +92,7 @@ public int getConfigsCount() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { @@ -104,7 +103,7 @@ public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( @@ -117,8 +116,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( private volatile java.lang.Object nextPageToken_ = ""; /** *
    -   * A token, which can be sent as `page_token` to retrieve the next page.
    -   * If this field is omitted, there are no subsequent pages.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2; @@ -139,8 +137,7 @@ public java.lang.String getNextPageToken() { } /** *
    -   * A token, which can be sent as `page_token` to retrieve the next page.
    -   * If this field is omitted, there are no subsequent pages.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2; @@ -207,10 +204,10 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof io.a2a.grpc.ListTaskPushNotificationConfigResponse)) { + if (!(obj instanceof io.a2a.grpc.ListTaskPushNotificationConfigsResponse)) { return super.equals(obj); } - io.a2a.grpc.ListTaskPushNotificationConfigResponse other = (io.a2a.grpc.ListTaskPushNotificationConfigResponse) obj; + io.a2a.grpc.ListTaskPushNotificationConfigsResponse other = (io.a2a.grpc.ListTaskPushNotificationConfigsResponse) obj; if (!getConfigsList() .equals(other.getConfigsList())) return false; @@ -238,44 +235,44 @@ public int hashCode() { return hash; } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom(byte[] data) + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom(java.io.InputStream input) + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -283,26 +280,26 @@ public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( .parseWithIOException(PARSER, input, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseDelimitedFrom(java.io.InputStream input) + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseDelimitedFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessage .parseWithIOException(PARSER, input); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -315,7 +312,7 @@ public static io.a2a.grpc.ListTaskPushNotificationConfigResponse parseFrom( public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.a2a.grpc.ListTaskPushNotificationConfigResponse prototype) { + public static Builder newBuilder(io.a2a.grpc.ListTaskPushNotificationConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -332,31 +329,30 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:ListTaskPushNotificationConfigResponse]
    -   * Represents a successful response for the `ListTaskPushNotificationConfig`
    +   * Represents a successful response for the `ListTaskPushNotificationConfigs`
        * method.
        * 
    * - * Protobuf type {@code a2a.v1.ListTaskPushNotificationConfigResponse} + * Protobuf type {@code lf.a2a.v1.ListTaskPushNotificationConfigsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ListTaskPushNotificationConfigResponse) - io.a2a.grpc.ListTaskPushNotificationConfigResponseOrBuilder { + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ListTaskPushNotificationConfigsResponse) + io.a2a.grpc.ListTaskPushNotificationConfigsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.a2a.grpc.ListTaskPushNotificationConfigResponse.class, io.a2a.grpc.ListTaskPushNotificationConfigResponse.Builder.class); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.class, io.a2a.grpc.ListTaskPushNotificationConfigsResponse.Builder.class); } - // Construct using io.a2a.grpc.ListTaskPushNotificationConfigResponse.newBuilder() + // Construct using io.a2a.grpc.ListTaskPushNotificationConfigsResponse.newBuilder() private Builder() { } @@ -384,17 +380,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTaskPushNotificationConfigResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTaskPushNotificationConfigsResponse_descriptor; } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigResponse getDefaultInstanceForType() { - return io.a2a.grpc.ListTaskPushNotificationConfigResponse.getDefaultInstance(); + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse getDefaultInstanceForType() { + return io.a2a.grpc.ListTaskPushNotificationConfigsResponse.getDefaultInstance(); } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigResponse build() { - io.a2a.grpc.ListTaskPushNotificationConfigResponse result = buildPartial(); + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse build() { + io.a2a.grpc.ListTaskPushNotificationConfigsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -402,15 +398,15 @@ public io.a2a.grpc.ListTaskPushNotificationConfigResponse build() { } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigResponse buildPartial() { - io.a2a.grpc.ListTaskPushNotificationConfigResponse result = new io.a2a.grpc.ListTaskPushNotificationConfigResponse(this); + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse buildPartial() { + io.a2a.grpc.ListTaskPushNotificationConfigsResponse result = new io.a2a.grpc.ListTaskPushNotificationConfigsResponse(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields(io.a2a.grpc.ListTaskPushNotificationConfigResponse result) { + private void buildPartialRepeatedFields(io.a2a.grpc.ListTaskPushNotificationConfigsResponse result) { if (configsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { configs_ = java.util.Collections.unmodifiableList(configs_); @@ -422,7 +418,7 @@ private void buildPartialRepeatedFields(io.a2a.grpc.ListTaskPushNotificationConf } } - private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigResponse result) { + private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -431,16 +427,16 @@ private void buildPartial0(io.a2a.grpc.ListTaskPushNotificationConfigResponse re @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.a2a.grpc.ListTaskPushNotificationConfigResponse) { - return mergeFrom((io.a2a.grpc.ListTaskPushNotificationConfigResponse)other); + if (other instanceof io.a2a.grpc.ListTaskPushNotificationConfigsResponse) { + return mergeFrom((io.a2a.grpc.ListTaskPushNotificationConfigsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.a2a.grpc.ListTaskPushNotificationConfigResponse other) { - if (other == io.a2a.grpc.ListTaskPushNotificationConfigResponse.getDefaultInstance()) return this; + public Builder mergeFrom(io.a2a.grpc.ListTaskPushNotificationConfigsResponse other) { + if (other == io.a2a.grpc.ListTaskPushNotificationConfigsResponse.getDefaultInstance()) return this; if (configsBuilder_ == null) { if (!other.configs_.isEmpty()) { if (configs_.isEmpty()) { @@ -550,7 +546,7 @@ private void ensureConfigsIsMutable() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsList() { if (configsBuilder_ == null) { @@ -564,7 +560,7 @@ public java.util.List getConfigsList() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public int getConfigsCount() { if (configsBuilder_ == null) { @@ -578,7 +574,7 @@ public int getConfigsCount() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { if (configsBuilder_ == null) { @@ -592,7 +588,7 @@ public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder setConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig value) { @@ -613,7 +609,7 @@ public Builder setConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder setConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -631,7 +627,7 @@ public Builder setConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs(io.a2a.grpc.TaskPushNotificationConfig value) { if (configsBuilder_ == null) { @@ -651,7 +647,7 @@ public Builder addConfigs(io.a2a.grpc.TaskPushNotificationConfig value) { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig value) { @@ -672,7 +668,7 @@ public Builder addConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -690,7 +686,7 @@ public Builder addConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -708,7 +704,7 @@ public Builder addConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addAllConfigs( java.lang.Iterable values) { @@ -727,7 +723,7 @@ public Builder addAllConfigs( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder clearConfigs() { if (configsBuilder_ == null) { @@ -744,7 +740,7 @@ public Builder clearConfigs() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder removeConfigs(int index) { if (configsBuilder_ == null) { @@ -761,7 +757,7 @@ public Builder removeConfigs(int index) { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder getConfigsBuilder( int index) { @@ -772,7 +768,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder getConfigsBuilder( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( int index) { @@ -786,7 +782,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsOrBuilderList() { @@ -801,7 +797,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder() { return internalGetConfigsFieldBuilder().addBuilder( @@ -812,7 +808,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder() { * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( int index) { @@ -824,7 +820,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsBuilderList() { @@ -848,8 +844,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( private java.lang.Object nextPageToken_ = ""; /** *
    -     * A token, which can be sent as `page_token` to retrieve the next page.
    -     * If this field is omitted, there are no subsequent pages.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2; @@ -869,8 +864,7 @@ public java.lang.String getNextPageToken() { } /** *
    -     * A token, which can be sent as `page_token` to retrieve the next page.
    -     * If this field is omitted, there are no subsequent pages.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2; @@ -891,8 +885,7 @@ public java.lang.String getNextPageToken() { } /** *
    -     * A token, which can be sent as `page_token` to retrieve the next page.
    -     * If this field is omitted, there are no subsequent pages.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2; @@ -909,8 +902,7 @@ public Builder setNextPageToken( } /** *
    -     * A token, which can be sent as `page_token` to retrieve the next page.
    -     * If this field is omitted, there are no subsequent pages.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2; @@ -924,8 +916,7 @@ public Builder clearNextPageToken() { } /** *
    -     * A token, which can be sent as `page_token` to retrieve the next page.
    -     * If this field is omitted, there are no subsequent pages.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2; @@ -942,23 +933,23 @@ public Builder setNextPageTokenBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ListTaskPushNotificationConfigResponse) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ListTaskPushNotificationConfigsResponse) } - // @@protoc_insertion_point(class_scope:a2a.v1.ListTaskPushNotificationConfigResponse) - private static final io.a2a.grpc.ListTaskPushNotificationConfigResponse DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ListTaskPushNotificationConfigsResponse) + private static final io.a2a.grpc.ListTaskPushNotificationConfigsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.a2a.grpc.ListTaskPushNotificationConfigResponse(); + DEFAULT_INSTANCE = new io.a2a.grpc.ListTaskPushNotificationConfigsResponse(); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse getDefaultInstance() { + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ListTaskPushNotificationConfigResponse parsePartialFrom( + public ListTaskPushNotificationConfigsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -977,17 +968,17 @@ public ListTaskPushNotificationConfigResponse parsePartialFrom( } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.a2a.grpc.ListTaskPushNotificationConfigResponse getDefaultInstanceForType() { + public io.a2a.grpc.ListTaskPushNotificationConfigsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponseOrBuilder.java similarity index 63% rename from spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java rename to spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponseOrBuilder.java index a68796c49..1aa552f31 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponseOrBuilder.java @@ -6,8 +6,8 @@ package io.a2a.grpc; @com.google.protobuf.Generated -public interface ListTaskPushNotificationConfigResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ListTaskPushNotificationConfigResponse) +public interface ListTaskPushNotificationConfigsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ListTaskPushNotificationConfigsResponse) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ java.util.List getConfigsList(); @@ -24,7 +24,7 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index); /** @@ -32,7 +32,7 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ int getConfigsCount(); /** @@ -40,7 +40,7 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ java.util.List getConfigsOrBuilderList(); @@ -49,15 +49,14 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends * The list of push notification configurations. * * - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; + * repeated .lf.a2a.v1.TaskPushNotificationConfig configs = 1; */ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( int index); /** *
    -   * A token, which can be sent as `page_token` to retrieve the next page.
    -   * If this field is omitted, there are no subsequent pages.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2; @@ -66,8 +65,7 @@ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( java.lang.String getNextPageToken(); /** *
    -   * A token, which can be sent as `page_token` to retrieve the next page.
    -   * If this field is omitted, there are no subsequent pages.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequest.java index c2645afcc..414660319 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequest.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:ListTasksRequest]
      * Parameters for listing tasks with optional filtering criteria.
      * 
    * - * Protobuf type {@code a2a.v1.ListTasksRequest} + * Protobuf type {@code lf.a2a.v1.ListTasksRequest} */ @com.google.protobuf.Generated public final class ListTasksRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ListTasksRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ListTasksRequest) ListTasksRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -41,27 +40,27 @@ private ListTasksRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ListTasksRequest.class, io.a2a.grpc.ListTasksRequest.Builder.class); } private int bitField0_; - public static final int TENANT_FIELD_NUMBER = 9; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 9; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -79,10 +78,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 9; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -100,7 +99,7 @@ public java.lang.String getTenant() { } } - public static final int CONTEXT_ID_FIELD_NUMBER = 1; + public static final int CONTEXT_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object contextId_ = ""; /** @@ -108,7 +107,7 @@ public java.lang.String getTenant() { * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The contextId. */ @java.lang.Override @@ -129,7 +128,7 @@ public java.lang.String getContextId() { * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The bytes for contextId. */ @java.lang.Override @@ -147,14 +146,14 @@ public java.lang.String getContextId() { } } - public static final int STATUS_FIELD_NUMBER = 2; + public static final int STATUS_FIELD_NUMBER = 3; private int status_ = 0; /** *
        * Filter tasks by their current status state.
        * 
    * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { @@ -165,7 +164,7 @@ public java.lang.String getContextId() { * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The status. */ @java.lang.Override public io.a2a.grpc.TaskState getStatus() { @@ -173,15 +172,17 @@ public java.lang.String getContextId() { return result == null ? io.a2a.grpc.TaskState.UNRECOGNIZED : result; } - public static final int PAGE_SIZE_FIELD_NUMBER = 3; + public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** *
    -   * Maximum number of tasks to return. Must be between 1 and 100.
    -   * Defaults to 50 if not specified.
    +   * 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.
        * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return Whether the pageSize field is set. */ @java.lang.Override @@ -190,11 +191,13 @@ public boolean hasPageSize() { } /** *
    -   * Maximum number of tasks to return. Must be between 1 and 100.
    -   * Defaults to 50 if not specified.
    +   * 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.
        * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return The pageSize. */ @java.lang.Override @@ -202,15 +205,17 @@ public int getPageSize() { return pageSize_; } - public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + public static final int PAGE_TOKEN_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** *
    -   * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +   * A page token, received from a previous `ListTasks` call.
    +   * `ListTasksResponse.next_page_token`.
    +   * Provide this to retrieve the subsequent page.
        * 
    * - * string page_token = 4; + * string page_token = 5; * @return The pageToken. */ @java.lang.Override @@ -228,10 +233,12 @@ public java.lang.String getPageToken() { } /** *
    -   * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +   * A page token, received from a previous `ListTasks` call.
    +   * `ListTasksResponse.next_page_token`.
    +   * Provide this to retrieve the subsequent page.
        * 
    * - * string page_token = 4; + * string page_token = 5; * @return The bytes for pageToken. */ @java.lang.Override @@ -249,14 +256,14 @@ public java.lang.String getPageToken() { } } - public static final int HISTORY_LENGTH_FIELD_NUMBER = 5; + public static final int HISTORY_LENGTH_FIELD_NUMBER = 6; private int historyLength_ = 0; /** *
        * The maximum number of messages to include in each task's history.
        * 
    * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return Whether the historyLength field is set. */ @java.lang.Override @@ -268,7 +275,7 @@ public boolean hasHistoryLength() { * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return The historyLength. */ @java.lang.Override @@ -276,7 +283,7 @@ public int getHistoryLength() { return historyLength_; } - public static final int STATUS_TIMESTAMP_AFTER_FIELD_NUMBER = 6; + public static final int STATUS_TIMESTAMP_AFTER_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp statusTimestampAfter_; /** *
    @@ -284,7 +291,7 @@ public int getHistoryLength() {
        * Only tasks with a status timestamp time greater than or equal to this value will be returned.
        * 
    * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return Whether the statusTimestampAfter field is set. */ @java.lang.Override @@ -297,7 +304,7 @@ public boolean hasStatusTimestampAfter() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return The statusTimestampAfter. */ @java.lang.Override @@ -310,14 +317,14 @@ public com.google.protobuf.Timestamp getStatusTimestampAfter() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder() { return statusTimestampAfter_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : statusTimestampAfter_; } - public static final int INCLUDE_ARTIFACTS_FIELD_NUMBER = 7; + public static final int INCLUDE_ARTIFACTS_FIELD_NUMBER = 8; private boolean includeArtifacts_ = false; /** *
    @@ -325,7 +332,7 @@ public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder()
        * Defaults to false to reduce payload size.
        * 
    * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return Whether the includeArtifacts field is set. */ @java.lang.Override @@ -338,7 +345,7 @@ public boolean hasIncludeArtifacts() { * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return The includeArtifacts. */ @java.lang.Override @@ -360,29 +367,29 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contextId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, contextId_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, contextId_); } if (status_ != io.a2a.grpc.TaskState.TASK_STATE_UNSPECIFIED.getNumber()) { - output.writeEnum(2, status_); + output.writeEnum(3, status_); } if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(3, pageSize_); + output.writeInt32(4, pageSize_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, pageToken_); + com.google.protobuf.GeneratedMessage.writeString(output, 5, pageToken_); } if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(5, historyLength_); + output.writeInt32(6, historyLength_); } if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(6, getStatusTimestampAfter()); + output.writeMessage(7, getStatusTimestampAfter()); } if (((bitField0_ & 0x00000008) != 0)) { - output.writeBool(7, includeArtifacts_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 9, tenant_); + output.writeBool(8, includeArtifacts_); } getUnknownFields().writeTo(output); } @@ -393,34 +400,34 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(contextId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, contextId_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, contextId_); } if (status_ != io.a2a.grpc.TaskState.TASK_STATE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, status_); + .computeEnumSize(3, status_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pageToken_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, pageToken_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, historyLength_); + .computeInt32Size(6, historyLength_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getStatusTimestampAfter()); + .computeMessageSize(7, getStatusTimestampAfter()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, includeArtifacts_); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(9, tenant_); + .computeBoolSize(8, includeArtifacts_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -599,25 +606,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:ListTasksRequest]
        * Parameters for listing tasks with optional filtering criteria.
        * 
    * - * Protobuf type {@code a2a.v1.ListTasksRequest} + * Protobuf type {@code lf.a2a.v1.ListTasksRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ListTasksRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ListTasksRequest) io.a2a.grpc.ListTasksRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ListTasksRequest.class, io.a2a.grpc.ListTasksRequest.Builder.class); } @@ -660,7 +666,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksRequest_descriptor; } @java.lang.Override @@ -790,47 +796,47 @@ public Builder mergeFrom( done = true; break; case 10: { + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { contextId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; - } // case 10 - case 16: { + } // case 18 + case 24: { status_ = input.readEnum(); bitField0_ |= 0x00000004; break; - } // case 16 - case 24: { + } // case 24 + case 32: { pageSize_ = input.readInt32(); bitField0_ |= 0x00000008; break; - } // case 24 - case 34: { + } // case 32 + case 42: { pageToken_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; - } // case 34 - case 40: { + } // case 42 + case 48: { historyLength_ = input.readInt32(); bitField0_ |= 0x00000020; break; - } // case 40 - case 50: { + } // case 48 + case 58: { input.readMessage( internalGetStatusTimestampAfterFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; - } // case 50 - case 56: { + } // case 58 + case 64: { includeArtifacts_ = input.readBool(); bitField0_ |= 0x00000080; break; - } // case 56 - case 74: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 74 + } // case 64 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -851,10 +857,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 9; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -871,10 +877,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 9; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -892,10 +898,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 9; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -909,10 +915,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 9; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -923,10 +929,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 9; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -946,7 +952,7 @@ public Builder setTenantBytes( * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The contextId. */ public java.lang.String getContextId() { @@ -966,7 +972,7 @@ public java.lang.String getContextId() { * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The bytes for contextId. */ public com.google.protobuf.ByteString @@ -987,7 +993,7 @@ public java.lang.String getContextId() { * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @param value The contextId to set. * @return This builder for chaining. */ @@ -1004,7 +1010,7 @@ public Builder setContextId( * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return This builder for chaining. */ public Builder clearContextId() { @@ -1018,7 +1024,7 @@ public Builder clearContextId() { * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @param value The bytes for contextId to set. * @return This builder for chaining. */ @@ -1038,7 +1044,7 @@ public Builder setContextIdBytes( * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { @@ -1049,7 +1055,7 @@ public Builder setContextIdBytes( * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ @@ -1064,7 +1070,7 @@ public Builder setStatusValue(int value) { * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The status. */ @java.lang.Override @@ -1077,7 +1083,7 @@ public io.a2a.grpc.TaskState getStatus() { * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @param value The status to set. * @return This builder for chaining. */ @@ -1093,7 +1099,7 @@ public Builder setStatus(io.a2a.grpc.TaskState value) { * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return This builder for chaining. */ public Builder clearStatus() { @@ -1106,11 +1112,13 @@ public Builder clearStatus() { private int pageSize_ ; /** *
    -     * Maximum number of tasks to return. Must be between 1 and 100.
    -     * Defaults to 50 if not specified.
    +     * 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.
          * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return Whether the pageSize field is set. */ @java.lang.Override @@ -1119,11 +1127,13 @@ public boolean hasPageSize() { } /** *
    -     * Maximum number of tasks to return. Must be between 1 and 100.
    -     * Defaults to 50 if not specified.
    +     * 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.
          * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return The pageSize. */ @java.lang.Override @@ -1132,11 +1142,13 @@ public int getPageSize() { } /** *
    -     * Maximum number of tasks to return. Must be between 1 and 100.
    -     * Defaults to 50 if not specified.
    +     * 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.
          * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1149,11 +1161,13 @@ public Builder setPageSize(int value) { } /** *
    -     * Maximum number of tasks to return. Must be between 1 and 100.
    -     * Defaults to 50 if not specified.
    +     * 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.
          * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1166,10 +1180,12 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** *
    -     * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +     * A page token, received from a previous `ListTasks` call.
    +     * `ListTasksResponse.next_page_token`.
    +     * Provide this to retrieve the subsequent page.
          * 
    * - * string page_token = 4; + * string page_token = 5; * @return The pageToken. */ public java.lang.String getPageToken() { @@ -1186,10 +1202,12 @@ public java.lang.String getPageToken() { } /** *
    -     * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +     * A page token, received from a previous `ListTasks` call.
    +     * `ListTasksResponse.next_page_token`.
    +     * Provide this to retrieve the subsequent page.
          * 
    * - * string page_token = 4; + * string page_token = 5; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString @@ -1207,10 +1225,12 @@ public java.lang.String getPageToken() { } /** *
    -     * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +     * A page token, received from a previous `ListTasks` call.
    +     * `ListTasksResponse.next_page_token`.
    +     * Provide this to retrieve the subsequent page.
          * 
    * - * string page_token = 4; + * string page_token = 5; * @param value The pageToken to set. * @return This builder for chaining. */ @@ -1224,10 +1244,12 @@ public Builder setPageToken( } /** *
    -     * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +     * A page token, received from a previous `ListTasks` call.
    +     * `ListTasksResponse.next_page_token`.
    +     * Provide this to retrieve the subsequent page.
          * 
    * - * string page_token = 4; + * string page_token = 5; * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1238,10 +1260,12 @@ public Builder clearPageToken() { } /** *
    -     * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +     * A page token, received from a previous `ListTasks` call.
    +     * `ListTasksResponse.next_page_token`.
    +     * Provide this to retrieve the subsequent page.
          * 
    * - * string page_token = 4; + * string page_token = 5; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ @@ -1261,7 +1285,7 @@ public Builder setPageTokenBytes( * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return Whether the historyLength field is set. */ @java.lang.Override @@ -1273,7 +1297,7 @@ public boolean hasHistoryLength() { * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return The historyLength. */ @java.lang.Override @@ -1285,7 +1309,7 @@ public int getHistoryLength() { * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @param value The historyLength to set. * @return This builder for chaining. */ @@ -1301,7 +1325,7 @@ public Builder setHistoryLength(int value) { * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return This builder for chaining. */ public Builder clearHistoryLength() { @@ -1320,7 +1344,7 @@ public Builder clearHistoryLength() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return Whether the statusTimestampAfter field is set. */ public boolean hasStatusTimestampAfter() { @@ -1332,7 +1356,7 @@ public boolean hasStatusTimestampAfter() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return The statusTimestampAfter. */ public com.google.protobuf.Timestamp getStatusTimestampAfter() { @@ -1348,7 +1372,7 @@ public com.google.protobuf.Timestamp getStatusTimestampAfter() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public Builder setStatusTimestampAfter(com.google.protobuf.Timestamp value) { if (statusTimestampAfterBuilder_ == null) { @@ -1369,7 +1393,7 @@ public Builder setStatusTimestampAfter(com.google.protobuf.Timestamp value) { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public Builder setStatusTimestampAfter( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -1388,7 +1412,7 @@ public Builder setStatusTimestampAfter( * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public Builder mergeStatusTimestampAfter(com.google.protobuf.Timestamp value) { if (statusTimestampAfterBuilder_ == null) { @@ -1414,7 +1438,7 @@ public Builder mergeStatusTimestampAfter(com.google.protobuf.Timestamp value) { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public Builder clearStatusTimestampAfter() { bitField0_ = (bitField0_ & ~0x00000040); @@ -1432,7 +1456,7 @@ public Builder clearStatusTimestampAfter() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public com.google.protobuf.Timestamp.Builder getStatusTimestampAfterBuilder() { bitField0_ |= 0x00000040; @@ -1445,7 +1469,7 @@ public com.google.protobuf.Timestamp.Builder getStatusTimestampAfterBuilder() { * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder() { if (statusTimestampAfterBuilder_ != null) { @@ -1461,7 +1485,7 @@ public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder() * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1484,7 +1508,7 @@ public com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder() * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return Whether the includeArtifacts field is set. */ @java.lang.Override @@ -1497,7 +1521,7 @@ public boolean hasIncludeArtifacts() { * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return The includeArtifacts. */ @java.lang.Override @@ -1510,7 +1534,7 @@ public boolean getIncludeArtifacts() { * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @param value The includeArtifacts to set. * @return This builder for chaining. */ @@ -1527,7 +1551,7 @@ public Builder setIncludeArtifacts(boolean value) { * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return This builder for chaining. */ public Builder clearIncludeArtifacts() { @@ -1537,10 +1561,10 @@ public Builder clearIncludeArtifacts() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ListTasksRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ListTasksRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.ListTasksRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ListTasksRequest) private static final io.a2a.grpc.ListTasksRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.ListTasksRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequestOrBuilder.java index 410485d50..d577c8507 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface ListTasksRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ListTasksRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 9; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 9; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface ListTasksRequestOrBuilder extends * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The contextId. */ java.lang.String getContextId(); @@ -44,7 +44,7 @@ public interface ListTasksRequestOrBuilder extends * Filter tasks by context ID to get tasks from a specific conversation or session. * * - * string context_id = 1; + * string context_id = 2; * @return The bytes for contextId. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface ListTasksRequestOrBuilder extends * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The enum numeric value on the wire for status. */ int getStatusValue(); @@ -64,47 +64,55 @@ public interface ListTasksRequestOrBuilder extends * Filter tasks by their current status state. * * - * .a2a.v1.TaskState status = 2; + * .lf.a2a.v1.TaskState status = 3; * @return The status. */ io.a2a.grpc.TaskState getStatus(); /** *
    -   * Maximum number of tasks to return. Must be between 1 and 100.
    -   * Defaults to 50 if not specified.
    +   * 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.
        * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return Whether the pageSize field is set. */ boolean hasPageSize(); /** *
    -   * Maximum number of tasks to return. Must be between 1 and 100.
    -   * Defaults to 50 if not specified.
    +   * 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.
        * 
    * - * optional int32 page_size = 3; + * optional int32 page_size = 4; * @return The pageSize. */ int getPageSize(); /** *
    -   * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +   * A page token, received from a previous `ListTasks` call.
    +   * `ListTasksResponse.next_page_token`.
    +   * Provide this to retrieve the subsequent page.
        * 
    * - * string page_token = 4; + * string page_token = 5; * @return The pageToken. */ java.lang.String getPageToken(); /** *
    -   * Token for pagination. Use the next_page_token from a previous ListTasksResponse.
    +   * A page token, received from a previous `ListTasks` call.
    +   * `ListTasksResponse.next_page_token`.
    +   * Provide this to retrieve the subsequent page.
        * 
    * - * string page_token = 4; + * string page_token = 5; * @return The bytes for pageToken. */ com.google.protobuf.ByteString @@ -115,7 +123,7 @@ public interface ListTasksRequestOrBuilder extends * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return Whether the historyLength field is set. */ boolean hasHistoryLength(); @@ -124,7 +132,7 @@ public interface ListTasksRequestOrBuilder extends * The maximum number of messages to include in each task's history. * * - * optional int32 history_length = 5; + * optional int32 history_length = 6; * @return The historyLength. */ int getHistoryLength(); @@ -135,7 +143,7 @@ public interface ListTasksRequestOrBuilder extends * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return Whether the statusTimestampAfter field is set. */ boolean hasStatusTimestampAfter(); @@ -145,7 +153,7 @@ public interface ListTasksRequestOrBuilder extends * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; * @return The statusTimestampAfter. */ com.google.protobuf.Timestamp getStatusTimestampAfter(); @@ -155,7 +163,7 @@ public interface ListTasksRequestOrBuilder extends * Only tasks with a status timestamp time greater than or equal to this value will be returned. * * - * .google.protobuf.Timestamp status_timestamp_after = 6; + * .google.protobuf.Timestamp status_timestamp_after = 7; */ com.google.protobuf.TimestampOrBuilder getStatusTimestampAfterOrBuilder(); @@ -165,7 +173,7 @@ public interface ListTasksRequestOrBuilder extends * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return Whether the includeArtifacts field is set. */ boolean hasIncludeArtifacts(); @@ -175,7 +183,7 @@ public interface ListTasksRequestOrBuilder extends * Defaults to false to reduce payload size. * * - * optional bool include_artifacts = 7; + * optional bool include_artifacts = 8; * @return The includeArtifacts. */ boolean getIncludeArtifacts(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponse.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponse.java index 1c0078076..4eaf740db 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponse.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:ListTasksResponse]
    - * Result object for tasks/list method containing an array of tasks and pagination information.
    + * Result object for `ListTasks` method containing an array of tasks and pagination information.
      * 
    * - * Protobuf type {@code a2a.v1.ListTasksResponse} + * Protobuf type {@code lf.a2a.v1.ListTasksResponse} */ @com.google.protobuf.Generated public final class ListTasksResponse extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.ListTasksResponse) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.ListTasksResponse) ListTasksResponseOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private ListTasksResponse() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ListTasksResponse.class, io.a2a.grpc.ListTasksResponse.Builder.class); } @@ -58,7 +57,7 @@ private ListTasksResponse() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getTasksList() { @@ -69,7 +68,7 @@ public java.util.List getTasksList() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List @@ -81,7 +80,7 @@ public java.util.List getTasksList() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getTasksCount() { @@ -92,7 +91,7 @@ public int getTasksCount() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.Task getTasks(int index) { @@ -103,7 +102,7 @@ public io.a2a.grpc.Task getTasks(int index) { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( @@ -116,7 +115,7 @@ public io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( private volatile java.lang.Object nextPageToken_ = ""; /** *
    -   * Token for retrieving the next page. Empty string if no more results.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -137,7 +136,7 @@ public java.lang.String getNextPageToken() { } /** *
    -   * Token for retrieving the next page. Empty string if no more results.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -162,7 +161,7 @@ public java.lang.String getNextPageToken() { private int pageSize_ = 0; /** *
    -   * The size of page requested.
    +   * The page size used for this response.
        * 
    * * int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -381,25 +380,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:ListTasksResponse]
    -   * Result object for tasks/list method containing an array of tasks and pagination information.
    +   * Result object for `ListTasks` method containing an array of tasks and pagination information.
        * 
    * - * Protobuf type {@code a2a.v1.ListTasksResponse} + * Protobuf type {@code lf.a2a.v1.ListTasksResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.ListTasksResponse) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.ListTasksResponse) io.a2a.grpc.ListTasksResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.ListTasksResponse.class, io.a2a.grpc.ListTasksResponse.Builder.class); } @@ -434,7 +432,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_ListTasksResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_ListTasksResponse_descriptor; } @java.lang.Override @@ -622,7 +620,7 @@ private void ensureTasksIsMutable() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getTasksList() { if (tasksBuilder_ == null) { @@ -636,7 +634,7 @@ public java.util.List getTasksList() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getTasksCount() { if (tasksBuilder_ == null) { @@ -650,7 +648,7 @@ public int getTasksCount() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Task getTasks(int index) { if (tasksBuilder_ == null) { @@ -664,7 +662,7 @@ public io.a2a.grpc.Task getTasks(int index) { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTasks( int index, io.a2a.grpc.Task value) { @@ -685,7 +683,7 @@ public Builder setTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTasks( int index, io.a2a.grpc.Task.Builder builderForValue) { @@ -703,7 +701,7 @@ public Builder setTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTasks(io.a2a.grpc.Task value) { if (tasksBuilder_ == null) { @@ -723,7 +721,7 @@ public Builder addTasks(io.a2a.grpc.Task value) { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTasks( int index, io.a2a.grpc.Task value) { @@ -744,7 +742,7 @@ public Builder addTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTasks( io.a2a.grpc.Task.Builder builderForValue) { @@ -762,7 +760,7 @@ public Builder addTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addTasks( int index, io.a2a.grpc.Task.Builder builderForValue) { @@ -780,7 +778,7 @@ public Builder addTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllTasks( java.lang.Iterable values) { @@ -799,7 +797,7 @@ public Builder addAllTasks( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTasks() { if (tasksBuilder_ == null) { @@ -816,7 +814,7 @@ public Builder clearTasks() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeTasks(int index) { if (tasksBuilder_ == null) { @@ -833,7 +831,7 @@ public Builder removeTasks(int index) { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Task.Builder getTasksBuilder( int index) { @@ -844,7 +842,7 @@ public io.a2a.grpc.Task.Builder getTasksBuilder( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( int index) { @@ -858,7 +856,7 @@ public io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getTasksOrBuilderList() { @@ -873,7 +871,7 @@ public io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Task.Builder addTasksBuilder() { return internalGetTasksFieldBuilder().addBuilder( @@ -884,7 +882,7 @@ public io.a2a.grpc.Task.Builder addTasksBuilder() { * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Task.Builder addTasksBuilder( int index) { @@ -896,7 +894,7 @@ public io.a2a.grpc.Task.Builder addTasksBuilder( * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getTasksBuilderList() { @@ -920,7 +918,7 @@ public io.a2a.grpc.Task.Builder addTasksBuilder( private java.lang.Object nextPageToken_ = ""; /** *
    -     * Token for retrieving the next page. Empty string if no more results.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -940,7 +938,7 @@ public java.lang.String getNextPageToken() { } /** *
    -     * Token for retrieving the next page. Empty string if no more results.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -961,7 +959,7 @@ public java.lang.String getNextPageToken() { } /** *
    -     * Token for retrieving the next page. Empty string if no more results.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -978,7 +976,7 @@ public Builder setNextPageToken( } /** *
    -     * Token for retrieving the next page. Empty string if no more results.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -992,7 +990,7 @@ public Builder clearNextPageToken() { } /** *
    -     * Token for retrieving the next page. Empty string if no more results.
    +     * A token to retrieve the next page of results, or empty if there are no more results in the list.
          * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1012,7 +1010,7 @@ public Builder setNextPageTokenBytes( private int pageSize_ ; /** *
    -     * The size of page requested.
    +     * The page size used for this response.
          * 
    * * int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1024,7 +1022,7 @@ public int getPageSize() { } /** *
    -     * The size of page requested.
    +     * The page size used for this response.
          * 
    * * int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1040,7 +1038,7 @@ public Builder setPageSize(int value) { } /** *
    -     * The size of page requested.
    +     * The page size used for this response.
          * 
    * * int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1097,10 +1095,10 @@ public Builder clearTotalSize() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.ListTasksResponse) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.ListTasksResponse) } - // @@protoc_insertion_point(class_scope:a2a.v1.ListTasksResponse) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.ListTasksResponse) private static final io.a2a.grpc.ListTasksResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.ListTasksResponse(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponseOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponseOrBuilder.java index 430700f61..cbaddefbf 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponseOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface ListTasksResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.ListTasksResponse) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface ListTasksResponseOrBuilder extends * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getTasksList(); @@ -24,7 +24,7 @@ public interface ListTasksResponseOrBuilder extends * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.Task getTasks(int index); /** @@ -32,7 +32,7 @@ public interface ListTasksResponseOrBuilder extends * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getTasksCount(); /** @@ -40,7 +40,7 @@ public interface ListTasksResponseOrBuilder extends * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getTasksOrBuilderList(); @@ -49,14 +49,14 @@ public interface ListTasksResponseOrBuilder extends * Array of tasks matching the specified criteria. * * - * repeated .a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Task tasks = 1 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( int index); /** *
    -   * Token for retrieving the next page. Empty string if no more results.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -65,7 +65,7 @@ io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( java.lang.String getNextPageToken(); /** *
    -   * Token for retrieving the next page. Empty string if no more results.
    +   * A token to retrieve the next page of results, or empty if there are no more results in the list.
        * 
    * * string next_page_token = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -76,7 +76,7 @@ io.a2a.grpc.TaskOrBuilder getTasksOrBuilder( /** *
    -   * The size of page requested.
    +   * The page size used for this response.
        * 
    * * int32 page_size = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Message.java b/spec-grpc/src/main/java/io/a2a/grpc/Message.java index e8f296411..ac9dbdc6f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Message.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Message.java @@ -7,21 +7,20 @@ /** *
    - * --8<-- [start:Message]
    - * 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
    + * `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.
    + * 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.
      * 
    * - * Protobuf type {@code a2a.v1.Message} + * Protobuf type {@code lf.a2a.v1.Message} */ @com.google.protobuf.Generated public final class Message extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.Message) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.Message) MessageOrBuilder { private static final long serialVersionUID = 0L; static { @@ -51,13 +50,13 @@ private Message() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Message_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Message_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Message_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Message_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Message.class, io.a2a.grpc.Message.Builder.class); } @@ -68,8 +67,7 @@ private Message() { private volatile java.lang.Object messageId_ = ""; /** *
    -   * The unique identifier (e.g. UUID) of the message. This is required and
    -   * created by the message creator.
    +   * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
        * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -90,8 +88,7 @@ public java.lang.String getMessageId() { } /** *
    -   * The unique identifier (e.g. UUID) of the message. This is required and
    -   * created by the message creator.
    +   * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
        * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -117,8 +114,7 @@ public java.lang.String getMessageId() { private volatile java.lang.Object contextId_ = ""; /** *
    -   * The context id of the message. This is optional and if set, the message
    -   * will be associated with the given context.
    +   * Optional. The context id of the message. If set, the message will be associated with the given context.
        * 
    * * string context_id = 2; @@ -139,8 +135,7 @@ public java.lang.String getContextId() { } /** *
    -   * The context id of the message. This is optional and if set, the message
    -   * will be associated with the given context.
    +   * Optional. The context id of the message. If set, the message will be associated with the given context.
        * 
    * * string context_id = 2; @@ -166,8 +161,7 @@ public java.lang.String getContextId() { private volatile java.lang.Object taskId_ = ""; /** *
    -   * The task id of the message. This is optional and if set, the message
    -   * will be associated with the given task.
    +   * Optional. The task id of the message. If set, the message will be associated with the given task.
        * 
    * * string task_id = 3; @@ -188,8 +182,7 @@ public java.lang.String getTaskId() { } /** *
    -   * The task id of the message. This is optional and if set, the message
    -   * will be associated with the given task.
    +   * Optional. The task id of the message. If set, the message will be associated with the given task.
        * 
    * * string task_id = 3; @@ -217,7 +210,7 @@ public java.lang.String getTaskId() { * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for role. */ @java.lang.Override public int getRoleValue() { @@ -228,7 +221,7 @@ public java.lang.String getTaskId() { * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The role. */ @java.lang.Override public io.a2a.grpc.Role getRole() { @@ -241,11 +234,10 @@ public java.lang.String getTaskId() { private java.util.List parts_; /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getPartsList() { @@ -253,11 +245,10 @@ public java.util.List getPartsList() { } /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List @@ -266,11 +257,10 @@ public java.util.List getPartsList() { } /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getPartsCount() { @@ -278,11 +268,10 @@ public int getPartsCount() { } /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.Part getParts(int index) { @@ -290,11 +279,10 @@ public io.a2a.grpc.Part getParts(int index) { } /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( @@ -306,8 +294,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( private com.google.protobuf.Struct metadata_; /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -319,8 +306,7 @@ public boolean hasMetadata() { } /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -332,8 +318,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -700,30 +685,29 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:Message]
    -   * 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
    +   * `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.
    +   * 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.
        * 
    * - * Protobuf type {@code a2a.v1.Message} + * Protobuf type {@code lf.a2a.v1.Message} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.Message) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.Message) io.a2a.grpc.MessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Message_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Message_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Message_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Message_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Message.class, io.a2a.grpc.Message.Builder.class); } @@ -775,7 +759,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Message_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Message_descriptor; } @java.lang.Override @@ -1022,8 +1006,7 @@ public Builder mergeFrom( private java.lang.Object messageId_ = ""; /** *
    -     * The unique identifier (e.g. UUID) of the message. This is required and
    -     * created by the message creator.
    +     * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
          * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1043,8 +1026,7 @@ public java.lang.String getMessageId() { } /** *
    -     * The unique identifier (e.g. UUID) of the message. This is required and
    -     * created by the message creator.
    +     * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
          * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1065,8 +1047,7 @@ public java.lang.String getMessageId() { } /** *
    -     * The unique identifier (e.g. UUID) of the message. This is required and
    -     * created by the message creator.
    +     * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
          * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1083,8 +1064,7 @@ public Builder setMessageId( } /** *
    -     * The unique identifier (e.g. UUID) of the message. This is required and
    -     * created by the message creator.
    +     * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
          * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1098,8 +1078,7 @@ public Builder clearMessageId() { } /** *
    -     * The unique identifier (e.g. UUID) of the message. This is required and
    -     * created by the message creator.
    +     * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
          * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1119,8 +1098,7 @@ public Builder setMessageIdBytes( private java.lang.Object contextId_ = ""; /** *
    -     * The context id of the message. This is optional and if set, the message
    -     * will be associated with the given context.
    +     * Optional. The context id of the message. If set, the message will be associated with the given context.
          * 
    * * string context_id = 2; @@ -1140,8 +1118,7 @@ public java.lang.String getContextId() { } /** *
    -     * The context id of the message. This is optional and if set, the message
    -     * will be associated with the given context.
    +     * Optional. The context id of the message. If set, the message will be associated with the given context.
          * 
    * * string context_id = 2; @@ -1162,8 +1139,7 @@ public java.lang.String getContextId() { } /** *
    -     * The context id of the message. This is optional and if set, the message
    -     * will be associated with the given context.
    +     * Optional. The context id of the message. If set, the message will be associated with the given context.
          * 
    * * string context_id = 2; @@ -1180,8 +1156,7 @@ public Builder setContextId( } /** *
    -     * The context id of the message. This is optional and if set, the message
    -     * will be associated with the given context.
    +     * Optional. The context id of the message. If set, the message will be associated with the given context.
          * 
    * * string context_id = 2; @@ -1195,8 +1170,7 @@ public Builder clearContextId() { } /** *
    -     * The context id of the message. This is optional and if set, the message
    -     * will be associated with the given context.
    +     * Optional. The context id of the message. If set, the message will be associated with the given context.
          * 
    * * string context_id = 2; @@ -1216,8 +1190,7 @@ public Builder setContextIdBytes( private java.lang.Object taskId_ = ""; /** *
    -     * The task id of the message. This is optional and if set, the message
    -     * will be associated with the given task.
    +     * Optional. The task id of the message. If set, the message will be associated with the given task.
          * 
    * * string task_id = 3; @@ -1237,8 +1210,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The task id of the message. This is optional and if set, the message
    -     * will be associated with the given task.
    +     * Optional. The task id of the message. If set, the message will be associated with the given task.
          * 
    * * string task_id = 3; @@ -1259,8 +1231,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The task id of the message. This is optional and if set, the message
    -     * will be associated with the given task.
    +     * Optional. The task id of the message. If set, the message will be associated with the given task.
          * 
    * * string task_id = 3; @@ -1277,8 +1248,7 @@ public Builder setTaskId( } /** *
    -     * The task id of the message. This is optional and if set, the message
    -     * will be associated with the given task.
    +     * Optional. The task id of the message. If set, the message will be associated with the given task.
          * 
    * * string task_id = 3; @@ -1292,8 +1262,7 @@ public Builder clearTaskId() { } /** *
    -     * The task id of the message. This is optional and if set, the message
    -     * will be associated with the given task.
    +     * Optional. The task id of the message. If set, the message will be associated with the given task.
          * 
    * * string task_id = 3; @@ -1316,7 +1285,7 @@ public Builder setTaskIdBytes( * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for role. */ @java.lang.Override public int getRoleValue() { @@ -1327,7 +1296,7 @@ public Builder setTaskIdBytes( * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for role to set. * @return This builder for chaining. */ @@ -1342,7 +1311,7 @@ public Builder setRoleValue(int value) { * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The role. */ @java.lang.Override @@ -1355,7 +1324,7 @@ public io.a2a.grpc.Role getRole() { * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @param value The role to set. * @return This builder for chaining. */ @@ -1371,7 +1340,7 @@ public Builder setRole(io.a2a.grpc.Role value) { * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearRole() { @@ -1395,11 +1364,10 @@ private void ensurePartsIsMutable() { /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsList() { if (partsBuilder_ == null) { @@ -1410,11 +1378,10 @@ public java.util.List getPartsList() { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public int getPartsCount() { if (partsBuilder_ == null) { @@ -1425,11 +1392,10 @@ public int getPartsCount() { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part getParts(int index) { if (partsBuilder_ == null) { @@ -1440,11 +1406,10 @@ public io.a2a.grpc.Part getParts(int index) { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setParts( int index, io.a2a.grpc.Part value) { @@ -1462,11 +1427,10 @@ public Builder setParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1481,11 +1445,10 @@ public Builder setParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts(io.a2a.grpc.Part value) { if (partsBuilder_ == null) { @@ -1502,11 +1465,10 @@ public Builder addParts(io.a2a.grpc.Part value) { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( int index, io.a2a.grpc.Part value) { @@ -1524,11 +1486,10 @@ public Builder addParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( io.a2a.grpc.Part.Builder builderForValue) { @@ -1543,11 +1504,10 @@ public Builder addParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1562,11 +1522,10 @@ public Builder addParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllParts( java.lang.Iterable values) { @@ -1582,11 +1541,10 @@ public Builder addAllParts( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearParts() { if (partsBuilder_ == null) { @@ -1600,11 +1558,10 @@ public Builder clearParts() { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeParts(int index) { if (partsBuilder_ == null) { @@ -1618,11 +1575,10 @@ public Builder removeParts(int index) { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder getPartsBuilder( int index) { @@ -1630,11 +1586,10 @@ public io.a2a.grpc.Part.Builder getPartsBuilder( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index) { @@ -1645,11 +1600,10 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsOrBuilderList() { @@ -1661,11 +1615,10 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder addPartsBuilder() { return internalGetPartsFieldBuilder().addBuilder( @@ -1673,11 +1626,10 @@ public io.a2a.grpc.Part.Builder addPartsBuilder() { } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Part.Builder addPartsBuilder( int index) { @@ -1686,11 +1638,10 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( } /** *
    -     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
          * Parts is the container of the message content.
          * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPartsBuilderList() { @@ -1716,8 +1667,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1728,8 +1678,7 @@ public boolean hasMetadata() { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1744,8 +1693,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1765,8 +1713,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1784,8 +1731,7 @@ public Builder setMetadata( } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1810,8 +1756,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1828,8 +1773,7 @@ public Builder clearMetadata() { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1841,8 +1785,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1857,8 +1800,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } /** *
    -     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -     * Any optional metadata to provide along with the message.
    +     * Optional. Any metadata to provide along with the message.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -2171,10 +2113,10 @@ public Builder addReferenceTaskIdsBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.Message) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.Message) } - // @@protoc_insertion_point(class_scope:a2a.v1.Message) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.Message) private static final io.a2a.grpc.Message DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.Message(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java index cfd7ea3ef..256f38fe4 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java @@ -7,13 +7,12 @@ @com.google.protobuf.Generated public interface MessageOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.Message) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.Message) com.google.protobuf.MessageOrBuilder { /** *
    -   * The unique identifier (e.g. UUID) of the message. This is required and
    -   * created by the message creator.
    +   * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
        * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -22,8 +21,7 @@ public interface MessageOrBuilder extends java.lang.String getMessageId(); /** *
    -   * The unique identifier (e.g. UUID) of the message. This is required and
    -   * created by the message creator.
    +   * The unique identifier (e.g. UUID) of the message. This is created by the message creator.
        * 
    * * string message_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -34,8 +32,7 @@ public interface MessageOrBuilder extends /** *
    -   * The context id of the message. This is optional and if set, the message
    -   * will be associated with the given context.
    +   * Optional. The context id of the message. If set, the message will be associated with the given context.
        * 
    * * string context_id = 2; @@ -44,8 +41,7 @@ public interface MessageOrBuilder extends java.lang.String getContextId(); /** *
    -   * The context id of the message. This is optional and if set, the message
    -   * will be associated with the given context.
    +   * Optional. The context id of the message. If set, the message will be associated with the given context.
        * 
    * * string context_id = 2; @@ -56,8 +52,7 @@ public interface MessageOrBuilder extends /** *
    -   * The task id of the message. This is optional and if set, the message
    -   * will be associated with the given task.
    +   * Optional. The task id of the message. If set, the message will be associated with the given task.
        * 
    * * string task_id = 3; @@ -66,8 +61,7 @@ public interface MessageOrBuilder extends java.lang.String getTaskId(); /** *
    -   * The task id of the message. This is optional and if set, the message
    -   * will be associated with the given task.
    +   * Optional. The task id of the message. If set, the message will be associated with the given task.
        * 
    * * string task_id = 3; @@ -81,7 +75,7 @@ public interface MessageOrBuilder extends * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for role. */ int getRoleValue(); @@ -90,64 +84,58 @@ public interface MessageOrBuilder extends * Identifies the sender of the message. * * - * .a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Role role = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The role. */ io.a2a.grpc.Role getRole(); /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getPartsList(); /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.Part getParts(int index); /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ int getPartsCount(); /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ java.util.List getPartsOrBuilderList(); /** *
    -   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
        * Parts is the container of the message content.
        * 
    * - * repeated .a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; + * repeated .lf.a2a.v1.Part parts = 5 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index); /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -156,8 +144,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( boolean hasMetadata(); /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -166,8 +153,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( com.google.protobuf.Struct getMetadata(); /** *
    -   * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
    -   * Any optional metadata to provide along with the message.
    +   * Optional. Any metadata to provide along with the message.
        * 
    * * .google.protobuf.Struct metadata = 6; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecurityScheme.java index b85fce3e4..66490ee33 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecurityScheme.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:MutualTLSSecurityScheme]
      * Defines a security scheme using mTLS authentication.
      * 
    * - * Protobuf type {@code a2a.v1.MutualTlsSecurityScheme} + * Protobuf type {@code lf.a2a.v1.MutualTlsSecurityScheme} */ @com.google.protobuf.Generated public final class MutualTlsSecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.MutualTlsSecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.MutualTlsSecurityScheme) MutualTlsSecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,13 +37,13 @@ private MutualTlsSecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_MutualTlsSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_MutualTlsSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.MutualTlsSecurityScheme.class, io.a2a.grpc.MutualTlsSecurityScheme.Builder.class); } @@ -254,25 +253,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:MutualTLSSecurityScheme]
        * Defines a security scheme using mTLS authentication.
        * 
    * - * Protobuf type {@code a2a.v1.MutualTlsSecurityScheme} + * Protobuf type {@code lf.a2a.v1.MutualTlsSecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.MutualTlsSecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.MutualTlsSecurityScheme) io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_MutualTlsSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_MutualTlsSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_MutualTlsSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.MutualTlsSecurityScheme.class, io.a2a.grpc.MutualTlsSecurityScheme.Builder.class); } @@ -298,7 +296,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_MutualTlsSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_MutualTlsSecurityScheme_descriptor; } @java.lang.Override @@ -487,10 +485,10 @@ public Builder setDescriptionBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.MutualTlsSecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.MutualTlsSecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.MutualTlsSecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.MutualTlsSecurityScheme) private static final io.a2a.grpc.MutualTlsSecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.MutualTlsSecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecuritySchemeOrBuilder.java index c5c606198..b16aa1add 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface MutualTlsSecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.MutualTlsSecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.MutualTlsSecurityScheme) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java index 6b3d725e8..144a99864 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:OAuth2SecurityScheme]
      * Defines a security scheme using OAuth 2.0.
      * 
    * - * Protobuf type {@code a2a.v1.OAuth2SecurityScheme} + * Protobuf type {@code lf.a2a.v1.OAuth2SecurityScheme} */ @com.google.protobuf.Generated public final class OAuth2SecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.OAuth2SecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.OAuth2SecurityScheme) OAuth2SecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private OAuth2SecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuth2SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuth2SecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OAuth2SecurityScheme.class, io.a2a.grpc.OAuth2SecurityScheme.Builder.class); } @@ -105,7 +104,7 @@ public java.lang.String getDescription() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the flows field is set. */ @java.lang.Override @@ -117,7 +116,7 @@ public boolean hasFlows() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The flows. */ @java.lang.Override @@ -129,7 +128,7 @@ public io.a2a.grpc.OAuthFlows getFlows() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { @@ -141,8 +140,8 @@ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { private volatile java.lang.Object oauth2MetadataUrl_ = ""; /** *
    -   * URL to the oauth2 authorization server metadata
    -   * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +   * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +   * TLS is required.
        * 
    * * string oauth2_metadata_url = 3; @@ -163,8 +162,8 @@ public java.lang.String getOauth2MetadataUrl() { } /** *
    -   * URL to the oauth2 authorization server metadata
    -   * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +   * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +   * TLS is required.
        * 
    * * string oauth2_metadata_url = 3; @@ -369,25 +368,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:OAuth2SecurityScheme]
        * Defines a security scheme using OAuth 2.0.
        * 
    * - * Protobuf type {@code a2a.v1.OAuth2SecurityScheme} + * Protobuf type {@code lf.a2a.v1.OAuth2SecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.OAuth2SecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.OAuth2SecurityScheme) io.a2a.grpc.OAuth2SecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuth2SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuth2SecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuth2SecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OAuth2SecurityScheme.class, io.a2a.grpc.OAuth2SecurityScheme.Builder.class); } @@ -425,7 +423,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuth2SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuth2SecurityScheme_descriptor; } @java.lang.Override @@ -653,7 +651,7 @@ public Builder setDescriptionBytes( * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the flows field is set. */ public boolean hasFlows() { @@ -664,7 +662,7 @@ public boolean hasFlows() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The flows. */ public io.a2a.grpc.OAuthFlows getFlows() { @@ -679,7 +677,7 @@ public io.a2a.grpc.OAuthFlows getFlows() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFlows(io.a2a.grpc.OAuthFlows value) { if (flowsBuilder_ == null) { @@ -699,7 +697,7 @@ public Builder setFlows(io.a2a.grpc.OAuthFlows value) { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setFlows( io.a2a.grpc.OAuthFlows.Builder builderForValue) { @@ -717,7 +715,7 @@ public Builder setFlows( * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeFlows(io.a2a.grpc.OAuthFlows value) { if (flowsBuilder_ == null) { @@ -742,7 +740,7 @@ public Builder mergeFlows(io.a2a.grpc.OAuthFlows value) { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearFlows() { bitField0_ = (bitField0_ & ~0x00000002); @@ -759,7 +757,7 @@ public Builder clearFlows() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.OAuthFlows.Builder getFlowsBuilder() { bitField0_ |= 0x00000002; @@ -771,7 +769,7 @@ public io.a2a.grpc.OAuthFlows.Builder getFlowsBuilder() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { if (flowsBuilder_ != null) { @@ -786,7 +784,7 @@ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OAuthFlows, io.a2a.grpc.OAuthFlows.Builder, io.a2a.grpc.OAuthFlowsOrBuilder> @@ -805,8 +803,8 @@ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { private java.lang.Object oauth2MetadataUrl_ = ""; /** *
    -     * URL to the oauth2 authorization server metadata
    -     * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +     * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +     * TLS is required.
          * 
    * * string oauth2_metadata_url = 3; @@ -826,8 +824,8 @@ public java.lang.String getOauth2MetadataUrl() { } /** *
    -     * URL to the oauth2 authorization server metadata
    -     * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +     * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +     * TLS is required.
          * 
    * * string oauth2_metadata_url = 3; @@ -848,8 +846,8 @@ public java.lang.String getOauth2MetadataUrl() { } /** *
    -     * URL to the oauth2 authorization server metadata
    -     * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +     * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +     * TLS is required.
          * 
    * * string oauth2_metadata_url = 3; @@ -866,8 +864,8 @@ public Builder setOauth2MetadataUrl( } /** *
    -     * URL to the oauth2 authorization server metadata
    -     * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +     * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +     * TLS is required.
          * 
    * * string oauth2_metadata_url = 3; @@ -881,8 +879,8 @@ public Builder clearOauth2MetadataUrl() { } /** *
    -     * URL to the oauth2 authorization server metadata
    -     * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +     * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +     * TLS is required.
          * 
    * * string oauth2_metadata_url = 3; @@ -899,10 +897,10 @@ public Builder setOauth2MetadataUrlBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.OAuth2SecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.OAuth2SecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.OAuth2SecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.OAuth2SecurityScheme) private static final io.a2a.grpc.OAuth2SecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.OAuth2SecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java index 52b49d1c3..1eb612bb1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface OAuth2SecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.OAuth2SecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.OAuth2SecurityScheme) com.google.protobuf.MessageOrBuilder { /** @@ -35,7 +35,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the flows field is set. */ boolean hasFlows(); @@ -44,7 +44,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The flows. */ io.a2a.grpc.OAuthFlows getFlows(); @@ -53,14 +53,14 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the supported OAuth 2.0 flows. * * - * .a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.OAuthFlows flows = 2 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder(); /** *
    -   * URL to the oauth2 authorization server metadata
    -   * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +   * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +   * TLS is required.
        * 
    * * string oauth2_metadata_url = 3; @@ -69,8 +69,8 @@ public interface OAuth2SecuritySchemeOrBuilder extends java.lang.String getOauth2MetadataUrl(); /** *
    -   * URL to the oauth2 authorization server metadata
    -   * RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required.
    +   * URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414).
    +   * TLS is required.
        * 
    * * string oauth2_metadata_url = 3; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java index 8b1a661f7..ab013c822 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:OAuthFlows]
      * Defines the configuration for the supported OAuth 2.0 flows.
      * 
    * - * Protobuf type {@code a2a.v1.OAuthFlows} + * Protobuf type {@code lf.a2a.v1.OAuthFlows} */ @com.google.protobuf.Generated public final class OAuthFlows extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.OAuthFlows) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.OAuthFlows) OAuthFlowsOrBuilder { private static final long serialVersionUID = 0L; static { @@ -37,13 +36,13 @@ private OAuthFlows() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuthFlows_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuthFlows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuthFlows_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuthFlows_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OAuthFlows.class, io.a2a.grpc.OAuthFlows.Builder.class); } @@ -102,7 +101,7 @@ public int getNumber() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -114,7 +113,7 @@ public boolean hasAuthorizationCode() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ @java.lang.Override @@ -129,7 +128,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ @java.lang.Override public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder() { @@ -145,7 +144,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ @java.lang.Override @@ -157,7 +156,7 @@ public boolean hasClientCredentials() { * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ @java.lang.Override @@ -172,7 +171,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials() { * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ @java.lang.Override public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder() { @@ -184,9 +183,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui public static final int IMPLICIT_FIELD_NUMBER = 3; /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return Whether the implicit field is set. */ @java.lang.Override @@ -194,9 +197,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return flowCase_ == 3; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return The implicit. */ @java.lang.Override @@ -207,7 +214,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return io.a2a.grpc.ImplicitOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { @@ -219,9 +230,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui public static final int PASSWORD_FIELD_NUMBER = 4; /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return Whether the password field is set. */ @java.lang.Override @@ -229,9 +244,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return flowCase_ == 4; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return The password. */ @java.lang.Override @@ -242,7 +261,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return io.a2a.grpc.PasswordOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder() { @@ -258,7 +281,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return Whether the deviceCode field is set. */ @java.lang.Override @@ -270,7 +293,7 @@ public boolean hasDeviceCode() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return The deviceCode. */ @java.lang.Override @@ -285,7 +308,7 @@ public io.a2a.grpc.DeviceCodeOAuthFlow getDeviceCode() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ @java.lang.Override public io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder() { @@ -527,25 +550,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:OAuthFlows]
        * Defines the configuration for the supported OAuth 2.0 flows.
        * 
    * - * Protobuf type {@code a2a.v1.OAuthFlows} + * Protobuf type {@code lf.a2a.v1.OAuthFlows} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.OAuthFlows) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.OAuthFlows) io.a2a.grpc.OAuthFlowsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuthFlows_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuthFlows_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuthFlows_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuthFlows_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OAuthFlows.class, io.a2a.grpc.OAuthFlows.Builder.class); } @@ -587,7 +609,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OAuthFlows_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OAuthFlows_descriptor; } @java.lang.Override @@ -779,7 +801,7 @@ public Builder clearFlow() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -791,7 +813,7 @@ public boolean hasAuthorizationCode() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ @java.lang.Override @@ -813,7 +835,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder setAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value) { if (authorizationCodeBuilder_ == null) { @@ -833,7 +855,7 @@ public Builder setAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder setAuthorizationCode( io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder builderForValue) { @@ -851,7 +873,7 @@ public Builder setAuthorizationCode( * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder mergeAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value) { if (authorizationCodeBuilder_ == null) { @@ -878,7 +900,7 @@ public Builder mergeAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow val * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder clearAuthorizationCode() { if (authorizationCodeBuilder_ == null) { @@ -901,7 +923,7 @@ public Builder clearAuthorizationCode() { * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder getAuthorizationCodeBuilder() { return internalGetAuthorizationCodeFieldBuilder().getBuilder(); @@ -911,7 +933,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder getAuthorizationCodeBuilde * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ @java.lang.Override public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder() { @@ -929,7 +951,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AuthorizationCodeOAuthFlow, io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder, io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder> @@ -957,7 +979,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ @java.lang.Override @@ -969,7 +991,7 @@ public boolean hasClientCredentials() { * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ @java.lang.Override @@ -991,7 +1013,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials() { * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder setClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value) { if (clientCredentialsBuilder_ == null) { @@ -1011,7 +1033,7 @@ public Builder setClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder setClientCredentials( io.a2a.grpc.ClientCredentialsOAuthFlow.Builder builderForValue) { @@ -1029,7 +1051,7 @@ public Builder setClientCredentials( * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder mergeClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value) { if (clientCredentialsBuilder_ == null) { @@ -1056,7 +1078,7 @@ public Builder mergeClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow val * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder clearClientCredentials() { if (clientCredentialsBuilder_ == null) { @@ -1079,7 +1101,7 @@ public Builder clearClientCredentials() { * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public io.a2a.grpc.ClientCredentialsOAuthFlow.Builder getClientCredentialsBuilder() { return internalGetClientCredentialsFieldBuilder().getBuilder(); @@ -1089,7 +1111,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlow.Builder getClientCredentialsBuilde * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ @java.lang.Override public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder() { @@ -1107,7 +1129,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ClientCredentialsOAuthFlow, io.a2a.grpc.ClientCredentialsOAuthFlow.Builder, io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder> @@ -1131,9 +1153,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ImplicitOAuthFlow, io.a2a.grpc.ImplicitOAuthFlow.Builder, io.a2a.grpc.ImplicitOAuthFlowOrBuilder> implicitBuilder_; /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return Whether the implicit field is set. */ @java.lang.Override @@ -1141,9 +1167,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return flowCase_ == 3; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return The implicit. */ @java.lang.Override @@ -1161,7 +1191,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui } } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { if (implicitBuilder_ == null) { @@ -1177,7 +1211,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder setImplicit( io.a2a.grpc.ImplicitOAuthFlow.Builder builderForValue) { @@ -1191,7 +1229,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { if (implicitBuilder_ == null) { @@ -1214,7 +1256,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated public Builder clearImplicit() { if (implicitBuilder_ == null) { @@ -1233,13 +1279,21 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated public io.a2a.grpc.ImplicitOAuthFlow.Builder getImplicitBuilder() { return internalGetImplicitFieldBuilder().getBuilder(); } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { @@ -1253,7 +1307,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui } } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE instead.
    +     * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ImplicitOAuthFlow, io.a2a.grpc.ImplicitOAuthFlow.Builder, io.a2a.grpc.ImplicitOAuthFlowOrBuilder> @@ -1277,9 +1335,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PasswordOAuthFlow, io.a2a.grpc.PasswordOAuthFlow.Builder, io.a2a.grpc.PasswordOAuthFlowOrBuilder> passwordBuilder_; /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return Whether the password field is set. */ @java.lang.Override @@ -1287,9 +1349,13 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return flowCase_ == 4; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return The password. */ @java.lang.Override @@ -1307,7 +1373,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui } } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setPassword(io.a2a.grpc.PasswordOAuthFlow value) { if (passwordBuilder_ == null) { @@ -1323,7 +1393,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder setPassword( io.a2a.grpc.PasswordOAuthFlow.Builder builderForValue) { @@ -1337,7 +1411,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder mergePassword(io.a2a.grpc.PasswordOAuthFlow value) { if (passwordBuilder_ == null) { @@ -1360,7 +1438,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated public Builder clearPassword() { if (passwordBuilder_ == null) { @@ -1379,13 +1461,21 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated public io.a2a.grpc.PasswordOAuthFlow.Builder getPasswordBuilder() { return internalGetPasswordFieldBuilder().getBuilder(); } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder() { @@ -1399,7 +1489,11 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui } } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +     * Deprecated: Use Authorization Code + PKCE or Device Code.
    +     * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PasswordOAuthFlow, io.a2a.grpc.PasswordOAuthFlow.Builder, io.a2a.grpc.PasswordOAuthFlowOrBuilder> @@ -1427,7 +1521,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return Whether the deviceCode field is set. */ @java.lang.Override @@ -1439,7 +1533,7 @@ public boolean hasDeviceCode() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return The deviceCode. */ @java.lang.Override @@ -1461,7 +1555,7 @@ public io.a2a.grpc.DeviceCodeOAuthFlow getDeviceCode() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ public Builder setDeviceCode(io.a2a.grpc.DeviceCodeOAuthFlow value) { if (deviceCodeBuilder_ == null) { @@ -1481,7 +1575,7 @@ public Builder setDeviceCode(io.a2a.grpc.DeviceCodeOAuthFlow value) { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ public Builder setDeviceCode( io.a2a.grpc.DeviceCodeOAuthFlow.Builder builderForValue) { @@ -1499,7 +1593,7 @@ public Builder setDeviceCode( * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ public Builder mergeDeviceCode(io.a2a.grpc.DeviceCodeOAuthFlow value) { if (deviceCodeBuilder_ == null) { @@ -1526,7 +1620,7 @@ public Builder mergeDeviceCode(io.a2a.grpc.DeviceCodeOAuthFlow value) { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ public Builder clearDeviceCode() { if (deviceCodeBuilder_ == null) { @@ -1549,7 +1643,7 @@ public Builder clearDeviceCode() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ public io.a2a.grpc.DeviceCodeOAuthFlow.Builder getDeviceCodeBuilder() { return internalGetDeviceCodeFieldBuilder().getBuilder(); @@ -1559,7 +1653,7 @@ public io.a2a.grpc.DeviceCodeOAuthFlow.Builder getDeviceCodeBuilder() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ @java.lang.Override public io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder() { @@ -1577,7 +1671,7 @@ public io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder() { * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.DeviceCodeOAuthFlow, io.a2a.grpc.DeviceCodeOAuthFlow.Builder, io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder> @@ -1598,10 +1692,10 @@ public io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder() { return deviceCodeBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.OAuthFlows) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.OAuthFlows) } - // @@protoc_insertion_point(class_scope:a2a.v1.OAuthFlows) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.OAuthFlows) private static final io.a2a.grpc.OAuthFlows DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.OAuthFlows(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java index 1debd6d12..b4c4a30fc 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface OAuthFlowsOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.OAuthFlows) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.OAuthFlows) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); @@ -24,7 +24,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode(); @@ -33,7 +33,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Authorization Code flow. * * - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; + * .lf.a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder(); @@ -42,7 +42,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ boolean hasClientCredentials(); @@ -51,7 +51,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials(); @@ -60,45 +60,69 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Client Credentials flow. * * - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; + * .lf.a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return Whether the implicit field is set. */ @java.lang.Deprecated boolean hasImplicit(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.implicit is deprecated. - * See a2a.proto;l=633 + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.implicit is deprecated. + * See a2a.proto;l=570 * @return The implicit. */ @java.lang.Deprecated io.a2a.grpc.ImplicitOAuthFlow getImplicit(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; + *
    +   * Deprecated: Use Authorization Code + PKCE instead.
    +   * 
    + * + * .lf.a2a.v1.ImplicitOAuthFlow implicit = 3 [deprecated = true]; */ @java.lang.Deprecated io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return Whether the password field is set. */ @java.lang.Deprecated boolean hasPassword(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; - * @deprecated a2a.v1.OAuthFlows.password is deprecated. - * See a2a.proto;l=634 + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + * @deprecated lf.a2a.v1.OAuthFlows.password is deprecated. + * See a2a.proto;l=572 * @return The password. */ @java.lang.Deprecated io.a2a.grpc.PasswordOAuthFlow getPassword(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; + *
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
    +   * 
    + * + * .lf.a2a.v1.PasswordOAuthFlow password = 4 [deprecated = true]; */ @java.lang.Deprecated io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder(); @@ -107,7 +131,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return Whether the deviceCode field is set. */ boolean hasDeviceCode(); @@ -116,7 +140,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; * @return The deviceCode. */ io.a2a.grpc.DeviceCodeOAuthFlow getDeviceCode(); @@ -125,7 +149,7 @@ public interface OAuthFlowsOrBuilder extends * Configuration for the OAuth Device Code flow. * * - * .a2a.v1.DeviceCodeOAuthFlow device_code = 5; + * .lf.a2a.v1.DeviceCodeOAuthFlow device_code = 5; */ io.a2a.grpc.DeviceCodeOAuthFlowOrBuilder getDeviceCodeOrBuilder(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java index 001ea51e8..d0b2eb580 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:OpenIdConnectSecurityScheme]
      * Defines a security scheme using OpenID Connect.
      * 
    * - * Protobuf type {@code a2a.v1.OpenIdConnectSecurityScheme} + * Protobuf type {@code lf.a2a.v1.OpenIdConnectSecurityScheme} */ @com.google.protobuf.Generated public final class OpenIdConnectSecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.OpenIdConnectSecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.OpenIdConnectSecurityScheme) OpenIdConnectSecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private OpenIdConnectSecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OpenIdConnectSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OpenIdConnectSecurityScheme.class, io.a2a.grpc.OpenIdConnectSecurityScheme.Builder.class); } @@ -102,8 +101,7 @@ public java.lang.String getDescription() { private volatile java.lang.Object openIdConnectUrl_ = ""; /** *
    -   * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -   * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +   * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
        * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -124,8 +122,7 @@ public java.lang.String getOpenIdConnectUrl() { } /** *
    -   * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -   * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +   * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
        * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -314,25 +311,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:OpenIdConnectSecurityScheme]
        * Defines a security scheme using OpenID Connect.
        * 
    * - * Protobuf type {@code a2a.v1.OpenIdConnectSecurityScheme} + * Protobuf type {@code lf.a2a.v1.OpenIdConnectSecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.OpenIdConnectSecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.OpenIdConnectSecurityScheme) io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OpenIdConnectSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.OpenIdConnectSecurityScheme.class, io.a2a.grpc.OpenIdConnectSecurityScheme.Builder.class); } @@ -359,7 +355,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_OpenIdConnectSecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_OpenIdConnectSecurityScheme_descriptor; } @java.lang.Override @@ -564,8 +560,7 @@ public Builder setDescriptionBytes( private java.lang.Object openIdConnectUrl_ = ""; /** *
    -     * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -     * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +     * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
          * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -585,8 +580,7 @@ public java.lang.String getOpenIdConnectUrl() { } /** *
    -     * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -     * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +     * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
          * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -607,8 +601,7 @@ public java.lang.String getOpenIdConnectUrl() { } /** *
    -     * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -     * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +     * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
          * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -625,8 +618,7 @@ public Builder setOpenIdConnectUrl( } /** *
    -     * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -     * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +     * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
          * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -640,8 +632,7 @@ public Builder clearOpenIdConnectUrl() { } /** *
    -     * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -     * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +     * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
          * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -658,10 +649,10 @@ public Builder setOpenIdConnectUrlBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.OpenIdConnectSecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.OpenIdConnectSecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.OpenIdConnectSecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.OpenIdConnectSecurityScheme) private static final io.a2a.grpc.OpenIdConnectSecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.OpenIdConnectSecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java index d51225f03..3887a6d38 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface OpenIdConnectSecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.OpenIdConnectSecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.OpenIdConnectSecurityScheme) com.google.protobuf.MessageOrBuilder { /** @@ -32,8 +32,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends /** *
    -   * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -   * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +   * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
        * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -42,8 +41,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends java.lang.String getOpenIdConnectUrl(); /** *
    -   * The OpenID Connect Discovery URL for the OIDC provider's metadata.
    -   * See: https://openid.net/specs/openid-connect-discovery-1_0.html
    +   * The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata.
        * 
    * * string open_id_connect_url = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Part.java b/spec-grpc/src/main/java/io/a2a/grpc/Part.java index 879380c96..46f10d95c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Part.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Part.java @@ -7,18 +7,17 @@ /** *
    - * --8<-- [start:Part]
    - * Part represents a container for a section of communication content.
    + * `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).
      * 
    * - * Protobuf type {@code a2a.v1.Part} + * Protobuf type {@code lf.a2a.v1.Part} */ @com.google.protobuf.Generated public final class Part extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.Part) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.Part) PartOrBuilder { private static final long serialVersionUID = 0L; static { @@ -41,13 +40,13 @@ private Part() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Part_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Part_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Part_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Part_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Part.class, io.a2a.grpc.Part.Builder.class); } @@ -102,7 +101,7 @@ public int getNumber() { public static final int TEXT_FIELD_NUMBER = 1; /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -113,7 +112,7 @@ public boolean hasText() { } /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -138,7 +137,7 @@ public java.lang.String getText() { } /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -166,7 +165,7 @@ public java.lang.String getText() { public static final int RAW_FIELD_NUMBER = 2; /** *
    -   * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +   * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
        * 
    * * bytes raw = 2; @@ -178,7 +177,7 @@ public boolean hasRaw() { } /** *
    -   * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +   * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
        * 
    * * bytes raw = 2; @@ -195,7 +194,7 @@ public com.google.protobuf.ByteString getRaw() { public static final int URL_FIELD_NUMBER = 3; /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -206,7 +205,7 @@ public boolean hasUrl() { } /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -231,7 +230,7 @@ public java.lang.String getUrl() { } /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -259,7 +258,7 @@ public java.lang.String getUrl() { public static final int DATA_FIELD_NUMBER = 4; /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -271,7 +270,7 @@ public boolean hasData() { } /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -286,7 +285,7 @@ public com.google.protobuf.Value getData() { } /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -303,7 +302,7 @@ public com.google.protobuf.ValueOrBuilder getDataOrBuilder() { private com.google.protobuf.Struct metadata_; /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -315,7 +314,7 @@ public boolean hasMetadata() { } /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -327,7 +326,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -342,7 +341,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { private volatile java.lang.Object filename_ = ""; /** *
    -   * An optional name for the file (e.g., "document.pdf").
    +   * An optional `filename` for the file (e.g., "document.pdf").
        * 
    * * string filename = 6; @@ -363,7 +362,7 @@ public java.lang.String getFilename() { } /** *
    -   * An optional name for the file (e.g., "document.pdf").
    +   * An optional `filename` for the file (e.g., "document.pdf").
        * 
    * * string filename = 6; @@ -389,7 +388,7 @@ public java.lang.String getFilename() { private volatile java.lang.Object mediaType_ = ""; /** *
    -   * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +   * 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.
        * 
    * @@ -411,7 +410,7 @@ public java.lang.String getMediaType() { } /** *
    -   * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +   * 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.
        * 
    * @@ -686,27 +685,26 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:Part]
    -   * Part represents a container for a section of communication content.
    +   * `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).
        * 
    * - * Protobuf type {@code a2a.v1.Part} + * Protobuf type {@code lf.a2a.v1.Part} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.Part) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.Part) io.a2a.grpc.PartOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Part_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Part_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Part_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Part_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Part.class, io.a2a.grpc.Part.Builder.class); } @@ -749,7 +747,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Part_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Part_descriptor; } @java.lang.Override @@ -953,7 +951,7 @@ public Builder clearContent() { /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -965,7 +963,7 @@ public boolean hasText() { } /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -991,7 +989,7 @@ public java.lang.String getText() { } /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -1018,7 +1016,7 @@ public java.lang.String getText() { } /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -1035,7 +1033,7 @@ public Builder setText( } /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -1051,7 +1049,7 @@ public Builder clearText() { } /** *
    -     * The string content of the text part.
    +     * The string content of the `text` part.
          * 
    * * string text = 1; @@ -1070,7 +1068,7 @@ public Builder setTextBytes( /** *
    -     * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +     * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
          * 
    * * bytes raw = 2; @@ -1081,7 +1079,7 @@ public boolean hasRaw() { } /** *
    -     * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +     * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
          * 
    * * bytes raw = 2; @@ -1095,7 +1093,7 @@ public com.google.protobuf.ByteString getRaw() { } /** *
    -     * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +     * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
          * 
    * * bytes raw = 2; @@ -1111,7 +1109,7 @@ public Builder setRaw(com.google.protobuf.ByteString value) { } /** *
    -     * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +     * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
          * 
    * * bytes raw = 2; @@ -1128,7 +1126,7 @@ public Builder clearRaw() { /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1140,7 +1138,7 @@ public boolean hasUrl() { } /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1166,7 +1164,7 @@ public java.lang.String getUrl() { } /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1193,7 +1191,7 @@ public java.lang.String getUrl() { } /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1210,7 +1208,7 @@ public Builder setUrl( } /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1226,7 +1224,7 @@ public Builder clearUrl() { } /** *
    -     * A URL pointing to the file's content.
    +     * A `url` pointing to the file's content.
          * 
    * * string url = 3; @@ -1247,7 +1245,7 @@ public Builder setUrlBytes( com.google.protobuf.Value, com.google.protobuf.Value.Builder, com.google.protobuf.ValueOrBuilder> dataBuilder_; /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1259,7 +1257,7 @@ public boolean hasData() { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1281,7 +1279,7 @@ public com.google.protobuf.Value getData() { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1301,7 +1299,7 @@ public Builder setData(com.google.protobuf.Value value) { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1319,7 +1317,7 @@ public Builder setData( } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1346,7 +1344,7 @@ public Builder mergeData(com.google.protobuf.Value value) { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1369,7 +1367,7 @@ public Builder clearData() { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1379,7 +1377,7 @@ public com.google.protobuf.Value.Builder getDataBuilder() { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1397,7 +1395,7 @@ public com.google.protobuf.ValueOrBuilder getDataOrBuilder() { } /** *
    -     * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +     * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
          * 
    * * .google.protobuf.Value data = 4; @@ -1426,7 +1424,7 @@ public com.google.protobuf.ValueOrBuilder getDataOrBuilder() { com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1437,7 +1435,7 @@ public boolean hasMetadata() { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1452,7 +1450,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1472,7 +1470,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1490,7 +1488,7 @@ public Builder setMetadata( } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1515,7 +1513,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1532,7 +1530,7 @@ public Builder clearMetadata() { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1544,7 +1542,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1559,7 +1557,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } /** *
    -     * Optional metadata associated with this part.
    +     * Optional. metadata associated with this part.
          * 
    * * .google.protobuf.Struct metadata = 5; @@ -1581,7 +1579,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { private java.lang.Object filename_ = ""; /** *
    -     * An optional name for the file (e.g., "document.pdf").
    +     * An optional `filename` for the file (e.g., "document.pdf").
          * 
    * * string filename = 6; @@ -1601,7 +1599,7 @@ public java.lang.String getFilename() { } /** *
    -     * An optional name for the file (e.g., "document.pdf").
    +     * An optional `filename` for the file (e.g., "document.pdf").
          * 
    * * string filename = 6; @@ -1622,7 +1620,7 @@ public java.lang.String getFilename() { } /** *
    -     * An optional name for the file (e.g., "document.pdf").
    +     * An optional `filename` for the file (e.g., "document.pdf").
          * 
    * * string filename = 6; @@ -1639,7 +1637,7 @@ public Builder setFilename( } /** *
    -     * An optional name for the file (e.g., "document.pdf").
    +     * An optional `filename` for the file (e.g., "document.pdf").
          * 
    * * string filename = 6; @@ -1653,7 +1651,7 @@ public Builder clearFilename() { } /** *
    -     * An optional name for the file (e.g., "document.pdf").
    +     * An optional `filename` for the file (e.g., "document.pdf").
          * 
    * * string filename = 6; @@ -1673,7 +1671,7 @@ public Builder setFilenameBytes( private java.lang.Object mediaType_ = ""; /** *
    -     * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +     * 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.
          * 
    * @@ -1694,7 +1692,7 @@ public java.lang.String getMediaType() { } /** *
    -     * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +     * 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.
          * 
    * @@ -1716,7 +1714,7 @@ public java.lang.String getMediaType() { } /** *
    -     * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +     * 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.
          * 
    * @@ -1734,7 +1732,7 @@ public Builder setMediaType( } /** *
    -     * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +     * 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.
          * 
    * @@ -1749,7 +1747,7 @@ public Builder clearMediaType() { } /** *
    -     * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +     * 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.
          * 
    * @@ -1767,10 +1765,10 @@ public Builder setMediaTypeBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.Part) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.Part) } - // @@protoc_insertion_point(class_scope:a2a.v1.Part) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.Part) private static final io.a2a.grpc.Part DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.Part(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java index 0216594f2..1ac1a1c9b 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java @@ -7,12 +7,12 @@ @com.google.protobuf.Generated public interface PartOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.Part) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.Part) com.google.protobuf.MessageOrBuilder { /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -21,7 +21,7 @@ public interface PartOrBuilder extends boolean hasText(); /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -30,7 +30,7 @@ public interface PartOrBuilder extends java.lang.String getText(); /** *
    -   * The string content of the text part.
    +   * The string content of the `text` part.
        * 
    * * string text = 1; @@ -41,7 +41,7 @@ public interface PartOrBuilder extends /** *
    -   * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +   * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
        * 
    * * bytes raw = 2; @@ -50,7 +50,7 @@ public interface PartOrBuilder extends boolean hasRaw(); /** *
    -   * The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
    +   * The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string.
        * 
    * * bytes raw = 2; @@ -60,7 +60,7 @@ public interface PartOrBuilder extends /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -69,7 +69,7 @@ public interface PartOrBuilder extends boolean hasUrl(); /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -78,7 +78,7 @@ public interface PartOrBuilder extends java.lang.String getUrl(); /** *
    -   * A URL pointing to the file's content.
    +   * A `url` pointing to the file's content.
        * 
    * * string url = 3; @@ -89,7 +89,7 @@ public interface PartOrBuilder extends /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -98,7 +98,7 @@ public interface PartOrBuilder extends boolean hasData(); /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -107,7 +107,7 @@ public interface PartOrBuilder extends com.google.protobuf.Value getData(); /** *
    -   * Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
    +   * Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null).
        * 
    * * .google.protobuf.Value data = 4; @@ -116,7 +116,7 @@ public interface PartOrBuilder extends /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -125,7 +125,7 @@ public interface PartOrBuilder extends boolean hasMetadata(); /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -134,7 +134,7 @@ public interface PartOrBuilder extends com.google.protobuf.Struct getMetadata(); /** *
    -   * Optional metadata associated with this part.
    +   * Optional. metadata associated with this part.
        * 
    * * .google.protobuf.Struct metadata = 5; @@ -143,7 +143,7 @@ public interface PartOrBuilder extends /** *
    -   * An optional name for the file (e.g., "document.pdf").
    +   * An optional `filename` for the file (e.g., "document.pdf").
        * 
    * * string filename = 6; @@ -152,7 +152,7 @@ public interface PartOrBuilder extends java.lang.String getFilename(); /** *
    -   * An optional name for the file (e.g., "document.pdf").
    +   * An optional `filename` for the file (e.g., "document.pdf").
        * 
    * * string filename = 6; @@ -163,7 +163,7 @@ public interface PartOrBuilder extends /** *
    -   * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +   * 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.
        * 
    * @@ -173,7 +173,7 @@ public interface PartOrBuilder extends java.lang.String getMediaType(); /** *
    -   * The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png").
    +   * 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.
        * 
    * diff --git a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java index 50f6032bb..df4abb7a3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java @@ -7,15 +7,15 @@ /** *
    - * DEPRECATED
    + * Deprecated: Use Authorization Code + PKCE or Device Code.
      * 
    * - * Protobuf type {@code a2a.v1.PasswordOAuthFlow} + * Protobuf type {@code lf.a2a.v1.PasswordOAuthFlow} */ @com.google.protobuf.Generated public final class PasswordOAuthFlow extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.PasswordOAuthFlow) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.PasswordOAuthFlow) PasswordOAuthFlowOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,7 +38,7 @@ private PasswordOAuthFlow() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -56,7 +56,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.PasswordOAuthFlow.class, io.a2a.grpc.PasswordOAuthFlow.Builder.class); } @@ -165,7 +165,7 @@ private static final class ScopesDefaultEntryHolder { java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_ScopesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, @@ -448,18 +448,18 @@ protected Builder newBuilderForType( } /** *
    -   * DEPRECATED
    +   * Deprecated: Use Authorization Code + PKCE or Device Code.
        * 
    * - * Protobuf type {@code a2a.v1.PasswordOAuthFlow} + * Protobuf type {@code lf.a2a.v1.PasswordOAuthFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.PasswordOAuthFlow) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.PasswordOAuthFlow) io.a2a.grpc.PasswordOAuthFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -487,7 +487,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.PasswordOAuthFlow.class, io.a2a.grpc.PasswordOAuthFlow.Builder.class); } @@ -515,7 +515,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PasswordOAuthFlow_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PasswordOAuthFlow_descriptor; } @java.lang.Override @@ -997,10 +997,10 @@ public Builder putAllScopes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.PasswordOAuthFlow) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.PasswordOAuthFlow) } - // @@protoc_insertion_point(class_scope:a2a.v1.PasswordOAuthFlow) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.PasswordOAuthFlow) private static final io.a2a.grpc.PasswordOAuthFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.PasswordOAuthFlow(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java index d319dd1e7..0eab9e995 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface PasswordOAuthFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.PasswordOAuthFlow) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.PasswordOAuthFlow) com.google.protobuf.MessageOrBuilder { /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java index 5c23d23ba..e5a4960a4 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:PushNotificationConfig]
      * Configuration for setting up push notifications for task updates.
      * 
    * - * Protobuf type {@code a2a.v1.PushNotificationConfig} + * Protobuf type {@code lf.a2a.v1.PushNotificationConfig} */ @com.google.protobuf.Generated public final class PushNotificationConfig extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.PushNotificationConfig) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.PushNotificationConfig) PushNotificationConfigOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +39,13 @@ private PushNotificationConfig() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PushNotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PushNotificationConfig_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PushNotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.PushNotificationConfig.class, io.a2a.grpc.PushNotificationConfig.Builder.class); } @@ -57,7 +56,7 @@ private PushNotificationConfig() { private volatile java.lang.Object id_ = ""; /** *
    -   * A unique identifier (e.g. UUID) for this push notification.
    +   * A unique identifier (e.g. UUID) for this push notification configuration.
        * 
    * * string id = 1; @@ -78,7 +77,7 @@ public java.lang.String getId() { } /** *
    -   * A unique identifier (e.g. UUID) for this push notification.
    +   * A unique identifier (e.g. UUID) for this push notification configuration.
        * 
    * * string id = 1; @@ -104,7 +103,7 @@ public java.lang.String getId() { private volatile java.lang.Object url_ = ""; /** *
    -   * Url to send the notification too
    +   * The URL where the notification should be sent.
        * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -125,7 +124,7 @@ public java.lang.String getUrl() { } /** *
    -   * Url to send the notification too
    +   * The URL where the notification should be sent.
        * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -151,7 +150,7 @@ public java.lang.String getUrl() { private volatile java.lang.Object token_ = ""; /** *
    -   * Token unique for this task/session
    +   * A token unique for this task or session.
        * 
    * * string token = 3; @@ -172,7 +171,7 @@ public java.lang.String getToken() { } /** *
    -   * Token unique for this task/session
    +   * A token unique for this task or session.
        * 
    * * string token = 3; @@ -197,10 +196,10 @@ public java.lang.String getToken() { private io.a2a.grpc.AuthenticationInfo authentication_; /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ @java.lang.Override @@ -209,10 +208,10 @@ public boolean hasAuthentication() { } /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ @java.lang.Override @@ -221,10 +220,10 @@ public io.a2a.grpc.AuthenticationInfo getAuthentication() { } /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ @java.lang.Override public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { @@ -425,25 +424,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:PushNotificationConfig]
        * Configuration for setting up push notifications for task updates.
        * 
    * - * Protobuf type {@code a2a.v1.PushNotificationConfig} + * Protobuf type {@code lf.a2a.v1.PushNotificationConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.PushNotificationConfig) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.PushNotificationConfig) io.a2a.grpc.PushNotificationConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PushNotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PushNotificationConfig_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PushNotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.PushNotificationConfig.class, io.a2a.grpc.PushNotificationConfig.Builder.class); } @@ -482,7 +480,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_PushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_PushNotificationConfig_descriptor; } @java.lang.Override @@ -626,7 +624,7 @@ public Builder mergeFrom( private java.lang.Object id_ = ""; /** *
    -     * A unique identifier (e.g. UUID) for this push notification.
    +     * A unique identifier (e.g. UUID) for this push notification configuration.
          * 
    * * string id = 1; @@ -646,7 +644,7 @@ public java.lang.String getId() { } /** *
    -     * A unique identifier (e.g. UUID) for this push notification.
    +     * A unique identifier (e.g. UUID) for this push notification configuration.
          * 
    * * string id = 1; @@ -667,7 +665,7 @@ public java.lang.String getId() { } /** *
    -     * A unique identifier (e.g. UUID) for this push notification.
    +     * A unique identifier (e.g. UUID) for this push notification configuration.
          * 
    * * string id = 1; @@ -684,7 +682,7 @@ public Builder setId( } /** *
    -     * A unique identifier (e.g. UUID) for this push notification.
    +     * A unique identifier (e.g. UUID) for this push notification configuration.
          * 
    * * string id = 1; @@ -698,7 +696,7 @@ public Builder clearId() { } /** *
    -     * A unique identifier (e.g. UUID) for this push notification.
    +     * A unique identifier (e.g. UUID) for this push notification configuration.
          * 
    * * string id = 1; @@ -718,7 +716,7 @@ public Builder setIdBytes( private java.lang.Object url_ = ""; /** *
    -     * Url to send the notification too
    +     * The URL where the notification should be sent.
          * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -738,7 +736,7 @@ public java.lang.String getUrl() { } /** *
    -     * Url to send the notification too
    +     * The URL where the notification should be sent.
          * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -759,7 +757,7 @@ public java.lang.String getUrl() { } /** *
    -     * Url to send the notification too
    +     * The URL where the notification should be sent.
          * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -776,7 +774,7 @@ public Builder setUrl( } /** *
    -     * Url to send the notification too
    +     * The URL where the notification should be sent.
          * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -790,7 +788,7 @@ public Builder clearUrl() { } /** *
    -     * Url to send the notification too
    +     * The URL where the notification should be sent.
          * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -810,7 +808,7 @@ public Builder setUrlBytes( private java.lang.Object token_ = ""; /** *
    -     * Token unique for this task/session
    +     * A token unique for this task or session.
          * 
    * * string token = 3; @@ -830,7 +828,7 @@ public java.lang.String getToken() { } /** *
    -     * Token unique for this task/session
    +     * A token unique for this task or session.
          * 
    * * string token = 3; @@ -851,7 +849,7 @@ public java.lang.String getToken() { } /** *
    -     * Token unique for this task/session
    +     * A token unique for this task or session.
          * 
    * * string token = 3; @@ -868,7 +866,7 @@ public Builder setToken( } /** *
    -     * Token unique for this task/session
    +     * A token unique for this task or session.
          * 
    * * string token = 3; @@ -882,7 +880,7 @@ public Builder clearToken() { } /** *
    -     * Token unique for this task/session
    +     * A token unique for this task or session.
          * 
    * * string token = 3; @@ -904,10 +902,10 @@ public Builder setTokenBytes( io.a2a.grpc.AuthenticationInfo, io.a2a.grpc.AuthenticationInfo.Builder, io.a2a.grpc.AuthenticationInfoOrBuilder> authenticationBuilder_; /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ public boolean hasAuthentication() { @@ -915,10 +913,10 @@ public boolean hasAuthentication() { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ public io.a2a.grpc.AuthenticationInfo getAuthentication() { @@ -930,10 +928,10 @@ public io.a2a.grpc.AuthenticationInfo getAuthentication() { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public Builder setAuthentication(io.a2a.grpc.AuthenticationInfo value) { if (authenticationBuilder_ == null) { @@ -950,10 +948,10 @@ public Builder setAuthentication(io.a2a.grpc.AuthenticationInfo value) { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public Builder setAuthentication( io.a2a.grpc.AuthenticationInfo.Builder builderForValue) { @@ -968,10 +966,10 @@ public Builder setAuthentication( } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public Builder mergeAuthentication(io.a2a.grpc.AuthenticationInfo value) { if (authenticationBuilder_ == null) { @@ -993,10 +991,10 @@ public Builder mergeAuthentication(io.a2a.grpc.AuthenticationInfo value) { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public Builder clearAuthentication() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1010,10 +1008,10 @@ public Builder clearAuthentication() { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public io.a2a.grpc.AuthenticationInfo.Builder getAuthenticationBuilder() { bitField0_ |= 0x00000008; @@ -1022,10 +1020,10 @@ public io.a2a.grpc.AuthenticationInfo.Builder getAuthenticationBuilder() { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { if (authenticationBuilder_ != null) { @@ -1037,10 +1035,10 @@ public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { } /** *
    -     * Authentication information required to send the notification
    +     * Authentication information required to send the notification.
          * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AuthenticationInfo, io.a2a.grpc.AuthenticationInfo.Builder, io.a2a.grpc.AuthenticationInfoOrBuilder> @@ -1056,10 +1054,10 @@ public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { return authenticationBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.PushNotificationConfig) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.PushNotificationConfig) } - // @@protoc_insertion_point(class_scope:a2a.v1.PushNotificationConfig) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.PushNotificationConfig) private static final io.a2a.grpc.PushNotificationConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.PushNotificationConfig(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java index b65c0d5a0..74c6127b1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java @@ -7,12 +7,12 @@ @com.google.protobuf.Generated public interface PushNotificationConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.PushNotificationConfig) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.PushNotificationConfig) com.google.protobuf.MessageOrBuilder { /** *
    -   * A unique identifier (e.g. UUID) for this push notification.
    +   * A unique identifier (e.g. UUID) for this push notification configuration.
        * 
    * * string id = 1; @@ -21,7 +21,7 @@ public interface PushNotificationConfigOrBuilder extends java.lang.String getId(); /** *
    -   * A unique identifier (e.g. UUID) for this push notification.
    +   * A unique identifier (e.g. UUID) for this push notification configuration.
        * 
    * * string id = 1; @@ -32,7 +32,7 @@ public interface PushNotificationConfigOrBuilder extends /** *
    -   * Url to send the notification too
    +   * The URL where the notification should be sent.
        * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface PushNotificationConfigOrBuilder extends java.lang.String getUrl(); /** *
    -   * Url to send the notification too
    +   * The URL where the notification should be sent.
        * 
    * * string url = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -52,7 +52,7 @@ public interface PushNotificationConfigOrBuilder extends /** *
    -   * Token unique for this task/session
    +   * A token unique for this task or session.
        * 
    * * string token = 3; @@ -61,7 +61,7 @@ public interface PushNotificationConfigOrBuilder extends java.lang.String getToken(); /** *
    -   * Token unique for this task/session
    +   * A token unique for this task or session.
        * 
    * * string token = 3; @@ -72,28 +72,28 @@ public interface PushNotificationConfigOrBuilder extends /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ boolean hasAuthentication(); /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ io.a2a.grpc.AuthenticationInfo getAuthentication(); /** *
    -   * Authentication information required to send the notification
    +   * Authentication information required to send the notification.
        * 
    * - * .a2a.v1.AuthenticationInfo authentication = 4; + * .lf.a2a.v1.AuthenticationInfo authentication = 4; */ io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Role.java b/spec-grpc/src/main/java/io/a2a/grpc/Role.java index 1d8b02c6e..b33496ba1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Role.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Role.java @@ -7,22 +7,25 @@ /** *
    - * --8<-- [start:Role]
      * Defines the sender of a message in A2A protocol communication.
      * 
    * - * Protobuf enum {@code a2a.v1.Role} + * Protobuf enum {@code lf.a2a.v1.Role} */ @com.google.protobuf.Generated public enum Role implements com.google.protobuf.ProtocolMessageEnum { /** + *
    +   * The role is unspecified.
    +   * 
    + * * ROLE_UNSPECIFIED = 0; */ ROLE_UNSPECIFIED(0), /** *
    -   * USER role refers to communication from the client to the server.
    +   * The message is from the client to the server.
        * 
    * * ROLE_USER = 1; @@ -30,7 +33,7 @@ public enum Role ROLE_USER(1), /** *
    -   * AGENT role refers to communication from the server to the client.
    +   * The message is from the server to the client.
        * 
    * * ROLE_AGENT = 2; @@ -49,12 +52,16 @@ public enum Role "Role"); } /** + *
    +   * The role is unspecified.
    +   * 
    + * * ROLE_UNSPECIFIED = 0; */ public static final int ROLE_UNSPECIFIED_VALUE = 0; /** *
    -   * USER role refers to communication from the client to the server.
    +   * The message is from the client to the server.
        * 
    * * ROLE_USER = 1; @@ -62,7 +69,7 @@ public enum Role public static final int ROLE_USER_VALUE = 1; /** *
    -   * AGENT role refers to communication from the server to the client.
    +   * The message is from the server to the client.
        * 
    * * ROLE_AGENT = 2; @@ -150,6 +157,6 @@ private Role(int value) { this.value = value; } - // @@protoc_insertion_point(enum_scope:a2a.v1.Role) + // @@protoc_insertion_point(enum_scope:lf.a2a.v1.Role) } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirement.java b/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirement.java index 945b2608d..3208d39a0 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirement.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirement.java @@ -6,12 +6,16 @@ package io.a2a.grpc; /** - * Protobuf type {@code a2a.v1.SecurityRequirement} + *
    + * Defines the security requirements for an agent.
    + * 
    + * + * Protobuf type {@code lf.a2a.v1.SecurityRequirement} */ @com.google.protobuf.Generated public final class SecurityRequirement extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SecurityRequirement) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SecurityRequirement) SecurityRequirementOrBuilder { private static final long serialVersionUID = 0L; static { @@ -32,7 +36,7 @@ private SecurityRequirement() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -50,7 +54,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SecurityRequirement.class, io.a2a.grpc.SecurityRequirement.Builder.class); } @@ -61,7 +65,7 @@ private static final class SchemesDefaultEntryHolder { java.lang.String, io.a2a.grpc.StringList> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( - io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_SchemesEntry_descriptor, + io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_SchemesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, @@ -82,7 +86,11 @@ public int getSchemesCount() { return internalGetSchemes().getMap().size(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public boolean containsSchemes( @@ -99,14 +107,22 @@ public java.util.Map getSchemes() { return getSchemesMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public java.util.Map getSchemesMap() { return internalGetSchemes().getMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public /* nullable */ @@ -120,7 +136,11 @@ io.a2a.grpc.StringList getSchemesOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public io.a2a.grpc.StringList getSchemesOrThrow( @@ -303,15 +323,19 @@ protected Builder newBuilderForType( return builder; } /** - * Protobuf type {@code a2a.v1.SecurityRequirement} + *
    +   * Defines the security requirements for an agent.
    +   * 
    + * + * Protobuf type {@code lf.a2a.v1.SecurityRequirement} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SecurityRequirement) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SecurityRequirement) io.a2a.grpc.SecurityRequirementOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -339,7 +363,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SecurityRequirement.class, io.a2a.grpc.SecurityRequirement.Builder.class); } @@ -365,7 +389,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityRequirement_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityRequirement_descriptor; } @java.lang.Override @@ -500,7 +524,11 @@ public int getSchemesCount() { return internalGetSchemes().ensureBuilderMap().size(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public boolean containsSchemes( @@ -517,14 +545,22 @@ public java.util.Map getSchemes() { return getSchemesMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public java.util.Map getSchemesMap() { return internalGetSchemes().getImmutableMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public /* nullable */ @@ -537,7 +573,11 @@ io.a2a.grpc.StringList getSchemesOrDefault( return map.containsKey(key) ? schemesConverter.build(map.get(key)) : defaultValue; } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ @java.lang.Override public io.a2a.grpc.StringList getSchemesOrThrow( @@ -555,7 +595,11 @@ public Builder clearSchemes() { return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ public Builder removeSchemes( java.lang.String key) { @@ -574,7 +618,11 @@ public Builder removeSchemes( return internalGetMutableSchemes().ensureMessageMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ public Builder putSchemes( java.lang.String key, @@ -587,7 +635,11 @@ public Builder putSchemes( return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ public Builder putAllSchemes( java.util.Map values) { @@ -602,7 +654,11 @@ public Builder putAllSchemes( return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +     * A map of security schemes to the required scopes.
    +     * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ public io.a2a.grpc.StringList.Builder putSchemesBuilderIfAbsent( java.lang.String key) { @@ -619,10 +675,10 @@ public io.a2a.grpc.StringList.Builder putSchemesBuilderIfAbsent( return (io.a2a.grpc.StringList.Builder) entry; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SecurityRequirement) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SecurityRequirement) } - // @@protoc_insertion_point(class_scope:a2a.v1.SecurityRequirement) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SecurityRequirement) private static final io.a2a.grpc.SecurityRequirement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SecurityRequirement(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirementOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirementOrBuilder.java index 14b23d252..6fe317ba1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirementOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirementOrBuilder.java @@ -7,15 +7,23 @@ @com.google.protobuf.Generated public interface SecurityRequirementOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SecurityRequirement) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SecurityRequirement) com.google.protobuf.MessageOrBuilder { /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ int getSchemesCount(); /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ boolean containsSchemes( java.lang.String key); @@ -26,12 +34,20 @@ boolean containsSchemes( java.util.Map getSchemes(); /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ java.util.Map getSchemesMap(); /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ /* nullable */ io.a2a.grpc.StringList getSchemesOrDefault( @@ -39,7 +55,11 @@ io.a2a.grpc.StringList getSchemesOrDefault( /* nullable */ io.a2a.grpc.StringList defaultValue); /** - * map<string, .a2a.v1.StringList> schemes = 1; + *
    +   * A map of security schemes to the required scopes.
    +   * 
    + * + * map<string, .lf.a2a.v1.StringList> schemes = 1; */ io.a2a.grpc.StringList getSchemesOrThrow( java.lang.String key); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java index c1202fccf..db9617df3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java @@ -7,18 +7,17 @@ /** *
    - * --8<-- [start:SecurityScheme]
      * 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
      * 
    * - * Protobuf type {@code a2a.v1.SecurityScheme} + * Protobuf type {@code lf.a2a.v1.SecurityScheme} */ @com.google.protobuf.Generated public final class SecurityScheme extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SecurityScheme) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SecurityScheme) SecuritySchemeOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private SecurityScheme() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SecurityScheme.class, io.a2a.grpc.SecurityScheme.Builder.class); } @@ -104,7 +103,7 @@ public int getNumber() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ @java.lang.Override @@ -116,7 +115,7 @@ public boolean hasApiKeySecurityScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ @java.lang.Override @@ -131,7 +130,7 @@ public io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ @java.lang.Override public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder() { @@ -147,7 +146,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ @java.lang.Override @@ -159,7 +158,7 @@ public boolean hasHttpAuthSecurityScheme() { * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ @java.lang.Override @@ -174,7 +173,7 @@ public io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme() { * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ @java.lang.Override public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder() { @@ -190,7 +189,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ @java.lang.Override @@ -202,7 +201,7 @@ public boolean hasOauth2SecurityScheme() { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ @java.lang.Override @@ -217,7 +216,7 @@ public io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme() { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ @java.lang.Override public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder() { @@ -233,7 +232,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ @java.lang.Override @@ -245,7 +244,7 @@ public boolean hasOpenIdConnectSecurityScheme() { * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ @java.lang.Override @@ -260,7 +259,7 @@ public io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme() * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ @java.lang.Override public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder() { @@ -276,7 +275,7 @@ public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecurity * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return Whether the mtlsSecurityScheme field is set. */ @java.lang.Override @@ -288,7 +287,7 @@ public boolean hasMtlsSecurityScheme() { * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return The mtlsSecurityScheme. */ @java.lang.Override @@ -303,7 +302,7 @@ public io.a2a.grpc.MutualTlsSecurityScheme getMtlsSecurityScheme() { * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ @java.lang.Override public io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder getMtlsSecuritySchemeOrBuilder() { @@ -545,27 +544,26 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:SecurityScheme]
        * 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
        * 
    * - * Protobuf type {@code a2a.v1.SecurityScheme} + * Protobuf type {@code lf.a2a.v1.SecurityScheme} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SecurityScheme) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SecurityScheme) io.a2a.grpc.SecuritySchemeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityScheme_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityScheme_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityScheme_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SecurityScheme.class, io.a2a.grpc.SecurityScheme.Builder.class); } @@ -607,7 +605,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SecurityScheme_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SecurityScheme_descriptor; } @java.lang.Override @@ -799,7 +797,7 @@ public Builder clearScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ @java.lang.Override @@ -811,7 +809,7 @@ public boolean hasApiKeySecurityScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ @java.lang.Override @@ -833,7 +831,7 @@ public io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder setApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { if (apiKeySecuritySchemeBuilder_ == null) { @@ -853,7 +851,7 @@ public Builder setApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder setApiKeySecurityScheme( io.a2a.grpc.APIKeySecurityScheme.Builder builderForValue) { @@ -871,7 +869,7 @@ public Builder setApiKeySecurityScheme( * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder mergeApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { if (apiKeySecuritySchemeBuilder_ == null) { @@ -898,7 +896,7 @@ public Builder mergeApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder clearApiKeySecurityScheme() { if (apiKeySecuritySchemeBuilder_ == null) { @@ -921,7 +919,7 @@ public Builder clearApiKeySecurityScheme() { * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public io.a2a.grpc.APIKeySecurityScheme.Builder getApiKeySecuritySchemeBuilder() { return internalGetApiKeySecuritySchemeFieldBuilder().getBuilder(); @@ -931,7 +929,7 @@ public io.a2a.grpc.APIKeySecurityScheme.Builder getApiKeySecuritySchemeBuilder() * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ @java.lang.Override public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder() { @@ -949,7 +947,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.APIKeySecurityScheme, io.a2a.grpc.APIKeySecurityScheme.Builder, io.a2a.grpc.APIKeySecuritySchemeOrBuilder> @@ -977,7 +975,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ @java.lang.Override @@ -989,7 +987,7 @@ public boolean hasHttpAuthSecurityScheme() { * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ @java.lang.Override @@ -1011,7 +1009,7 @@ public io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme() { * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder setHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme value) { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -1031,7 +1029,7 @@ public Builder setHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme valu * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder setHttpAuthSecurityScheme( io.a2a.grpc.HTTPAuthSecurityScheme.Builder builderForValue) { @@ -1049,7 +1047,7 @@ public Builder setHttpAuthSecurityScheme( * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder mergeHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme value) { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -1076,7 +1074,7 @@ public Builder mergeHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme va * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder clearHttpAuthSecurityScheme() { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -1099,7 +1097,7 @@ public Builder clearHttpAuthSecurityScheme() { * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public io.a2a.grpc.HTTPAuthSecurityScheme.Builder getHttpAuthSecuritySchemeBuilder() { return internalGetHttpAuthSecuritySchemeFieldBuilder().getBuilder(); @@ -1109,7 +1107,7 @@ public io.a2a.grpc.HTTPAuthSecurityScheme.Builder getHttpAuthSecuritySchemeBuild * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ @java.lang.Override public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder() { @@ -1127,7 +1125,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.HTTPAuthSecurityScheme, io.a2a.grpc.HTTPAuthSecurityScheme.Builder, io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder> @@ -1155,7 +1153,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ @java.lang.Override @@ -1167,7 +1165,7 @@ public boolean hasOauth2SecurityScheme() { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ @java.lang.Override @@ -1189,7 +1187,7 @@ public io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme() { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder setOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { if (oauth2SecuritySchemeBuilder_ == null) { @@ -1209,7 +1207,7 @@ public Builder setOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder setOauth2SecurityScheme( io.a2a.grpc.OAuth2SecurityScheme.Builder builderForValue) { @@ -1227,7 +1225,7 @@ public Builder setOauth2SecurityScheme( * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder mergeOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { if (oauth2SecuritySchemeBuilder_ == null) { @@ -1254,7 +1252,7 @@ public Builder mergeOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder clearOauth2SecurityScheme() { if (oauth2SecuritySchemeBuilder_ == null) { @@ -1277,7 +1275,7 @@ public Builder clearOauth2SecurityScheme() { * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public io.a2a.grpc.OAuth2SecurityScheme.Builder getOauth2SecuritySchemeBuilder() { return internalGetOauth2SecuritySchemeFieldBuilder().getBuilder(); @@ -1287,7 +1285,7 @@ public io.a2a.grpc.OAuth2SecurityScheme.Builder getOauth2SecuritySchemeBuilder() * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ @java.lang.Override public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder() { @@ -1305,7 +1303,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OAuth2SecurityScheme, io.a2a.grpc.OAuth2SecurityScheme.Builder, io.a2a.grpc.OAuth2SecuritySchemeOrBuilder> @@ -1333,7 +1331,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ @java.lang.Override @@ -1345,7 +1343,7 @@ public boolean hasOpenIdConnectSecurityScheme() { * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ @java.lang.Override @@ -1367,7 +1365,7 @@ public io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme() * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder setOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityScheme value) { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1387,7 +1385,7 @@ public Builder setOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityS * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder setOpenIdConnectSecurityScheme( io.a2a.grpc.OpenIdConnectSecurityScheme.Builder builderForValue) { @@ -1405,7 +1403,7 @@ public Builder setOpenIdConnectSecurityScheme( * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder mergeOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityScheme value) { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1432,7 +1430,7 @@ public Builder mergeOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurit * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder clearOpenIdConnectSecurityScheme() { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1455,7 +1453,7 @@ public Builder clearOpenIdConnectSecurityScheme() { * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public io.a2a.grpc.OpenIdConnectSecurityScheme.Builder getOpenIdConnectSecuritySchemeBuilder() { return internalGetOpenIdConnectSecuritySchemeFieldBuilder().getBuilder(); @@ -1465,7 +1463,7 @@ public io.a2a.grpc.OpenIdConnectSecurityScheme.Builder getOpenIdConnectSecurityS * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ @java.lang.Override public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder() { @@ -1483,7 +1481,7 @@ public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecurity * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OpenIdConnectSecurityScheme, io.a2a.grpc.OpenIdConnectSecurityScheme.Builder, io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder> @@ -1511,7 +1509,7 @@ public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecurity * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return Whether the mtlsSecurityScheme field is set. */ @java.lang.Override @@ -1523,7 +1521,7 @@ public boolean hasMtlsSecurityScheme() { * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return The mtlsSecurityScheme. */ @java.lang.Override @@ -1545,7 +1543,7 @@ public io.a2a.grpc.MutualTlsSecurityScheme getMtlsSecurityScheme() { * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ public Builder setMtlsSecurityScheme(io.a2a.grpc.MutualTlsSecurityScheme value) { if (mtlsSecuritySchemeBuilder_ == null) { @@ -1565,7 +1563,7 @@ public Builder setMtlsSecurityScheme(io.a2a.grpc.MutualTlsSecurityScheme value) * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ public Builder setMtlsSecurityScheme( io.a2a.grpc.MutualTlsSecurityScheme.Builder builderForValue) { @@ -1583,7 +1581,7 @@ public Builder setMtlsSecurityScheme( * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ public Builder mergeMtlsSecurityScheme(io.a2a.grpc.MutualTlsSecurityScheme value) { if (mtlsSecuritySchemeBuilder_ == null) { @@ -1610,7 +1608,7 @@ public Builder mergeMtlsSecurityScheme(io.a2a.grpc.MutualTlsSecurityScheme value * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ public Builder clearMtlsSecurityScheme() { if (mtlsSecuritySchemeBuilder_ == null) { @@ -1633,7 +1631,7 @@ public Builder clearMtlsSecurityScheme() { * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ public io.a2a.grpc.MutualTlsSecurityScheme.Builder getMtlsSecuritySchemeBuilder() { return internalGetMtlsSecuritySchemeFieldBuilder().getBuilder(); @@ -1643,7 +1641,7 @@ public io.a2a.grpc.MutualTlsSecurityScheme.Builder getMtlsSecuritySchemeBuilder( * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ @java.lang.Override public io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder getMtlsSecuritySchemeOrBuilder() { @@ -1661,7 +1659,7 @@ public io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder getMtlsSecuritySchemeOrBuild * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.MutualTlsSecurityScheme, io.a2a.grpc.MutualTlsSecurityScheme.Builder, io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder> @@ -1682,10 +1680,10 @@ public io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder getMtlsSecuritySchemeOrBuild return mtlsSecuritySchemeBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SecurityScheme) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SecurityScheme) } - // @@protoc_insertion_point(class_scope:a2a.v1.SecurityScheme) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SecurityScheme) private static final io.a2a.grpc.SecurityScheme DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SecurityScheme(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java index 6a5d92b7c..c76a1b560 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface SecuritySchemeOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SecurityScheme) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SecurityScheme) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface SecuritySchemeOrBuilder extends * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ boolean hasApiKeySecurityScheme(); @@ -24,7 +24,7 @@ public interface SecuritySchemeOrBuilder extends * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme(); @@ -33,7 +33,7 @@ public interface SecuritySchemeOrBuilder extends * API key-based authentication. * * - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; + * .lf.a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder(); @@ -42,7 +42,7 @@ public interface SecuritySchemeOrBuilder extends * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ boolean hasHttpAuthSecurityScheme(); @@ -51,7 +51,7 @@ public interface SecuritySchemeOrBuilder extends * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme(); @@ -60,7 +60,7 @@ public interface SecuritySchemeOrBuilder extends * HTTP authentication (Basic, Bearer, etc.). * * - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; + * .lf.a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder(); @@ -69,7 +69,7 @@ public interface SecuritySchemeOrBuilder extends * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ boolean hasOauth2SecurityScheme(); @@ -78,7 +78,7 @@ public interface SecuritySchemeOrBuilder extends * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme(); @@ -87,7 +87,7 @@ public interface SecuritySchemeOrBuilder extends * OAuth 2.0 authentication. * * - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; + * .lf.a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder(); @@ -96,7 +96,7 @@ public interface SecuritySchemeOrBuilder extends * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ boolean hasOpenIdConnectSecurityScheme(); @@ -105,7 +105,7 @@ public interface SecuritySchemeOrBuilder extends * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme(); @@ -114,7 +114,7 @@ public interface SecuritySchemeOrBuilder extends * OpenID Connect authentication. * * - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + * .lf.a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder(); @@ -123,7 +123,7 @@ public interface SecuritySchemeOrBuilder extends * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return Whether the mtlsSecurityScheme field is set. */ boolean hasMtlsSecurityScheme(); @@ -132,7 +132,7 @@ public interface SecuritySchemeOrBuilder extends * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; * @return The mtlsSecurityScheme. */ io.a2a.grpc.MutualTlsSecurityScheme getMtlsSecurityScheme(); @@ -141,7 +141,7 @@ public interface SecuritySchemeOrBuilder extends * Mutual TLS authentication. * * - * .a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; + * .lf.a2a.v1.MutualTlsSecurityScheme mtls_security_scheme = 5; */ io.a2a.grpc.MutualTlsSecuritySchemeOrBuilder getMtlsSecuritySchemeOrBuilder(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java index 57374039f..f89c54f1a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:SendMessageConfiguration]
      * Configuration of a send message request.
      * 
    * - * Protobuf type {@code a2a.v1.SendMessageConfiguration} + * Protobuf type {@code lf.a2a.v1.SendMessageConfiguration} */ @com.google.protobuf.Generated public final class SendMessageConfiguration extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SendMessageConfiguration) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SendMessageConfiguration) SendMessageConfigurationOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,13 +38,13 @@ private SendMessageConfiguration() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageConfiguration_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageConfiguration_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageConfiguration.class, io.a2a.grpc.SendMessageConfiguration.Builder.class); } @@ -57,7 +56,8 @@ private SendMessageConfiguration() { com.google.protobuf.LazyStringArrayList.emptyList(); /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -69,7 +69,8 @@ private SendMessageConfiguration() { } /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -80,7 +81,8 @@ public int getAcceptedOutputModesCount() { } /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -92,7 +94,8 @@ public java.lang.String getAcceptedOutputModes(int index) { } /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -111,7 +114,7 @@ public java.lang.String getAcceptedOutputModes(int index) { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ @java.lang.Override @@ -123,7 +126,7 @@ public boolean hasPushNotificationConfig() { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ @java.lang.Override @@ -135,7 +138,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ @java.lang.Override public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { @@ -179,7 +182,9 @@ public int getHistoryLength() { private boolean blocking_ = false; /** *
    -   * If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false.
    +   * If `true`, the operation MUST wait until the task reaches a terminal state
    +   * (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state
    +   * (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`.
        * 
    * * bool blocking = 4; @@ -399,25 +404,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:SendMessageConfiguration]
        * Configuration of a send message request.
        * 
    * - * Protobuf type {@code a2a.v1.SendMessageConfiguration} + * Protobuf type {@code lf.a2a.v1.SendMessageConfiguration} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SendMessageConfiguration) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SendMessageConfiguration) io.a2a.grpc.SendMessageConfigurationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageConfiguration_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageConfiguration_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageConfiguration_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageConfiguration_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageConfiguration.class, io.a2a.grpc.SendMessageConfiguration.Builder.class); } @@ -457,7 +461,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageConfiguration_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageConfiguration_descriptor; } @java.lang.Override @@ -612,7 +616,8 @@ private void ensureAcceptedOutputModesIsMutable() { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -625,7 +630,8 @@ private void ensureAcceptedOutputModesIsMutable() { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -636,7 +642,8 @@ public int getAcceptedOutputModesCount() { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -648,7 +655,8 @@ public java.lang.String getAcceptedOutputModes(int index) { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -661,7 +669,8 @@ public java.lang.String getAcceptedOutputModes(int index) { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -680,7 +689,8 @@ public Builder setAcceptedOutputModes( } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -698,7 +708,8 @@ public Builder addAcceptedOutputModes( } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -716,7 +727,8 @@ public Builder addAllAcceptedOutputModes( } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -731,7 +743,8 @@ public Builder clearAcceptedOutputModes() { } /** *
    -     * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +     * A list of media types the client is prepared to accept for response parts.
    +     * Agents SHOULD use this to tailor their output.
          * 
    * * repeated string accepted_output_modes = 1; @@ -757,7 +770,7 @@ public Builder addAcceptedOutputModesBytes( * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ public boolean hasPushNotificationConfig() { @@ -768,7 +781,7 @@ public boolean hasPushNotificationConfig() { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { @@ -783,7 +796,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { @@ -803,7 +816,7 @@ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig valu * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder setPushNotificationConfig( io.a2a.grpc.PushNotificationConfig.Builder builderForValue) { @@ -821,7 +834,7 @@ public Builder setPushNotificationConfig( * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { @@ -846,7 +859,7 @@ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig va * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder clearPushNotificationConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -863,7 +876,7 @@ public Builder clearPushNotificationConfig() { * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuilder() { bitField0_ |= 0x00000002; @@ -875,7 +888,7 @@ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuild * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { if (pushNotificationConfigBuilder_ != null) { @@ -890,7 +903,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBu * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> @@ -977,7 +990,9 @@ public Builder clearHistoryLength() { private boolean blocking_ ; /** *
    -     * If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false.
    +     * If `true`, the operation MUST wait until the task reaches a terminal state
    +     * (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state
    +     * (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`.
          * 
    * * bool blocking = 4; @@ -989,7 +1004,9 @@ public boolean getBlocking() { } /** *
    -     * If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false.
    +     * If `true`, the operation MUST wait until the task reaches a terminal state
    +     * (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state
    +     * (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`.
          * 
    * * bool blocking = 4; @@ -1005,7 +1022,9 @@ public Builder setBlocking(boolean value) { } /** *
    -     * If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false.
    +     * If `true`, the operation MUST wait until the task reaches a terminal state
    +     * (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state
    +     * (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`.
          * 
    * * bool blocking = 4; @@ -1018,10 +1037,10 @@ public Builder clearBlocking() { return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SendMessageConfiguration) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SendMessageConfiguration) } - // @@protoc_insertion_point(class_scope:a2a.v1.SendMessageConfiguration) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SendMessageConfiguration) private static final io.a2a.grpc.SendMessageConfiguration DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SendMessageConfiguration(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java index a9e9fc401..555708a45 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java @@ -7,12 +7,13 @@ @com.google.protobuf.Generated public interface SendMessageConfigurationOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SendMessageConfiguration) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SendMessageConfiguration) com.google.protobuf.MessageOrBuilder { /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -22,7 +23,8 @@ public interface SendMessageConfigurationOrBuilder extends getAcceptedOutputModesList(); /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -31,7 +33,8 @@ public interface SendMessageConfigurationOrBuilder extends int getAcceptedOutputModesCount(); /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -41,7 +44,8 @@ public interface SendMessageConfigurationOrBuilder extends java.lang.String getAcceptedOutputModes(int index); /** *
    -   * A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
    +   * A list of media types the client is prepared to accept for response parts.
    +   * Agents SHOULD use this to tailor their output.
        * 
    * * repeated string accepted_output_modes = 1; @@ -56,7 +60,7 @@ public interface SendMessageConfigurationOrBuilder extends * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ boolean hasPushNotificationConfig(); @@ -65,7 +69,7 @@ public interface SendMessageConfigurationOrBuilder extends * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ io.a2a.grpc.PushNotificationConfig getPushNotificationConfig(); @@ -74,7 +78,7 @@ public interface SendMessageConfigurationOrBuilder extends * Configuration for the agent to send push notifications for task updates. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 2; */ io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder(); @@ -105,7 +109,9 @@ public interface SendMessageConfigurationOrBuilder extends /** *
    -   * If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false.
    +   * If `true`, the operation MUST wait until the task reaches a terminal state
    +   * (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state
    +   * (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`.
        * 
    * * bool blocking = 4; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java index 943fc6067..c629f23d5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java @@ -7,17 +7,15 @@ /** *
    - * /////////// Request Messages ///////////
    - * --8<-- [start:SendMessageRequest]
      * Represents a request for the `SendMessage` method.
      * 
    * - * Protobuf type {@code a2a.v1.SendMessageRequest} + * Protobuf type {@code lf.a2a.v1.SendMessageRequest} */ @com.google.protobuf.Generated public final class SendMessageRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SendMessageRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SendMessageRequest) SendMessageRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -39,27 +37,27 @@ private SendMessageRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageRequest.class, io.a2a.grpc.SendMessageRequest.Builder.class); } private int bitField0_; - public static final int TENANT_FIELD_NUMBER = 4; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -77,10 +75,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -98,14 +96,14 @@ public java.lang.String getTenant() { } } - public static final int MESSAGE_FIELD_NUMBER = 1; + public static final int MESSAGE_FIELD_NUMBER = 2; private io.a2a.grpc.Message message_; /** *
        * The message to send to the agent.
        * 
    * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the message field is set. */ @java.lang.Override @@ -117,7 +115,7 @@ public boolean hasMessage() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The message. */ @java.lang.Override @@ -129,21 +127,21 @@ public io.a2a.grpc.Message getMessage() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { return message_ == null ? io.a2a.grpc.Message.getDefaultInstance() : message_; } - public static final int CONFIGURATION_FIELD_NUMBER = 2; + public static final int CONFIGURATION_FIELD_NUMBER = 3; private io.a2a.grpc.SendMessageConfiguration configuration_; /** *
        * Configuration for the send request.
        * 
    * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return Whether the configuration field is set. */ @java.lang.Override @@ -155,7 +153,7 @@ public boolean hasConfiguration() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return The configuration. */ @java.lang.Override @@ -167,21 +165,21 @@ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ @java.lang.Override public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() { return configuration_ == null ? io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_; } - public static final int METADATA_FIELD_NUMBER = 3; + public static final int METADATA_FIELD_NUMBER = 4; private com.google.protobuf.Struct metadata_; /** *
        * A flexible key-value map for passing additional context or parameters.
        * 
    * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ @java.lang.Override @@ -193,7 +191,7 @@ public boolean hasMetadata() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ @java.lang.Override @@ -205,7 +203,7 @@ public com.google.protobuf.Struct getMetadata() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -226,17 +224,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getMessage()); + output.writeMessage(2, getMessage()); } if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getConfiguration()); + output.writeMessage(3, getConfiguration()); } if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getMetadata()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, tenant_); + output.writeMessage(4, getMetadata()); } getUnknownFields().writeTo(output); } @@ -247,20 +245,20 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getMessage()); + .computeMessageSize(2, getMessage()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConfiguration()); + .computeMessageSize(3, getConfiguration()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getMetadata()); - } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tenant_); + .computeMessageSize(4, getMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -418,26 +416,24 @@ protected Builder newBuilderForType( } /** *
    -   * /////////// Request Messages ///////////
    -   * --8<-- [start:SendMessageRequest]
        * Represents a request for the `SendMessage` method.
        * 
    * - * Protobuf type {@code a2a.v1.SendMessageRequest} + * Protobuf type {@code lf.a2a.v1.SendMessageRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SendMessageRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SendMessageRequest) io.a2a.grpc.SendMessageRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageRequest.class, io.a2a.grpc.SendMessageRequest.Builder.class); } @@ -486,7 +482,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageRequest_descriptor; } @java.lang.Override @@ -591,30 +587,30 @@ public Builder mergeFrom( done = true; break; case 10: { + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { input.readMessage( internalGetMessageFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; - } // case 10 - case 18: { + } // case 18 + case 26: { input.readMessage( internalGetConfigurationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; - } // case 18 - case 26: { + } // case 26 + case 34: { input.readMessage( internalGetMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; - } // case 26 - case 34: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -636,10 +632,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -656,10 +652,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -677,10 +673,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -694,10 +690,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -708,10 +704,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -733,7 +729,7 @@ public Builder setTenantBytes( * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the message field is set. */ public boolean hasMessage() { @@ -744,7 +740,7 @@ public boolean hasMessage() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The message. */ public io.a2a.grpc.Message getMessage() { @@ -759,7 +755,7 @@ public io.a2a.grpc.Message getMessage() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -779,7 +775,7 @@ public Builder setMessage(io.a2a.grpc.Message value) { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMessage( io.a2a.grpc.Message.Builder builderForValue) { @@ -797,7 +793,7 @@ public Builder setMessage( * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -822,7 +818,7 @@ public Builder mergeMessage(io.a2a.grpc.Message value) { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); @@ -839,7 +835,7 @@ public Builder clearMessage() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Message.Builder getMessageBuilder() { bitField0_ |= 0x00000002; @@ -851,7 +847,7 @@ public io.a2a.grpc.Message.Builder getMessageBuilder() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { if (messageBuilder_ != null) { @@ -866,7 +862,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> @@ -890,7 +886,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return Whether the configuration field is set. */ public boolean hasConfiguration() { @@ -901,7 +897,7 @@ public boolean hasConfiguration() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return The configuration. */ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { @@ -916,7 +912,7 @@ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public Builder setConfiguration(io.a2a.grpc.SendMessageConfiguration value) { if (configurationBuilder_ == null) { @@ -936,7 +932,7 @@ public Builder setConfiguration(io.a2a.grpc.SendMessageConfiguration value) { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public Builder setConfiguration( io.a2a.grpc.SendMessageConfiguration.Builder builderForValue) { @@ -954,7 +950,7 @@ public Builder setConfiguration( * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public Builder mergeConfiguration(io.a2a.grpc.SendMessageConfiguration value) { if (configurationBuilder_ == null) { @@ -979,7 +975,7 @@ public Builder mergeConfiguration(io.a2a.grpc.SendMessageConfiguration value) { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public Builder clearConfiguration() { bitField0_ = (bitField0_ & ~0x00000004); @@ -996,7 +992,7 @@ public Builder clearConfiguration() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public io.a2a.grpc.SendMessageConfiguration.Builder getConfigurationBuilder() { bitField0_ |= 0x00000004; @@ -1008,7 +1004,7 @@ public io.a2a.grpc.SendMessageConfiguration.Builder getConfigurationBuilder() { * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() { if (configurationBuilder_ != null) { @@ -1023,7 +1019,7 @@ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder> @@ -1047,7 +1043,7 @@ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1058,7 +1054,7 @@ public boolean hasMetadata() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1073,7 +1069,7 @@ public com.google.protobuf.Struct getMetadata() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1093,7 +1089,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1111,7 +1107,7 @@ public Builder setMetadata( * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1136,7 +1132,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1153,7 +1149,7 @@ public Builder clearMetadata() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000008; @@ -1165,7 +1161,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1180,7 +1176,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1196,10 +1192,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return metadataBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SendMessageRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SendMessageRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.SendMessageRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SendMessageRequest) private static final io.a2a.grpc.SendMessageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SendMessageRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java index de2e6cc12..5adba7a8a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface SendMessageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SendMessageRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SendMessageRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface SendMessageRequestOrBuilder extends * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the message field is set. */ boolean hasMessage(); @@ -44,7 +44,7 @@ public interface SendMessageRequestOrBuilder extends * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The message. */ io.a2a.grpc.Message getMessage(); @@ -53,7 +53,7 @@ public interface SendMessageRequestOrBuilder extends * The message to send to the agent. * * - * .a2a.v1.Message message = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Message message = 2 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.MessageOrBuilder getMessageOrBuilder(); @@ -62,7 +62,7 @@ public interface SendMessageRequestOrBuilder extends * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return Whether the configuration field is set. */ boolean hasConfiguration(); @@ -71,7 +71,7 @@ public interface SendMessageRequestOrBuilder extends * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; * @return The configuration. */ io.a2a.grpc.SendMessageConfiguration getConfiguration(); @@ -80,7 +80,7 @@ public interface SendMessageRequestOrBuilder extends * Configuration for the send request. * * - * .a2a.v1.SendMessageConfiguration configuration = 2; + * .lf.a2a.v1.SendMessageConfiguration configuration = 3; */ io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder(); @@ -89,7 +89,7 @@ public interface SendMessageRequestOrBuilder extends * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -98,7 +98,7 @@ public interface SendMessageRequestOrBuilder extends * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -107,7 +107,7 @@ public interface SendMessageRequestOrBuilder extends * A flexible key-value map for passing additional context or parameters. * * - * .google.protobuf.Struct metadata = 3; + * .google.protobuf.Struct metadata = 4; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java index 466f2206a..b848b65e1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java @@ -7,16 +7,15 @@ /** *
    - * ////// Response Messages ///////////
    - * --8<-- [start:SendMessageResponse]
    + * Represents the response for the `SendMessage` method.
      * 
    * - * Protobuf type {@code a2a.v1.SendMessageResponse} + * Protobuf type {@code lf.a2a.v1.SendMessageResponse} */ @com.google.protobuf.Generated public final class SendMessageResponse extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SendMessageResponse) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SendMessageResponse) SendMessageResponseOrBuilder { private static final long serialVersionUID = 0L; static { @@ -37,13 +36,13 @@ private SendMessageResponse() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageResponse.class, io.a2a.grpc.SendMessageResponse.Builder.class); } @@ -92,7 +91,11 @@ public int getNumber() { public static final int TASK_FIELD_NUMBER = 1; /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -100,7 +103,11 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -111,7 +118,11 @@ public io.a2a.grpc.Task getTask() { return io.a2a.grpc.Task.getDefaultInstance(); } /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -123,7 +134,11 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { public static final int MESSAGE_FIELD_NUMBER = 2; /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ @java.lang.Override @@ -131,7 +146,11 @@ public boolean hasMessage() { return payloadCase_ == 2; } /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; * @return The message. */ @java.lang.Override @@ -142,7 +161,11 @@ public io.a2a.grpc.Message getMessage() { return io.a2a.grpc.Message.getDefaultInstance(); } /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { @@ -339,25 +362,24 @@ protected Builder newBuilderForType( } /** *
    -   * ////// Response Messages ///////////
    -   * --8<-- [start:SendMessageResponse]
    +   * Represents the response for the `SendMessage` method.
        * 
    * - * Protobuf type {@code a2a.v1.SendMessageResponse} + * Protobuf type {@code lf.a2a.v1.SendMessageResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SendMessageResponse) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SendMessageResponse) io.a2a.grpc.SendMessageResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SendMessageResponse.class, io.a2a.grpc.SendMessageResponse.Builder.class); } @@ -390,7 +412,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SendMessageResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SendMessageResponse_descriptor; } @java.lang.Override @@ -533,7 +555,11 @@ public Builder clearPayload() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Task, io.a2a.grpc.Task.Builder, io.a2a.grpc.TaskOrBuilder> taskBuilder_; /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -541,7 +567,11 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -559,7 +589,11 @@ public io.a2a.grpc.Task getTask() { } } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ public Builder setTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -575,7 +609,11 @@ public Builder setTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ public Builder setTask( io.a2a.grpc.Task.Builder builderForValue) { @@ -589,7 +627,11 @@ public Builder setTask( return this; } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ public Builder mergeTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -612,7 +654,11 @@ public Builder mergeTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -631,13 +677,21 @@ public Builder clearTask() { return this; } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ public io.a2a.grpc.Task.Builder getTaskBuilder() { return internalGetTaskFieldBuilder().getBuilder(); } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -651,7 +705,11 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { } } /** - * .a2a.v1.Task task = 1; + *
    +     * The task created or updated by the message.
    +     * 
    + * + * .lf.a2a.v1.Task task = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Task, io.a2a.grpc.Task.Builder, io.a2a.grpc.TaskOrBuilder> @@ -675,7 +733,11 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> messageBuilder_; /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ @java.lang.Override @@ -683,7 +745,11 @@ public boolean hasMessage() { return payloadCase_ == 2; } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; * @return The message. */ @java.lang.Override @@ -701,7 +767,11 @@ public io.a2a.grpc.Message getMessage() { } } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -717,7 +787,11 @@ public Builder setMessage(io.a2a.grpc.Message value) { return this; } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage( io.a2a.grpc.Message.Builder builderForValue) { @@ -731,7 +805,11 @@ public Builder setMessage( return this; } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ public Builder mergeMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -754,7 +832,11 @@ public Builder mergeMessage(io.a2a.grpc.Message value) { return this; } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ public Builder clearMessage() { if (messageBuilder_ == null) { @@ -773,13 +855,21 @@ public Builder clearMessage() { return this; } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ public io.a2a.grpc.Message.Builder getMessageBuilder() { return internalGetMessageFieldBuilder().getBuilder(); } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { @@ -793,7 +883,11 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { } } /** - * .a2a.v1.Message message = 2; + *
    +     * A message from the agent.
    +     * 
    + * + * .lf.a2a.v1.Message message = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> @@ -814,10 +908,10 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { return messageBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SendMessageResponse) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SendMessageResponse) } - // @@protoc_insertion_point(class_scope:a2a.v1.SendMessageResponse) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SendMessageResponse) private static final io.a2a.grpc.SendMessageResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SendMessageResponse(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java index 355131b71..9e56a7c36 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java @@ -7,36 +7,60 @@ @com.google.protobuf.Generated public interface SendMessageResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SendMessageResponse) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SendMessageResponse) com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ boolean hasTask(); /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; * @return The task. */ io.a2a.grpc.Task getTask(); /** - * .a2a.v1.Task task = 1; + *
    +   * The task created or updated by the message.
    +   * 
    + * + * .lf.a2a.v1.Task task = 1; */ io.a2a.grpc.TaskOrBuilder getTaskOrBuilder(); /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ boolean hasMessage(); /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; * @return The message. */ io.a2a.grpc.Message getMessage(); /** - * .a2a.v1.Message message = 2; + *
    +   * A message from the agent.
    +   * 
    + * + * .lf.a2a.v1.Message message = 2; */ io.a2a.grpc.MessageOrBuilder getMessageOrBuilder(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java index 3d27db5ef..7ed30be81 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:StreamResponse]
      * A wrapper object used in streaming operations to encapsulate different types of response data.
      * 
    * - * Protobuf type {@code a2a.v1.StreamResponse} + * Protobuf type {@code lf.a2a.v1.StreamResponse} */ @com.google.protobuf.Generated public final class StreamResponse extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.StreamResponse) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.StreamResponse) StreamResponseOrBuilder { private static final long serialVersionUID = 0L; static { @@ -37,13 +36,13 @@ private StreamResponse() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StreamResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StreamResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.StreamResponse.class, io.a2a.grpc.StreamResponse.Builder.class); } @@ -100,7 +99,7 @@ public int getNumber() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -112,7 +111,7 @@ public boolean hasTask() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -127,7 +126,7 @@ public io.a2a.grpc.Task getTask() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -143,7 +142,7 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ @java.lang.Override @@ -155,7 +154,7 @@ public boolean hasMessage() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ @java.lang.Override @@ -170,7 +169,7 @@ public io.a2a.grpc.Message getMessage() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { @@ -186,7 +185,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ @java.lang.Override @@ -198,7 +197,7 @@ public boolean hasStatusUpdate() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ @java.lang.Override @@ -213,7 +212,7 @@ public io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { @@ -229,7 +228,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ @java.lang.Override @@ -241,7 +240,7 @@ public boolean hasArtifactUpdate() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ @java.lang.Override @@ -256,7 +255,7 @@ public io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ @java.lang.Override public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() { @@ -483,25 +482,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:StreamResponse]
        * A wrapper object used in streaming operations to encapsulate different types of response data.
        * 
    * - * Protobuf type {@code a2a.v1.StreamResponse} + * Protobuf type {@code lf.a2a.v1.StreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.StreamResponse) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.StreamResponse) io.a2a.grpc.StreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StreamResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StreamResponse_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.StreamResponse.class, io.a2a.grpc.StreamResponse.Builder.class); } @@ -540,7 +538,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StreamResponse_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StreamResponse_descriptor; } @java.lang.Override @@ -717,7 +715,7 @@ public Builder clearPayload() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -729,7 +727,7 @@ public boolean hasTask() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -751,7 +749,7 @@ public io.a2a.grpc.Task getTask() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ public Builder setTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -771,7 +769,7 @@ public Builder setTask(io.a2a.grpc.Task value) { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ public Builder setTask( io.a2a.grpc.Task.Builder builderForValue) { @@ -789,7 +787,7 @@ public Builder setTask( * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ public Builder mergeTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -816,7 +814,7 @@ public Builder mergeTask(io.a2a.grpc.Task value) { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -839,7 +837,7 @@ public Builder clearTask() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ public io.a2a.grpc.Task.Builder getTaskBuilder() { return internalGetTaskFieldBuilder().getBuilder(); @@ -849,7 +847,7 @@ public io.a2a.grpc.Task.Builder getTaskBuilder() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -867,7 +865,7 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Task, io.a2a.grpc.Task.Builder, io.a2a.grpc.TaskOrBuilder> @@ -895,7 +893,7 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ @java.lang.Override @@ -907,7 +905,7 @@ public boolean hasMessage() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ @java.lang.Override @@ -929,7 +927,7 @@ public io.a2a.grpc.Message getMessage() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -949,7 +947,7 @@ public Builder setMessage(io.a2a.grpc.Message value) { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage( io.a2a.grpc.Message.Builder builderForValue) { @@ -967,7 +965,7 @@ public Builder setMessage( * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder mergeMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -994,7 +992,7 @@ public Builder mergeMessage(io.a2a.grpc.Message value) { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder clearMessage() { if (messageBuilder_ == null) { @@ -1017,7 +1015,7 @@ public Builder clearMessage() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public io.a2a.grpc.Message.Builder getMessageBuilder() { return internalGetMessageFieldBuilder().getBuilder(); @@ -1027,7 +1025,7 @@ public io.a2a.grpc.Message.Builder getMessageBuilder() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { @@ -1045,7 +1043,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> @@ -1073,7 +1071,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ @java.lang.Override @@ -1085,7 +1083,7 @@ public boolean hasStatusUpdate() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ @java.lang.Override @@ -1107,7 +1105,7 @@ public io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder setStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { if (statusUpdateBuilder_ == null) { @@ -1127,7 +1125,7 @@ public Builder setStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder setStatusUpdate( io.a2a.grpc.TaskStatusUpdateEvent.Builder builderForValue) { @@ -1145,7 +1143,7 @@ public Builder setStatusUpdate( * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder mergeStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { if (statusUpdateBuilder_ == null) { @@ -1172,7 +1170,7 @@ public Builder mergeStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder clearStatusUpdate() { if (statusUpdateBuilder_ == null) { @@ -1195,7 +1193,7 @@ public Builder clearStatusUpdate() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public io.a2a.grpc.TaskStatusUpdateEvent.Builder getStatusUpdateBuilder() { return internalGetStatusUpdateFieldBuilder().getBuilder(); @@ -1205,7 +1203,7 @@ public io.a2a.grpc.TaskStatusUpdateEvent.Builder getStatusUpdateBuilder() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { @@ -1223,7 +1221,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatusUpdateEvent, io.a2a.grpc.TaskStatusUpdateEvent.Builder, io.a2a.grpc.TaskStatusUpdateEventOrBuilder> @@ -1251,7 +1249,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ @java.lang.Override @@ -1263,7 +1261,7 @@ public boolean hasArtifactUpdate() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ @java.lang.Override @@ -1285,7 +1283,7 @@ public io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder setArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { if (artifactUpdateBuilder_ == null) { @@ -1305,7 +1303,7 @@ public Builder setArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder setArtifactUpdate( io.a2a.grpc.TaskArtifactUpdateEvent.Builder builderForValue) { @@ -1323,7 +1321,7 @@ public Builder setArtifactUpdate( * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder mergeArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { if (artifactUpdateBuilder_ == null) { @@ -1350,7 +1348,7 @@ public Builder mergeArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder clearArtifactUpdate() { if (artifactUpdateBuilder_ == null) { @@ -1373,7 +1371,7 @@ public Builder clearArtifactUpdate() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public io.a2a.grpc.TaskArtifactUpdateEvent.Builder getArtifactUpdateBuilder() { return internalGetArtifactUpdateFieldBuilder().getBuilder(); @@ -1383,7 +1381,7 @@ public io.a2a.grpc.TaskArtifactUpdateEvent.Builder getArtifactUpdateBuilder() { * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ @java.lang.Override public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() { @@ -1401,7 +1399,7 @@ public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskArtifactUpdateEvent, io.a2a.grpc.TaskArtifactUpdateEvent.Builder, io.a2a.grpc.TaskArtifactUpdateEventOrBuilder> @@ -1422,10 +1420,10 @@ public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() return artifactUpdateBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.StreamResponse) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.StreamResponse) } - // @@protoc_insertion_point(class_scope:a2a.v1.StreamResponse) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.StreamResponse) private static final io.a2a.grpc.StreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.StreamResponse(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java index 5688ed06b..228e5fa0f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface StreamResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.StreamResponse) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.StreamResponse) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface StreamResponseOrBuilder extends * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return Whether the task field is set. */ boolean hasTask(); @@ -24,7 +24,7 @@ public interface StreamResponseOrBuilder extends * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; * @return The task. */ io.a2a.grpc.Task getTask(); @@ -33,7 +33,7 @@ public interface StreamResponseOrBuilder extends * A Task object containing the current state of the task. * * - * .a2a.v1.Task task = 1; + * .lf.a2a.v1.Task task = 1; */ io.a2a.grpc.TaskOrBuilder getTaskOrBuilder(); @@ -42,7 +42,7 @@ public interface StreamResponseOrBuilder extends * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ boolean hasMessage(); @@ -51,7 +51,7 @@ public interface StreamResponseOrBuilder extends * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ io.a2a.grpc.Message getMessage(); @@ -60,7 +60,7 @@ public interface StreamResponseOrBuilder extends * A Message object containing a message from the agent. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ io.a2a.grpc.MessageOrBuilder getMessageOrBuilder(); @@ -69,7 +69,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ boolean hasStatusUpdate(); @@ -78,7 +78,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate(); @@ -87,7 +87,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task status update. * * - * .a2a.v1.TaskStatusUpdateEvent status_update = 3; + * .lf.a2a.v1.TaskStatusUpdateEvent status_update = 3; */ io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder(); @@ -96,7 +96,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ boolean hasArtifactUpdate(); @@ -105,7 +105,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate(); @@ -114,7 +114,7 @@ public interface StreamResponseOrBuilder extends * An event indicating a task artifact update. * * - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; + * .lf.a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/StringList.java b/spec-grpc/src/main/java/io/a2a/grpc/StringList.java index 6fed6e257..258bd0cba 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StringList.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StringList.java @@ -8,14 +8,15 @@ /** *
      * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    + * A list of strings.
      * 
    * - * Protobuf type {@code a2a.v1.StringList} + * Protobuf type {@code lf.a2a.v1.StringList} */ @com.google.protobuf.Generated public final class StringList extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.StringList) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.StringList) StringListOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,13 +39,13 @@ private StringList() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StringList_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StringList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StringList_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StringList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.StringList.class, io.a2a.grpc.StringList.Builder.class); } @@ -54,6 +55,10 @@ private StringList() { private com.google.protobuf.LazyStringArrayList list_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @return A list containing the list. */ @@ -62,6 +67,10 @@ private StringList() { return list_; } /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @return The count of list. */ @@ -69,6 +78,10 @@ public int getListCount() { return list_.size(); } /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @param index The index of the element to return. * @return The list at the given index. @@ -77,6 +90,10 @@ public java.lang.String getList(int index) { return list_.get(index); } /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @param index The index of the value to return. * @return The bytes of the list at the given index. @@ -252,23 +269,24 @@ protected Builder newBuilderForType( /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    +   * A list of strings.
        * 
    * - * Protobuf type {@code a2a.v1.StringList} + * Protobuf type {@code lf.a2a.v1.StringList} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.StringList) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.StringList) io.a2a.grpc.StringListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StringList_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StringList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StringList_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StringList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.StringList.class, io.a2a.grpc.StringList.Builder.class); } @@ -295,7 +313,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_StringList_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_StringList_descriptor; } @java.lang.Override @@ -408,6 +426,10 @@ private void ensureListIsMutable() { bitField0_ |= 0x00000001; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @return A list containing the list. */ @@ -417,6 +439,10 @@ private void ensureListIsMutable() { return list_; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @return The count of list. */ @@ -424,6 +450,10 @@ public int getListCount() { return list_.size(); } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param index The index of the element to return. * @return The list at the given index. @@ -432,6 +462,10 @@ public java.lang.String getList(int index) { return list_.get(index); } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param index The index of the value to return. * @return The bytes of the list at the given index. @@ -441,6 +475,10 @@ public java.lang.String getList(int index) { return list_.getByteString(index); } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param index The index to set the value at. * @param value The list to set. @@ -456,6 +494,10 @@ public Builder setList( return this; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param value The list to add. * @return This builder for chaining. @@ -470,6 +512,10 @@ public Builder addList( return this; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param values The list to add. * @return This builder for chaining. @@ -484,6 +530,10 @@ public Builder addAllList( return this; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @return This builder for chaining. */ @@ -495,6 +545,10 @@ public Builder clearList() { return this; } /** + *
    +     * The individual string values.
    +     * 
    + * * repeated string list = 1; * @param value The bytes of the list to add. * @return This builder for chaining. @@ -510,10 +564,10 @@ public Builder addListBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.StringList) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.StringList) } - // @@protoc_insertion_point(class_scope:a2a.v1.StringList) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.StringList) private static final io.a2a.grpc.StringList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.StringList(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java index 48cdceac1..a6b31a667 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java @@ -7,27 +7,43 @@ @com.google.protobuf.Generated public interface StringListOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.StringList) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.StringList) com.google.protobuf.MessageOrBuilder { /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @return A list containing the list. */ java.util.List getListList(); /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @return The count of list. */ int getListCount(); /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @param index The index of the element to return. * @return The list at the given index. */ java.lang.String getList(int index); /** + *
    +   * The individual string values.
    +   * 
    + * * repeated string list = 1; * @param index The index of the value to return. * @return The bytes of the list at the given index. diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequest.java index 82a95620a..a3f0eceb7 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequest.java @@ -7,15 +7,15 @@ /** *
    - * --8<-- [start:SubscribeToTaskRequest]
    + * Represents a request for the `SubscribeToTask` method.
      * 
    * - * Protobuf type {@code a2a.v1.SubscribeToTaskRequest} + * Protobuf type {@code lf.a2a.v1.SubscribeToTaskRequest} */ @com.google.protobuf.Generated public final class SubscribeToTaskRequest extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.SubscribeToTaskRequest) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.SubscribeToTaskRequest) SubscribeToTaskRequestOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,26 +38,26 @@ private SubscribeToTaskRequest() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SubscribeToTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SubscribeToTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SubscribeToTaskRequest.class, io.a2a.grpc.SubscribeToTaskRequest.Builder.class); } - public static final int TENANT_FIELD_NUMBER = 2; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -75,10 +75,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -96,15 +96,15 @@ public java.lang.String getTenant() { } } - public static final int ID_FIELD_NUMBER = 1; + public static final int ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** *
    -   * The resource id of the task to subscribe to.
    +   * The resource ID of the task to subscribe to.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ @java.lang.Override @@ -122,10 +122,10 @@ public java.lang.String getId() { } /** *
    -   * The resource id of the task to subscribe to.
    +   * The resource ID of the task to subscribe to.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ @java.lang.Override @@ -157,11 +157,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, tenant_); + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, id_); } getUnknownFields().writeTo(output); } @@ -172,11 +172,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); - } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, tenant_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, id_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -311,24 +311,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:SubscribeToTaskRequest]
    +   * Represents a request for the `SubscribeToTask` method.
        * 
    * - * Protobuf type {@code a2a.v1.SubscribeToTaskRequest} + * Protobuf type {@code lf.a2a.v1.SubscribeToTaskRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.SubscribeToTaskRequest) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.SubscribeToTaskRequest) io.a2a.grpc.SubscribeToTaskRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SubscribeToTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SubscribeToTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SubscribeToTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.SubscribeToTaskRequest.class, io.a2a.grpc.SubscribeToTaskRequest.Builder.class); } @@ -355,7 +355,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_SubscribeToTaskRequest_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_SubscribeToTaskRequest_descriptor; } @java.lang.Override @@ -439,13 +439,13 @@ public Builder mergeFrom( done = true; break; case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 default: { @@ -468,10 +468,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -488,10 +488,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -509,10 +509,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -526,10 +526,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -540,10 +540,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant, provided as a path parameter.
    +     * Optional. Tenant ID, provided as a path parameter.
          * 
    * - * string tenant = 2; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -560,10 +560,10 @@ public Builder setTenantBytes( private java.lang.Object id_ = ""; /** *
    -     * The resource id of the task to subscribe to.
    +     * The resource ID of the task to subscribe to.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ public java.lang.String getId() { @@ -580,10 +580,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task to subscribe to.
    +     * The resource ID of the task to subscribe to.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -601,10 +601,10 @@ public java.lang.String getId() { } /** *
    -     * The resource id of the task to subscribe to.
    +     * The resource ID of the task to subscribe to.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The id to set. * @return This builder for chaining. */ @@ -618,10 +618,10 @@ public Builder setId( } /** *
    -     * The resource id of the task to subscribe to.
    +     * The resource ID of the task to subscribe to.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearId() { @@ -632,10 +632,10 @@ public Builder clearId() { } /** *
    -     * The resource id of the task to subscribe to.
    +     * The resource ID of the task to subscribe to.
          * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -649,10 +649,10 @@ public Builder setIdBytes( return this; } - // @@protoc_insertion_point(builder_scope:a2a.v1.SubscribeToTaskRequest) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.SubscribeToTaskRequest) } - // @@protoc_insertion_point(class_scope:a2a.v1.SubscribeToTaskRequest) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.SubscribeToTaskRequest) private static final io.a2a.grpc.SubscribeToTaskRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.SubscribeToTaskRequest(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequestOrBuilder.java index 39f287b30..fccd932ad 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SubscribeToTaskRequestOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface SubscribeToTaskRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.SubscribeToTaskRequest) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.SubscribeToTaskRequest) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant, provided as a path parameter.
    +   * Optional. Tenant ID, provided as a path parameter.
        * 
    * - * string tenant = 2; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,19 +32,19 @@ public interface SubscribeToTaskRequestOrBuilder extends /** *
    -   * The resource id of the task to subscribe to.
    +   * The resource ID of the task to subscribe to.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The id. */ java.lang.String getId(); /** *
    -   * The resource id of the task to subscribe to.
    +   * The resource ID of the task to subscribe to.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; + * string id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for id. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Task.java b/spec-grpc/src/main/java/io/a2a/grpc/Task.java index cc1e66690..87c24f027 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Task.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Task.java @@ -7,19 +7,18 @@ /** *
    - * --8<-- [start:Task]
    - * Task is the core unit of action for A2A. It has a current status
    + * `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.
      * 
    * - * Protobuf type {@code a2a.v1.Task} + * Protobuf type {@code lf.a2a.v1.Task} */ @com.google.protobuf.Generated public final class Task extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.Task) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.Task) TaskOrBuilder { private static final long serialVersionUID = 0L; static { @@ -44,13 +43,13 @@ private Task() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Task_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Task_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Task.class, io.a2a.grpc.Task.Builder.class); } @@ -158,10 +157,10 @@ public java.lang.String getContextId() { private io.a2a.grpc.TaskStatus status_; /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ @java.lang.Override @@ -170,10 +169,10 @@ public boolean hasStatus() { } /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ @java.lang.Override @@ -182,10 +181,10 @@ public io.a2a.grpc.TaskStatus getStatus() { } /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { @@ -197,10 +196,10 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { private java.util.List artifacts_; /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public java.util.List getArtifactsList() { @@ -208,10 +207,10 @@ public java.util.List getArtifactsList() { } /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public java.util.List @@ -220,10 +219,10 @@ public java.util.List getArtifactsList() { } /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public int getArtifactsCount() { @@ -231,10 +230,10 @@ public int getArtifactsCount() { } /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public io.a2a.grpc.Artifact getArtifacts(int index) { @@ -242,10 +241,10 @@ public io.a2a.grpc.Artifact getArtifacts(int index) { } /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( @@ -259,10 +258,10 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ @java.lang.Override public java.util.List getHistoryList() { @@ -271,10 +270,10 @@ public java.util.List getHistoryList() { /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ @java.lang.Override public java.util.List @@ -284,10 +283,10 @@ public java.util.List getHistoryList() { /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ @java.lang.Override public int getHistoryCount() { @@ -296,10 +295,10 @@ public int getHistoryCount() { /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ @java.lang.Override public io.a2a.grpc.Message getHistory(int index) { @@ -308,10 +307,10 @@ public io.a2a.grpc.Message getHistory(int index) { /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( @@ -586,28 +585,27 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:Task]
    -   * Task is the core unit of action for A2A. It has a current status
    +   * `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.
        * 
    * - * Protobuf type {@code a2a.v1.Task} + * Protobuf type {@code lf.a2a.v1.Task} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.Task) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.Task) io.a2a.grpc.TaskOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Task_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Task_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Task_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.Task.class, io.a2a.grpc.Task.Builder.class); } @@ -667,7 +665,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_Task_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_Task_descriptor; } @java.lang.Override @@ -1110,10 +1108,10 @@ public Builder setContextIdBytes( io.a2a.grpc.TaskStatus, io.a2a.grpc.TaskStatus.Builder, io.a2a.grpc.TaskStatusOrBuilder> statusBuilder_; /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ public boolean hasStatus() { @@ -1121,10 +1119,10 @@ public boolean hasStatus() { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ public io.a2a.grpc.TaskStatus getStatus() { @@ -1136,10 +1134,10 @@ public io.a2a.grpc.TaskStatus getStatus() { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -1156,10 +1154,10 @@ public Builder setStatus(io.a2a.grpc.TaskStatus value) { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatus( io.a2a.grpc.TaskStatus.Builder builderForValue) { @@ -1174,10 +1172,10 @@ public Builder setStatus( } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -1199,10 +1197,10 @@ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1216,10 +1214,10 @@ public Builder clearStatus() { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { bitField0_ |= 0x00000004; @@ -1228,10 +1226,10 @@ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { @@ -1243,10 +1241,10 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { } /** *
    -     * The current status of a Task, including state and a message.
    +     * The current status of a `Task`, including `state` and a `message`.
          * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatus, io.a2a.grpc.TaskStatus.Builder, io.a2a.grpc.TaskStatusOrBuilder> @@ -1276,10 +1274,10 @@ private void ensureArtifactsIsMutable() { /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsList() { if (artifactsBuilder_ == null) { @@ -1290,10 +1288,10 @@ public java.util.List getArtifactsList() { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public int getArtifactsCount() { if (artifactsBuilder_ == null) { @@ -1304,10 +1302,10 @@ public int getArtifactsCount() { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact getArtifacts(int index) { if (artifactsBuilder_ == null) { @@ -1318,10 +1316,10 @@ public io.a2a.grpc.Artifact getArtifacts(int index) { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder setArtifacts( int index, io.a2a.grpc.Artifact value) { @@ -1339,10 +1337,10 @@ public Builder setArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder setArtifacts( int index, io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1357,10 +1355,10 @@ public Builder setArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts(io.a2a.grpc.Artifact value) { if (artifactsBuilder_ == null) { @@ -1377,10 +1375,10 @@ public Builder addArtifacts(io.a2a.grpc.Artifact value) { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( int index, io.a2a.grpc.Artifact value) { @@ -1398,10 +1396,10 @@ public Builder addArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1416,10 +1414,10 @@ public Builder addArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( int index, io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1434,10 +1432,10 @@ public Builder addArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder addAllArtifacts( java.lang.Iterable values) { @@ -1453,10 +1451,10 @@ public Builder addAllArtifacts( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder clearArtifacts() { if (artifactsBuilder_ == null) { @@ -1470,10 +1468,10 @@ public Builder clearArtifacts() { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public Builder removeArtifacts(int index) { if (artifactsBuilder_ == null) { @@ -1487,10 +1485,10 @@ public Builder removeArtifacts(int index) { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder getArtifactsBuilder( int index) { @@ -1498,10 +1496,10 @@ public io.a2a.grpc.Artifact.Builder getArtifactsBuilder( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( int index) { @@ -1512,10 +1510,10 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsOrBuilderList() { @@ -1527,10 +1525,10 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder() { return internalGetArtifactsFieldBuilder().addBuilder( @@ -1538,10 +1536,10 @@ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder() { } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder( int index) { @@ -1550,10 +1548,10 @@ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder( } /** *
    -     * A set of output artifacts for a Task.
    +     * A set of output artifacts for a `Task`.
          * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsBuilderList() { @@ -1589,10 +1587,10 @@ private void ensureHistoryIsMutable() { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public java.util.List getHistoryList() { if (historyBuilder_ == null) { @@ -1604,10 +1602,10 @@ public java.util.List getHistoryList() { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public int getHistoryCount() { if (historyBuilder_ == null) { @@ -1619,10 +1617,10 @@ public int getHistoryCount() { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public io.a2a.grpc.Message getHistory(int index) { if (historyBuilder_ == null) { @@ -1634,10 +1632,10 @@ public io.a2a.grpc.Message getHistory(int index) { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder setHistory( int index, io.a2a.grpc.Message value) { @@ -1656,10 +1654,10 @@ public Builder setHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder setHistory( int index, io.a2a.grpc.Message.Builder builderForValue) { @@ -1675,10 +1673,10 @@ public Builder setHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder addHistory(io.a2a.grpc.Message value) { if (historyBuilder_ == null) { @@ -1696,10 +1694,10 @@ public Builder addHistory(io.a2a.grpc.Message value) { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder addHistory( int index, io.a2a.grpc.Message value) { @@ -1718,10 +1716,10 @@ public Builder addHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder addHistory( io.a2a.grpc.Message.Builder builderForValue) { @@ -1737,10 +1735,10 @@ public Builder addHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder addHistory( int index, io.a2a.grpc.Message.Builder builderForValue) { @@ -1756,10 +1754,10 @@ public Builder addHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder addAllHistory( java.lang.Iterable values) { @@ -1776,10 +1774,10 @@ public Builder addAllHistory( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder clearHistory() { if (historyBuilder_ == null) { @@ -1794,10 +1792,10 @@ public Builder clearHistory() { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public Builder removeHistory(int index) { if (historyBuilder_ == null) { @@ -1812,10 +1810,10 @@ public Builder removeHistory(int index) { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder getHistoryBuilder( int index) { @@ -1824,10 +1822,10 @@ public io.a2a.grpc.Message.Builder getHistoryBuilder( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( int index) { @@ -1839,10 +1837,10 @@ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public java.util.List getHistoryOrBuilderList() { @@ -1855,10 +1853,10 @@ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder addHistoryBuilder() { return internalGetHistoryFieldBuilder().addBuilder( @@ -1867,10 +1865,10 @@ public io.a2a.grpc.Message.Builder addHistoryBuilder() { /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder addHistoryBuilder( int index) { @@ -1880,10 +1878,10 @@ public io.a2a.grpc.Message.Builder addHistoryBuilder( /** *
          * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -     * The history of interactions from a task.
    +     * The history of interactions from a `Task`.
          * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ public java.util.List getHistoryBuilderList() { @@ -2070,10 +2068,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return metadataBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.Task) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.Task) } - // @@protoc_insertion_point(class_scope:a2a.v1.Task) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.Task) private static final io.a2a.grpc.Task DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.Task(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java index 08be9ee0c..b89e56e3f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java @@ -7,17 +7,15 @@ /** *
    - * --8<-- [start:TaskArtifactUpdateEvent]
    - * TaskArtifactUpdateEvent represents a task delta where an artifact has
    - * been generated.
    + * A task delta where an artifact has been generated.
      * 
    * - * Protobuf type {@code a2a.v1.TaskArtifactUpdateEvent} + * Protobuf type {@code lf.a2a.v1.TaskArtifactUpdateEvent} */ @com.google.protobuf.Generated public final class TaskArtifactUpdateEvent extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.TaskArtifactUpdateEvent) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.TaskArtifactUpdateEvent) TaskArtifactUpdateEventOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +38,13 @@ private TaskArtifactUpdateEvent() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskArtifactUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskArtifactUpdateEvent.class, io.a2a.grpc.TaskArtifactUpdateEvent.Builder.class); } @@ -57,7 +55,7 @@ private TaskArtifactUpdateEvent() { private volatile java.lang.Object taskId_ = ""; /** *
    -   * The id of the task for this artifact.
    +   * The ID of the task for this artifact.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -78,7 +76,7 @@ public java.lang.String getTaskId() { } /** *
    -   * The id of the task for this artifact.
    +   * The ID of the task for this artifact.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -104,7 +102,7 @@ public java.lang.String getTaskId() { private volatile java.lang.Object contextId_ = ""; /** *
    -   * The id of the context that this task belongs to.
    +   * The ID of the context that this task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -125,7 +123,7 @@ public java.lang.String getContextId() { } /** *
    -   * The id of the context that this task belongs to.
    +   * The ID of the context that this task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -153,7 +151,7 @@ public java.lang.String getContextId() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ @java.lang.Override @@ -165,7 +163,7 @@ public boolean hasArtifact() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ @java.lang.Override @@ -177,7 +175,7 @@ public io.a2a.grpc.Artifact getArtifact() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { @@ -219,7 +217,7 @@ public boolean getLastChunk() { private com.google.protobuf.Struct metadata_; /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -231,7 +229,7 @@ public boolean hasMetadata() { } /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -243,7 +241,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -477,26 +475,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:TaskArtifactUpdateEvent]
    -   * TaskArtifactUpdateEvent represents a task delta where an artifact has
    -   * been generated.
    +   * A task delta where an artifact has been generated.
        * 
    * - * Protobuf type {@code a2a.v1.TaskArtifactUpdateEvent} + * Protobuf type {@code lf.a2a.v1.TaskArtifactUpdateEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.TaskArtifactUpdateEvent) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.TaskArtifactUpdateEvent) io.a2a.grpc.TaskArtifactUpdateEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskArtifactUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskArtifactUpdateEvent.class, io.a2a.grpc.TaskArtifactUpdateEvent.Builder.class); } @@ -542,7 +538,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskArtifactUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskArtifactUpdateEvent_descriptor; } @java.lang.Override @@ -711,7 +707,7 @@ public Builder mergeFrom( private java.lang.Object taskId_ = ""; /** *
    -     * The id of the task for this artifact.
    +     * The ID of the task for this artifact.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -731,7 +727,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task for this artifact.
    +     * The ID of the task for this artifact.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -752,7 +748,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task for this artifact.
    +     * The ID of the task for this artifact.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -769,7 +765,7 @@ public Builder setTaskId( } /** *
    -     * The id of the task for this artifact.
    +     * The ID of the task for this artifact.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -783,7 +779,7 @@ public Builder clearTaskId() { } /** *
    -     * The id of the task for this artifact.
    +     * The ID of the task for this artifact.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -803,7 +799,7 @@ public Builder setTaskIdBytes( private java.lang.Object contextId_ = ""; /** *
    -     * The id of the context that this task belongs to.
    +     * The ID of the context that this task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -823,7 +819,7 @@ public java.lang.String getContextId() { } /** *
    -     * The id of the context that this task belongs to.
    +     * The ID of the context that this task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -844,7 +840,7 @@ public java.lang.String getContextId() { } /** *
    -     * The id of the context that this task belongs to.
    +     * The ID of the context that this task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -861,7 +857,7 @@ public Builder setContextId( } /** *
    -     * The id of the context that this task belongs to.
    +     * The ID of the context that this task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -875,7 +871,7 @@ public Builder clearContextId() { } /** *
    -     * The id of the context that this task belongs to.
    +     * The ID of the context that this task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -900,7 +896,7 @@ public Builder setContextIdBytes( * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ public boolean hasArtifact() { @@ -911,7 +907,7 @@ public boolean hasArtifact() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ public io.a2a.grpc.Artifact getArtifact() { @@ -926,7 +922,7 @@ public io.a2a.grpc.Artifact getArtifact() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact(io.a2a.grpc.Artifact value) { if (artifactBuilder_ == null) { @@ -946,7 +942,7 @@ public Builder setArtifact(io.a2a.grpc.Artifact value) { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setArtifact( io.a2a.grpc.Artifact.Builder builderForValue) { @@ -964,7 +960,7 @@ public Builder setArtifact( * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeArtifact(io.a2a.grpc.Artifact value) { if (artifactBuilder_ == null) { @@ -989,7 +985,7 @@ public Builder mergeArtifact(io.a2a.grpc.Artifact value) { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearArtifact() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1006,7 +1002,7 @@ public Builder clearArtifact() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Artifact.Builder getArtifactBuilder() { bitField0_ |= 0x00000004; @@ -1018,7 +1014,7 @@ public io.a2a.grpc.Artifact.Builder getArtifactBuilder() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { @@ -1033,7 +1029,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Artifact, io.a2a.grpc.Artifact.Builder, io.a2a.grpc.ArtifactOrBuilder> @@ -1145,7 +1141,7 @@ public Builder clearLastChunk() { com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1156,7 +1152,7 @@ public boolean hasMetadata() { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1171,7 +1167,7 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1191,7 +1187,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1209,7 +1205,7 @@ public Builder setMetadata( } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1234,7 +1230,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1251,7 +1247,7 @@ public Builder clearMetadata() { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1263,7 +1259,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1278,7 +1274,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } /** *
    -     * Optional metadata associated with the artifact update.
    +     * Optional. Metadata associated with the artifact update.
          * 
    * * .google.protobuf.Struct metadata = 6; @@ -1297,10 +1293,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return metadataBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.TaskArtifactUpdateEvent) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.TaskArtifactUpdateEvent) } - // @@protoc_insertion_point(class_scope:a2a.v1.TaskArtifactUpdateEvent) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.TaskArtifactUpdateEvent) private static final io.a2a.grpc.TaskArtifactUpdateEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.TaskArtifactUpdateEvent(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java index 97b99f5d1..b543856f4 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java @@ -7,12 +7,12 @@ @com.google.protobuf.Generated public interface TaskArtifactUpdateEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.TaskArtifactUpdateEvent) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.TaskArtifactUpdateEvent) com.google.protobuf.MessageOrBuilder { /** *
    -   * The id of the task for this artifact.
    +   * The ID of the task for this artifact.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -21,7 +21,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends java.lang.String getTaskId(); /** *
    -   * The id of the task for this artifact.
    +   * The ID of the task for this artifact.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -32,7 +32,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends /** *
    -   * The id of the context that this task belongs to.
    +   * The ID of the context that this task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends java.lang.String getContextId(); /** *
    -   * The id of the context that this task belongs to.
    +   * The ID of the context that this task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -55,7 +55,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the artifact field is set. */ boolean hasArtifact(); @@ -64,7 +64,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The artifact. */ io.a2a.grpc.Artifact getArtifact(); @@ -73,7 +73,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact that was generated or updated. * * - * .a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder(); @@ -100,7 +100,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -109,7 +109,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends boolean hasMetadata(); /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; @@ -118,7 +118,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends com.google.protobuf.Struct getMetadata(); /** *
    -   * Optional metadata associated with the artifact update.
    +   * Optional. Metadata associated with the artifact update.
        * 
    * * .google.protobuf.Struct metadata = 6; diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java index 2c8648576..cdca99dcf 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface TaskOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.Task) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.Task) com.google.protobuf.MessageOrBuilder { /** @@ -56,71 +56,71 @@ public interface TaskOrBuilder extends /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ boolean hasStatus(); /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ io.a2a.grpc.TaskStatus getStatus(); /** *
    -   * The current status of a Task, including state and a message.
    +   * The current status of a `Task`, including `state` and a `message`.
        * 
    * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder(); /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ java.util.List getArtifactsList(); /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ io.a2a.grpc.Artifact getArtifacts(int index); /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ int getArtifactsCount(); /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ java.util.List getArtifactsOrBuilderList(); /** *
    -   * A set of output artifacts for a Task.
    +   * A set of output artifacts for a `Task`.
        * 
    * - * repeated .a2a.v1.Artifact artifacts = 4; + * repeated .lf.a2a.v1.Artifact artifacts = 4; */ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( int index); @@ -128,48 +128,48 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ java.util.List getHistoryList(); /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ io.a2a.grpc.Message getHistory(int index); /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ int getHistoryCount(); /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ java.util.List getHistoryOrBuilderList(); /** *
        * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
    -   * The history of interactions from a task.
    +   * The history of interactions from a `Task`.
        * 
    * - * repeated .a2a.v1.Message history = 5; + * repeated .lf.a2a.v1.Message history = 5; */ io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( int index); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java index 745594565..fdf27bc57 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java @@ -7,17 +7,15 @@ /** *
    - * --8<-- [start:TaskPushNotificationConfig]
    - * A container associating a push notification configuration with a specific
    - * task.
    + * A container associating a push notification configuration with a specific task.
      * 
    * - * Protobuf type {@code a2a.v1.TaskPushNotificationConfig} + * Protobuf type {@code lf.a2a.v1.TaskPushNotificationConfig} */ @com.google.protobuf.Generated public final class TaskPushNotificationConfig extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.TaskPushNotificationConfig) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.TaskPushNotificationConfig) TaskPushNotificationConfigOrBuilder { private static final long serialVersionUID = 0L; static { @@ -35,33 +33,32 @@ private TaskPushNotificationConfig(com.google.protobuf.GeneratedMessage.Builder< } private TaskPushNotificationConfig() { tenant_ = ""; - id_ = ""; taskId_ = ""; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskPushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskPushNotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskPushNotificationConfig.class, io.a2a.grpc.TaskPushNotificationConfig.Builder.class); } private int bitField0_; - public static final int TENANT_FIELD_NUMBER = 4; + public static final int TENANT_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object tenant_ = ""; /** *
    -   * Optional tenant
    +   * Optional. Tenant ID.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ @java.lang.Override @@ -79,10 +76,10 @@ public java.lang.String getTenant() { } /** *
    -   * Optional tenant
    +   * Optional. Tenant ID.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ @java.lang.Override @@ -100,62 +97,15 @@ public java.lang.String getTenant() { } } - public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") - private volatile java.lang.Object id_ = ""; - /** - *
    -   * The id of the config.
    -   * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } - } - /** - *
    -   * The id of the config.
    -   * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TASK_ID_FIELD_NUMBER = 3; + public static final int TASK_ID_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object taskId_ = ""; /** *
    -   * The id of the task this config is associated with.
    +   * The ID of the task this configuration is associated with.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ @java.lang.Override @@ -173,10 +123,10 @@ public java.lang.String getTaskId() { } /** *
    -   * The id of the task this config is associated with.
    +   * The ID of the task this configuration is associated with.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ @java.lang.Override @@ -194,14 +144,14 @@ public java.lang.String getTaskId() { } } - public static final int PUSH_NOTIFICATION_CONFIG_FIELD_NUMBER = 2; + public static final int PUSH_NOTIFICATION_CONFIG_FIELD_NUMBER = 3; private io.a2a.grpc.PushNotificationConfig pushNotificationConfig_; /** *
        * The push notification configuration details.
        * 
    * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pushNotificationConfig field is set. */ @java.lang.Override @@ -213,7 +163,7 @@ public boolean hasPushNotificationConfig() { * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The pushNotificationConfig. */ @java.lang.Override @@ -225,7 +175,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { @@ -246,17 +196,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(2, getPushNotificationConfig()); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, taskId_); + com.google.protobuf.GeneratedMessage.writeString(output, 2, taskId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, tenant_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getPushNotificationConfig()); } getUnknownFields().writeTo(output); } @@ -267,18 +214,15 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPushNotificationConfig()); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, tenant_); } if (!com.google.protobuf.GeneratedMessage.isStringEmpty(taskId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, taskId_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, taskId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tenant_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, tenant_); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPushNotificationConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -297,8 +241,6 @@ public boolean equals(final java.lang.Object obj) { if (!getTenant() .equals(other.getTenant())) return false; - if (!getId() - .equals(other.getId())) return false; if (!getTaskId() .equals(other.getTaskId())) return false; if (hasPushNotificationConfig() != other.hasPushNotificationConfig()) return false; @@ -319,8 +261,6 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TENANT_FIELD_NUMBER; hash = (53 * hash) + getTenant().hashCode(); - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + TASK_ID_FIELD_NUMBER; hash = (53 * hash) + getTaskId().hashCode(); if (hasPushNotificationConfig()) { @@ -426,26 +366,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:TaskPushNotificationConfig]
    -   * A container associating a push notification configuration with a specific
    -   * task.
    +   * A container associating a push notification configuration with a specific task.
        * 
    * - * Protobuf type {@code a2a.v1.TaskPushNotificationConfig} + * Protobuf type {@code lf.a2a.v1.TaskPushNotificationConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.TaskPushNotificationConfig) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.TaskPushNotificationConfig) io.a2a.grpc.TaskPushNotificationConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskPushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskPushNotificationConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskPushNotificationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskPushNotificationConfig.class, io.a2a.grpc.TaskPushNotificationConfig.Builder.class); } @@ -471,7 +409,6 @@ public Builder clear() { super.clear(); bitField0_ = 0; tenant_ = ""; - id_ = ""; taskId_ = ""; pushNotificationConfig_ = null; if (pushNotificationConfigBuilder_ != null) { @@ -484,7 +421,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskPushNotificationConfig_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskPushNotificationConfig_descriptor; } @java.lang.Override @@ -515,13 +452,10 @@ private void buildPartial0(io.a2a.grpc.TaskPushNotificationConfig result) { result.tenant_ = tenant_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.id_ = id_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { result.taskId_ = taskId_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000004) != 0)) { result.pushNotificationConfig_ = pushNotificationConfigBuilder_ == null ? pushNotificationConfig_ : pushNotificationConfigBuilder_.build(); @@ -547,14 +481,9 @@ public Builder mergeFrom(io.a2a.grpc.TaskPushNotificationConfig other) { bitField0_ |= 0x00000001; onChanged(); } - if (!other.getId().isEmpty()) { - id_ = other.id_; - bitField0_ |= 0x00000002; - onChanged(); - } if (!other.getTaskId().isEmpty()) { taskId_ = other.taskId_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasPushNotificationConfig()) { @@ -587,27 +516,22 @@ public Builder mergeFrom( done = true; break; case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + tenant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage( - internalGetPushNotificationConfigFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; + taskId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; break; } // case 18 case 26: { - taskId_ = input.readStringRequireUtf8(); + input.readMessage( + internalGetPushNotificationConfigFieldBuilder().getBuilder(), + extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 - case 34: { - tenant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -628,10 +552,10 @@ public Builder mergeFrom( private java.lang.Object tenant_ = ""; /** *
    -     * Optional tenant
    +     * Optional. Tenant ID.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ public java.lang.String getTenant() { @@ -648,10 +572,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant
    +     * Optional. Tenant ID.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ public com.google.protobuf.ByteString @@ -669,10 +593,10 @@ public java.lang.String getTenant() { } /** *
    -     * Optional tenant
    +     * Optional. Tenant ID.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The tenant to set. * @return This builder for chaining. */ @@ -686,10 +610,10 @@ public Builder setTenant( } /** *
    -     * Optional tenant
    +     * Optional. Tenant ID.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @return This builder for chaining. */ public Builder clearTenant() { @@ -700,10 +624,10 @@ public Builder clearTenant() { } /** *
    -     * Optional tenant
    +     * Optional. Tenant ID.
          * 
    * - * string tenant = 4; + * string tenant = 1; * @param value The bytes for tenant to set. * @return This builder for chaining. */ @@ -717,105 +641,13 @@ public Builder setTenantBytes( return this; } - private java.lang.Object id_ = ""; - /** - *
    -     * The id of the config.
    -     * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - id_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - *
    -     * The id of the config.
    -     * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - *
    -     * The id of the config.
    -     * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } - id_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - *
    -     * The id of the config.
    -     * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return This builder for chaining. - */ - public Builder clearId() { - id_ = getDefaultInstance().getId(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - *
    -     * The id of the config.
    -     * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - id_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - private java.lang.Object taskId_ = ""; /** *
    -     * The id of the task this config is associated with.
    +     * The ID of the task this configuration is associated with.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ public java.lang.String getTaskId() { @@ -832,10 +664,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task this config is associated with.
    +     * The ID of the task this configuration is associated with.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -853,10 +685,10 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task this config is associated with.
    +     * The ID of the task this configuration is associated with.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The taskId to set. * @return This builder for chaining. */ @@ -864,30 +696,30 @@ public Builder setTaskId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } taskId_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; onChanged(); return this; } /** *
    -     * The id of the task this config is associated with.
    +     * The ID of the task this configuration is associated with.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearTaskId() { taskId_ = getDefaultInstance().getTaskId(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
    -     * The id of the task this config is associated with.
    +     * The ID of the task this configuration is associated with.
          * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -896,7 +728,7 @@ public Builder setTaskIdBytes( if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); taskId_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -909,18 +741,18 @@ public Builder setTaskIdBytes( * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pushNotificationConfig field is set. */ public boolean hasPushNotificationConfig() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** *
          * The push notification configuration details.
          * 
    * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The pushNotificationConfig. */ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { @@ -935,7 +767,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { @@ -946,7 +778,7 @@ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig valu } else { pushNotificationConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -955,7 +787,7 @@ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig valu * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setPushNotificationConfig( io.a2a.grpc.PushNotificationConfig.Builder builderForValue) { @@ -964,7 +796,7 @@ public Builder setPushNotificationConfig( } else { pushNotificationConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -973,11 +805,11 @@ public Builder setPushNotificationConfig( * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && + if (((bitField0_ & 0x00000004) != 0) && pushNotificationConfig_ != null && pushNotificationConfig_ != io.a2a.grpc.PushNotificationConfig.getDefaultInstance()) { getPushNotificationConfigBuilder().mergeFrom(value); @@ -988,7 +820,7 @@ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig va pushNotificationConfigBuilder_.mergeFrom(value); } if (pushNotificationConfig_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); } return this; @@ -998,10 +830,10 @@ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig va * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearPushNotificationConfig() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000004); pushNotificationConfig_ = null; if (pushNotificationConfigBuilder_ != null) { pushNotificationConfigBuilder_.dispose(); @@ -1015,10 +847,10 @@ public Builder clearPushNotificationConfig() { * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000004; onChanged(); return internalGetPushNotificationConfigFieldBuilder().getBuilder(); } @@ -1027,7 +859,7 @@ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuild * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { if (pushNotificationConfigBuilder_ != null) { @@ -1042,7 +874,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBu * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> @@ -1058,10 +890,10 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBu return pushNotificationConfigBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.TaskPushNotificationConfig) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.TaskPushNotificationConfig) } - // @@protoc_insertion_point(class_scope:a2a.v1.TaskPushNotificationConfig) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.TaskPushNotificationConfig) private static final io.a2a.grpc.TaskPushNotificationConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.TaskPushNotificationConfig(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java index 2da32ae41..7bffa7a54 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java @@ -7,24 +7,24 @@ @com.google.protobuf.Generated public interface TaskPushNotificationConfigOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.TaskPushNotificationConfig) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.TaskPushNotificationConfig) com.google.protobuf.MessageOrBuilder { /** *
    -   * Optional tenant
    +   * Optional. Tenant ID.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The tenant. */ java.lang.String getTenant(); /** *
    -   * Optional tenant
    +   * Optional. Tenant ID.
        * 
    * - * string tenant = 4; + * string tenant = 1; * @return The bytes for tenant. */ com.google.protobuf.ByteString @@ -32,39 +32,19 @@ public interface TaskPushNotificationConfigOrBuilder extends /** *
    -   * The id of the config.
    +   * The ID of the task this configuration is associated with.
        * 
    * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The id. - */ - java.lang.String getId(); - /** - *
    -   * The id of the config.
    -   * 
    - * - * string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - *
    -   * The id of the task this config is associated with.
    -   * 
    - * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The taskId. */ java.lang.String getTaskId(); /** *
    -   * The id of the task this config is associated with.
    +   * The ID of the task this configuration is associated with.
        * 
    * - * string task_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * string task_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -75,7 +55,7 @@ public interface TaskPushNotificationConfigOrBuilder extends * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the pushNotificationConfig field is set. */ boolean hasPushNotificationConfig(); @@ -84,7 +64,7 @@ public interface TaskPushNotificationConfigOrBuilder extends * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The pushNotificationConfig. */ io.a2a.grpc.PushNotificationConfig getPushNotificationConfig(); @@ -93,7 +73,7 @@ public interface TaskPushNotificationConfigOrBuilder extends * The push notification configuration details. * * - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.PushNotificationConfig push_notification_config = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskState.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskState.java index 9fc6b6441..b5632db75 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskState.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskState.java @@ -7,11 +7,10 @@ /** *
    - * --8<-- [start:TaskState]
    - * Defines the possible lifecycle states of a Task.
    + * Defines the possible lifecycle states of a `Task`.
      * 
    * - * Protobuf enum {@code a2a.v1.TaskState} + * Protobuf enum {@code lf.a2a.v1.TaskState} */ @com.google.protobuf.Generated public enum TaskState @@ -26,7 +25,7 @@ public enum TaskState TASK_STATE_UNSPECIFIED(0), /** *
    -   * Represents the status that acknowledges a task is created.
    +   * Indicates that a task has been successfully submitted and acknowledged.
        * 
    * * TASK_STATE_SUBMITTED = 1; @@ -34,7 +33,7 @@ public enum TaskState TASK_STATE_SUBMITTED(1), /** *
    -   * Represents the status that a task is actively being processed.
    +   * Indicates that a task is actively being processed by the agent.
        * 
    * * TASK_STATE_WORKING = 2; @@ -42,7 +41,7 @@ public enum TaskState TASK_STATE_WORKING(2), /** *
    -   * Represents the status a task is finished. This is a terminal state.
    +   * Indicates that a task has finished successfully. This is a terminal state.
        * 
    * * TASK_STATE_COMPLETED = 3; @@ -50,7 +49,7 @@ public enum TaskState TASK_STATE_COMPLETED(3), /** *
    -   * Represents the status a task is done but failed. This is a terminal state.
    +   * Indicates that a task has finished with an error. This is a terminal state.
        * 
    * * TASK_STATE_FAILED = 4; @@ -58,8 +57,7 @@ public enum TaskState TASK_STATE_FAILED(4), /** *
    -   * Represents the status a task was canceled before it finished.
    -   * This is a terminal state.
    +   * Indicates that a task was canceled before completion. This is a terminal state.
        * 
    * * TASK_STATE_CANCELED = 5; @@ -67,8 +65,7 @@ public enum TaskState TASK_STATE_CANCELED(5), /** *
    -   * Represents the status that the task requires information to complete.
    -   * This is an interrupted state.
    +   * Indicates that the agent requires additional user input to proceed. This is an interrupted state.
        * 
    * * TASK_STATE_INPUT_REQUIRED = 6; @@ -76,7 +73,7 @@ public enum TaskState TASK_STATE_INPUT_REQUIRED(6), /** *
    -   * Represents the status that the agent has decided to not perform the task.
    +   * 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.
        * 
    @@ -86,8 +83,7 @@ public enum TaskState TASK_STATE_REJECTED(7), /** *
    -   * Represents the state that some authentication is needed from the upstream
    -   * client. This is an interrupted state. Authentication is expected to come out-of-band.
    +   * Indicates that authentication is required to proceed. This is an interrupted state.
        * 
    * * TASK_STATE_AUTH_REQUIRED = 8; @@ -115,7 +111,7 @@ public enum TaskState public static final int TASK_STATE_UNSPECIFIED_VALUE = 0; /** *
    -   * Represents the status that acknowledges a task is created.
    +   * Indicates that a task has been successfully submitted and acknowledged.
        * 
    * * TASK_STATE_SUBMITTED = 1; @@ -123,7 +119,7 @@ public enum TaskState public static final int TASK_STATE_SUBMITTED_VALUE = 1; /** *
    -   * Represents the status that a task is actively being processed.
    +   * Indicates that a task is actively being processed by the agent.
        * 
    * * TASK_STATE_WORKING = 2; @@ -131,7 +127,7 @@ public enum TaskState public static final int TASK_STATE_WORKING_VALUE = 2; /** *
    -   * Represents the status a task is finished. This is a terminal state.
    +   * Indicates that a task has finished successfully. This is a terminal state.
        * 
    * * TASK_STATE_COMPLETED = 3; @@ -139,7 +135,7 @@ public enum TaskState public static final int TASK_STATE_COMPLETED_VALUE = 3; /** *
    -   * Represents the status a task is done but failed. This is a terminal state.
    +   * Indicates that a task has finished with an error. This is a terminal state.
        * 
    * * TASK_STATE_FAILED = 4; @@ -147,8 +143,7 @@ public enum TaskState public static final int TASK_STATE_FAILED_VALUE = 4; /** *
    -   * Represents the status a task was canceled before it finished.
    -   * This is a terminal state.
    +   * Indicates that a task was canceled before completion. This is a terminal state.
        * 
    * * TASK_STATE_CANCELED = 5; @@ -156,8 +151,7 @@ public enum TaskState public static final int TASK_STATE_CANCELED_VALUE = 5; /** *
    -   * Represents the status that the task requires information to complete.
    -   * This is an interrupted state.
    +   * Indicates that the agent requires additional user input to proceed. This is an interrupted state.
        * 
    * * TASK_STATE_INPUT_REQUIRED = 6; @@ -165,7 +159,7 @@ public enum TaskState public static final int TASK_STATE_INPUT_REQUIRED_VALUE = 6; /** *
    -   * Represents the status that the agent has decided to not perform the task.
    +   * 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.
        * 
    @@ -175,8 +169,7 @@ public enum TaskState public static final int TASK_STATE_REJECTED_VALUE = 7; /** *
    -   * Represents the state that some authentication is needed from the upstream
    -   * client. This is an interrupted state. Authentication is expected to come out-of-band.
    +   * Indicates that authentication is required to proceed. This is an interrupted state.
        * 
    * * TASK_STATE_AUTH_REQUIRED = 8; @@ -270,6 +263,6 @@ private TaskState(int value) { this.value = value; } - // @@protoc_insertion_point(enum_scope:a2a.v1.TaskState) + // @@protoc_insertion_point(enum_scope:lf.a2a.v1.TaskState) } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java index d435fbb50..f31bffb15 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java @@ -7,16 +7,15 @@ /** *
    - * --8<-- [start:TaskStatus]
      * A container for the status of a task
      * 
    * - * Protobuf type {@code a2a.v1.TaskStatus} + * Protobuf type {@code lf.a2a.v1.TaskStatus} */ @com.google.protobuf.Generated public final class TaskStatus extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.TaskStatus) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.TaskStatus) TaskStatusOrBuilder { private static final long serialVersionUID = 0L; static { @@ -38,13 +37,13 @@ private TaskStatus() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatus_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatus_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskStatus.class, io.a2a.grpc.TaskStatus.Builder.class); } @@ -57,7 +56,7 @@ private TaskStatus() { * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { @@ -68,7 +67,7 @@ private TaskStatus() { * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ @java.lang.Override public io.a2a.grpc.TaskState getState() { @@ -83,7 +82,7 @@ private TaskStatus() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ @java.lang.Override @@ -95,7 +94,7 @@ public boolean hasMessage() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ @java.lang.Override @@ -107,7 +106,7 @@ public io.a2a.grpc.Message getMessage() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { @@ -345,25 +344,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:TaskStatus]
        * A container for the status of a task
        * 
    * - * Protobuf type {@code a2a.v1.TaskStatus} + * Protobuf type {@code lf.a2a.v1.TaskStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.TaskStatus) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.TaskStatus) io.a2a.grpc.TaskStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatus_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatus_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskStatus.class, io.a2a.grpc.TaskStatus.Builder.class); } @@ -406,7 +404,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatus_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatus_descriptor; } @java.lang.Override @@ -541,7 +539,7 @@ public Builder mergeFrom( * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { @@ -552,7 +550,7 @@ public Builder mergeFrom( * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -567,7 +565,7 @@ public Builder setStateValue(int value) { * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ @java.lang.Override @@ -580,7 +578,7 @@ public io.a2a.grpc.TaskState getState() { * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The state to set. * @return This builder for chaining. */ @@ -596,7 +594,7 @@ public Builder setState(io.a2a.grpc.TaskState value) { * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearState() { @@ -614,7 +612,7 @@ public Builder clearState() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ public boolean hasMessage() { @@ -625,7 +623,7 @@ public boolean hasMessage() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ public io.a2a.grpc.Message getMessage() { @@ -640,7 +638,7 @@ public io.a2a.grpc.Message getMessage() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -660,7 +658,7 @@ public Builder setMessage(io.a2a.grpc.Message value) { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder setMessage( io.a2a.grpc.Message.Builder builderForValue) { @@ -678,7 +676,7 @@ public Builder setMessage( * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder mergeMessage(io.a2a.grpc.Message value) { if (messageBuilder_ == null) { @@ -703,7 +701,7 @@ public Builder mergeMessage(io.a2a.grpc.Message value) { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000002); @@ -720,7 +718,7 @@ public Builder clearMessage() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public io.a2a.grpc.Message.Builder getMessageBuilder() { bitField0_ |= 0x00000002; @@ -732,7 +730,7 @@ public io.a2a.grpc.Message.Builder getMessageBuilder() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { if (messageBuilder_ != null) { @@ -747,7 +745,7 @@ public io.a2a.grpc.MessageOrBuilder getMessageOrBuilder() { * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> @@ -929,10 +927,10 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { return timestampBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.TaskStatus) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.TaskStatus) } - // @@protoc_insertion_point(class_scope:a2a.v1.TaskStatus) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.TaskStatus) private static final io.a2a.grpc.TaskStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.TaskStatus(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java index fc9d5434b..f2e5c1270 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java @@ -7,7 +7,7 @@ @com.google.protobuf.Generated public interface TaskStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.TaskStatus) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.TaskStatus) com.google.protobuf.MessageOrBuilder { /** @@ -15,7 +15,7 @@ public interface TaskStatusOrBuilder extends * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for state. */ int getStateValue(); @@ -24,7 +24,7 @@ public interface TaskStatusOrBuilder extends * The current state of this task. * * - * .a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The state. */ io.a2a.grpc.TaskState getState(); @@ -34,7 +34,7 @@ public interface TaskStatusOrBuilder extends * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return Whether the message field is set. */ boolean hasMessage(); @@ -43,7 +43,7 @@ public interface TaskStatusOrBuilder extends * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; * @return The message. */ io.a2a.grpc.Message getMessage(); @@ -52,7 +52,7 @@ public interface TaskStatusOrBuilder extends * A message associated with the status. * * - * .a2a.v1.Message message = 2; + * .lf.a2a.v1.Message message = 2; */ io.a2a.grpc.MessageOrBuilder getMessageOrBuilder(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java index 06cb104e0..43eac7f2d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java @@ -7,17 +7,15 @@ /** *
    - * --8<-- [start:TaskStatusUpdateEvent]
    - * An event sent by the agent to notify the client of a change in a task's
    - * status.
    + * An event sent by the agent to notify the client of a change in a task's status.
      * 
    * - * Protobuf type {@code a2a.v1.TaskStatusUpdateEvent} + * Protobuf type {@code lf.a2a.v1.TaskStatusUpdateEvent} */ @com.google.protobuf.Generated public final class TaskStatusUpdateEvent extends com.google.protobuf.GeneratedMessage implements - // @@protoc_insertion_point(message_implements:a2a.v1.TaskStatusUpdateEvent) + // @@protoc_insertion_point(message_implements:lf.a2a.v1.TaskStatusUpdateEvent) TaskStatusUpdateEventOrBuilder { private static final long serialVersionUID = 0L; static { @@ -40,13 +38,13 @@ private TaskStatusUpdateEvent() { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatusUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatusUpdateEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskStatusUpdateEvent.class, io.a2a.grpc.TaskStatusUpdateEvent.Builder.class); } @@ -57,7 +55,7 @@ private TaskStatusUpdateEvent() { private volatile java.lang.Object taskId_ = ""; /** *
    -   * The id of the task that is changed
    +   * The ID of the task that has changed.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -78,7 +76,7 @@ public java.lang.String getTaskId() { } /** *
    -   * The id of the task that is changed
    +   * The ID of the task that has changed.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -104,7 +102,7 @@ public java.lang.String getTaskId() { private volatile java.lang.Object contextId_ = ""; /** *
    -   * The id of the context that the task belongs to
    +   * The ID of the context that the task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -125,7 +123,7 @@ public java.lang.String getContextId() { } /** *
    -   * The id of the context that the task belongs to
    +   * The ID of the context that the task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -153,7 +151,7 @@ public java.lang.String getContextId() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ @java.lang.Override @@ -165,7 +163,7 @@ public boolean hasStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ @java.lang.Override @@ -177,21 +175,21 @@ public io.a2a.grpc.TaskStatus getStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { return status_ == null ? io.a2a.grpc.TaskStatus.getDefaultInstance() : status_; } - public static final int METADATA_FIELD_NUMBER = 5; + public static final int METADATA_FIELD_NUMBER = 4; private com.google.protobuf.Struct metadata_; /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ @java.lang.Override @@ -200,10 +198,10 @@ public boolean hasMetadata() { } /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ @java.lang.Override @@ -212,10 +210,10 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -246,7 +244,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(3, getStatus()); } if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(5, getMetadata()); + output.writeMessage(4, getMetadata()); } getUnknownFields().writeTo(output); } @@ -269,7 +267,7 @@ public int getSerializedSize() { } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getMetadata()); + .computeMessageSize(4, getMetadata()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -422,26 +420,24 @@ protected Builder newBuilderForType( } /** *
    -   * --8<-- [start:TaskStatusUpdateEvent]
    -   * An event sent by the agent to notify the client of a change in a task's
    -   * status.
    +   * An event sent by the agent to notify the client of a change in a task's status.
        * 
    * - * Protobuf type {@code a2a.v1.TaskStatusUpdateEvent} + * Protobuf type {@code lf.a2a.v1.TaskStatusUpdateEvent} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements - // @@protoc_insertion_point(builder_implements:a2a.v1.TaskStatusUpdateEvent) + // @@protoc_insertion_point(builder_implements:lf.a2a.v1.TaskStatusUpdateEvent) io.a2a.grpc.TaskStatusUpdateEventOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatusUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatusUpdateEvent_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatusUpdateEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( io.a2a.grpc.TaskStatusUpdateEvent.class, io.a2a.grpc.TaskStatusUpdateEvent.Builder.class); } @@ -485,7 +481,7 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.a2a.grpc.A2A.internal_static_a2a_v1_TaskStatusUpdateEvent_descriptor; + return io.a2a.grpc.A2A.internal_static_lf_a2a_v1_TaskStatusUpdateEvent_descriptor; } @java.lang.Override @@ -605,13 +601,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 26 - case 42: { + case 34: { input.readMessage( internalGetMetadataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; - } // case 42 + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag @@ -632,7 +628,7 @@ public Builder mergeFrom( private java.lang.Object taskId_ = ""; /** *
    -     * The id of the task that is changed
    +     * The ID of the task that has changed.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -652,7 +648,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task that is changed
    +     * The ID of the task that has changed.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -673,7 +669,7 @@ public java.lang.String getTaskId() { } /** *
    -     * The id of the task that is changed
    +     * The ID of the task that has changed.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -690,7 +686,7 @@ public Builder setTaskId( } /** *
    -     * The id of the task that is changed
    +     * The ID of the task that has changed.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -704,7 +700,7 @@ public Builder clearTaskId() { } /** *
    -     * The id of the task that is changed
    +     * The ID of the task that has changed.
          * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -724,7 +720,7 @@ public Builder setTaskIdBytes( private java.lang.Object contextId_ = ""; /** *
    -     * The id of the context that the task belongs to
    +     * The ID of the context that the task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -744,7 +740,7 @@ public java.lang.String getContextId() { } /** *
    -     * The id of the context that the task belongs to
    +     * The ID of the context that the task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -765,7 +761,7 @@ public java.lang.String getContextId() { } /** *
    -     * The id of the context that the task belongs to
    +     * The ID of the context that the task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -782,7 +778,7 @@ public Builder setContextId( } /** *
    -     * The id of the context that the task belongs to
    +     * The ID of the context that the task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -796,7 +792,7 @@ public Builder clearContextId() { } /** *
    -     * The id of the context that the task belongs to
    +     * The ID of the context that the task belongs to.
          * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -821,7 +817,7 @@ public Builder setContextIdBytes( * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ public boolean hasStatus() { @@ -832,7 +828,7 @@ public boolean hasStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ public io.a2a.grpc.TaskStatus getStatus() { @@ -847,7 +843,7 @@ public io.a2a.grpc.TaskStatus getStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -867,7 +863,7 @@ public Builder setStatus(io.a2a.grpc.TaskStatus value) { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setStatus( io.a2a.grpc.TaskStatus.Builder builderForValue) { @@ -885,7 +881,7 @@ public Builder setStatus( * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -910,7 +906,7 @@ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); @@ -927,7 +923,7 @@ public Builder clearStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { bitField0_ |= 0x00000004; @@ -939,7 +935,7 @@ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { @@ -954,7 +950,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatus, io.a2a.grpc.TaskStatus.Builder, io.a2a.grpc.TaskStatusOrBuilder> @@ -975,10 +971,10 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -986,10 +982,10 @@ public boolean hasMetadata() { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1001,10 +997,10 @@ public com.google.protobuf.Struct getMetadata() { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1021,10 +1017,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1039,10 +1035,10 @@ public Builder setMetadata( } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1064,10 +1060,10 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1081,10 +1077,10 @@ public Builder clearMetadata() { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000008; @@ -1093,10 +1089,10 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1108,10 +1104,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } /** *
    -     * Optional metadata to associate with the task update.
    +     * Optional. Metadata associated with the task update.
          * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1127,10 +1123,10 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { return metadataBuilder_; } - // @@protoc_insertion_point(builder_scope:a2a.v1.TaskStatusUpdateEvent) + // @@protoc_insertion_point(builder_scope:lf.a2a.v1.TaskStatusUpdateEvent) } - // @@protoc_insertion_point(class_scope:a2a.v1.TaskStatusUpdateEvent) + // @@protoc_insertion_point(class_scope:lf.a2a.v1.TaskStatusUpdateEvent) private static final io.a2a.grpc.TaskStatusUpdateEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.a2a.grpc.TaskStatusUpdateEvent(); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java index 225000e2a..155fee71a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java @@ -7,12 +7,12 @@ @com.google.protobuf.Generated public interface TaskStatusUpdateEventOrBuilder extends - // @@protoc_insertion_point(interface_extends:a2a.v1.TaskStatusUpdateEvent) + // @@protoc_insertion_point(interface_extends:lf.a2a.v1.TaskStatusUpdateEvent) com.google.protobuf.MessageOrBuilder { /** *
    -   * The id of the task that is changed
    +   * The ID of the task that has changed.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -21,7 +21,7 @@ public interface TaskStatusUpdateEventOrBuilder extends java.lang.String getTaskId(); /** *
    -   * The id of the task that is changed
    +   * The ID of the task that has changed.
        * 
    * * string task_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -32,7 +32,7 @@ public interface TaskStatusUpdateEventOrBuilder extends /** *
    -   * The id of the context that the task belongs to
    +   * The ID of the context that the task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -41,7 +41,7 @@ public interface TaskStatusUpdateEventOrBuilder extends java.lang.String getContextId(); /** *
    -   * The id of the context that the task belongs to
    +   * The ID of the context that the task belongs to.
        * 
    * * string context_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -55,7 +55,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the status field is set. */ boolean hasStatus(); @@ -64,7 +64,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The status. */ io.a2a.grpc.TaskStatus getStatus(); @@ -73,34 +73,34 @@ public interface TaskStatusUpdateEventOrBuilder extends * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; + * .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder(); /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** *
    -   * Optional metadata to associate with the task update.
    +   * Optional. Metadata associated with the task update.
        * 
    * - * .google.protobuf.Struct metadata = 5; + * .google.protobuf.Struct metadata = 4; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/mapper/CreateTaskPushNotificationConfigMapper.java b/spec-grpc/src/main/java/io/a2a/grpc/mapper/CreateTaskPushNotificationConfigMapper.java index d33c04711..ce74a8741 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/mapper/CreateTaskPushNotificationConfigMapper.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/mapper/CreateTaskPushNotificationConfigMapper.java @@ -29,7 +29,6 @@ public interface CreateTaskPushNotificationConfigMapper { * @param config the domain TaskPushNotificationConfig * @return proto CreateTaskPushNotificationConfigRequest */ - @Mapping(target = "configId", expression = "java(extractConfigId(config))") CreateTaskPushNotificationConfigRequest toProto(TaskPushNotificationConfig config); /** @@ -57,7 +56,7 @@ default PushNotificationConfig mapPushNotificationConfigWithId(CreateTaskPushNot PushNotificationConfig result = PushNotificationConfigMapper.INSTANCE.fromProto(request.getConfig()); // Override ID with config_id from request - String configId = request.getConfigId(); + String configId = request.getConfig().getId(); if (configId != null && !configId.isEmpty() && !configId.equals(result.id())) { return new PushNotificationConfig( result.url(), diff --git a/spec-grpc/src/main/java/io/a2a/grpc/mapper/ListTaskPushNotificationConfigParamsMapper.java b/spec-grpc/src/main/java/io/a2a/grpc/mapper/ListTaskPushNotificationConfigParamsMapper.java index f54ba28d2..4b3361f77 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/mapper/ListTaskPushNotificationConfigParamsMapper.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/mapper/ListTaskPushNotificationConfigParamsMapper.java @@ -7,7 +7,7 @@ import org.mapstruct.Mapping; /** - * Mapper between {@link io.a2a.grpc.ListTaskPushNotificationConfigRequest} and {@link io.a2a.spec.ListTaskPushNotificationConfigParams}. + * Mapper between {@link io.a2a.grpc.ListTaskPushNotificationConfigsRequest} and {@link io.a2a.spec.ListTaskPushNotificationConfigParams}. */ @Mapper(config = A2AProtoMapperConfig.class) public interface ListTaskPushNotificationConfigParamsMapper { @@ -15,17 +15,17 @@ public interface ListTaskPushNotificationConfigParamsMapper { ListTaskPushNotificationConfigParamsMapper INSTANCE = A2AMappers.getMapper(ListTaskPushNotificationConfigParamsMapper.class); /** - * Converts proto ListTaskPushNotificationConfigRequest to domain ListTaskPushNotificationConfigParams. + * Converts proto ListTaskPushNotificationConfigsRequest to domain ListTaskPushNotificationConfigParams. */ @BeanMapping(builder = @Builder(buildMethod = "build")) @Mapping(target = "id", source = "taskId") @Mapping(target = "tenant", source = "tenant") - ListTaskPushNotificationConfigParams fromProto(io.a2a.grpc.ListTaskPushNotificationConfigRequest proto); + ListTaskPushNotificationConfigParams fromProto(io.a2a.grpc.ListTaskPushNotificationConfigsRequest proto); /** - * Converts domain ListTaskPushNotificationConfigParams to proto ListTaskPushNotificationConfigRequest. + * Converts domain ListTaskPushNotificationConfigParams to proto ListTaskPushNotificationConfigsRequest. */ @Mapping(target = "taskId", source = "id") @Mapping(target = "tenant", source = "tenant") - io.a2a.grpc.ListTaskPushNotificationConfigRequest toProto(ListTaskPushNotificationConfigParams domain); + io.a2a.grpc.ListTaskPushNotificationConfigsRequest toProto(ListTaskPushNotificationConfigParams domain); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskIdParamsMapper.java b/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskIdParamsMapper.java index 70595b50e..102b23fb5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskIdParamsMapper.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskIdParamsMapper.java @@ -11,7 +11,7 @@ *

    * Extracts task ID from resource name format "tasks/{id}" using {@link ResourceNameParser}. */ -@Mapper(config = A2AProtoMapperConfig.class) +@Mapper(config = A2AProtoMapperConfig.class, uses = A2ACommonFieldMapper.class) public interface TaskIdParamsMapper { TaskIdParamsMapper INSTANCE = A2AMappers.getMapper(TaskIdParamsMapper.class); @@ -22,6 +22,7 @@ public interface TaskIdParamsMapper { */ @BeanMapping(builder = @Builder(buildMethod = "build")) @Mapping(target = "id", source = "id") + @Mapping(target = "metadata", source = "metadata", qualifiedByName = "metadataFromProto") TaskIdParams fromProtoCancelTaskRequest(io.a2a.grpc.CancelTaskRequest proto); /** @@ -30,6 +31,7 @@ public interface TaskIdParamsMapper { */ @BeanMapping(builder = @Builder(buildMethod = "build")) @Mapping(target = "id", source = "id") + @Mapping(target = "metadata", source = "metadata", qualifiedByName = "metadataToProto") io.a2a.grpc.CancelTaskRequest toProtoCancelTaskRequest(TaskIdParams domain); @@ -40,6 +42,7 @@ public interface TaskIdParamsMapper { @BeanMapping(builder = @Builder(buildMethod = "build")) @Mapping(target = "id", source = "id") @Mapping(target = "tenant", source = "tenant") + @Mapping(target = "metadata", ignore = true) TaskIdParams fromProtoSubscribeToTaskRequest(io.a2a.grpc.SubscribeToTaskRequest proto); /** diff --git a/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskPushNotificationConfigMapper.java b/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskPushNotificationConfigMapper.java index 5e3a6e669..beeb9bfef 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskPushNotificationConfigMapper.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/mapper/TaskPushNotificationConfigMapper.java @@ -22,7 +22,6 @@ public interface TaskPushNotificationConfigMapper { * @param domain the domain TaskPushNotificationConfig * @return protobuf TaskPushNotificationConfig */ - @Mapping(target = "id", expression = "java(extractId(domain))") @Mapping(target = "taskId", source = "taskId") @Mapping(target = "pushNotificationConfig", source = "config") @Mapping(target = "tenant", source = "tenant", conditionExpression = "java(domain.tenant() != null)") @@ -65,7 +64,7 @@ default PushNotificationConfig mapPushNotificationConfigWithId(io.a2a.grpc.TaskP PushNotificationConfig result = PushNotificationConfigMapper.INSTANCE.fromProto(proto.getPushNotificationConfig()); // Override ID with the id from TaskPushNotificationConfig if they differ - String configId = proto.getId(); + String configId = proto.getPushNotificationConfig().getId(); if (configId != null && !configId.isEmpty() && !configId.equals(result.id())) { return new PushNotificationConfig(result.url(), result.token(), result.authentication(), configId); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/utils/JSONRPCUtils.java b/spec-grpc/src/main/java/io/a2a/grpc/utils/JSONRPCUtils.java index 1480ac42a..d6bee8556 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/utils/JSONRPCUtils.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/utils/JSONRPCUtils.java @@ -54,8 +54,8 @@ import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskRequest; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigRequest; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsRequest; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksRequest; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.SendMessageRequest; @@ -253,12 +253,12 @@ private static A2ARequest parseMethodRequest(String version, Object id, Strin return new SendMessageRequest(version, id, ProtoUtils.FromProto.messageSendParams(builder)); } case LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { - io.a2a.grpc.ListTaskPushNotificationConfigRequest.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigRequest.newBuilder(); + io.a2a.grpc.ListTaskPushNotificationConfigsRequest.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigsRequest.newBuilder(); parseRequestBody(paramsNode, builder, id); if (tenant != null && !tenant.isBlank() && (builder.getTenant() == null || builder.getTenant().isBlank())) { builder.setTenant(tenant); } - return new ListTaskPushNotificationConfigRequest(version, id, ProtoUtils.FromProto.listTaskPushNotificationConfigParams(builder)); + return new ListTaskPushNotificationConfigsRequest(version, id, ProtoUtils.FromProto.listTaskPushNotificationConfigParams(builder)); } case DELETE_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.Builder builder = io.a2a.grpc.DeleteTaskPushNotificationConfigRequest.newBuilder(); @@ -350,9 +350,9 @@ public static A2AResponse parseResponseBody(String body, String method) throw return new SendMessageResponse(id, ProtoUtils.FromProto.task(builder.getTask())); } case LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { - io.a2a.grpc.ListTaskPushNotificationConfigResponse.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigResponse.newBuilder(); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigsResponse.newBuilder(); parseRequestBody(paramsNode, builder, id); - return new ListTaskPushNotificationConfigResponse(id, ProtoUtils.FromProto.listTaskPushNotificationConfigResult(builder)); + return new ListTaskPushNotificationConfigsResponse(id, ProtoUtils.FromProto.listTaskPushNotificationConfigResult(builder)); } case DELETE_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { return new DeleteTaskPushNotificationConfigResponse(id); @@ -389,7 +389,7 @@ public static A2AResponse parseError(JsonObject error, Object id, String meth return new SendMessageResponse(id, rpcError); } case LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { - return new ListTaskPushNotificationConfigResponse(id, rpcError); + return new ListTaskPushNotificationConfigsResponse(id, rpcError); } case DELETE_TASK_PUSH_NOTIFICATION_CONFIG_METHOD -> { return new DeleteTaskPushNotificationConfigResponse(id, rpcError); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/utils/ProtoUtils.java b/spec-grpc/src/main/java/io/a2a/grpc/utils/ProtoUtils.java index ebd859909..808742f89 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/utils/ProtoUtils.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/utils/ProtoUtils.java @@ -88,7 +88,7 @@ public static io.a2a.grpc.DeleteTaskPushNotificationConfigRequest deleteTaskPush return DeleteTaskPushNotificationConfigParamsMapper.INSTANCE.toProto(params); } - public static io.a2a.grpc.ListTaskPushNotificationConfigRequest listTaskPushNotificationConfigRequest(ListTaskPushNotificationConfigParams params) { + public static io.a2a.grpc.ListTaskPushNotificationConfigsRequest listTaskPushNotificationConfigRequest(ListTaskPushNotificationConfigParams params) { return ListTaskPushNotificationConfigParamsMapper.INSTANCE.toProto(params); } @@ -132,12 +132,12 @@ public static io.a2a.grpc.SendMessageRequest sendMessageRequest(MessageSendParam return MessageSendParamsMapper.INSTANCE.toProto(request); } - public static io.a2a.grpc.ListTaskPushNotificationConfigResponse listTaskPushNotificationConfigResponse(ListTaskPushNotificationConfigResult result) { + public static io.a2a.grpc.ListTaskPushNotificationConfigsResponse listTaskPushNotificationConfigResponse(ListTaskPushNotificationConfigResult result) { List confs = new ArrayList<>(result.configs().size()); for (TaskPushNotificationConfig config : result.configs()) { confs.add(taskPushNotificationConfig(config)); } - io.a2a.grpc.ListTaskPushNotificationConfigResponse.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigResponse.newBuilder().addAllConfigs(confs); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse.Builder builder = io.a2a.grpc.ListTaskPushNotificationConfigsResponse.newBuilder().addAllConfigs(confs); if (result.nextPageToken() != null) { builder.setNextPageToken(result.nextPageToken()); } @@ -264,7 +264,7 @@ public static TaskIdParams taskIdParams(io.a2a.grpc.SubscribeToTaskRequestOrBuil return convert(() -> TaskIdParamsMapper.INSTANCE.fromProtoSubscribeToTaskRequest(reqProto)); } - public static ListTaskPushNotificationConfigResult listTaskPushNotificationConfigResult(io.a2a.grpc.ListTaskPushNotificationConfigResponseOrBuilder response) { + public static ListTaskPushNotificationConfigResult listTaskPushNotificationConfigResult(io.a2a.grpc.ListTaskPushNotificationConfigsResponseOrBuilder response) { List configs = response.getConfigsList(); List result = new ArrayList<>(configs.size()); for (io.a2a.grpc.TaskPushNotificationConfig config : configs) { @@ -277,10 +277,10 @@ public static ListTaskPushNotificationConfigResult listTaskPushNotificationConfi return new ListTaskPushNotificationConfigResult(result, nextPageToken); } - public static ListTaskPushNotificationConfigParams listTaskPushNotificationConfigParams(io.a2a.grpc.ListTaskPushNotificationConfigRequestOrBuilder request) { - io.a2a.grpc.ListTaskPushNotificationConfigRequest reqProto = request instanceof io.a2a.grpc.ListTaskPushNotificationConfigRequest - ? (io.a2a.grpc.ListTaskPushNotificationConfigRequest) request - : ((io.a2a.grpc.ListTaskPushNotificationConfigRequest.Builder) request).build(); + public static ListTaskPushNotificationConfigParams listTaskPushNotificationConfigParams(io.a2a.grpc.ListTaskPushNotificationConfigsRequestOrBuilder request) { + io.a2a.grpc.ListTaskPushNotificationConfigsRequest reqProto = request instanceof io.a2a.grpc.ListTaskPushNotificationConfigsRequest + ? (io.a2a.grpc.ListTaskPushNotificationConfigsRequest) request + : ((io.a2a.grpc.ListTaskPushNotificationConfigsRequest.Builder) request).build(); return convert(() -> ListTaskPushNotificationConfigParamsMapper.INSTANCE.fromProto(reqProto)); } diff --git a/spec-grpc/src/main/proto/a2a.proto b/spec-grpc/src/main/proto/a2a.proto index 97157cce8..7753faeb1 100644 --- a/spec-grpc/src/main/proto/a2a.proto +++ b/spec-grpc/src/main/proto/a2a.proto @@ -1,6 +1,6 @@ // Older protoc compilers don't understand edition yet. syntax = "proto3"; -package a2a.v1; +package lf.a2a.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; @@ -9,17 +9,17 @@ import "google/protobuf/empty.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -//From commit b86d8bb2edd20a972951666823cf6c9f51317550 +// From commit 1997c9d63058ca0b89361a7d6e508f4641a6f68b -option csharp_namespace = "A2a.V1"; -option go_package = "google.golang.org/a2a/v1"; +option csharp_namespace = "Lf.A2a.V1"; +option go_package = "google.golang.org/lf/a2a/v1"; option java_multiple_files = true; option java_outer_classname = "A2A"; option java_package = "io.a2a.grpc"; -// A2AService defines the operations of the A2A protocol. +// Provides operations for interacting with agents using the A2A protocol. service A2AService { - // Send a message to the agent. + // Sends a message to an agent. rpc SendMessage(SendMessageRequest) returns (SendMessageResponse) { option (google.api.http) = { post: "/message:send" @@ -30,7 +30,8 @@ service A2AService { } }; } - // SendStreamingMessage is a streaming version of SendMessage. + // Sends a streaming message to an agent, allowing for real-time interaction and status updates. + // Streaming version of `SendMessage` rpc SendStreamingMessage(SendMessageRequest) returns (stream StreamResponse) { option (google.api.http) = { post: "/message:stream" @@ -42,7 +43,7 @@ service A2AService { }; } - // Get the current state of a task from the agent. + // Gets the latest state of a task. rpc GetTask(GetTaskRequest) returns (Task) { option (google.api.http) = { get: "/tasks/{id=*}" @@ -52,7 +53,7 @@ service A2AService { }; option (google.api.method_signature) = "id"; } - // List tasks with optional filtering and pagination. + // Lists tasks that match the specified filter. rpc ListTasks(ListTasksRequest) returns (ListTasksResponse) { option (google.api.http) = { get: "/tasks" @@ -61,7 +62,7 @@ service A2AService { } }; } - // Cancel a task. + // Cancels a task in progress. rpc CancelTask(CancelTaskRequest) returns (Task) { option (google.api.http) = { post: "/tasks/{id=*}:cancel" @@ -72,8 +73,8 @@ service A2AService { } }; } - // SubscribeToTask allows subscribing to task updates for tasks not in terminal state. - // Returns UnsupportedOperationError if task is in terminal state (completed, failed, canceled, rejected). + // 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). rpc SubscribeToTask(SubscribeToTaskRequest) returns (stream StreamResponse) { option (google.api.http) = { get: "/tasks/{id=*}:subscribe" @@ -83,7 +84,10 @@ service A2AService { }; } - // Create a push notification config for a task. + // (-- api-linter: client-libraries::4232::required-fields=disabled + // api-linter: core::0133::method-signature=disabled + // aip.dev/not-precedent: method_signature preserved for backwards compatibility --) + // Creates a push notification config for a task. rpc CreateTaskPushNotificationConfig(CreateTaskPushNotificationConfigRequest) returns (TaskPushNotificationConfig) { option (google.api.http) = { post: "/tasks/{task_id=*}/pushNotificationConfigs" @@ -95,7 +99,7 @@ service A2AService { }; option (google.api.method_signature) = "task_id,config"; } - // Get a push notification config for a task. + // Gets a push notification config for a task. rpc GetTaskPushNotificationConfig(GetTaskPushNotificationConfigRequest) returns (TaskPushNotificationConfig) { option (google.api.http) = { get: "/tasks/{task_id=*}/pushNotificationConfigs/{id=*}" @@ -106,7 +110,7 @@ service A2AService { option (google.api.method_signature) = "task_id,id"; } // Get a list of push notifications configured for a task. - rpc ListTaskPushNotificationConfig(ListTaskPushNotificationConfigRequest) returns (ListTaskPushNotificationConfigResponse) { + rpc ListTaskPushNotificationConfigs(ListTaskPushNotificationConfigsRequest) returns (ListTaskPushNotificationConfigsResponse) { option (google.api.http) = { get: "/tasks/{task_id=*}/pushNotificationConfigs" additional_bindings: { @@ -115,7 +119,7 @@ service A2AService { }; option (google.api.method_signature) = "task_id"; } - // GetExtendedAgentCard returns the extended agent card for authenticated agents. + // Gets the extended agent card for the authenticated agent. rpc GetExtendedAgentCard(GetExtendedAgentCardRequest) returns (AgentCard) { option (google.api.http) = { get: "/extendedAgentCard" @@ -124,7 +128,7 @@ service A2AService { } }; } - // Delete a push notification config for a task. + // Deletes a push notification config for a task. rpc DeleteTaskPushNotificationConfig(DeleteTaskPushNotificationConfigRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/tasks/{task_id=*}/pushNotificationConfigs/{id=*}" @@ -136,12 +140,10 @@ service A2AService { } } -///////// Data Model //////////// - -// --8<-- [start:SendMessageConfiguration] // Configuration of a send message request. message SendMessageConfiguration { - // A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output. + // A list of media types the client is prepared to accept for response parts. + // Agents SHOULD use this to tailor their output. repeated string accepted_output_modes = 1; // Configuration for the agent to send push notifications for task updates. PushNotificationConfig push_notification_config = 2; @@ -150,13 +152,13 @@ message SendMessageConfiguration { // 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. optional int32 history_length = 3; - // If true, the operation waits until the task reaches a terminal or interrupted state before returning. Default is false. + // If `true`, the operation MUST wait until the task reaches a terminal state + // (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or an interrupted state + // (`INPUT_REQUIRED`, `AUTH_REQUIRED`) before returning. Default is `false`. bool blocking = 4; } -// --8<-- [end:SendMessageConfiguration] -// --8<-- [start:Task] -// Task is the core unit of action for A2A. It has a current status +// `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. @@ -167,49 +169,42 @@ message Task { // Unique identifier (e.g. UUID) for the contextual collection of interactions // (tasks and messages). Created by the A2A server. string context_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The current status of a Task, including state and a message. + // The current status of a `Task`, including `state` and a `message`. TaskStatus status = 3 [(google.api.field_behavior) = REQUIRED]; - // A set of output artifacts for a Task. + // A set of output artifacts for a `Task`. repeated Artifact artifacts = 4; // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED - // The history of interactions from a task. + // The history of interactions from a `Task`. repeated Message history = 5; // protolint:enable REPEATED_FIELD_NAMES_PLURALIZED // A key/value object to store custom metadata about a task. google.protobuf.Struct metadata = 6; } -// --8<-- [end:Task] -// --8<-- [start:TaskState] -// Defines the possible lifecycle states of a Task. +// Defines the possible lifecycle states of a `Task`. enum TaskState { // The task is in an unknown or indeterminate state. TASK_STATE_UNSPECIFIED = 0; - // Represents the status that acknowledges a task is created. + // Indicates that a task has been successfully submitted and acknowledged. TASK_STATE_SUBMITTED = 1; - // Represents the status that a task is actively being processed. + // Indicates that a task is actively being processed by the agent. TASK_STATE_WORKING = 2; - // Represents the status a task is finished. This is a terminal state. + // Indicates that a task has finished successfully. This is a terminal state. TASK_STATE_COMPLETED = 3; - // Represents the status a task is done but failed. This is a terminal state. + // Indicates that a task has finished with an error. This is a terminal state. TASK_STATE_FAILED = 4; - // Represents the status a task was canceled before it finished. - // This is a terminal state. + // Indicates that a task was canceled before completion. This is a terminal state. TASK_STATE_CANCELED = 5; - // Represents the status that the task requires information to complete. - // This is an interrupted state. + // Indicates that the agent requires additional user input to proceed. This is an interrupted state. TASK_STATE_INPUT_REQUIRED = 6; - // Represents the status that the agent has decided to not perform the task. + // 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. TASK_STATE_REJECTED = 7; - // Represents the state that some authentication is needed from the upstream - // client. This is an interrupted state. Authentication is expected to come out-of-band. + // Indicates that authentication is required to proceed. This is an interrupted state. TASK_STATE_AUTH_REQUIRED = 8; } -// --8<-- [end:TaskState] -// --8<-- [start:TaskStatus] // A container for the status of a task message TaskStatus { // The current state of this task. @@ -220,118 +215,98 @@ message TaskStatus { // Example: "2023-10-27T10:00:00Z" google.protobuf.Timestamp timestamp = 3; } -// --8<-- [end:TaskStatus] -// --8<-- [start:Part] -// Part represents a container for a section of communication content. +// `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). message Part { oneof content { - // The string content of the text part. + // The string content of the `text` part. string text = 1; - // The raw byte content of a file. In JSON serialization, this is encoded as a base64 string. + // The `raw` byte content of a file. In JSON serialization, this is encoded as a base64 string. bytes raw = 2; - // A URL pointing to the file's content. + // A `url` pointing to the file's content. string url = 3; - // Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null). + // Arbitrary structured `data` as a JSON value (object, array, string, number, boolean, or null). google.protobuf.Value data = 4; } - // Optional metadata associated with this part. + // Optional. metadata associated with this part. google.protobuf.Struct metadata = 5; - // An optional name for the file (e.g., "document.pdf"). + // An optional `filename` for the file (e.g., "document.pdf"). string filename = 6; - // The media type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). + // 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. string media_type = 7; } -// --8<-- [end:Part] -// --8<-- [start:Role] // Defines the sender of a message in A2A protocol communication. enum Role { + // The role is unspecified. ROLE_UNSPECIFIED = 0; - // USER role refers to communication from the client to the server. + // The message is from the client to the server. ROLE_USER = 1; - // AGENT role refers to communication from the server to the client. + // The message is from the server to the client. ROLE_AGENT = 2; } -// --8<-- [end:Role] -// --8<-- [start:Message] -// 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 +// `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. +// 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. message Message { - // The unique identifier (e.g. UUID) of the message. This is required and - // created by the message creator. + // The unique identifier (e.g. UUID) of the message. This is created by the message creator. string message_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The context id of the message. This is optional and if set, the message - // will be associated with the given context. + // Optional. The context id of the message. If set, the message will be associated with the given context. string context_id = 2; - // The task id of the message. This is optional and if set, the message - // will be associated with the given task. + // Optional. The task id of the message. If set, the message will be associated with the given task. string task_id = 3; // Identifies the sender of the message. Role role = 4 [(google.api.field_behavior) = REQUIRED]; - // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED // Parts is the container of the message content. repeated Part parts = 5 [(google.api.field_behavior) = REQUIRED]; - // protolint:enable REPEATED_FIELD_NAMES_PLURALIZED - // Any optional metadata to provide along with the message. + // Optional. Any metadata to provide along with the message. google.protobuf.Struct metadata = 6; // The URIs of extensions that are present or contributed to this Message. repeated string extensions = 7; // A list of task IDs that this message references for additional context. repeated string reference_task_ids = 8; } -// --8<-- [end:Message] -// --8<-- [start:Artifact] // Artifacts represent task outputs. message Artifact { - // Unique identifier (e.g. UUID) for the artifact. It must be at least unique - // within a task. + // Unique identifier (e.g. UUID) for the artifact. It must be unique within a task. string artifact_id = 1 [(google.api.field_behavior) = REQUIRED]; // A human readable name for the artifact. - string name = 3; - // A human readable description of the artifact, optional. - string description = 4; + string name = 2; + // Optional. A human readable description of the artifact. + string description = 3; // The content of the artifact. Must contain at least one part. - repeated Part parts = 5 [(google.api.field_behavior) = REQUIRED]; - // Optional metadata included with the artifact. - google.protobuf.Struct metadata = 6; + repeated Part parts = 4 [(google.api.field_behavior) = REQUIRED]; + // Optional. Metadata included with the artifact. + google.protobuf.Struct metadata = 5; // The URIs of extensions that are present or contributed to this Artifact. - repeated string extensions = 7; + repeated string extensions = 6; } -// --8<-- [end:Artifact] -// --8<-- [start:TaskStatusUpdateEvent] -// An event sent by the agent to notify the client of a change in a task's -// status. +// An event sent by the agent to notify the client of a change in a task's status. message TaskStatusUpdateEvent { - // The id of the task that is changed + // The ID of the task that has changed. string task_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The id of the context that the task belongs to + // The ID of the context that the task belongs to. string context_id = 2 [(google.api.field_behavior) = REQUIRED]; // The new status of the task. TaskStatus status = 3 [(google.api.field_behavior) = REQUIRED]; - reserved 4; - // Optional metadata to associate with the task update. - google.protobuf.Struct metadata = 5; + // Optional. Metadata associated with the task update. + google.protobuf.Struct metadata = 4; } -// --8<-- [end:TaskStatusUpdateEvent] -// --8<-- [start:TaskArtifactUpdateEvent] -// TaskArtifactUpdateEvent represents a task delta where an artifact has -// been generated. +// A task delta where an artifact has been generated. message TaskArtifactUpdateEvent { - // The id of the task for this artifact. + // The ID of the task for this artifact. string task_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The id of the context that this task belongs to. + // The ID of the context that this task belongs to. string context_id = 2 [(google.api.field_behavior) = REQUIRED]; // The artifact that was generated or updated. Artifact artifact = 3 [(google.api.field_behavior) = REQUIRED]; @@ -340,37 +315,32 @@ message TaskArtifactUpdateEvent { bool append = 4; // If true, this is the final chunk of the artifact. bool last_chunk = 5; - // Optional metadata associated with the artifact update. + // Optional. Metadata associated with the artifact update. google.protobuf.Struct metadata = 6; } -// --8<-- [end:TaskArtifactUpdateEvent] -// --8<-- [start:PushNotificationConfig] // Configuration for setting up push notifications for task updates. message PushNotificationConfig { - // A unique identifier (e.g. UUID) for this push notification. + // A unique identifier (e.g. UUID) for this push notification configuration. string id = 1; - // Url to send the notification too + // The URL where the notification should be sent. string url = 2 [(google.api.field_behavior) = REQUIRED]; - // Token unique for this task/session + // A token unique for this task or session. string token = 3; - // Authentication information required to send the notification + // Authentication information required to send the notification. AuthenticationInfo authentication = 4; } -// --8<-- [end:PushNotificationConfig] -// --8<-- [start:PushNotificationAuthenticationInfo] // Defines authentication details, used for push notifications. message AuthenticationInfo { // HTTP Authentication Scheme from the [IANA registry](https://www.iana.org/assignments/http-authschemes/). - // Common values: `Bearer`, `Basic`, `Digest`. Scheme names are case-insensitive per [RFC 9110 Section 11.1](https://www.rfc-editor.org/rfc/rfc9110#section-11.1). + // 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). string scheme = 1 [(google.api.field_behavior) = REQUIRED]; // Push Notification credentials. Format depends on the scheme (e.g., token for Bearer). string credentials = 2; } -// --8<-- [end:PushNotificationAuthenticationInfo] -// --8<-- [start:AgentInterface] // 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. message AgentInterface { @@ -381,24 +351,19 @@ message AgentInterface { // easily extended for other protocol bindings. The core ones officially // supported are `JSONRPC`, `GRPC` and `HTTP+JSON`. string protocol_binding = 2 [(google.api.field_behavior) = REQUIRED]; - // Tenant to be set in the request when calling the agent. + // Tenant ID to be used in the request when calling the agent. string tenant = 3; // The version of the A2A protocol this interface exposes. // Use the latest supported minor version per major version. // Examples: "0.3", "1.0" string protocol_version = 4 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:AgentInterface] -// --8<-- [start:AgentCard] -// AgentCard is a self-describing manifest for an agent. It provides essential +// 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 message AgentCard { - // Reserve these field numbers as they were previously used by removed - // fields. - reserved 3, 9, 14, 15, 16; // A human readable name for the agent. // Example: "Recipe Agent" string name = 1 [(google.api.field_behavior) = REQUIRED]; @@ -406,39 +371,37 @@ message AgentCard { // in understanding its purpose. // Example: "Agent that helps users with recipes and cooking." string description = 2 [(google.api.field_behavior) = REQUIRED]; - // Ordered list of supported interfaces. First entry is preferred. - repeated AgentInterface supported_interfaces = 19 [(google.api.field_behavior) = REQUIRED]; + // Ordered list of supported interfaces. The first entry is preferred. + repeated AgentInterface supported_interfaces = 3 [(google.api.field_behavior) = REQUIRED]; // The service provider of the agent. AgentProvider provider = 4; // The version of the agent. // Example: "1.0.0" string version = 5 [(google.api.field_behavior) = REQUIRED]; - // A url to provide additional documentation about the agent. + // A URL providing additional documentation about the agent. optional string documentation_url = 6; // A2A Capability set supported by the agent. AgentCapabilities capabilities = 7 [(google.api.field_behavior) = REQUIRED]; // The security scheme details used for authenticating with this agent. map security_schemes = 8; // Security requirements for contacting the agent. - repeated SecurityRequirement security_requirements = 13; + repeated SecurityRequirement security_requirements = 9; // 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. repeated string default_input_modes = 10 [(google.api.field_behavior) = REQUIRED]; // The media types supported as outputs from this agent. repeated string default_output_modes = 11 [(google.api.field_behavior) = REQUIRED]; - // Skills represent an ability of an agent. It is largely - // a descriptive concept but represents a more focused set of behaviors that the + // 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. repeated AgentSkill skills = 12 [(google.api.field_behavior) = REQUIRED]; - // JSON Web Signatures computed for this AgentCard. - repeated AgentCardSignature signatures = 17; - // An optional URL to an icon for the agent. - optional string icon_url = 18; + // JSON Web Signatures computed for this `AgentCard`. + repeated AgentCardSignature signatures = 13; + // Optional. A URL to an icon for the agent. + optional string icon_url = 14; } -// --8<-- [end:AgentCard] -// --8<-- [start:AgentProvider] // Represents the service provider of an agent. message AgentProvider { // A URL for the agent provider's website or relevant documentation. @@ -448,9 +411,7 @@ message AgentProvider { // Example: "Google" string organization = 2 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:AgentProvider] -// --8<-- [start:AgentCapabilities] // Defines optional capabilities supported by an agent. message AgentCapabilities { // Indicates if the agent supports streaming responses. @@ -459,14 +420,10 @@ message AgentCapabilities { optional bool push_notifications = 2; // A list of protocol extensions supported by the agent. repeated AgentExtension extensions = 3; - // Field 4 was previously used by state_transition_history capability. - reserved 4; // Indicates if the agent supports providing an extended agent card when authenticated. - optional bool extended_agent_card = 5; + optional bool extended_agent_card = 4; } -// --8<-- [end:AgentCapabilities] -// --8<-- [start:AgentExtension] // A declaration of a protocol extension supported by an Agent. message AgentExtension { // The unique URI identifying the extension. @@ -475,12 +432,10 @@ message AgentExtension { string description = 2; // If true, the client must understand and comply with the extension's requirements. bool required = 3; - // Optional, extension-specific configuration parameters. + // Optional. Extension-specific configuration parameters. google.protobuf.Struct params = 4; } -// --8<-- [end:AgentExtension] -// --8<-- [start:AgentSkill] // Represents a distinct capability or function that an agent can perform. message AgentSkill { // A unique identifier for the agent's skill. @@ -500,51 +455,45 @@ message AgentSkill { // Security schemes necessary for this skill. repeated SecurityRequirement security_requirements = 8; } -// --8<-- [end:AgentSkill] -// --8<-- [start:AgentCardSignature] // AgentCardSignature represents a JWS signature of an AgentCard. // This follows the JSON format of an RFC 7515 JSON Web Signature (JWS). message AgentCardSignature { - // The protected JWS header for the signature. This is always a - // base64url-encoded JSON object. Required. + // (-- 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. string protected = 1 [(google.api.field_behavior) = REQUIRED]; - // The computed signature, base64url-encoded. Required. + // Required. The computed signature, base64url-encoded. string signature = 2 [(google.api.field_behavior) = REQUIRED]; // The unprotected JWS header values. google.protobuf.Struct header = 3; } -// --8<-- [end:AgentCardSignature] -// --8<-- [start:TaskPushNotificationConfig] -// A container associating a push notification configuration with a specific -// task. +// A container associating a push notification configuration with a specific task. message TaskPushNotificationConfig { - // Optional tenant - string tenant = 4; - - // The id of the config. - string id = 1 [(google.api.field_behavior) = REQUIRED]; - - // The id of the task this config is associated with. - string task_id = 3 [(google.api.field_behavior) = REQUIRED]; - + // Optional. Tenant ID. + string tenant = 1; + // The ID of the task this configuration is associated with. + string task_id = 2 [(google.api.field_behavior) = REQUIRED]; // The push notification configuration details. - PushNotificationConfig push_notification_config = 2 [(google.api.field_behavior) = REQUIRED]; + PushNotificationConfig push_notification_config = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:TaskPushNotificationConfig] // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED +// A list of strings. message StringList { + // The individual string values. repeated string list = 1; } // protolint:enable REPEATED_FIELD_NAMES_PLURALIZED +// Defines the security requirements for an agent. message SecurityRequirement { + // A map of security schemes to the required scopes. map schemes = 1; } -// --8<-- [start:SecurityScheme] // 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 @@ -562,9 +511,7 @@ message SecurityScheme { MutualTlsSecurityScheme mtls_security_scheme = 5; } } -// --8<-- [end:SecurityScheme] -// --8<-- [start:APIKeySecurityScheme] // Defines a security scheme using an API key. message APIKeySecurityScheme { // An optional description for the security scheme. @@ -574,9 +521,7 @@ message APIKeySecurityScheme { // The name of the header, query, or cookie parameter to be used. string name = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:APIKeySecurityScheme] -// --8<-- [start:HTTPAuthSecurityScheme] // Defines a security scheme using HTTP authentication. message HTTPAuthSecurityScheme { // An optional description for the security scheme. @@ -586,44 +531,35 @@ message HTTPAuthSecurityScheme { // This value should be registered in the IANA Authentication Scheme registry. string scheme = 2 [(google.api.field_behavior) = REQUIRED]; // A hint to the client to identify how the bearer token is formatted (e.g., "JWT"). - // This is primarily for documentation purposes. + // Primarily for documentation purposes. string bearer_format = 3; } -// --8<-- [end:HTTPAuthSecurityScheme] -// --8<-- [start:OAuth2SecurityScheme] // Defines a security scheme using OAuth 2.0. message OAuth2SecurityScheme { // An optional description for the security scheme. string description = 1; // An object containing configuration information for the supported OAuth 2.0 flows. OAuthFlows flows = 2 [(google.api.field_behavior) = REQUIRED]; - // URL to the oauth2 authorization server metadata - // RFC8414 (https://datatracker.ietf.org/doc/html/rfc8414). TLS is required. + // URL to the OAuth2 authorization server metadata [RFC 8414](https://datatracker.ietf.org/doc/html/rfc8414). + // TLS is required. string oauth2_metadata_url = 3; } -// --8<-- [end:OAuth2SecurityScheme] -// --8<-- [start:OpenIdConnectSecurityScheme] // Defines a security scheme using OpenID Connect. message OpenIdConnectSecurityScheme { // An optional description for the security scheme. string description = 1; - // The OpenID Connect Discovery URL for the OIDC provider's metadata. - // See: https://openid.net/specs/openid-connect-discovery-1_0.html + // The [OpenID Connect Discovery URL](https://openid.net/specs/openid-connect-discovery-1_0.html) for the OIDC provider's metadata. string open_id_connect_url = 2 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:OpenIdConnectSecurityScheme] -// --8<-- [start:MutualTLSSecurityScheme] // Defines a security scheme using mTLS authentication. message MutualTlsSecurityScheme { // An optional description for the security scheme. string description = 1; } -// --8<-- [end:MutualTLSSecurityScheme] -// --8<-- [start:OAuthFlows] // Defines the configuration for the supported OAuth 2.0 flows. message OAuthFlows { oneof flow { @@ -631,15 +567,15 @@ message OAuthFlows { AuthorizationCodeOAuthFlow authorization_code = 1; // Configuration for the OAuth Client Credentials flow. ClientCredentialsOAuthFlow client_credentials = 2; + // Deprecated: Use Authorization Code + PKCE instead. ImplicitOAuthFlow implicit = 3 [deprecated = true]; + // Deprecated: Use Authorization Code + PKCE or Device Code. PasswordOAuthFlow password = 4 [deprecated = true]; // Configuration for the OAuth Device Code flow. DeviceCodeOAuthFlow device_code = 5; } } -// --8<-- [end:OAuthFlows] -// --8<-- [start:AuthorizationCodeOAuthFlow] // Defines configuration details for the OAuth 2.0 Authorization Code flow. message AuthorizationCodeOAuthFlow { // The authorization URL to be used for this flow. @@ -654,9 +590,7 @@ message AuthorizationCodeOAuthFlow { // PKCE should always be used for public clients and is recommended for all clients. bool pkce_required = 5; } -// --8<-- [end:AuthorizationCodeOAuthFlow] -// --8<-- [start:ClientCredentialsOAuthFlow] // Defines configuration details for the OAuth 2.0 Client Credentials flow. message ClientCredentialsOAuthFlow { // The token URL to be used for this flow. @@ -666,9 +600,8 @@ message ClientCredentialsOAuthFlow { // The available scopes for the OAuth2 security scheme. map scopes = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:ClientCredentialsOAuthFlow] -// DEPRECATED +// Deprecated: Use Authorization Code + PKCE instead. message ImplicitOAuthFlow { // 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 @@ -681,7 +614,7 @@ message ImplicitOAuthFlow { map scopes = 3; } -// DEPRECATED +// Deprecated: Use Authorization Code + PKCE or Device Code. message PasswordOAuthFlow { // 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. @@ -694,7 +627,6 @@ message PasswordOAuthFlow { map scopes = 3; } -// --8<-- [start:DeviceCodeOAuthFlow] // 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. @@ -708,169 +640,153 @@ message DeviceCodeOAuthFlow { // The available scopes for the OAuth2 security scheme. map scopes = 4 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:DeviceCodeOAuthFlow] -///////////// Request Messages /////////// -// --8<-- [start:SendMessageRequest] // Represents a request for the `SendMessage` method. message SendMessageRequest { - // Optional tenant, provided as a path parameter. - string tenant = 4; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; // The message to send to the agent. - Message message = 1 [(google.api.field_behavior) = REQUIRED]; + Message message = 2 [(google.api.field_behavior) = REQUIRED]; // Configuration for the send request. - SendMessageConfiguration configuration = 2; + SendMessageConfiguration configuration = 3; // A flexible key-value map for passing additional context or parameters. - google.protobuf.Struct metadata = 3; + google.protobuf.Struct metadata = 4; } -// --8<-- [end:SendMessageRequest] -// --8<-- [start:GetTaskRequest] // Represents a request for the `GetTask` method. message GetTaskRequest { - // Optional tenant, provided as a path parameter. - string tenant = 3; - // The resource id of the task. - string id = 1 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The resource ID of the task to retrieve. + string id = 2 [(google.api.field_behavior) = REQUIRED]; // 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. - optional int32 history_length = 2; + optional int32 history_length = 3; } -// --8<-- [end:GetTaskRequest] -// --8<-- [start:ListTasksRequest] // Parameters for listing tasks with optional filtering criteria. message ListTasksRequest { - // Optional tenant, provided as a path parameter. - string tenant = 9; + // Tenant ID, provided as a path parameter. + string tenant = 1; // Filter tasks by context ID to get tasks from a specific conversation or session. - string context_id = 1; + string context_id = 2; // Filter tasks by their current status state. - TaskState status = 2; - // Maximum number of tasks to return. Must be between 1 and 100. - // Defaults to 50 if not specified. - optional int32 page_size = 3; - // Token for pagination. Use the next_page_token from a previous ListTasksResponse. - string page_token = 4; + TaskState status = 3; + // 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. + optional int32 page_size = 4; + // A page token, received from a previous `ListTasks` call. + // `ListTasksResponse.next_page_token`. + // Provide this to retrieve the subsequent page. + string page_token = 5; // The maximum number of messages to include in each task's history. - optional int32 history_length = 5; + optional int32 history_length = 6; // 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. - google.protobuf.Timestamp status_timestamp_after = 6; + google.protobuf.Timestamp status_timestamp_after = 7; // Whether to include artifacts in the returned tasks. // Defaults to false to reduce payload size. - optional bool include_artifacts = 7; + optional bool include_artifacts = 8; } -// --8<-- [end:ListTasksRequest] -// --8<-- [start:ListTasksResponse] -// Result object for tasks/list method containing an array of tasks and pagination information. +// Result object for `ListTasks` method containing an array of tasks and pagination information. message ListTasksResponse { // Array of tasks matching the specified criteria. repeated Task tasks = 1 [(google.api.field_behavior) = REQUIRED]; - // Token for retrieving the next page. Empty string if no more results. + // A token to retrieve the next page of results, or empty if there are no more results in the list. string next_page_token = 2 [(google.api.field_behavior) = REQUIRED]; - // The size of page requested. + // The page size used for this response. int32 page_size = 3 [(google.api.field_behavior) = REQUIRED]; // Total number of tasks available (before pagination). int32 total_size = 4 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:ListTasksResponse] -// --8<-- [start:CancelTaskRequest] // Represents a request for the `CancelTask` method. message CancelTaskRequest { - // Optional tenant, provided as a path parameter. - string tenant = 2; - // The resource id of the task to cancel. - string id = 1 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The resource ID of the task to cancel. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + // A flexible key-value map for passing additional context or parameters. + google.protobuf.Struct metadata = 3; } -// --8<-- [end:CancelTaskRequest] -// --8<-- [start:GetTaskPushNotificationConfigRequest] +// Represents a request for the `GetTaskPushNotificationConfig` method. message GetTaskPushNotificationConfigRequest { - // Optional tenant, provided as a path parameter. - string tenant = 2; - // The parent task resource id. - string task_id = 3 [(google.api.field_behavior) = REQUIRED]; - // The resource id of the config to retrieve. - string id = 1 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The parent task resource ID. + string task_id = 2 [(google.api.field_behavior) = REQUIRED]; + // The resource ID of the configuration to retrieve. + string id = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:GetTaskPushNotificationConfigRequest] -// --8<-- [start:DeleteTaskPushNotificationConfigRequest] // Represents a request for the `DeleteTaskPushNotificationConfig` method. message DeleteTaskPushNotificationConfigRequest { - // Optional tenant, provided as a path parameter. - string tenant = 2; - // The parent task resource id. - string task_id = 3 [(google.api.field_behavior) = REQUIRED]; - // The resource id of the config to delete. - string id = 1 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The parent task resource ID. + string task_id = 2 [(google.api.field_behavior) = REQUIRED]; + // The resource ID of the configuration to delete. + string id = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:DeleteTaskPushNotificationConfigRequest] -// --8<-- [start:CreateTaskPushNotificationConfigRequest] // Represents a request for the `CreateTaskPushNotificationConfig` method. message CreateTaskPushNotificationConfigRequest { - reserved 3; - // Optional tenant, provided as a path parameter. - string tenant = 4; - // The parent task resource id. - string task_id = 1 [(google.api.field_behavior) = REQUIRED]; - // The ID for the new config. - string config_id = 2 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The parent task resource ID. + string task_id = 2 [(google.api.field_behavior) = REQUIRED]; // The configuration to create. - PushNotificationConfig config = 5 [(google.api.field_behavior) = REQUIRED]; + PushNotificationConfig config = 3 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:CreateTaskPushNotificationConfigRequest] -// --8<-- [start:SubscribeToTaskRequest] +// Represents a request for the `SubscribeToTask` method. message SubscribeToTaskRequest { - // Optional tenant, provided as a path parameter. - string tenant = 2; - // The resource id of the task to subscribe to. - string id = 1 [(google.api.field_behavior) = REQUIRED]; + // Optional. Tenant ID, provided as a path parameter. + string tenant = 1; + // The resource ID of the task to subscribe to. + string id = 2 [(google.api.field_behavior) = REQUIRED]; } -// --8<-- [end:SubscribeToTaskRequest] -// --8<-- [start:ListTaskPushNotificationConfigRequest] -message ListTaskPushNotificationConfigRequest { - // Optional tenant, provided as a path parameter. +// Represents a request for the `ListTaskPushNotificationConfigs` method. +message ListTaskPushNotificationConfigsRequest { + // Optional. Tenant ID, provided as a path parameter. string tenant = 4; - // The parent task resource id. + // The parent task resource ID. string task_id = 1 [(google.api.field_behavior) = REQUIRED]; // The maximum number of configurations to return. int32 page_size = 2; - // A page token received from a previous ListTaskPushNotificationConfigRequest call. + // A page token received from a previous `ListTaskPushNotificationConfigsRequest` call. string page_token = 3; } -// --8<-- [end:ListTaskPushNotificationConfigRequest] -// --8<-- [start:GetExtendedAgentCardRequest] +// Represents a request for the `GetExtendedAgentCard` method. message GetExtendedAgentCardRequest { - // Optional tenant, provided as a path parameter. + // Optional. Tenant ID, provided as a path parameter. string tenant = 1; } -// --8<-- [end:GetExtendedAgentCardRequest] -//////// Response Messages /////////// -// --8<-- [start:SendMessageResponse] +// Represents the response for the `SendMessage` method. message SendMessageResponse { + // The payload of the response. oneof payload { + // The task created or updated by the message. Task task = 1; + // A message from the agent. Message message = 2; } } -// --8<-- [end:SendMessageResponse] -// --8<-- [start:StreamResponse] // A wrapper object used in streaming operations to encapsulate different types of response data. message StreamResponse { + // The payload of the stream response. oneof payload { // A Task object containing the current state of the task. Task task = 1; @@ -882,16 +798,12 @@ message StreamResponse { TaskArtifactUpdateEvent artifact_update = 4; } } -// --8<-- [end:StreamResponse] -// --8<-- [start:ListTaskPushNotificationConfigResponse] -// Represents a successful response for the `ListTaskPushNotificationConfig` +// Represents a successful response for the `ListTaskPushNotificationConfigs` // method. -message ListTaskPushNotificationConfigResponse { +message ListTaskPushNotificationConfigsResponse { // The list of push notification configurations. repeated TaskPushNotificationConfig configs = 1; - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. + // A token to retrieve the next page of results, or empty if there are no more results in the list. string next_page_token = 2; } -// --8<-- [end:ListTaskPushNotificationConfigResponse] diff --git a/spec-grpc/src/test/java/io/a2a/grpc/utils/JSONRPCUtilsTest.java b/spec-grpc/src/test/java/io/a2a/grpc/utils/JSONRPCUtilsTest.java index 569d77981..b5bb95f4e 100644 --- a/spec-grpc/src/test/java/io/a2a/grpc/utils/JSONRPCUtilsTest.java +++ b/spec-grpc/src/test/java/io/a2a/grpc/utils/JSONRPCUtilsTest.java @@ -11,7 +11,6 @@ import com.google.gson.JsonSyntaxException; -import io.a2a.grpc.Role; import io.a2a.jsonrpc.common.json.InvalidParamsJsonMappingException; import io.a2a.jsonrpc.common.json.JsonMappingException; import io.a2a.jsonrpc.common.json.JsonProcessingException; @@ -20,10 +19,8 @@ import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.CreateTaskPushNotificationConfigRequest; import io.a2a.jsonrpc.common.wrappers.CreateTaskPushNotificationConfigResponse; -import io.a2a.jsonrpc.common.wrappers.SendMessageRequest; import io.a2a.spec.InvalidParamsError; import io.a2a.spec.JSONParseError; -import io.a2a.spec.Message; import io.a2a.spec.PushNotificationConfig; import io.a2a.spec.TaskPushNotificationConfig; import org.junit.jupiter.api.Test; @@ -39,9 +36,9 @@ public void testParseCreateTaskPushNotificationConfigRequest_ValidProtoFormat() "id": "1", "params": { "taskId": "task-123", - "configId": "config-456", "tenant": "", "config": { + "id": "config-456", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -145,7 +142,7 @@ public void testParseInvalidProtoStructure_ThrowsInvalidParamsJsonMappingExcepti () -> JSONRPCUtils.parseRequestBody(invalidStructure, null) ); assertEquals(4, exception.getId()); - assertEquals(ERROR_MESSAGE.formatted("invalid_field in message a2a.v1.CreateTaskPushNotificationConfigRequest"), exception.getMessage()); + assertEquals(ERROR_MESSAGE.formatted("invalid_field in message lf.a2a.v1.CreateTaskPushNotificationConfigRequest"), exception.getMessage()); } @Test @@ -241,7 +238,7 @@ public void testParseUnknownField_ThrowsJsonMappingException() throws JsonMappin JsonMappingException.class, () -> JSONRPCUtils.parseRequestBody(unkownFieldMessage, null) ); - assertEquals(ERROR_MESSAGE.formatted("unknown in message a2a.v1.Message"), exception.getMessage()); + assertEquals(ERROR_MESSAGE.formatted("unknown in message lf.a2a.v1.Message"), exception.getMessage()); } @Test @@ -315,10 +312,10 @@ public void testGenerateCreateTaskPushNotificationConfigResponse_Success() throw String responseJson = """ { "jsonrpc": "2.0", - "id": "1", + "id": 1, "result": { + "tenant": "tenant", "taskId": "task-123", - "id": "config-456", "pushNotificationConfig": { "url": "https://example.com/callback", "id": "config-456" @@ -342,10 +339,10 @@ public void testGenerateGetTaskPushNotificationConfigResponse_Success() throws E String responseJson = """ { "jsonrpc": "2.0", - "id": "2", + "id": 2, "result": { + "tenant": "tenant", "taskId": "task-123", - "id": "config-456", "pushNotificationConfig": { "url": "https://example.com/callback", "id": "config-456" diff --git a/spec-grpc/src/test/java/io/a2a/grpc/utils/ToProtoTest.java b/spec-grpc/src/test/java/io/a2a/grpc/utils/ToProtoTest.java index b857cb6b1..ea0f320a0 100644 --- a/spec-grpc/src/test/java/io/a2a/grpc/utils/ToProtoTest.java +++ b/spec-grpc/src/test/java/io/a2a/grpc/utils/ToProtoTest.java @@ -216,8 +216,8 @@ public void convertTaskPushNotificationConfig() { .build(), null); io.a2a.grpc.TaskPushNotificationConfig result = ProtoUtils.ToProto.taskPushNotificationConfig(taskPushConfig); assertEquals("push-task-123", result.getTaskId()); - assertEquals("xyz", result.getId()); assertNotNull(result.getPushNotificationConfig()); + assertEquals("xyz", result.getPushNotificationConfig().getId()); assertEquals("http://example.com", result.getPushNotificationConfig().getUrl()); assertEquals("xyz", result.getPushNotificationConfig().getId()); assertEquals(false, result.getPushNotificationConfig().hasAuthentication()); @@ -231,8 +231,8 @@ public void convertTaskPushNotificationConfig() { .build(), null); result = ProtoUtils.ToProto.taskPushNotificationConfig(taskPushConfig); assertEquals("push-task-123", result.getTaskId()); - assertEquals("xyz", result.getId()); assertNotNull(result.getPushNotificationConfig()); + assertEquals("xyz", result.getPushNotificationConfig().getId()); assertEquals("http://example.com", result.getPushNotificationConfig().getUrl()); assertEquals("xyz", result.getPushNotificationConfig().getId()); assertEquals("AAAAAA", result.getPushNotificationConfig().getToken()); @@ -328,10 +328,10 @@ public void convertDeleteTaskPushNotificationConfigRequest() { } @Test - public void convertListTaskPushNotificationConfigRequest() { + public void convertListTaskPushNotificationConfigsRequest() { ListTaskPushNotificationConfigParams params = new ListTaskPushNotificationConfigParams("task-789"); - io.a2a.grpc.ListTaskPushNotificationConfigRequest result = + io.a2a.grpc.ListTaskPushNotificationConfigsRequest result = ProtoUtils.ToProto.listTaskPushNotificationConfigRequest(params); assertEquals("task-789", result.getTaskId()); diff --git a/spec/src/main/java/io/a2a/spec/A2AMethods.java b/spec/src/main/java/io/a2a/spec/A2AMethods.java index 1731077fe..782fa0d2e 100644 --- a/spec/src/main/java/io/a2a/spec/A2AMethods.java +++ b/spec/src/main/java/io/a2a/spec/A2AMethods.java @@ -18,7 +18,7 @@ public interface A2AMethods { /** Method name for listing tasks. */ String LIST_TASK_METHOD = "ListTasks"; /** Method name for listing task push notification configurations. */ - String LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD = "ListTaskPushNotificationConfig"; + String LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD = "ListTaskPushNotificationConfigs"; /** Method name for sending a message. */ String SEND_MESSAGE_METHOD = "SendMessage"; /** Method name for sending a streaming message. */ diff --git a/spec/src/main/java/io/a2a/spec/TaskIdParams.java b/spec/src/main/java/io/a2a/spec/TaskIdParams.java index 972bb4a22..45be32867 100644 --- a/spec/src/main/java/io/a2a/spec/TaskIdParams.java +++ b/spec/src/main/java/io/a2a/spec/TaskIdParams.java @@ -2,6 +2,8 @@ import io.a2a.util.Assert; import io.a2a.util.Utils; +import java.util.Collections; +import java.util.Map; import org.jspecify.annotations.Nullable; /** @@ -14,7 +16,7 @@ * @param tenant optional tenant, provided as a path parameter. * @see A2A Protocol Specification */ -public record TaskIdParams(String id, String tenant) { +public record TaskIdParams(String id, String tenant, @Nullable Map metadata) { /** * Compact constructor for validation. @@ -34,7 +36,7 @@ public record TaskIdParams(String id, String tenant) { * @param id the task identifier (required) */ public TaskIdParams(String id) { - this(id, ""); + this(id, "", Collections.emptyMap()); } /** @@ -52,6 +54,7 @@ public static Builder builder() { public static class Builder { private @Nullable String id; private @Nullable String tenant; + private @Nullable Map metadata; /** * Creates a new Builder with all fields unset. @@ -81,6 +84,17 @@ public Builder tenant(String tenant) { return this; } + /** + * Sets optional metadata for the request. + * + * @param metadata arbitrary key-value metadata + * @return this builder + */ + public Builder metadata(@Nullable Map metadata) { + this.metadata = Map.copyOf(metadata); + return this; + } + /** * Builds the TaskIdParams. * @@ -90,7 +104,8 @@ public Builder tenant(String tenant) { public TaskIdParams build() { return new TaskIdParams( Assert.checkNotNullParam("id", id), - Utils.defaultIfNull(tenant,"") + Utils.defaultIfNull(tenant,""), + metadata ); } } diff --git a/transport/grpc/src/main/java/io/a2a/transport/grpc/handler/GrpcHandler.java b/transport/grpc/src/main/java/io/a2a/transport/grpc/handler/GrpcHandler.java index 277a763cd..1ae0e8876 100644 --- a/transport/grpc/src/main/java/io/a2a/transport/grpc/handler/GrpcHandler.java +++ b/transport/grpc/src/main/java/io/a2a/transport/grpc/handler/GrpcHandler.java @@ -209,8 +209,8 @@ public void getTaskPushNotificationConfig(io.a2a.grpc.GetTaskPushNotificationCon } @Override - public void listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationConfigRequest request, - StreamObserver responseObserver) { + public void listTaskPushNotificationConfigs(io.a2a.grpc.ListTaskPushNotificationConfigsRequest request, + StreamObserver responseObserver) { if (!getAgentCardInternal().capabilities().pushNotifications()) { handleError(responseObserver, new PushNotificationNotSupportedError()); return; @@ -220,7 +220,7 @@ public void listTaskPushNotificationConfig(io.a2a.grpc.ListTaskPushNotificationC ServerCallContext context = createCallContext(responseObserver); ListTaskPushNotificationConfigParams params = FromProto.listTaskPushNotificationConfigParams(request); ListTaskPushNotificationConfigResult result = getRequestHandler().onListTaskPushNotificationConfig(params, context); - io.a2a.grpc.ListTaskPushNotificationConfigResponse response = ToProto.listTaskPushNotificationConfigResponse(result); + io.a2a.grpc.ListTaskPushNotificationConfigsResponse response = ToProto.listTaskPushNotificationConfigResponse(result); responseObserver.onNext(response); responseObserver.onCompleted(); } catch (A2AError e) { diff --git a/transport/grpc/src/test/java/io/a2a/transport/grpc/handler/GrpcHandlerTest.java b/transport/grpc/src/test/java/io/a2a/transport/grpc/handler/GrpcHandlerTest.java index fac5ce02c..1e52a925d 100644 --- a/transport/grpc/src/test/java/io/a2a/transport/grpc/handler/GrpcHandlerTest.java +++ b/transport/grpc/src/test/java/io/a2a/transport/grpc/handler/GrpcHandlerTest.java @@ -215,7 +215,6 @@ public void testSetPushNotificationConfigSuccess() throws Exception { assertEquals(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id(), response.getTaskId()); PushNotificationConfig responseConfig = response.getPushNotificationConfig(); assertEquals("config456", responseConfig.getId()); - assertEquals("config456", response.getId()); assertEquals("http://example.com", responseConfig.getUrl()); assertEquals(AuthenticationInfo.getDefaultInstance(), responseConfig.getAuthentication()); Assertions.assertTrue(responseConfig.getToken().isEmpty()); @@ -241,7 +240,6 @@ public void testGetPushNotificationConfigSuccess() throws Exception { Assertions.assertEquals(1, result.size()); TaskPushNotificationConfig response = result.get(0); assertEquals(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id(), response.getTaskId()); - assertEquals("config456", response.getId()); PushNotificationConfig responseConfig = response.getPushNotificationConfig(); assertEquals("config456", responseConfig.getId()); assertEquals("http://example.com", responseConfig.getUrl()); @@ -633,13 +631,13 @@ public void testListPushNotificationConfig() throws Exception { AbstractA2ARequestHandlerTest.MINIMAL_TASK.id(), AbstractA2ARequestHandlerTest.MINIMAL_TASK.id()); Assertions.assertNull(pushRecorder.getError()); - ListTaskPushNotificationConfigRequest request = ListTaskPushNotificationConfigRequest.newBuilder() + ListTaskPushNotificationConfigsRequest request = ListTaskPushNotificationConfigsRequest.newBuilder() .setTaskId(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id()) .build(); - StreamRecorder streamRecorder = StreamRecorder.create(); - handler.listTaskPushNotificationConfig(request, streamRecorder); + StreamRecorder streamRecorder = StreamRecorder.create(); + handler.listTaskPushNotificationConfigs(request, streamRecorder); Assertions.assertNull(streamRecorder.getError()); - List result = streamRecorder.getValues(); + List result = streamRecorder.getValues(); Assertions.assertEquals(1, result.size()); List configList = result.get(0).getConfigsList(); Assertions.assertEquals(1, configList.size()); @@ -655,11 +653,11 @@ public void testListPushNotificationConfigNotSupported() throws Exception { agentEmitter.emitEvent(context.getTask() != null ? context.getTask() : context.getMessage()); }; - ListTaskPushNotificationConfigRequest request = ListTaskPushNotificationConfigRequest.newBuilder() + ListTaskPushNotificationConfigsRequest request = ListTaskPushNotificationConfigsRequest.newBuilder() .setTaskId(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id()) .build(); - StreamRecorder streamRecorder = StreamRecorder.create(); - handler.listTaskPushNotificationConfig(request, streamRecorder); + StreamRecorder streamRecorder = StreamRecorder.create(); + handler.listTaskPushNotificationConfigs(request, streamRecorder); assertGrpcError(streamRecorder, Status.Code.UNIMPLEMENTED); } @@ -672,11 +670,11 @@ public void testListPushNotificationConfigNoPushConfigStore() { agentEmitter.emitEvent(context.getTask() != null ? context.getTask() : context.getMessage()); }; - ListTaskPushNotificationConfigRequest request = ListTaskPushNotificationConfigRequest.newBuilder() + ListTaskPushNotificationConfigsRequest request = ListTaskPushNotificationConfigsRequest.newBuilder() .setTaskId(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id()) .build(); - StreamRecorder streamRecorder = StreamRecorder.create(); - handler.listTaskPushNotificationConfig(request, streamRecorder); + StreamRecorder streamRecorder = StreamRecorder.create(); + handler.listTaskPushNotificationConfigs(request, streamRecorder); assertGrpcError(streamRecorder, Status.Code.UNIMPLEMENTED); } @@ -687,11 +685,11 @@ public void testListPushNotificationConfigTaskNotFound() { agentEmitter.emitEvent(context.getTask() != null ? context.getTask() : context.getMessage()); }; - ListTaskPushNotificationConfigRequest request = ListTaskPushNotificationConfigRequest.newBuilder() + ListTaskPushNotificationConfigsRequest request = ListTaskPushNotificationConfigsRequest.newBuilder() .setTaskId(AbstractA2ARequestHandlerTest.MINIMAL_TASK.id()) .build(); - StreamRecorder streamRecorder = StreamRecorder.create(); - handler.listTaskPushNotificationConfig(request, streamRecorder); + StreamRecorder streamRecorder = StreamRecorder.create(); + handler.listTaskPushNotificationConfigs(request, streamRecorder); assertGrpcError(streamRecorder, Status.Code.NOT_FOUND); } @@ -1152,7 +1150,6 @@ private StreamRecorder createTaskPushNotificationCon .build(); CreateTaskPushNotificationConfigRequest setRequest = CreateTaskPushNotificationConfigRequest.newBuilder() .setConfig(config) - .setConfigId("config456") .setTaskId(MINIMAL_TASK.id()) .build(); diff --git a/transport/jsonrpc/src/main/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandler.java b/transport/jsonrpc/src/main/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandler.java index aa5ad4493..d4de45c82 100644 --- a/transport/jsonrpc/src/main/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandler.java +++ b/transport/jsonrpc/src/main/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandler.java @@ -20,8 +20,8 @@ import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskRequest; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigRequest; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsRequest; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksRequest; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksResult; @@ -226,20 +226,20 @@ public ListTasksResponse onListTasks(ListTasksRequest request, ServerCallContext } } - public ListTaskPushNotificationConfigResponse listPushNotificationConfig( - ListTaskPushNotificationConfigRequest request, ServerCallContext context) { + public ListTaskPushNotificationConfigsResponse listPushNotificationConfig( + ListTaskPushNotificationConfigsRequest request, ServerCallContext context) { if ( !agentCard.capabilities().pushNotifications()) { - return new ListTaskPushNotificationConfigResponse(request.getId(), + return new ListTaskPushNotificationConfigsResponse(request.getId(), new PushNotificationNotSupportedError()); } try { ListTaskPushNotificationConfigResult result = requestHandler.onListTaskPushNotificationConfig(request.getParams(), context); - return new ListTaskPushNotificationConfigResponse(request.getId(), result); + return new ListTaskPushNotificationConfigsResponse(request.getId(), result); } catch (A2AError e) { - return new ListTaskPushNotificationConfigResponse(request.getId(), e); + return new ListTaskPushNotificationConfigsResponse(request.getId(), e); } catch (Throwable t) { - return new ListTaskPushNotificationConfigResponse(request.getId(), new InternalError(t.getMessage())); + return new ListTaskPushNotificationConfigsResponse(request.getId(), new InternalError(t.getMessage())); } } diff --git a/transport/jsonrpc/src/test/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandlerTest.java b/transport/jsonrpc/src/test/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandlerTest.java index 9087a1864..d6f761c22 100644 --- a/transport/jsonrpc/src/test/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandlerTest.java +++ b/transport/jsonrpc/src/test/java/io/a2a/transport/jsonrpc/handler/JSONRPCHandlerTest.java @@ -32,8 +32,8 @@ import io.a2a.jsonrpc.common.wrappers.GetTaskPushNotificationConfigResponse; import io.a2a.jsonrpc.common.wrappers.GetTaskRequest; import io.a2a.jsonrpc.common.wrappers.GetTaskResponse; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigRequest; -import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigResponse; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsRequest; +import io.a2a.jsonrpc.common.wrappers.ListTaskPushNotificationConfigsResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksRequest; import io.a2a.jsonrpc.common.wrappers.ListTasksResponse; import io.a2a.jsonrpc.common.wrappers.ListTasksResult; @@ -1359,9 +1359,9 @@ public void testListPushNotificationConfig() { .url("http://example.com") .id(MINIMAL_TASK.id()) .build(), ""); - ListTaskPushNotificationConfigRequest listRequest - = new ListTaskPushNotificationConfigRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); - ListTaskPushNotificationConfigResponse listResponse = handler.listPushNotificationConfig(listRequest, callContext); + ListTaskPushNotificationConfigsRequest listRequest + = new ListTaskPushNotificationConfigsRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); + ListTaskPushNotificationConfigsResponse listResponse = handler.listPushNotificationConfig(listRequest, callContext); assertEquals("111", listResponse.getId()); assertEquals(1, listResponse.getResult().size()); @@ -1386,9 +1386,9 @@ public void testListPushNotificationConfigNotSupported() { CreateTaskPushNotificationConfigRequest request = new CreateTaskPushNotificationConfigRequest("1", taskPushConfig); handler.setPushNotificationConfig(request, callContext); - ListTaskPushNotificationConfigRequest listRequest - = new ListTaskPushNotificationConfigRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); - ListTaskPushNotificationConfigResponse listResponse + ListTaskPushNotificationConfigsRequest listRequest + = new ListTaskPushNotificationConfigsRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); + ListTaskPushNotificationConfigsResponse listResponse = handler.listPushNotificationConfig(listRequest, callContext); assertEquals("111", listResponse.getId()); @@ -1405,9 +1405,9 @@ public void testListPushNotificationConfigNoPushConfigStore() { agentEmitter.emitEvent(context.getTask() != null ? context.getTask() : context.getMessage()); }; - ListTaskPushNotificationConfigRequest listRequest - = new ListTaskPushNotificationConfigRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); - ListTaskPushNotificationConfigResponse listResponse + ListTaskPushNotificationConfigsRequest listRequest + = new ListTaskPushNotificationConfigsRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); + ListTaskPushNotificationConfigsResponse listResponse = handler.listPushNotificationConfig(listRequest, callContext); assertEquals("111", listResponse.getId()); @@ -1422,9 +1422,9 @@ public void testListPushNotificationConfigTaskNotFound() { agentEmitter.emitEvent(context.getTask() != null ? context.getTask() : context.getMessage()); }; - ListTaskPushNotificationConfigRequest listRequest - = new ListTaskPushNotificationConfigRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); - ListTaskPushNotificationConfigResponse listResponse + ListTaskPushNotificationConfigsRequest listRequest + = new ListTaskPushNotificationConfigsRequest("111", new ListTaskPushNotificationConfigParams(MINIMAL_TASK.id())); + ListTaskPushNotificationConfigsResponse listResponse = handler.listPushNotificationConfig(listRequest, callContext); assertEquals("111", listResponse.getId()); diff --git a/transport/rest/src/main/java/io/a2a/transport/rest/handler/RestHandler.java b/transport/rest/src/main/java/io/a2a/transport/rest/handler/RestHandler.java index 7312824c2..66e4833af 100644 --- a/transport/rest/src/main/java/io/a2a/transport/rest/handler/RestHandler.java +++ b/transport/rest/src/main/java/io/a2a/transport/rest/handler/RestHandler.java @@ -149,7 +149,7 @@ public HTTPRestResponse cancelTask(ServerCallContext context, String tenant, Str if (taskId == null || taskId.isEmpty()) { throw new InvalidParamsError(); } - TaskIdParams params = new TaskIdParams(taskId, tenant); + TaskIdParams params = TaskIdParams.builder().id(taskId).tenant(tenant).build(); Task task = requestHandler.onCancelTask(params, context); if (task != null) { return createSuccessResponse(200, io.a2a.grpc.Task.newBuilder(ProtoUtils.ToProto.task(task))); @@ -184,7 +184,7 @@ public HTTPRestResponse subscribeToTask(ServerCallContext context, String tenant if (!agentCard.capabilities().streaming()) { return createErrorResponse(new InvalidRequestError("Streaming is not supported by the agent")); } - TaskIdParams params = new TaskIdParams(taskId, tenant); + TaskIdParams params = TaskIdParams.builder().id(taskId).tenant(tenant).build(); Flow.Publisher publisher = requestHandler.onSubscribeToTask(params, context); return createStreamingResponse(publisher); } catch (A2AError e) { @@ -293,7 +293,7 @@ public HTTPRestResponse listTaskPushNotificationConfigurations(ServerCallContext } ListTaskPushNotificationConfigParams params = new ListTaskPushNotificationConfigParams(taskId, pageSize, pageToken, tenant); ListTaskPushNotificationConfigResult result = requestHandler.onListTaskPushNotificationConfig(params, context); - return createSuccessResponse(200, io.a2a.grpc.ListTaskPushNotificationConfigResponse.newBuilder(ProtoUtils.ToProto.listTaskPushNotificationConfigResponse(result))); + return createSuccessResponse(200, io.a2a.grpc.ListTaskPushNotificationConfigsResponse.newBuilder(ProtoUtils.ToProto.listTaskPushNotificationConfigResponse(result))); } catch (A2AError e) { return createErrorResponse(e); } catch (Throwable throwable) { diff --git a/transport/rest/src/test/java/io/a2a/transport/rest/handler/RestHandlerTest.java b/transport/rest/src/test/java/io/a2a/transport/rest/handler/RestHandlerTest.java index cc0e8c303..5073899b3 100644 --- a/transport/rest/src/test/java/io/a2a/transport/rest/handler/RestHandlerTest.java +++ b/transport/rest/src/test/java/io/a2a/transport/rest/handler/RestHandlerTest.java @@ -252,8 +252,8 @@ public void testPushNotificationConfigSuccess() { String requestBody = """ { "taskId": "%s", - "configId": "default-config-id", "config": { + "id": "default-config-id", "url": "https://example.com/callback", "authentication": { "scheme": "jwt" @@ -297,8 +297,8 @@ public void testGetPushNotificationConfig() { String createRequestBody = """ { "taskId": "%s", - "configId": "default-config-id", "config": { + "id": "default-config-id", "url": "https://example.com/callback", "authentication": { "scheme": "jwt"