diff --git a/README.md b/README.md index d3a3db4a3..0b528adf0 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ You can build the A2A Java SDK using `mvn`: mvn clean install ``` +### Regeneration of gRPC files +We copy https://github.com/a2aproject/A2A/blob/main/specification/grpc/a2a.proto to the [`spec-grpc/`](./spec-grpc) project, and adjust the `java_package` option to be as follows: +``` +option java_package = "io.a2a.grpc"; +``` +Then build the `spec-grpc` module with `mvn clean install -Pproto-compile` to regenerate the gRPC classes in the `io.a2a.grpc` package. + ## Examples You can find an example of how to use the A2A Java SDK in the [a2a-samples repository](https://github.com/a2aproject/a2a-samples/tree/main/samples/multi_language/python_and_java_multiagent/weather_agent). diff --git a/pom.xml b/pom.xml index f95d6c094..0a3bfba88 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,7 @@ 1.73.0 UTF-8 + 3.5.0 3.11.0 3.4.2 3.3.1 @@ -56,7 +57,9 @@ 5.17.0 5.15.0 1.1.1 + 1.7.1 4.31.1 + 0.6.1 3.24.5 5.5.1 2.0.17 diff --git a/spec-grpc/pom.xml b/spec-grpc/pom.xml index 129be2d7c..cb97c6ca2 100644 --- a/spec-grpc/pom.xml +++ b/spec-grpc/pom.xml @@ -42,6 +42,89 @@ jakarta.inject jakarta.inject-api + + com.google.api.grpc + proto-google-common-protos + + + + + javax.annotation + javax.annotation-api + provided + - + + + + + + kr.motd.maven + os-maven-plugin + ${os-maven-plugin.version} + + + + + + + proto-compile + + + + + org.apache.maven.plugins + maven-clean-plugin + ${maven-clean-plugin.version} + + + remove-generated-files + initialize + + clean + + + true + + + ${project.basedir}/src/main/java/io/a2a/grpc + false + + *.java + + + + + + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + ${protobuf-maven-plugin.version} + + com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} + grpc-java + io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} + src/main/java + false + + + + + compile + compile-custom + + + + + + + + + diff --git a/spec-grpc/src/main/java/io/a2a/grpc/A2A.java b/spec-grpc/src/main/java/io/a2a/grpc/A2A.java index 1b38002d7..ae331178e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/A2A.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/A2A.java @@ -285,232 +285,191 @@ public static void registerAllExtensions( "le/api/field_behavior.proto\032\033google/prot" + "obuf/empty.proto\032\034google/protobuf/struct" + ".proto\032\037google/protobuf/timestamp.proto\"" + - "\336\001\n\030SendMessageConfiguration\0222\n\025accepted" + - "_output_modes\030\001 \003(\tR\023acceptedOutputModes" + - "\022K\n\021push_notification\030\002 \001(\0132\036.a2a.v1.Pus" + - "hNotificationConfigR\020pushNotification\022%\n" + - "\016history_length\030\003 \001(\005R\rhistoryLength\022\032\n\010" + - "blocking\030\004 \001(\010R\010blocking\"\361\001\n\004Task\022\016\n\002id\030" + - "\001 \001(\tR\002id\022\035\n\ncontext_id\030\002 \001(\tR\tcontextId" + - "\022*\n\006status\030\003 \001(\0132\022.a2a.v1.TaskStatusR\006st" + - "atus\022.\n\tartifacts\030\004 \003(\0132\020.a2a.v1.Artifac" + - "tR\tartifacts\022)\n\007history\030\005 \003(\0132\017.a2a.v1.M" + - "essageR\007history\0223\n\010metadata\030\006 \001(\0132\027.goog" + - "le.protobuf.StructR\010metadata\"\231\001\n\nTaskSta" + - "tus\022\'\n\005state\030\001 \001(\0162\021.a2a.v1.TaskStateR\005s" + - "tate\022(\n\006update\030\002 \001(\0132\017.a2a.v1.MessageR\007m" + - "essage\0228\n\ttimestamp\030\003 \001(\0132\032.google.proto" + - "buf.TimestampR\ttimestamp\"t\n\004Part\022\024\n\004text" + - "\030\001 \001(\tH\000R\004text\022&\n\004file\030\002 \001(\0132\020.a2a.v1.Fi" + - "lePartH\000R\004file\022&\n\004data\030\003 \001(\0132\020.a2a.v1.Da" + - "taPartH\000R\004dataB\006\n\004part\"\177\n\010FilePart\022$\n\rfi" + - "le_with_uri\030\001 \001(\tH\000R\013fileWithUri\022(\n\017file" + - "_with_bytes\030\002 \001(\014H\000R\rfileWithBytes\022\033\n\tmi" + - "me_type\030\003 \001(\tR\010mimeTypeB\006\n\004file\"7\n\010DataP" + - "art\022+\n\004data\030\001 \001(\0132\027.google.protobuf.Stru" + - "ctR\004data\"\377\001\n\007Message\022\035\n\nmessage_id\030\001 \001(\t" + - "R\tmessageId\022\035\n\ncontext_id\030\002 \001(\tR\tcontext" + - "Id\022\027\n\007task_id\030\003 \001(\tR\006taskId\022 \n\004role\030\004 \001(" + - "\0162\014.a2a.v1.RoleR\004role\022&\n\007content\030\005 \003(\0132\014" + - ".a2a.v1.PartR\007content\0223\n\010metadata\030\006 \001(\0132" + - "\027.google.protobuf.StructR\010metadata\022\036\n\nex" + - "tensions\030\007 \003(\tR\nextensions\"\332\001\n\010Artifact\022" + - "\037\n\013artifact_id\030\001 \001(\tR\nartifactId\022\022\n\004name" + - "\030\003 \001(\tR\004name\022 \n\013description\030\004 \001(\tR\013descr" + - "iption\022\"\n\005parts\030\005 \003(\0132\014.a2a.v1.PartR\005par" + - "ts\0223\n\010metadata\030\006 \001(\0132\027.google.protobuf.S" + - "tructR\010metadata\022\036\n\nextensions\030\007 \003(\tR\next" + - "ensions\"\306\001\n\025TaskStatusUpdateEvent\022\027\n\007tas" + - "k_id\030\001 \001(\tR\006taskId\022\035\n\ncontext_id\030\002 \001(\tR\t" + - "contextId\022*\n\006status\030\003 \001(\0132\022.a2a.v1.TaskS" + - "tatusR\006status\022\024\n\005final\030\004 \001(\010R\005final\0223\n\010m" + - "etadata\030\005 \001(\0132\027.google.protobuf.StructR\010" + - "metadata\"\353\001\n\027TaskArtifactUpdateEvent\022\027\n\007" + - "task_id\030\001 \001(\tR\006taskId\022\035\n\ncontext_id\030\002 \001(" + - "\tR\tcontextId\022,\n\010artifact\030\003 \001(\0132\020.a2a.v1." + - "ArtifactR\010artifact\022\026\n\006append\030\004 \001(\010R\006appe" + - "nd\022\035\n\nlast_chunk\030\005 \001(\010R\tlastChunk\0223\n\010met" + - "adata\030\006 \001(\0132\027.google.protobuf.StructR\010me" + - "tadata\"\224\001\n\026PushNotificationConfig\022\016\n\002id\030" + - "\001 \001(\tR\002id\022\020\n\003url\030\002 \001(\tR\003url\022\024\n\005token\030\003 \001" + - "(\tR\005token\022B\n\016authentication\030\004 \001(\0132\032.a2a." + - "v1.AuthenticationInfoR\016authentication\"P\n" + - "\022AuthenticationInfo\022\030\n\007schemes\030\001 \003(\tR\007sc" + - "hemes\022 \n\013credentials\030\002 \001(\tR\013credentials\"" + - "@\n\016AgentInterface\022\020\n\003url\030\001 \001(\tR\003url\022\034\n\tt" + - "ransport\030\002 \001(\tR\ttransport\"\361\006\n\tAgentCard\022" + - ")\n\020protocol_version\030\020 \001(\tR\017protocolVersi" + - "on\022\022\n\004name\030\001 \001(\tR\004name\022 \n\013description\030\002 " + - "\001(\tR\013description\022\020\n\003url\030\003 \001(\tR\003url\022/\n\023pr" + - "eferred_transport\030\016 \001(\tR\022preferredTransp" + - "ort\022K\n\025additional_interfaces\030\017 \003(\0132\026.a2a" + - ".v1.AgentInterfaceR\024additionalInterfaces" + - "\0221\n\010provider\030\004 \001(\0132\025.a2a.v1.AgentProvide" + - "rR\010provider\022\030\n\007version\030\005 \001(\tR\007version\022+\n" + - "\021documentation_url\030\006 \001(\tR\020documentationU" + - "rl\022=\n\014capabilities\030\007 \001(\0132\031.a2a.v1.AgentC" + - "apabilitiesR\014capabilities\022Q\n\020security_sc" + - "hemes\030\010 \003(\0132&.a2a.v1.AgentCard.SecurityS" + - "chemesEntryR\017securitySchemes\022,\n\010security" + - "\030\t \003(\0132\020.a2a.v1.SecurityR\010security\022.\n\023de" + - "fault_input_modes\030\n \003(\tR\021defaultInputMod" + - "es\0220\n\024default_output_modes\030\013 \003(\tR\022defaul" + - "tOutputModes\022*\n\006skills\030\014 \003(\0132\022.a2a.v1.Ag" + - "entSkillR\006skills\022O\n$supports_authenticat" + - "ed_extended_card\030\r \001(\010R!supportsAuthenti" + - "catedExtendedCard\032Z\n\024SecuritySchemesEntr" + - "y\022\020\n\003key\030\001 \001(\tR\003key\022,\n\005value\030\002 \001(\0132\026.a2a" + - ".v1.SecuritySchemeR\005value:\0028\001\"E\n\rAgentPr" + - "ovider\022\020\n\003url\030\001 \001(\tR\003url\022\"\n\014organization" + - "\030\002 \001(\tR\014organization\"\230\001\n\021AgentCapabiliti" + - "es\022\034\n\tstreaming\030\001 \001(\010R\tstreaming\022-\n\022push" + - "_notifications\030\002 \001(\010R\021pushNotifications\022" + - "6\n\nextensions\030\003 \003(\0132\026.a2a.v1.AgentExtens" + - "ionR\nextensions\"\221\001\n\016AgentExtension\022\020\n\003ur" + - "i\030\001 \001(\tR\003uri\022 \n\013description\030\002 \001(\tR\013descr" + - "iption\022\032\n\010required\030\003 \001(\010R\010required\022/\n\006pa" + - "rams\030\004 \001(\0132\027.google.protobuf.StructR\006par" + - "ams\"\306\001\n\nAgentSkill\022\016\n\002id\030\001 \001(\tR\002id\022\022\n\004na" + - "me\030\002 \001(\tR\004name\022 \n\013description\030\003 \001(\tR\013des" + - "cription\022\022\n\004tags\030\004 \003(\tR\004tags\022\032\n\010examples" + - "\030\005 \003(\tR\010examples\022\037\n\013input_modes\030\006 \003(\tR\ni" + - "nputModes\022!\n\014output_modes\030\007 \003(\tR\013outputM" + - "odes\"\212\001\n\032TaskPushNotificationConfig\022\022\n\004n" + - "ame\030\001 \001(\tR\004name\022X\n\030push_notification_con" + - "fig\030\002 \001(\0132\036.a2a.v1.PushNotificationConfi" + - "gR\026pushNotificationConfig\" \n\nStringList\022" + - "\022\n\004list\030\001 \003(\tR\004list\"\223\001\n\010Security\0227\n\007sche" + - "mes\030\001 \003(\0132\035.a2a.v1.Security.SchemesEntry" + - "R\007schemes\032N\n\014SchemesEntry\022\020\n\003key\030\001 \001(\tR\003" + - "key\022(\n\005value\030\002 \001(\0132\022.a2a.v1.StringListR\005" + - "value:\0028\001\"\221\003\n\016SecurityScheme\022U\n\027api_key_" + - "security_scheme\030\001 \001(\0132\034.a2a.v1.APIKeySec" + - "uritySchemeH\000R\024apiKeySecurityScheme\022[\n\031h" + - "ttp_auth_security_scheme\030\002 \001(\0132\036.a2a.v1." + - "HTTPAuthSecuritySchemeH\000R\026httpAuthSecuri" + - "tyScheme\022T\n\026oauth2_security_scheme\030\003 \001(\013" + - "2\034.a2a.v1.OAuth2SecuritySchemeH\000R\024oauth2" + - "SecurityScheme\022k\n\037open_id_connect_securi" + - "ty_scheme\030\004 \001(\0132#.a2a.v1.OpenIdConnectSe" + - "curitySchemeH\000R\033openIdConnectSecuritySch" + - "emeB\010\n\006scheme\"h\n\024APIKeySecurityScheme\022 \n" + - "\013description\030\001 \001(\tR\013description\022\032\n\010locat" + - "ion\030\002 \001(\tR\010location\022\022\n\004name\030\003 \001(\tR\004name\"" + - "w\n\026HTTPAuthSecurityScheme\022 \n\013description" + - "\030\001 \001(\tR\013description\022\026\n\006scheme\030\002 \001(\tR\006sch" + - "eme\022#\n\rbearer_format\030\003 \001(\tR\014bearerFormat" + - "\"b\n\024OAuth2SecurityScheme\022 \n\013description\030" + - "\001 \001(\tR\013description\022(\n\005flows\030\002 \001(\0132\022.a2a." + - "v1.OAuthFlowsR\005flows\"n\n\033OpenIdConnectSec" + - "urityScheme\022 \n\013description\030\001 \001(\tR\013descri" + - "ption\022-\n\023open_id_connect_url\030\002 \001(\tR\020open" + - "IdConnectUrl\"\260\002\n\nOAuthFlows\022S\n\022authoriza" + - "tion_code\030\001 \001(\0132\".a2a.v1.AuthorizationCo" + - "deOAuthFlowH\000R\021authorizationCode\022S\n\022clie" + - "nt_credentials\030\002 \001(\0132\".a2a.v1.ClientCred" + - "entialsOAuthFlowH\000R\021clientCredentials\0227\n" + - "\010implicit\030\003 \001(\0132\031.a2a.v1.ImplicitOAuthFl" + - "owH\000R\010implicit\0227\n\010password\030\004 \001(\0132\031.a2a.v" + - "1.PasswordOAuthFlowH\000R\010passwordB\006\n\004flow\"" + - "\212\002\n\032AuthorizationCodeOAuthFlow\022+\n\021author" + - "ization_url\030\001 \001(\tR\020authorizationUrl\022\033\n\tt" + - "oken_url\030\002 \001(\tR\010tokenUrl\022\037\n\013refresh_url\030" + - "\003 \001(\tR\nrefreshUrl\022F\n\006scopes\030\004 \003(\0132..a2a." + - "v1.AuthorizationCodeOAuthFlow.ScopesEntr" + - "yR\006scopes\0329\n\013ScopesEntry\022\020\n\003key\030\001 \001(\tR\003k" + - "ey\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\"\335\001\n\032ClientC" + - "redentialsOAuthFlow\022\033\n\ttoken_url\030\001 \001(\tR\010" + - "tokenUrl\022\037\n\013refresh_url\030\002 \001(\tR\nrefreshUr" + - "l\022F\n\006scopes\030\003 \003(\0132..a2a.v1.ClientCredent" + - "ialsOAuthFlow.ScopesEntryR\006scopes\0329\n\013Sco" + - "pesEntry\022\020\n\003key\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(" + - "\tR\005value:\0028\001\"\333\001\n\021ImplicitOAuthFlow\022+\n\021au" + - "thorization_url\030\001 \001(\tR\020authorizationUrl\022" + - "\037\n\013refresh_url\030\002 \001(\tR\nrefreshUrl\022=\n\006scop" + - "es\030\003 \003(\0132%.a2a.v1.ImplicitOAuthFlow.Scop" + - "esEntryR\006scopes\0329\n\013ScopesEntry\022\020\n\003key\030\001 " + - "\001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001\"\313\001\n\021P" + - "asswordOAuthFlow\022\033\n\ttoken_url\030\001 \001(\tR\010tok" + - "enUrl\022\037\n\013refresh_url\030\002 \001(\tR\nrefreshUrl\022=" + - "\n\006scopes\030\003 \003(\0132%.a2a.v1.PasswordOAuthFlo" + - "w.ScopesEntryR\006scopes\0329\n\013ScopesEntry\022\020\n\003" + - "key\030\001 \001(\tR\003key\022\024\n\005value\030\002 \001(\tR\005value:\0028\001" + - "\"\301\001\n\022SendMessageRequest\022.\n\007request\030\001 \001(\013" + - "2\017.a2a.v1.MessageB\003\340A\002R\007request\022F\n\rconfi" + - "guration\030\002 \001(\0132 .a2a.v1.SendMessageConfi" + - "gurationR\rconfiguration\0223\n\010metadata\030\003 \001(" + - "\0132\027.google.protobuf.StructR\010metadata\"P\n\016" + - "GetTaskRequest\022\027\n\004name\030\001 \001(\tB\003\340A\002R\004name\022" + - "%\n\016history_length\030\002 \001(\005R\rhistoryLength\"\'" + - "\n\021CancelTaskRequest\022\022\n\004name\030\001 \001(\tR\004name\"" + - ":\n$GetTaskPushNotificationConfigRequest\022" + - "\022\n\004name\030\001 \001(\tR\004name\"=\n\'DeleteTaskPushNot" + - "ificationConfigRequest\022\022\n\004name\030\001 \001(\tR\004na" + - "me\"\251\001\n\'CreateTaskPushNotificationConfigR" + - "equest\022\033\n\006parent\030\001 \001(\tB\003\340A\002R\006parent\022 \n\tc" + - "onfig_id\030\002 \001(\tB\003\340A\002R\010configId\022?\n\006config\030" + - "\003 \001(\0132\".a2a.v1.TaskPushNotificationConfi" + - "gB\003\340A\002R\006config\"-\n\027TaskSubscriptionReques" + - "t\022\022\n\004name\030\001 \001(\tR\004name\"{\n%ListTaskPushNot" + - "ificationConfigRequest\022\026\n\006parent\030\001 \001(\tR\006" + - "parent\022\033\n\tpage_size\030\002 \001(\005R\010pageSize\022\035\n\np" + - "age_token\030\003 \001(\tR\tpageToken\"\025\n\023GetAgentCa" + - "rdRequest\"m\n\023SendMessageResponse\022\"\n\004task" + - "\030\001 \001(\0132\014.a2a.v1.TaskH\000R\004task\022\'\n\003msg\030\002 \001(" + - "\0132\017.a2a.v1.MessageH\000R\007messageB\t\n\007payload" + - "\"\372\001\n\016StreamResponse\022\"\n\004task\030\001 \001(\0132\014.a2a." + - "v1.TaskH\000R\004task\022\'\n\003msg\030\002 \001(\0132\017.a2a.v1.Me" + - "ssageH\000R\007message\022D\n\rstatus_update\030\003 \001(\0132" + - "\035.a2a.v1.TaskStatusUpdateEventH\000R\014status" + - "Update\022J\n\017artifact_update\030\004 \001(\0132\037.a2a.v1" + - ".TaskArtifactUpdateEventH\000R\016artifactUpda" + - "teB\t\n\007payload\"\216\001\n&ListTaskPushNotificati" + - "onConfigResponse\022<\n\007configs\030\001 \003(\0132\".a2a." + - "v1.TaskPushNotificationConfigR\007configs\022&" + - "\n\017next_page_token\030\002 \001(\tR\rnextPageToken*\372" + - "\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_COMPLETED\020\003\022\025\n\021" + - "TASK_STATE_FAILED\020\004\022\030\n\024TASK_STATE_CANCEL" + - "LED\020\005\022\035\n\031TASK_STATE_INPUT_REQUIRED\020\006\022\027\n\023" + - "TASK_STATE_REJECTED\020\007\022\034\n\030TASK_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_AGENT\020\0022\272\n\n\nA2A" + - "Service\022c\n\013SendMessage\022\032.a2a.v1.SendMess" + - "ageRequest\032\033.a2a.v1.SendMessageResponse\"" + - "\033\202\323\344\223\002\025\"\020/v1/message:send:\001*\022k\n\024SendStre" + - "amingMessage\022\032.a2a.v1.SendMessageRequest" + - "\032\026.a2a.v1.StreamResponse\"\035\202\323\344\223\002\027\"\022/v1/me" + - "ssage:stream:\001*0\001\022R\n\007GetTask\022\026.a2a.v1.Ge" + - "tTaskRequest\032\014.a2a.v1.Task\"!\332A\004name\202\323\344\223\002" + - "\024\022\022/v1/{name=tasks/*}\022[\n\nCancelTask\022\031.a2" + - "a.v1.CancelTaskRequest\032\014.a2a.v1.Task\"$\202\323" + - "\344\223\002\036\"\031/v1/{name=tasks/*}:cancel:\001*\022s\n\020Ta" + - "skSubscription\022\037.a2a.v1.TaskSubscription" + - "Request\032\026.a2a.v1.StreamResponse\"$\202\323\344\223\002\036\022" + - "\034/v1/{name=tasks/*}:subscribe0\001\022\304\001\n Crea" + - "teTaskPushNotificationConfig\022/.a2a.v1.Cr" + - "eateTaskPushNotificationConfigRequest\032\"." + - "a2a.v1.TaskPushNotificationConfig\"K\332A\rpa" + - "rent,config\202\323\344\223\0025\"+/v1/{parent=task/*/pu" + - "shNotificationConfigs}:\006config\022\256\001\n\035GetTa" + - "skPushNotificationConfig\022,.a2a.v1.GetTas" + - "kPushNotificationConfigRequest\032\".a2a.v1." + - "TaskPushNotificationConfig\";\332A\004name\202\323\344\223\002" + - ".\022,/v1/{name=tasks/*/pushNotificationCon" + - "figs/*}\022\276\001\n\036ListTaskPushNotificationConf" + - "ig\022-.a2a.v1.ListTaskPushNotificationConf" + - "igRequest\032..a2a.v1.ListTaskPushNotificat" + - "ionConfigResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1/" + - "{parent=tasks/*}/pushNotificationConfigs" + - "\022P\n\014GetAgentCard\022\033.a2a.v1.GetAgentCardRe" + - "quest\032\021.a2a.v1.AgentCard\"\020\202\323\344\223\002\n\022\010/v1/ca" + - "rd\022\250\001\n DeleteTaskPushNotificationConfig\022" + - "/.a2a.v1.DeleteTaskPushNotificationConfi" + - "gRequest\032\026.google.protobuf.Empty\";\332A\004nam" + - "e\202\323\344\223\002.*,/v1/{name=tasks/*/pushNotificat" + - "ionConfigs/*}B7\n\013io.a2a.grpcB\003A2AP\001Z\030goo" + - "gle.golang.org/a2a/v1\252\002\006A2a.V1b\006proto3" + "\236\001\n\030SendMessageConfiguration\022\035\n\025accepted" + + "_output_modes\030\001 \003(\t\0229\n\021push_notification" + + "\030\002 \001(\0132\036.a2a.v1.PushNotificationConfig\022\026" + + "\n\016history_length\030\003 \001(\005\022\020\n\010blocking\030\004 \001(\010" + + "\"\274\001\n\004Task\022\n\n\002id\030\001 \001(\t\022\022\n\ncontext_id\030\002 \001(" + + "\t\022\"\n\006status\030\003 \001(\0132\022.a2a.v1.TaskStatus\022#\n" + + "\tartifacts\030\004 \003(\0132\020.a2a.v1.Artifact\022 \n\007hi" + + "story\030\005 \003(\0132\017.a2a.v1.Message\022)\n\010metadata" + + "\030\006 \001(\0132\027.google.protobuf.Struct\"\207\001\n\nTask" + + "Status\022 \n\005state\030\001 \001(\0162\021.a2a.v1.TaskState" + + "\022(\n\006update\030\002 \001(\0132\017.a2a.v1.MessageR\007messa" + + "ge\022-\n\ttimestamp\030\003 \001(\0132\032.google.protobuf." + + "Timestamp\"b\n\004Part\022\016\n\004text\030\001 \001(\tH\000\022 \n\004fil" + + "e\030\002 \001(\0132\020.a2a.v1.FilePartH\000\022 \n\004data\030\003 \001(" + + "\0132\020.a2a.v1.DataPartH\000B\006\n\004part\"Y\n\010FilePar" + + "t\022\027\n\rfile_with_uri\030\001 \001(\tH\000\022\031\n\017file_with_" + + "bytes\030\002 \001(\014H\000\022\021\n\tmime_type\030\003 \001(\tB\006\n\004file" + + "\"1\n\010DataPart\022%\n\004data\030\001 \001(\0132\027.google.prot" + + "obuf.Struct\"\274\001\n\007Message\022\022\n\nmessage_id\030\001 " + + "\001(\t\022\022\n\ncontext_id\030\002 \001(\t\022\017\n\007task_id\030\003 \001(\t" + + "\022\032\n\004role\030\004 \001(\0162\014.a2a.v1.Role\022\035\n\007content\030" + + "\005 \003(\0132\014.a2a.v1.Part\022)\n\010metadata\030\006 \001(\0132\027." + + "google.protobuf.Struct\022\022\n\nextensions\030\007 \003" + + "(\t\"\236\001\n\010Artifact\022\023\n\013artifact_id\030\001 \001(\t\022\014\n\004" + + "name\030\003 \001(\t\022\023\n\013description\030\004 \001(\t\022\033\n\005parts" + + "\030\005 \003(\0132\014.a2a.v1.Part\022)\n\010metadata\030\006 \001(\0132\027" + + ".google.protobuf.Struct\022\022\n\nextensions\030\007 " + + "\003(\t\"\232\001\n\025TaskStatusUpdateEvent\022\017\n\007task_id" + + "\030\001 \001(\t\022\022\n\ncontext_id\030\002 \001(\t\022\"\n\006status\030\003 \001" + + "(\0132\022.a2a.v1.TaskStatus\022\r\n\005final\030\004 \001(\010\022)\n" + + "\010metadata\030\005 \001(\0132\027.google.protobuf.Struct" + + "\"\261\001\n\027TaskArtifactUpdateEvent\022\017\n\007task_id\030" + + "\001 \001(\t\022\022\n\ncontext_id\030\002 \001(\t\022\"\n\010artifact\030\003 " + + "\001(\0132\020.a2a.v1.Artifact\022\016\n\006append\030\004 \001(\010\022\022\n" + + "\nlast_chunk\030\005 \001(\010\022)\n\010metadata\030\006 \001(\0132\027.go" + + "ogle.protobuf.Struct\"t\n\026PushNotification" + + "Config\022\n\n\002id\030\001 \001(\t\022\013\n\003url\030\002 \001(\t\022\r\n\005token" + + "\030\003 \001(\t\0222\n\016authentication\030\004 \001(\0132\032.a2a.v1." + + "AuthenticationInfo\":\n\022AuthenticationInfo" + + "\022\017\n\007schemes\030\001 \003(\t\022\023\n\013credentials\030\002 \001(\t\"0" + + "\n\016AgentInterface\022\013\n\003url\030\001 \001(\t\022\021\n\ttranspo" + + "rt\030\002 \001(\t\"\362\004\n\tAgentCard\022\030\n\020protocol_versi" + + "on\030\020 \001(\t\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 " + + "\001(\t\022\013\n\003url\030\003 \001(\t\022\033\n\023preferred_transport\030" + + "\016 \001(\t\0225\n\025additional_interfaces\030\017 \003(\0132\026.a" + + "2a.v1.AgentInterface\022\'\n\010provider\030\004 \001(\0132\025" + + ".a2a.v1.AgentProvider\022\017\n\007version\030\005 \001(\t\022\031" + + "\n\021documentation_url\030\006 \001(\t\022/\n\014capabilitie" + + "s\030\007 \001(\0132\031.a2a.v1.AgentCapabilities\022@\n\020se" + + "curity_schemes\030\010 \003(\0132&.a2a.v1.AgentCard." + + "SecuritySchemesEntry\022\"\n\010security\030\t \003(\0132\020" + + ".a2a.v1.Security\022\033\n\023default_input_modes\030" + + "\n \003(\t\022\034\n\024default_output_modes\030\013 \003(\t\022\"\n\006s" + + "kills\030\014 \003(\0132\022.a2a.v1.AgentSkill\022,\n$suppo" + + "rts_authenticated_extended_card\030\r \001(\010\032N\n" + + "\024SecuritySchemesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005va" + + "lue\030\002 \001(\0132\026.a2a.v1.SecurityScheme:\0028\001\"2\n" + + "\rAgentProvider\022\013\n\003url\030\001 \001(\t\022\024\n\014organizat" + + "ion\030\002 \001(\t\"n\n\021AgentCapabilities\022\021\n\tstream" + + "ing\030\001 \001(\010\022\032\n\022push_notifications\030\002 \001(\010\022*\n" + + "\nextensions\030\003 \003(\0132\026.a2a.v1.AgentExtensio" + + "n\"m\n\016AgentExtension\022\013\n\003uri\030\001 \001(\t\022\023\n\013desc" + + "ription\030\002 \001(\t\022\020\n\010required\030\003 \001(\010\022\'\n\006param" + + "s\030\004 \001(\0132\027.google.protobuf.Struct\"\206\001\n\nAge" + + "ntSkill\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\023\n\013des" + + "cription\030\003 \001(\t\022\014\n\004tags\030\004 \003(\t\022\020\n\010examples" + + "\030\005 \003(\t\022\023\n\013input_modes\030\006 \003(\t\022\024\n\014output_mo" + + "des\030\007 \003(\t\"l\n\032TaskPushNotificationConfig\022" + + "\014\n\004name\030\001 \001(\t\022@\n\030push_notification_confi" + + "g\030\002 \001(\0132\036.a2a.v1.PushNotificationConfig\"" + + "\032\n\nStringList\022\014\n\004list\030\001 \003(\t\"~\n\010Security\022" + + ".\n\007schemes\030\001 \003(\0132\035.a2a.v1.Security.Schem" + + "esEntry\032B\n\014SchemesEntry\022\013\n\003key\030\001 \001(\t\022!\n\005" + + "value\030\002 \001(\0132\022.a2a.v1.StringList:\0028\001\"\260\002\n\016" + + "SecurityScheme\022?\n\027api_key_security_schem" + + "e\030\001 \001(\0132\034.a2a.v1.APIKeySecuritySchemeH\000\022" + + "C\n\031http_auth_security_scheme\030\002 \001(\0132\036.a2a" + + ".v1.HTTPAuthSecuritySchemeH\000\022>\n\026oauth2_s" + + "ecurity_scheme\030\003 \001(\0132\034.a2a.v1.OAuth2Secu" + + "ritySchemeH\000\022N\n\037open_id_connect_security" + + "_scheme\030\004 \001(\0132#.a2a.v1.OpenIdConnectSecu" + + "ritySchemeH\000B\010\n\006scheme\"K\n\024APIKeySecurity" + + "Scheme\022\023\n\013description\030\001 \001(\t\022\020\n\010location\030" + + "\002 \001(\t\022\014\n\004name\030\003 \001(\t\"T\n\026HTTPAuthSecurityS" + + "cheme\022\023\n\013description\030\001 \001(\t\022\016\n\006scheme\030\002 \001" + + "(\t\022\025\n\rbearer_format\030\003 \001(\t\"N\n\024OAuth2Secur" + + "ityScheme\022\023\n\013description\030\001 \001(\t\022!\n\005flows\030" + + "\002 \001(\0132\022.a2a.v1.OAuthFlows\"O\n\033OpenIdConne" + + "ctSecurityScheme\022\023\n\013description\030\001 \001(\t\022\033\n" + + "\023open_id_connect_url\030\002 \001(\t\"\366\001\n\nOAuthFlow" + + "s\022@\n\022authorization_code\030\001 \001(\0132\".a2a.v1.A" + + "uthorizationCodeOAuthFlowH\000\022@\n\022client_cr" + + "edentials\030\002 \001(\0132\".a2a.v1.ClientCredentia" + + "lsOAuthFlowH\000\022-\n\010implicit\030\003 \001(\0132\031.a2a.v1" + + ".ImplicitOAuthFlowH\000\022-\n\010password\030\004 \001(\0132\031" + + ".a2a.v1.PasswordOAuthFlowH\000B\006\n\004flow\"\316\001\n\032" + + "AuthorizationCodeOAuthFlow\022\031\n\021authorizat" + + "ion_url\030\001 \001(\t\022\021\n\ttoken_url\030\002 \001(\t\022\023\n\013refr" + + "esh_url\030\003 \001(\t\022>\n\006scopes\030\004 \003(\0132..a2a.v1.A" + + "uthorizationCodeOAuthFlow.ScopesEntry\032-\n" + + "\013ScopesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + + ":\0028\001\"\263\001\n\032ClientCredentialsOAuthFlow\022\021\n\tt" + + "oken_url\030\001 \001(\t\022\023\n\013refresh_url\030\002 \001(\t\022>\n\006s" + + "copes\030\003 \003(\0132..a2a.v1.ClientCredentialsOA" + + "uthFlow.ScopesEntry\032-\n\013ScopesEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\251\001\n\021ImplicitO" + + "AuthFlow\022\031\n\021authorization_url\030\001 \001(\t\022\023\n\013r" + + "efresh_url\030\002 \001(\t\0225\n\006scopes\030\003 \003(\0132%.a2a.v" + + "1.ImplicitOAuthFlow.ScopesEntry\032-\n\013Scope" + + "sEntry\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%.a" + + "2a.v1.PasswordOAuthFlow.ScopesEntry\032-\n\013S" + + "copesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\"\237\001\n\022SendMessageRequest\022%\n\007request\030\001 \001" + + "(\0132\017.a2a.v1.MessageB\003\340A\002\0227\n\rconfiguratio" + + "n\030\002 \001(\0132 .a2a.v1.SendMessageConfiguratio" + + "n\022)\n\010metadata\030\003 \001(\0132\027.google.protobuf.St" + + "ruct\";\n\016GetTaskRequest\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\002\022\026\n\016history_length\030\002 \001(\005\"!\n\021CancelTaskR" + + "equest\022\014\n\004name\030\001 \001(\t\"4\n$GetTaskPushNotif" + + "icationConfigRequest\022\014\n\004name\030\001 \001(\t\"7\n\'De" + + "leteTaskPushNotificationConfigRequest\022\014\n" + + "\004name\030\001 \001(\t\"\217\001\n\'CreateTaskPushNotificati" + + "onConfigRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\026\n\t" + + "config_id\030\002 \001(\tB\003\340A\002\0227\n\006config\030\003 \001(\0132\".a" + + "2a.v1.TaskPushNotificationConfigB\003\340A\002\"\'\n" + + "\027TaskSubscriptionRequest\022\014\n\004name\030\001 \001(\t\"^" + + "\n%ListTaskPushNotificationConfigRequest\022" + + "\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"\025\n\023GetAgentCardRequest\"g\n" + + "\023SendMessageResponse\022\034\n\004task\030\001 \001(\0132\014.a2a" + + ".v1.TaskH\000\022\'\n\003msg\030\002 \001(\0132\017.a2a.v1.Message" + + "H\000R\007messageB\t\n\007payload\"\326\001\n\016StreamRespons" + + "e\022\034\n\004task\030\001 \001(\0132\014.a2a.v1.TaskH\000\022\'\n\003msg\030\002" + + " \001(\0132\017.a2a.v1.MessageH\000R\007message\0226\n\rstat" + + "us_update\030\003 \001(\0132\035.a2a.v1.TaskStatusUpdat" + + "eEventH\000\022:\n\017artifact_update\030\004 \001(\0132\037.a2a." + + "v1.TaskArtifactUpdateEventH\000B\t\n\007payload\"" + + "v\n&ListTaskPushNotificationConfigRespons" + + "e\0223\n\007configs\030\001 \003(\0132\".a2a.v1.TaskPushNoti" + + "ficationConfig\022\027\n\017next_page_token\030\002 \001(\t*" + + "\372\001\n\tTaskState\022\032\n\026TASK_STATE_UNSPECIFIED\020" + + "\000\022\030\n\024TASK_STATE_SUBMITTED\020\001\022\026\n\022TASK_STAT" + + "E_WORKING\020\002\022\030\n\024TASK_STATE_COMPLETED\020\003\022\025\n" + + "\021TASK_STATE_FAILED\020\004\022\030\n\024TASK_STATE_CANCE" + + "LLED\020\005\022\035\n\031TASK_STATE_INPUT_REQUIRED\020\006\022\027\n" + + "\023TASK_STATE_REJECTED\020\007\022\034\n\030TASK_STATE_AUT" + + "H_REQUIRED\020\010*;\n\004Role\022\024\n\020ROLE_UNSPECIFIED" + + "\020\000\022\r\n\tROLE_USER\020\001\022\016\n\nROLE_AGENT\020\0022\272\n\n\nA2" + + "AService\022c\n\013SendMessage\022\032.a2a.v1.SendMes" + + "sageRequest\032\033.a2a.v1.SendMessageResponse" + + "\"\033\202\323\344\223\002\025\"\020/v1/message:send:\001*\022k\n\024SendStr" + + "eamingMessage\022\032.a2a.v1.SendMessageReques" + + "t\032\026.a2a.v1.StreamResponse\"\035\202\323\344\223\002\027\"\022/v1/m" + + "essage:stream:\001*0\001\022R\n\007GetTask\022\026.a2a.v1.G" + + "etTaskRequest\032\014.a2a.v1.Task\"!\332A\004name\202\323\344\223" + + "\002\024\022\022/v1/{name=tasks/*}\022[\n\nCancelTask\022\031.a" + + "2a.v1.CancelTaskRequest\032\014.a2a.v1.Task\"$\202" + + "\323\344\223\002\036\"\031/v1/{name=tasks/*}:cancel:\001*\022s\n\020T" + + "askSubscription\022\037.a2a.v1.TaskSubscriptio" + + "nRequest\032\026.a2a.v1.StreamResponse\"$\202\323\344\223\002\036" + + "\022\034/v1/{name=tasks/*}:subscribe0\001\022\304\001\n Cre" + + "ateTaskPushNotificationConfig\022/.a2a.v1.C" + + "reateTaskPushNotificationConfigRequest\032\"" + + ".a2a.v1.TaskPushNotificationConfig\"K\332A\rp" + + "arent,config\202\323\344\223\0025\"+/v1/{parent=task/*/p" + + "ushNotificationConfigs}:\006config\022\256\001\n\035GetT" + + "askPushNotificationConfig\022,.a2a.v1.GetTa" + + "skPushNotificationConfigRequest\032\".a2a.v1" + + ".TaskPushNotificationConfig\";\332A\004name\202\323\344\223" + + "\002.\022,/v1/{name=tasks/*/pushNotificationCo" + + "nfigs/*}\022\276\001\n\036ListTaskPushNotificationCon" + + "fig\022-.a2a.v1.ListTaskPushNotificationCon" + + "figRequest\032..a2a.v1.ListTaskPushNotifica" + + "tionConfigResponse\"=\332A\006parent\202\323\344\223\002.\022,/v1" + + "/{parent=tasks/*}/pushNotificationConfig" + + "s\022P\n\014GetAgentCard\022\033.a2a.v1.GetAgentCardR" + + "equest\032\021.a2a.v1.AgentCard\"\020\202\323\344\223\002\n\022\010/v1/c" + + "ard\022\250\001\n DeleteTaskPushNotificationConfig" + + "\022/.a2a.v1.DeleteTaskPushNotificationConf" + + "igRequest\032\026.google.protobuf.Empty\";\332A\004na" + + "me\202\323\344\223\002.*,/v1/{name=tasks/*/pushNotifica" + + "tionConfigs/*}B7\n\013io.a2a.grpcB\003A2AP\001Z\030go" + + "ogle.golang.org/a2a/v1\252\002\006A2a.V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, 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 4ec3a9ac0..6f83ead1d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java @@ -19,10 +19,9 @@ * violates AIP-127 and AIP-131. * */ -// Temporarily comment this out until https://github.com/grpc/grpc-java/pull/12080 is included in a release -//@javax.annotation.Generated( -// value = "by gRPC proto compiler (version 1.73.0)", -// comments = "Source: a2a.proto") +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.73.0)", + comments = "Source: a2a.proto") @io.grpc.stub.annotations.GrpcGenerated public final class A2AServiceGrpc { 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 f2a9778d6..2f749cdb9 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java @@ -54,7 +54,7 @@ private APIKeySecurityScheme() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ @java.lang.Override @@ -75,7 +75,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ @java.lang.Override @@ -101,7 +101,7 @@ public java.lang.String getDescription() { * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The location. */ @java.lang.Override @@ -122,7 +122,7 @@ public java.lang.String getLocation() { * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The bytes for location. */ @java.lang.Override @@ -148,7 +148,7 @@ public java.lang.String getLocation() { * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ @java.lang.Override @@ -169,7 +169,7 @@ public java.lang.String getName() { * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ @java.lang.Override @@ -535,7 +535,7 @@ public Builder mergeFrom( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ public java.lang.String getDescription() { @@ -555,7 +555,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -576,7 +576,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The description to set. * @return This builder for chaining. */ @@ -593,7 +593,7 @@ public Builder setDescription( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return This builder for chaining. */ public Builder clearDescription() { @@ -607,7 +607,7 @@ public Builder clearDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -627,7 +627,7 @@ public Builder setDescriptionBytes( * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The location. */ public java.lang.String getLocation() { @@ -647,7 +647,7 @@ public java.lang.String getLocation() { * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The bytes for location. */ public com.google.protobuf.ByteString @@ -668,7 +668,7 @@ public java.lang.String getLocation() { * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @param value The location to set. * @return This builder for chaining. */ @@ -685,7 +685,7 @@ public Builder setLocation( * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return This builder for chaining. */ public Builder clearLocation() { @@ -699,7 +699,7 @@ public Builder clearLocation() { * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @param value The bytes for location to set. * @return This builder for chaining. */ @@ -719,7 +719,7 @@ public Builder setLocationBytes( * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ public java.lang.String getName() { @@ -739,7 +739,7 @@ public java.lang.String getName() { * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -760,7 +760,7 @@ public java.lang.String getName() { * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @param value The name to set. * @return This builder for chaining. */ @@ -777,7 +777,7 @@ public Builder setName( * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return This builder for chaining. */ public Builder clearName() { @@ -791,7 +791,7 @@ public Builder clearName() { * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ 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 ec893f4f8..f3e505c6a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java @@ -15,7 +15,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ java.lang.String getDescription(); @@ -24,7 +24,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The location. */ java.lang.String getLocation(); @@ -44,7 +44,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Location of the API key, valid values are "query", "header", or "cookie" * * - * string location = 2 [json_name = "location"]; + * string location = 2; * @return The bytes for location. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ java.lang.String getName(); @@ -64,7 +64,7 @@ public interface APIKeySecuritySchemeOrBuilder extends * Name of the header, query or cookie parameter to be used. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString 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 ca67660d7..bc9202234 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java @@ -55,7 +55,7 @@ private AgentCapabilities() { * If the agent will support streaming responses * * - * bool streaming = 1 [json_name = "streaming"]; + * bool streaming = 1; * @return The streaming. */ @java.lang.Override @@ -70,7 +70,7 @@ public boolean getStreaming() { * If the agent can send push notifications to the clients webhook * * - * bool push_notifications = 2 [json_name = "pushNotifications"]; + * bool push_notifications = 2; * @return The pushNotifications. */ @java.lang.Override @@ -86,7 +86,7 @@ public boolean getPushNotifications() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public java.util.List getExtensionsList() { @@ -97,7 +97,7 @@ public java.util.List getExtensionsList() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public java.util.List @@ -109,7 +109,7 @@ public java.util.List getExtensionsList() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public int getExtensionsCount() { @@ -120,7 +120,7 @@ public int getExtensionsCount() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public io.a2a.grpc.AgentExtension getExtensions(int index) { @@ -131,7 +131,7 @@ public io.a2a.grpc.AgentExtension getExtensions(int index) { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ @java.lang.Override public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( @@ -539,7 +539,7 @@ public Builder mergeFrom( * If the agent will support streaming responses * * - * bool streaming = 1 [json_name = "streaming"]; + * bool streaming = 1; * @return The streaming. */ @java.lang.Override @@ -551,7 +551,7 @@ public boolean getStreaming() { * If the agent will support streaming responses * * - * bool streaming = 1 [json_name = "streaming"]; + * bool streaming = 1; * @param value The streaming to set. * @return This builder for chaining. */ @@ -567,7 +567,7 @@ public Builder setStreaming(boolean value) { * If the agent will support streaming responses * * - * bool streaming = 1 [json_name = "streaming"]; + * bool streaming = 1; * @return This builder for chaining. */ public Builder clearStreaming() { @@ -583,7 +583,7 @@ public Builder clearStreaming() { * If the agent can send push notifications to the clients webhook * * - * bool push_notifications = 2 [json_name = "pushNotifications"]; + * bool push_notifications = 2; * @return The pushNotifications. */ @java.lang.Override @@ -595,7 +595,7 @@ public boolean getPushNotifications() { * If the agent can send push notifications to the clients webhook * * - * bool push_notifications = 2 [json_name = "pushNotifications"]; + * bool push_notifications = 2; * @param value The pushNotifications to set. * @return This builder for chaining. */ @@ -611,7 +611,7 @@ public Builder setPushNotifications(boolean value) { * If the agent can send push notifications to the clients webhook * * - * bool push_notifications = 2 [json_name = "pushNotifications"]; + * bool push_notifications = 2; * @return This builder for chaining. */ public Builder clearPushNotifications() { @@ -638,7 +638,7 @@ private void ensureExtensionsIsMutable() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsList() { if (extensionsBuilder_ == null) { @@ -652,7 +652,7 @@ public java.util.List getExtensionsList() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public int getExtensionsCount() { if (extensionsBuilder_ == null) { @@ -666,7 +666,7 @@ public int getExtensionsCount() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension getExtensions(int index) { if (extensionsBuilder_ == null) { @@ -680,7 +680,7 @@ public io.a2a.grpc.AgentExtension getExtensions(int index) { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder setExtensions( int index, io.a2a.grpc.AgentExtension value) { @@ -701,7 +701,7 @@ public Builder setExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder setExtensions( int index, io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -719,7 +719,7 @@ public Builder setExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions(io.a2a.grpc.AgentExtension value) { if (extensionsBuilder_ == null) { @@ -739,7 +739,7 @@ public Builder addExtensions(io.a2a.grpc.AgentExtension value) { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( int index, io.a2a.grpc.AgentExtension value) { @@ -760,7 +760,7 @@ public Builder addExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -778,7 +778,7 @@ public Builder addExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder addExtensions( int index, io.a2a.grpc.AgentExtension.Builder builderForValue) { @@ -796,7 +796,7 @@ public Builder addExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder addAllExtensions( java.lang.Iterable values) { @@ -815,7 +815,7 @@ public Builder addAllExtensions( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder clearExtensions() { if (extensionsBuilder_ == null) { @@ -832,7 +832,7 @@ public Builder clearExtensions() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public Builder removeExtensions(int index) { if (extensionsBuilder_ == null) { @@ -849,7 +849,7 @@ public Builder removeExtensions(int index) { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder getExtensionsBuilder( int index) { @@ -860,7 +860,7 @@ public io.a2a.grpc.AgentExtension.Builder getExtensionsBuilder( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( int index) { @@ -874,7 +874,7 @@ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsOrBuilderList() { @@ -889,7 +889,7 @@ public io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder() { return internalGetExtensionsFieldBuilder().addBuilder( @@ -900,7 +900,7 @@ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder() { * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder( int index) { @@ -912,7 +912,7 @@ public io.a2a.grpc.AgentExtension.Builder addExtensionsBuilder( * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ public java.util.List getExtensionsBuilderList() { 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 311841ae9..d009adff5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java @@ -15,7 +15,7 @@ public interface AgentCapabilitiesOrBuilder extends * If the agent will support streaming responses * * - * bool streaming = 1 [json_name = "streaming"]; + * bool streaming = 1; * @return The streaming. */ boolean getStreaming(); @@ -25,7 +25,7 @@ public interface AgentCapabilitiesOrBuilder extends * If the agent can send push notifications to the clients webhook * * - * bool push_notifications = 2 [json_name = "pushNotifications"]; + * bool push_notifications = 2; * @return The pushNotifications. */ boolean getPushNotifications(); @@ -35,7 +35,7 @@ public interface AgentCapabilitiesOrBuilder extends * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ java.util.List getExtensionsList(); @@ -44,7 +44,7 @@ public interface AgentCapabilitiesOrBuilder extends * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ io.a2a.grpc.AgentExtension getExtensions(int index); /** @@ -52,7 +52,7 @@ public interface AgentCapabilitiesOrBuilder extends * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ int getExtensionsCount(); /** @@ -60,7 +60,7 @@ public interface AgentCapabilitiesOrBuilder extends * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ java.util.List getExtensionsOrBuilderList(); @@ -69,7 +69,7 @@ public interface AgentCapabilitiesOrBuilder extends * Extensions supported by this agent. * * - * repeated .a2a.v1.AgentExtension extensions = 3 [json_name = "extensions"]; + * repeated .a2a.v1.AgentExtension extensions = 3; */ io.a2a.grpc.AgentExtensionOrBuilder getExtensionsOrBuilder( int index); 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 8327b6376..5862d4ef9 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java @@ -86,7 +86,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The protocolVersion. */ @java.lang.Override @@ -107,7 +107,7 @@ public java.lang.String getProtocolVersion() { * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The bytes for protocolVersion. */ @java.lang.Override @@ -134,7 +134,7 @@ public java.lang.String getProtocolVersion() { * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -156,7 +156,7 @@ public java.lang.String getName() { * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -183,7 +183,7 @@ public java.lang.String getName() { * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ @java.lang.Override @@ -205,7 +205,7 @@ public java.lang.String getDescription() { * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ @java.lang.Override @@ -232,7 +232,7 @@ public java.lang.String getDescription() { * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The url. */ @java.lang.Override @@ -254,7 +254,7 @@ public java.lang.String getUrl() { * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The bytes for url. */ @java.lang.Override @@ -280,7 +280,7 @@ public java.lang.String getUrl() { * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The preferredTransport. */ @java.lang.Override @@ -301,7 +301,7 @@ public java.lang.String getPreferredTransport() { * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The bytes for preferredTransport. */ @java.lang.Override @@ -328,7 +328,7 @@ public java.lang.String getPreferredTransport() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ @java.lang.Override public java.util.List getAdditionalInterfacesList() { @@ -340,7 +340,7 @@ public java.util.List getAdditionalInterfacesList() * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ @java.lang.Override public java.util.List @@ -353,7 +353,7 @@ public java.util.List getAdditionalInterfacesList() * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ @java.lang.Override public int getAdditionalInterfacesCount() { @@ -365,7 +365,7 @@ public int getAdditionalInterfacesCount() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ @java.lang.Override public io.a2a.grpc.AgentInterface getAdditionalInterfaces(int index) { @@ -377,7 +377,7 @@ public io.a2a.grpc.AgentInterface getAdditionalInterfaces(int index) { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ @java.lang.Override public io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( @@ -392,7 +392,7 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ @java.lang.Override @@ -404,7 +404,7 @@ public boolean hasProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return The provider. */ @java.lang.Override @@ -416,7 +416,7 @@ public io.a2a.grpc.AgentProvider getProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ @java.lang.Override public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { @@ -432,7 +432,7 @@ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The version. */ @java.lang.Override @@ -454,7 +454,7 @@ public java.lang.String getVersion() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The bytes for version. */ @java.lang.Override @@ -480,7 +480,7 @@ public java.lang.String getVersion() { * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The documentationUrl. */ @java.lang.Override @@ -501,7 +501,7 @@ public java.lang.String getDocumentationUrl() { * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The bytes for documentationUrl. */ @java.lang.Override @@ -526,7 +526,7 @@ public java.lang.String getDocumentationUrl() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return Whether the capabilities field is set. */ @java.lang.Override @@ -538,7 +538,7 @@ public boolean hasCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return The capabilities. */ @java.lang.Override @@ -550,7 +550,7 @@ public io.a2a.grpc.AgentCapabilities getCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ @java.lang.Override public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { @@ -588,7 +588,7 @@ public int getSecuritySchemesCount() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public boolean containsSecuritySchemes( @@ -609,7 +609,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public java.util.Map getSecuritySchemesMap() { @@ -620,7 +620,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public /* nullable */ @@ -638,7 +638,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( @@ -661,7 +661,7 @@ public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ @java.lang.Override public java.util.List getSecurityList() { @@ -673,7 +673,7 @@ public java.util.List getSecurityList() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ @java.lang.Override public java.util.List @@ -686,7 +686,7 @@ public java.util.List getSecurityList() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ @java.lang.Override public int getSecurityCount() { @@ -698,7 +698,7 @@ public int getSecurityCount() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ @java.lang.Override public io.a2a.grpc.Security getSecurity(int index) { @@ -710,7 +710,7 @@ public io.a2a.grpc.Security getSecurity(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ @java.lang.Override public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( @@ -729,7 +729,7 @@ public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return A list containing the defaultInputModes. */ public com.google.protobuf.ProtocolStringList @@ -743,7 +743,7 @@ public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return The count of defaultInputModes. */ public int getDefaultInputModesCount() { @@ -756,7 +756,7 @@ public int getDefaultInputModesCount() { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the element to return. * @return The defaultInputModes at the given index. */ @@ -770,7 +770,7 @@ public java.lang.String getDefaultInputModes(int index) { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the value to return. * @return The bytes of the defaultInputModes at the given index. */ @@ -788,7 +788,7 @@ public java.lang.String getDefaultInputModes(int index) { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return A list containing the defaultOutputModes. */ public com.google.protobuf.ProtocolStringList @@ -800,7 +800,7 @@ public java.lang.String getDefaultInputModes(int index) { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return The count of defaultOutputModes. */ public int getDefaultOutputModesCount() { @@ -811,7 +811,7 @@ public int getDefaultOutputModesCount() { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the element to return. * @return The defaultOutputModes at the given index. */ @@ -823,7 +823,7 @@ public java.lang.String getDefaultOutputModes(int index) { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the value to return. * @return The bytes of the defaultOutputModes at the given index. */ @@ -842,7 +842,7 @@ public java.lang.String getDefaultOutputModes(int index) { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ @java.lang.Override public java.util.List getSkillsList() { @@ -855,7 +855,7 @@ public java.util.List getSkillsList() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ @java.lang.Override public java.util.List @@ -869,7 +869,7 @@ public java.util.List getSkillsList() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ @java.lang.Override public int getSkillsCount() { @@ -882,7 +882,7 @@ public int getSkillsCount() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ @java.lang.Override public io.a2a.grpc.AgentSkill getSkills(int index) { @@ -895,7 +895,7 @@ public io.a2a.grpc.AgentSkill getSkills(int index) { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ @java.lang.Override public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( @@ -912,7 +912,7 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( * different than the card from GetAgentCard. * * - * bool supports_authenticated_extended_card = 13 [json_name = "supportsAuthenticatedExtendedCard"]; + * bool supports_authenticated_extended_card = 13; * @return The supportsAuthenticatedExtendedCard. */ @java.lang.Override @@ -1828,7 +1828,7 @@ public Builder mergeFrom( * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The protocolVersion. */ public java.lang.String getProtocolVersion() { @@ -1848,7 +1848,7 @@ public java.lang.String getProtocolVersion() { * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The bytes for protocolVersion. */ public com.google.protobuf.ByteString @@ -1869,7 +1869,7 @@ public java.lang.String getProtocolVersion() { * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @param value The protocolVersion to set. * @return This builder for chaining. */ @@ -1886,7 +1886,7 @@ public Builder setProtocolVersion( * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return This builder for chaining. */ public Builder clearProtocolVersion() { @@ -1900,7 +1900,7 @@ public Builder clearProtocolVersion() { * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @param value The bytes for protocolVersion to set. * @return This builder for chaining. */ @@ -1921,7 +1921,7 @@ public Builder setProtocolVersionBytes( * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -1942,7 +1942,7 @@ public java.lang.String getName() { * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -1964,7 +1964,7 @@ public java.lang.String getName() { * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -1982,7 +1982,7 @@ public Builder setName( * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -1997,7 +1997,7 @@ public Builder clearName() { * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -2018,7 +2018,7 @@ public Builder setNameBytes( * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ public java.lang.String getDescription() { @@ -2039,7 +2039,7 @@ public java.lang.String getDescription() { * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -2061,7 +2061,7 @@ public java.lang.String getDescription() { * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The description to set. * @return This builder for chaining. */ @@ -2079,7 +2079,7 @@ public Builder setDescription( * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { @@ -2094,7 +2094,7 @@ public Builder clearDescription() { * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -2115,7 +2115,7 @@ public Builder setDescriptionBytes( * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The url. */ public java.lang.String getUrl() { @@ -2136,7 +2136,7 @@ public java.lang.String getUrl() { * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The bytes for url. */ public com.google.protobuf.ByteString @@ -2158,7 +2158,7 @@ public java.lang.String getUrl() { * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @param value The url to set. * @return This builder for chaining. */ @@ -2176,7 +2176,7 @@ public Builder setUrl( * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return This builder for chaining. */ public Builder clearUrl() { @@ -2191,7 +2191,7 @@ public Builder clearUrl() { * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @param value The bytes for url to set. * @return This builder for chaining. */ @@ -2211,7 +2211,7 @@ public Builder setUrlBytes( * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The preferredTransport. */ public java.lang.String getPreferredTransport() { @@ -2231,7 +2231,7 @@ public java.lang.String getPreferredTransport() { * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The bytes for preferredTransport. */ public com.google.protobuf.ByteString @@ -2252,7 +2252,7 @@ public java.lang.String getPreferredTransport() { * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @param value The preferredTransport to set. * @return This builder for chaining. */ @@ -2269,7 +2269,7 @@ public Builder setPreferredTransport( * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return This builder for chaining. */ public Builder clearPreferredTransport() { @@ -2283,7 +2283,7 @@ public Builder clearPreferredTransport() { * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @param value The bytes for preferredTransport to set. * @return This builder for chaining. */ @@ -2315,7 +2315,7 @@ private void ensureAdditionalInterfacesIsMutable() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public java.util.List getAdditionalInterfacesList() { if (additionalInterfacesBuilder_ == null) { @@ -2330,7 +2330,7 @@ public java.util.List getAdditionalInterfacesList() * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public int getAdditionalInterfacesCount() { if (additionalInterfacesBuilder_ == null) { @@ -2345,7 +2345,7 @@ public int getAdditionalInterfacesCount() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public io.a2a.grpc.AgentInterface getAdditionalInterfaces(int index) { if (additionalInterfacesBuilder_ == null) { @@ -2360,7 +2360,7 @@ public io.a2a.grpc.AgentInterface getAdditionalInterfaces(int index) { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder setAdditionalInterfaces( int index, io.a2a.grpc.AgentInterface value) { @@ -2382,7 +2382,7 @@ public Builder setAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder setAdditionalInterfaces( int index, io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2401,7 +2401,7 @@ public Builder setAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder addAdditionalInterfaces(io.a2a.grpc.AgentInterface value) { if (additionalInterfacesBuilder_ == null) { @@ -2422,7 +2422,7 @@ public Builder addAdditionalInterfaces(io.a2a.grpc.AgentInterface value) { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder addAdditionalInterfaces( int index, io.a2a.grpc.AgentInterface value) { @@ -2444,7 +2444,7 @@ public Builder addAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder addAdditionalInterfaces( io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2463,7 +2463,7 @@ public Builder addAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder addAdditionalInterfaces( int index, io.a2a.grpc.AgentInterface.Builder builderForValue) { @@ -2482,7 +2482,7 @@ public Builder addAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder addAllAdditionalInterfaces( java.lang.Iterable values) { @@ -2502,7 +2502,7 @@ public Builder addAllAdditionalInterfaces( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder clearAdditionalInterfaces() { if (additionalInterfacesBuilder_ == null) { @@ -2520,7 +2520,7 @@ public Builder clearAdditionalInterfaces() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public Builder removeAdditionalInterfaces(int index) { if (additionalInterfacesBuilder_ == null) { @@ -2538,7 +2538,7 @@ public Builder removeAdditionalInterfaces(int index) { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public io.a2a.grpc.AgentInterface.Builder getAdditionalInterfacesBuilder( int index) { @@ -2550,7 +2550,7 @@ public io.a2a.grpc.AgentInterface.Builder getAdditionalInterfacesBuilder( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( int index) { @@ -2565,7 +2565,7 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public java.util.List getAdditionalInterfacesOrBuilderList() { @@ -2581,7 +2581,7 @@ public io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public io.a2a.grpc.AgentInterface.Builder addAdditionalInterfacesBuilder() { return internalGetAdditionalInterfacesFieldBuilder().addBuilder( @@ -2593,7 +2593,7 @@ public io.a2a.grpc.AgentInterface.Builder addAdditionalInterfacesBuilder() { * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public io.a2a.grpc.AgentInterface.Builder addAdditionalInterfacesBuilder( int index) { @@ -2606,7 +2606,7 @@ public io.a2a.grpc.AgentInterface.Builder addAdditionalInterfacesBuilder( * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ public java.util.List getAdditionalInterfacesBuilderList() { @@ -2635,7 +2635,7 @@ public io.a2a.grpc.AgentInterface.Builder addAdditionalInterfacesBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ public boolean hasProvider() { @@ -2646,7 +2646,7 @@ public boolean hasProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return The provider. */ public io.a2a.grpc.AgentProvider getProvider() { @@ -2661,7 +2661,7 @@ public io.a2a.grpc.AgentProvider getProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public Builder setProvider(io.a2a.grpc.AgentProvider value) { if (providerBuilder_ == null) { @@ -2681,7 +2681,7 @@ public Builder setProvider(io.a2a.grpc.AgentProvider value) { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public Builder setProvider( io.a2a.grpc.AgentProvider.Builder builderForValue) { @@ -2699,7 +2699,7 @@ public Builder setProvider( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public Builder mergeProvider(io.a2a.grpc.AgentProvider value) { if (providerBuilder_ == null) { @@ -2724,7 +2724,7 @@ public Builder mergeProvider(io.a2a.grpc.AgentProvider value) { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public Builder clearProvider() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2741,7 +2741,7 @@ public Builder clearProvider() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public io.a2a.grpc.AgentProvider.Builder getProviderBuilder() { bitField0_ |= 0x00000040; @@ -2753,7 +2753,7 @@ public io.a2a.grpc.AgentProvider.Builder getProviderBuilder() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { if (providerBuilder_ != null) { @@ -2768,7 +2768,7 @@ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AgentProvider, io.a2a.grpc.AgentProvider.Builder, io.a2a.grpc.AgentProviderOrBuilder> @@ -2791,7 +2791,7 @@ public io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The version. */ public java.lang.String getVersion() { @@ -2812,7 +2812,7 @@ public java.lang.String getVersion() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The bytes for version. */ public com.google.protobuf.ByteString @@ -2834,7 +2834,7 @@ public java.lang.String getVersion() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @param value The version to set. * @return This builder for chaining. */ @@ -2852,7 +2852,7 @@ public Builder setVersion( * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return This builder for chaining. */ public Builder clearVersion() { @@ -2867,7 +2867,7 @@ public Builder clearVersion() { * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @param value The bytes for version to set. * @return This builder for chaining. */ @@ -2887,7 +2887,7 @@ public Builder setVersionBytes( * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The documentationUrl. */ public java.lang.String getDocumentationUrl() { @@ -2907,7 +2907,7 @@ public java.lang.String getDocumentationUrl() { * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The bytes for documentationUrl. */ public com.google.protobuf.ByteString @@ -2928,7 +2928,7 @@ public java.lang.String getDocumentationUrl() { * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @param value The documentationUrl to set. * @return This builder for chaining. */ @@ -2945,7 +2945,7 @@ public Builder setDocumentationUrl( * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return This builder for chaining. */ public Builder clearDocumentationUrl() { @@ -2959,7 +2959,7 @@ public Builder clearDocumentationUrl() { * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @param value The bytes for documentationUrl to set. * @return This builder for chaining. */ @@ -2981,7 +2981,7 @@ public Builder setDocumentationUrlBytes( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return Whether the capabilities field is set. */ public boolean hasCapabilities() { @@ -2992,7 +2992,7 @@ public boolean hasCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return The capabilities. */ public io.a2a.grpc.AgentCapabilities getCapabilities() { @@ -3007,7 +3007,7 @@ public io.a2a.grpc.AgentCapabilities getCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public Builder setCapabilities(io.a2a.grpc.AgentCapabilities value) { if (capabilitiesBuilder_ == null) { @@ -3027,7 +3027,7 @@ public Builder setCapabilities(io.a2a.grpc.AgentCapabilities value) { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public Builder setCapabilities( io.a2a.grpc.AgentCapabilities.Builder builderForValue) { @@ -3045,7 +3045,7 @@ public Builder setCapabilities( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public Builder mergeCapabilities(io.a2a.grpc.AgentCapabilities value) { if (capabilitiesBuilder_ == null) { @@ -3070,7 +3070,7 @@ public Builder mergeCapabilities(io.a2a.grpc.AgentCapabilities value) { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public Builder clearCapabilities() { bitField0_ = (bitField0_ & ~0x00000200); @@ -3087,7 +3087,7 @@ public Builder clearCapabilities() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public io.a2a.grpc.AgentCapabilities.Builder getCapabilitiesBuilder() { bitField0_ |= 0x00000200; @@ -3099,7 +3099,7 @@ public io.a2a.grpc.AgentCapabilities.Builder getCapabilitiesBuilder() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { if (capabilitiesBuilder_ != null) { @@ -3114,7 +3114,7 @@ public io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder() { * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AgentCapabilities, io.a2a.grpc.AgentCapabilities.Builder, io.a2a.grpc.AgentCapabilitiesOrBuilder> @@ -3170,7 +3170,7 @@ public int getSecuritySchemesCount() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public boolean containsSecuritySchemes( @@ -3191,7 +3191,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public java.util.Map getSecuritySchemesMap() { @@ -3202,7 +3202,7 @@ public java.util.Map getSecuritySc * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public /* nullable */ @@ -3219,7 +3219,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ @java.lang.Override public io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( @@ -3241,7 +3241,7 @@ public Builder clearSecuritySchemes() { * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder removeSecuritySchemes( java.lang.String key) { @@ -3264,7 +3264,7 @@ public Builder removeSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder putSecuritySchemes( java.lang.String key, @@ -3281,7 +3281,7 @@ public Builder putSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ public Builder putAllSecuritySchemes( java.util.Map values) { @@ -3300,7 +3300,7 @@ public Builder putAllSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ public io.a2a.grpc.SecurityScheme.Builder putSecuritySchemesBuilderIfAbsent( java.lang.String key) { @@ -3335,7 +3335,7 @@ private void ensureSecurityIsMutable() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public java.util.List getSecurityList() { if (securityBuilder_ == null) { @@ -3350,7 +3350,7 @@ public java.util.List getSecurityList() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public int getSecurityCount() { if (securityBuilder_ == null) { @@ -3365,7 +3365,7 @@ public int getSecurityCount() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public io.a2a.grpc.Security getSecurity(int index) { if (securityBuilder_ == null) { @@ -3380,7 +3380,7 @@ public io.a2a.grpc.Security getSecurity(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder setSecurity( int index, io.a2a.grpc.Security value) { @@ -3402,7 +3402,7 @@ public Builder setSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder setSecurity( int index, io.a2a.grpc.Security.Builder builderForValue) { @@ -3421,7 +3421,7 @@ public Builder setSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder addSecurity(io.a2a.grpc.Security value) { if (securityBuilder_ == null) { @@ -3442,7 +3442,7 @@ public Builder addSecurity(io.a2a.grpc.Security value) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder addSecurity( int index, io.a2a.grpc.Security value) { @@ -3464,7 +3464,7 @@ public Builder addSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder addSecurity( io.a2a.grpc.Security.Builder builderForValue) { @@ -3483,7 +3483,7 @@ public Builder addSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder addSecurity( int index, io.a2a.grpc.Security.Builder builderForValue) { @@ -3502,7 +3502,7 @@ public Builder addSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder addAllSecurity( java.lang.Iterable values) { @@ -3522,7 +3522,7 @@ public Builder addAllSecurity( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder clearSecurity() { if (securityBuilder_ == null) { @@ -3540,7 +3540,7 @@ public Builder clearSecurity() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public Builder removeSecurity(int index) { if (securityBuilder_ == null) { @@ -3558,7 +3558,7 @@ public Builder removeSecurity(int index) { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public io.a2a.grpc.Security.Builder getSecurityBuilder( int index) { @@ -3570,7 +3570,7 @@ public io.a2a.grpc.Security.Builder getSecurityBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( int index) { @@ -3585,7 +3585,7 @@ public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public java.util.List getSecurityOrBuilderList() { @@ -3601,7 +3601,7 @@ public io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public io.a2a.grpc.Security.Builder addSecurityBuilder() { return internalGetSecurityFieldBuilder().addBuilder( @@ -3613,7 +3613,7 @@ public io.a2a.grpc.Security.Builder addSecurityBuilder() { * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public io.a2a.grpc.Security.Builder addSecurityBuilder( int index) { @@ -3626,7 +3626,7 @@ public io.a2a.grpc.Security.Builder addSecurityBuilder( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ public java.util.List getSecurityBuilderList() { @@ -3662,7 +3662,7 @@ private void ensureDefaultInputModesIsMutable() { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return A list containing the defaultInputModes. */ public com.google.protobuf.ProtocolStringList @@ -3677,7 +3677,7 @@ private void ensureDefaultInputModesIsMutable() { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return The count of defaultInputModes. */ public int getDefaultInputModesCount() { @@ -3690,7 +3690,7 @@ public int getDefaultInputModesCount() { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the element to return. * @return The defaultInputModes at the given index. */ @@ -3704,7 +3704,7 @@ public java.lang.String getDefaultInputModes(int index) { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the value to return. * @return The bytes of the defaultInputModes at the given index. */ @@ -3719,7 +3719,7 @@ public java.lang.String getDefaultInputModes(int index) { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index to set the value at. * @param value The defaultInputModes to set. * @return This builder for chaining. @@ -3740,7 +3740,7 @@ public Builder setDefaultInputModes( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param value The defaultInputModes to add. * @return This builder for chaining. */ @@ -3760,7 +3760,7 @@ public Builder addDefaultInputModes( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param values The defaultInputModes to add. * @return This builder for chaining. */ @@ -3780,7 +3780,7 @@ public Builder addAllDefaultInputModes( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return This builder for chaining. */ public Builder clearDefaultInputModes() { @@ -3797,7 +3797,7 @@ public Builder clearDefaultInputModes() { * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param value The bytes of the defaultInputModes to add. * @return This builder for chaining. */ @@ -3825,7 +3825,7 @@ private void ensureDefaultOutputModesIsMutable() { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return A list containing the defaultOutputModes. */ public com.google.protobuf.ProtocolStringList @@ -3838,7 +3838,7 @@ private void ensureDefaultOutputModesIsMutable() { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return The count of defaultOutputModes. */ public int getDefaultOutputModesCount() { @@ -3849,7 +3849,7 @@ public int getDefaultOutputModesCount() { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the element to return. * @return The defaultOutputModes at the given index. */ @@ -3861,7 +3861,7 @@ public java.lang.String getDefaultOutputModes(int index) { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the value to return. * @return The bytes of the defaultOutputModes at the given index. */ @@ -3874,7 +3874,7 @@ public java.lang.String getDefaultOutputModes(int index) { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index to set the value at. * @param value The defaultOutputModes to set. * @return This builder for chaining. @@ -3893,7 +3893,7 @@ public Builder setDefaultOutputModes( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param value The defaultOutputModes to add. * @return This builder for chaining. */ @@ -3911,7 +3911,7 @@ public Builder addDefaultOutputModes( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param values The defaultOutputModes to add. * @return This builder for chaining. */ @@ -3929,7 +3929,7 @@ public Builder addAllDefaultOutputModes( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return This builder for chaining. */ public Builder clearDefaultOutputModes() { @@ -3944,7 +3944,7 @@ public Builder clearDefaultOutputModes() { * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param value The bytes of the defaultOutputModes to add. * @return This builder for chaining. */ @@ -3978,7 +3978,7 @@ private void ensureSkillsIsMutable() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public java.util.List getSkillsList() { if (skillsBuilder_ == null) { @@ -3994,7 +3994,7 @@ public java.util.List getSkillsList() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public int getSkillsCount() { if (skillsBuilder_ == null) { @@ -4010,7 +4010,7 @@ public int getSkillsCount() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public io.a2a.grpc.AgentSkill getSkills(int index) { if (skillsBuilder_ == null) { @@ -4026,7 +4026,7 @@ public io.a2a.grpc.AgentSkill getSkills(int index) { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder setSkills( int index, io.a2a.grpc.AgentSkill value) { @@ -4049,7 +4049,7 @@ public Builder setSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder setSkills( int index, io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -4069,7 +4069,7 @@ public Builder setSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder addSkills(io.a2a.grpc.AgentSkill value) { if (skillsBuilder_ == null) { @@ -4091,7 +4091,7 @@ public Builder addSkills(io.a2a.grpc.AgentSkill value) { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder addSkills( int index, io.a2a.grpc.AgentSkill value) { @@ -4114,7 +4114,7 @@ public Builder addSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder addSkills( io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -4134,7 +4134,7 @@ public Builder addSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder addSkills( int index, io.a2a.grpc.AgentSkill.Builder builderForValue) { @@ -4154,7 +4154,7 @@ public Builder addSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder addAllSkills( java.lang.Iterable values) { @@ -4175,7 +4175,7 @@ public Builder addAllSkills( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder clearSkills() { if (skillsBuilder_ == null) { @@ -4194,7 +4194,7 @@ public Builder clearSkills() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public Builder removeSkills(int index) { if (skillsBuilder_ == null) { @@ -4213,7 +4213,7 @@ public Builder removeSkills(int index) { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public io.a2a.grpc.AgentSkill.Builder getSkillsBuilder( int index) { @@ -4226,7 +4226,7 @@ public io.a2a.grpc.AgentSkill.Builder getSkillsBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( int index) { @@ -4242,7 +4242,7 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public java.util.List getSkillsOrBuilderList() { @@ -4259,7 +4259,7 @@ public io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder() { return internalGetSkillsFieldBuilder().addBuilder( @@ -4272,7 +4272,7 @@ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder() { * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder( int index) { @@ -4286,7 +4286,7 @@ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ public java.util.List getSkillsBuilderList() { @@ -4315,7 +4315,7 @@ public io.a2a.grpc.AgentSkill.Builder addSkillsBuilder( * different than the card from GetAgentCard. * * - * bool supports_authenticated_extended_card = 13 [json_name = "supportsAuthenticatedExtendedCard"]; + * bool supports_authenticated_extended_card = 13; * @return The supportsAuthenticatedExtendedCard. */ @java.lang.Override @@ -4329,7 +4329,7 @@ public boolean getSupportsAuthenticatedExtendedCard() { * different than the card from GetAgentCard. * * - * bool supports_authenticated_extended_card = 13 [json_name = "supportsAuthenticatedExtendedCard"]; + * bool supports_authenticated_extended_card = 13; * @param value The supportsAuthenticatedExtendedCard to set. * @return This builder for chaining. */ @@ -4347,7 +4347,7 @@ public Builder setSupportsAuthenticatedExtendedCard(boolean value) { * different than the card from GetAgentCard. * * - * bool supports_authenticated_extended_card = 13 [json_name = "supportsAuthenticatedExtendedCard"]; + * bool supports_authenticated_extended_card = 13; * @return This builder for chaining. */ public Builder clearSupportsAuthenticatedExtendedCard() { 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 4de7e064d..6a992f83e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java @@ -15,7 +15,7 @@ public interface AgentCardOrBuilder extends * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The protocolVersion. */ java.lang.String getProtocolVersion(); @@ -24,7 +24,7 @@ public interface AgentCardOrBuilder extends * The version of the A2A protocol this agent supports. * * - * string protocol_version = 16 [json_name = "protocolVersion"]; + * string protocol_version = 16; * @return The bytes for protocolVersion. */ com.google.protobuf.ByteString @@ -36,7 +36,7 @@ public interface AgentCardOrBuilder extends * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -46,7 +46,7 @@ public interface AgentCardOrBuilder extends * Example: "Recipe Agent" * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -58,7 +58,7 @@ public interface AgentCardOrBuilder extends * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ java.lang.String getDescription(); @@ -68,7 +68,7 @@ public interface AgentCardOrBuilder extends * Example: "Agent that helps users with recipes and cooking." * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -80,7 +80,7 @@ public interface AgentCardOrBuilder extends * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The url. */ java.lang.String getUrl(); @@ -90,7 +90,7 @@ public interface AgentCardOrBuilder extends * preferred endpoint as declared by the agent. * * - * string url = 3 [json_name = "url"]; + * string url = 3; * @return The bytes for url. */ com.google.protobuf.ByteString @@ -101,7 +101,7 @@ public interface AgentCardOrBuilder extends * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The preferredTransport. */ java.lang.String getPreferredTransport(); @@ -110,7 +110,7 @@ public interface AgentCardOrBuilder extends * The transport of the preferred endpoint. If empty, defaults to JSONRPC. * * - * string preferred_transport = 14 [json_name = "preferredTransport"]; + * string preferred_transport = 14; * @return The bytes for preferredTransport. */ com.google.protobuf.ByteString @@ -122,7 +122,7 @@ public interface AgentCardOrBuilder extends * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ java.util.List getAdditionalInterfacesList(); @@ -132,7 +132,7 @@ public interface AgentCardOrBuilder extends * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ io.a2a.grpc.AgentInterface getAdditionalInterfaces(int index); /** @@ -141,7 +141,7 @@ public interface AgentCardOrBuilder extends * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ int getAdditionalInterfacesCount(); /** @@ -150,7 +150,7 @@ public interface AgentCardOrBuilder extends * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ java.util.List getAdditionalInterfacesOrBuilderList(); @@ -160,7 +160,7 @@ public interface AgentCardOrBuilder extends * the supported transports. * * - * repeated .a2a.v1.AgentInterface additional_interfaces = 15 [json_name = "additionalInterfaces"]; + * repeated .a2a.v1.AgentInterface additional_interfaces = 15; */ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( int index); @@ -170,7 +170,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return Whether the provider field is set. */ boolean hasProvider(); @@ -179,7 +179,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; * @return The provider. */ io.a2a.grpc.AgentProvider getProvider(); @@ -188,7 +188,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The service provider of the agent. * * - * .a2a.v1.AgentProvider provider = 4 [json_name = "provider"]; + * .a2a.v1.AgentProvider provider = 4; */ io.a2a.grpc.AgentProviderOrBuilder getProviderOrBuilder(); @@ -198,7 +198,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The version. */ java.lang.String getVersion(); @@ -208,7 +208,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * Example: "1.0.0" * * - * string version = 5 [json_name = "version"]; + * string version = 5; * @return The bytes for version. */ com.google.protobuf.ByteString @@ -219,7 +219,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The documentationUrl. */ java.lang.String getDocumentationUrl(); @@ -228,7 +228,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * A url to provide additional documentation about the agent. * * - * string documentation_url = 6 [json_name = "documentationUrl"]; + * string documentation_url = 6; * @return The bytes for documentationUrl. */ com.google.protobuf.ByteString @@ -239,7 +239,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return Whether the capabilities field is set. */ boolean hasCapabilities(); @@ -248,7 +248,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; * @return The capabilities. */ io.a2a.grpc.AgentCapabilities getCapabilities(); @@ -257,7 +257,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * A2A Capability set supported by the agent. * * - * .a2a.v1.AgentCapabilities capabilities = 7 [json_name = "capabilities"]; + * .a2a.v1.AgentCapabilities capabilities = 7; */ io.a2a.grpc.AgentCapabilitiesOrBuilder getCapabilitiesOrBuilder(); @@ -266,7 +266,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ int getSecuritySchemesCount(); /** @@ -274,7 +274,7 @@ io.a2a.grpc.AgentInterfaceOrBuilder getAdditionalInterfacesOrBuilder( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ boolean containsSecuritySchemes( java.lang.String key); @@ -289,7 +289,7 @@ boolean containsSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ java.util.Map getSecuritySchemesMap(); @@ -298,7 +298,7 @@ boolean containsSecuritySchemes( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ /* nullable */ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( @@ -310,7 +310,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrDefault( * The security scheme details used for authenticating with this agent. * * - * map<string, .a2a.v1.SecurityScheme> security_schemes = 8 [json_name = "securitySchemes"]; + * map<string, .a2a.v1.SecurityScheme> security_schemes = 8; */ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( java.lang.String key); @@ -321,7 +321,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ java.util.List getSecurityList(); @@ -331,7 +331,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ io.a2a.grpc.Security getSecurity(int index); /** @@ -340,7 +340,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ int getSecurityCount(); /** @@ -349,7 +349,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ java.util.List getSecurityOrBuilderList(); @@ -359,7 +359,7 @@ io.a2a.grpc.SecurityScheme getSecuritySchemesOrThrow( * Security requirements for contacting the agent. * * - * repeated .a2a.v1.Security security = 9 [json_name = "security"]; + * repeated .a2a.v1.Security security = 9; */ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( int index); @@ -371,7 +371,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return A list containing the defaultInputModes. */ java.util.List @@ -383,7 +383,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @return The count of defaultInputModes. */ int getDefaultInputModesCount(); @@ -394,7 +394,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the element to return. * @return The defaultInputModes at the given index. */ @@ -406,7 +406,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * This can be overridden per skill. Defined as mime types. * * - * repeated string default_input_modes = 10 [json_name = "defaultInputModes"]; + * repeated string default_input_modes = 10; * @param index The index of the value to return. * @return The bytes of the defaultInputModes at the given index. */ @@ -418,7 +418,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return A list containing the defaultOutputModes. */ java.util.List @@ -428,7 +428,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @return The count of defaultOutputModes. */ int getDefaultOutputModesCount(); @@ -437,7 +437,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the element to return. * @return The defaultOutputModes at the given index. */ @@ -447,7 +447,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * The mime types supported as outputs from this agent. * * - * repeated string default_output_modes = 11 [json_name = "defaultOutputModes"]; + * repeated string default_output_modes = 11; * @param index The index of the value to return. * @return The bytes of the defaultOutputModes at the given index. */ @@ -461,7 +461,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ java.util.List getSkillsList(); @@ -472,7 +472,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ io.a2a.grpc.AgentSkill getSkills(int index); /** @@ -482,7 +482,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ int getSkillsCount(); /** @@ -492,7 +492,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ java.util.List getSkillsOrBuilderList(); @@ -503,7 +503,7 @@ io.a2a.grpc.SecurityOrBuilder getSecurityOrBuilder( * agent is highly likely to succeed at. * * - * repeated .a2a.v1.AgentSkill skills = 12 [json_name = "skills"]; + * repeated .a2a.v1.AgentSkill skills = 12; */ io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( int index); @@ -515,7 +515,7 @@ io.a2a.grpc.AgentSkillOrBuilder getSkillsOrBuilder( * different than the card from GetAgentCard. * * - * bool supports_authenticated_extended_card = 13 [json_name = "supportsAuthenticatedExtendedCard"]; + * bool supports_authenticated_extended_card = 13; * @return The supportsAuthenticatedExtendedCard. */ boolean getSupportsAuthenticatedExtendedCard(); 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 04e298d8d..dd3906cb5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java @@ -59,7 +59,7 @@ private AgentExtension() { * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The uri. */ @java.lang.Override @@ -81,7 +81,7 @@ public java.lang.String getUri() { * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The bytes for uri. */ @java.lang.Override @@ -108,7 +108,7 @@ public java.lang.String getUri() { * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ @java.lang.Override @@ -130,7 +130,7 @@ public java.lang.String getDescription() { * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ @java.lang.Override @@ -156,7 +156,7 @@ public java.lang.String getDescription() { * Example: false * * - * bool required = 3 [json_name = "required"]; + * bool required = 3; * @return The required. */ @java.lang.Override @@ -171,7 +171,7 @@ public boolean getRequired() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return Whether the params field is set. */ @java.lang.Override @@ -183,7 +183,7 @@ public boolean hasParams() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return The params. */ @java.lang.Override @@ -195,7 +195,7 @@ public com.google.protobuf.Struct getParams() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getParamsOrBuilder() { @@ -600,7 +600,7 @@ public Builder mergeFrom( * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The uri. */ public java.lang.String getUri() { @@ -621,7 +621,7 @@ public java.lang.String getUri() { * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The bytes for uri. */ public com.google.protobuf.ByteString @@ -643,7 +643,7 @@ public java.lang.String getUri() { * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @param value The uri to set. * @return This builder for chaining. */ @@ -661,7 +661,7 @@ public Builder setUri( * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return This builder for chaining. */ public Builder clearUri() { @@ -676,7 +676,7 @@ public Builder clearUri() { * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @param value The bytes for uri to set. * @return This builder for chaining. */ @@ -697,7 +697,7 @@ public Builder setUriBytes( * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ public java.lang.String getDescription() { @@ -718,7 +718,7 @@ public java.lang.String getDescription() { * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -740,7 +740,7 @@ public java.lang.String getDescription() { * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The description to set. * @return This builder for chaining. */ @@ -758,7 +758,7 @@ public Builder setDescription( * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return This builder for chaining. */ public Builder clearDescription() { @@ -773,7 +773,7 @@ public Builder clearDescription() { * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -794,7 +794,7 @@ public Builder setDescriptionBytes( * Example: false * * - * bool required = 3 [json_name = "required"]; + * bool required = 3; * @return The required. */ @java.lang.Override @@ -807,7 +807,7 @@ public boolean getRequired() { * Example: false * * - * bool required = 3 [json_name = "required"]; + * bool required = 3; * @param value The required to set. * @return This builder for chaining. */ @@ -824,7 +824,7 @@ public Builder setRequired(boolean value) { * Example: false * * - * bool required = 3 [json_name = "required"]; + * bool required = 3; * @return This builder for chaining. */ public Builder clearRequired() { @@ -842,7 +842,7 @@ public Builder clearRequired() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return Whether the params field is set. */ public boolean hasParams() { @@ -853,7 +853,7 @@ public boolean hasParams() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return The params. */ public com.google.protobuf.Struct getParams() { @@ -868,7 +868,7 @@ public com.google.protobuf.Struct getParams() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public Builder setParams(com.google.protobuf.Struct value) { if (paramsBuilder_ == null) { @@ -888,7 +888,7 @@ public Builder setParams(com.google.protobuf.Struct value) { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public Builder setParams( com.google.protobuf.Struct.Builder builderForValue) { @@ -906,7 +906,7 @@ public Builder setParams( * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public Builder mergeParams(com.google.protobuf.Struct value) { if (paramsBuilder_ == null) { @@ -931,7 +931,7 @@ public Builder mergeParams(com.google.protobuf.Struct value) { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public Builder clearParams() { bitField0_ = (bitField0_ & ~0x00000008); @@ -948,7 +948,7 @@ public Builder clearParams() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public com.google.protobuf.Struct.Builder getParamsBuilder() { bitField0_ |= 0x00000008; @@ -960,7 +960,7 @@ public com.google.protobuf.Struct.Builder getParamsBuilder() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() { if (paramsBuilder_ != null) { @@ -975,7 +975,7 @@ public com.google.protobuf.StructOrBuilder getParamsOrBuilder() { * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 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 580b65020..789b314f5 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java @@ -16,7 +16,7 @@ public interface AgentExtensionOrBuilder extends * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The uri. */ java.lang.String getUri(); @@ -26,7 +26,7 @@ public interface AgentExtensionOrBuilder extends * Example: "https://developers.google.com/identity/protocols/oauth2" * * - * string uri = 1 [json_name = "uri"]; + * string uri = 1; * @return The bytes for uri. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface AgentExtensionOrBuilder extends * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The description. */ java.lang.String getDescription(); @@ -48,7 +48,7 @@ public interface AgentExtensionOrBuilder extends * Example: "Google OAuth 2.0 authentication" * * - * string description = 2 [json_name = "description"]; + * string description = 2; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface AgentExtensionOrBuilder extends * Example: false * * - * bool required = 3 [json_name = "required"]; + * bool required = 3; * @return The required. */ boolean getRequired(); @@ -70,7 +70,7 @@ public interface AgentExtensionOrBuilder extends * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return Whether the params field is set. */ boolean hasParams(); @@ -79,7 +79,7 @@ public interface AgentExtensionOrBuilder extends * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; * @return The params. */ com.google.protobuf.Struct getParams(); @@ -88,7 +88,7 @@ public interface AgentExtensionOrBuilder extends * Optional configuration for the extension. * * - * .google.protobuf.Struct params = 4 [json_name = "params"]; + * .google.protobuf.Struct params = 4; */ com.google.protobuf.StructOrBuilder getParamsOrBuilder(); } 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 78ad52d8e..120acd347 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java @@ -57,7 +57,7 @@ private AgentInterface() { * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ @java.lang.Override @@ -78,7 +78,7 @@ public java.lang.String getUrl() { * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ @java.lang.Override @@ -106,7 +106,7 @@ public java.lang.String getUrl() { * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The transport. */ @java.lang.Override @@ -129,7 +129,7 @@ public java.lang.String getTransport() { * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The bytes for transport. */ @java.lang.Override @@ -475,7 +475,7 @@ public Builder mergeFrom( * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ public java.lang.String getUrl() { @@ -495,7 +495,7 @@ public java.lang.String getUrl() { * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ public com.google.protobuf.ByteString @@ -516,7 +516,7 @@ public java.lang.String getUrl() { * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @param value The url to set. * @return This builder for chaining. */ @@ -533,7 +533,7 @@ public Builder setUrl( * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return This builder for chaining. */ public Builder clearUrl() { @@ -547,7 +547,7 @@ public Builder clearUrl() { * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @param value The bytes for url to set. * @return This builder for chaining. */ @@ -569,7 +569,7 @@ public Builder setUrlBytes( * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The transport. */ public java.lang.String getTransport() { @@ -591,7 +591,7 @@ public java.lang.String getTransport() { * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The bytes for transport. */ public com.google.protobuf.ByteString @@ -614,7 +614,7 @@ public java.lang.String getTransport() { * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @param value The transport to set. * @return This builder for chaining. */ @@ -633,7 +633,7 @@ public Builder setTransport( * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return This builder for chaining. */ public Builder clearTransport() { @@ -649,7 +649,7 @@ public Builder clearTransport() { * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @param value The bytes for transport to set. * @return This builder for chaining. */ 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 22d5faf01..c0263e901 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java @@ -15,7 +15,7 @@ public interface AgentInterfaceOrBuilder extends * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ java.lang.String getUrl(); @@ -24,7 +24,7 @@ public interface AgentInterfaceOrBuilder extends * The url this interface is found at. * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ com.google.protobuf.ByteString @@ -37,7 +37,7 @@ public interface AgentInterfaceOrBuilder extends * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The transport. */ java.lang.String getTransport(); @@ -48,7 +48,7 @@ public interface AgentInterfaceOrBuilder extends * supported are JSONRPC, GRPC and HTTP+JSON. * * - * string transport = 2 [json_name = "transport"]; + * string transport = 2; * @return The bytes for transport. */ com.google.protobuf.ByteString 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 a166ddaa4..57226e43c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java @@ -58,7 +58,7 @@ private AgentProvider() { * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ @java.lang.Override @@ -80,7 +80,7 @@ public java.lang.String getUrl() { * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ @java.lang.Override @@ -107,7 +107,7 @@ public java.lang.String getUrl() { * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The organization. */ @java.lang.Override @@ -129,7 +129,7 @@ public java.lang.String getOrganization() { * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The bytes for organization. */ @java.lang.Override @@ -476,7 +476,7 @@ public Builder mergeFrom( * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ public java.lang.String getUrl() { @@ -497,7 +497,7 @@ public java.lang.String getUrl() { * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ public com.google.protobuf.ByteString @@ -519,7 +519,7 @@ public java.lang.String getUrl() { * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @param value The url to set. * @return This builder for chaining. */ @@ -537,7 +537,7 @@ public Builder setUrl( * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return This builder for chaining. */ public Builder clearUrl() { @@ -552,7 +552,7 @@ public Builder clearUrl() { * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @param value The bytes for url to set. * @return This builder for chaining. */ @@ -573,7 +573,7 @@ public Builder setUrlBytes( * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The organization. */ public java.lang.String getOrganization() { @@ -594,7 +594,7 @@ public java.lang.String getOrganization() { * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The bytes for organization. */ public com.google.protobuf.ByteString @@ -616,7 +616,7 @@ public java.lang.String getOrganization() { * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @param value The organization to set. * @return This builder for chaining. */ @@ -634,7 +634,7 @@ public Builder setOrganization( * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return This builder for chaining. */ public Builder clearOrganization() { @@ -649,7 +649,7 @@ public Builder clearOrganization() { * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @param value The bytes for organization to set. * @return This builder for chaining. */ 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 0a54dc18f..f5e70cc40 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java @@ -16,7 +16,7 @@ public interface AgentProviderOrBuilder extends * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The url. */ java.lang.String getUrl(); @@ -26,7 +26,7 @@ public interface AgentProviderOrBuilder extends * Example: "https://ai.google.dev" * * - * string url = 1 [json_name = "url"]; + * string url = 1; * @return The bytes for url. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface AgentProviderOrBuilder extends * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The organization. */ java.lang.String getOrganization(); @@ -48,7 +48,7 @@ public interface AgentProviderOrBuilder extends * Example: "Google" * * - * string organization = 2 [json_name = "organization"]; + * string organization = 2; * @return The bytes for organization. */ com.google.protobuf.ByteString 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 c8d4dbf0b..1d6fed46c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java @@ -70,7 +70,7 @@ private AgentSkill() { * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ @java.lang.Override @@ -91,7 +91,7 @@ public java.lang.String getId() { * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getId() { * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ @java.lang.Override @@ -138,7 +138,7 @@ public java.lang.String getName() { * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ @java.lang.Override @@ -165,7 +165,7 @@ public java.lang.String getName() { * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ @java.lang.Override @@ -187,7 +187,7 @@ public java.lang.String getDescription() { * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ @java.lang.Override @@ -215,7 +215,7 @@ public java.lang.String getDescription() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList @@ -228,7 +228,7 @@ public java.lang.String getDescription() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return The count of tags. */ public int getTagsCount() { @@ -240,7 +240,7 @@ public int getTagsCount() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the element to return. * @return The tags at the given index. */ @@ -253,7 +253,7 @@ public java.lang.String getTags(int index) { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -274,7 +274,7 @@ public java.lang.String getTags(int index) { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return A list containing the examples. */ public com.google.protobuf.ProtocolStringList @@ -289,7 +289,7 @@ public java.lang.String getTags(int index) { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return The count of examples. */ public int getExamplesCount() { @@ -303,7 +303,7 @@ public int getExamplesCount() { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the element to return. * @return The examples at the given index. */ @@ -318,7 +318,7 @@ public java.lang.String getExamples(int index) { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the value to return. * @return The bytes of the examples at the given index. */ @@ -336,7 +336,7 @@ public java.lang.String getExamples(int index) { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return A list containing the inputModes. */ public com.google.protobuf.ProtocolStringList @@ -348,7 +348,7 @@ public java.lang.String getExamples(int index) { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return The count of inputModes. */ public int getInputModesCount() { @@ -359,7 +359,7 @@ public int getInputModesCount() { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the element to return. * @return The inputModes at the given index. */ @@ -371,7 +371,7 @@ public java.lang.String getInputModes(int index) { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the value to return. * @return The bytes of the inputModes at the given index. */ @@ -389,7 +389,7 @@ public java.lang.String getInputModes(int index) { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return A list containing the outputModes. */ public com.google.protobuf.ProtocolStringList @@ -401,7 +401,7 @@ public java.lang.String getInputModes(int index) { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return The count of outputModes. */ public int getOutputModesCount() { @@ -412,7 +412,7 @@ public int getOutputModesCount() { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the element to return. * @return The outputModes at the given index. */ @@ -424,7 +424,7 @@ public java.lang.String getOutputModes(int index) { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the value to return. * @return The bytes of the outputModes at the given index. */ @@ -945,7 +945,7 @@ public Builder mergeFrom( * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ public java.lang.String getId() { @@ -965,7 +965,7 @@ public java.lang.String getId() { * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -986,7 +986,7 @@ public java.lang.String getId() { * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The id to set. * @return This builder for chaining. */ @@ -1003,7 +1003,7 @@ public Builder setId( * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return This builder for chaining. */ public Builder clearId() { @@ -1017,7 +1017,7 @@ public Builder clearId() { * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -1037,7 +1037,7 @@ public Builder setIdBytes( * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ public java.lang.String getName() { @@ -1057,7 +1057,7 @@ public java.lang.String getName() { * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -1078,7 +1078,7 @@ public java.lang.String getName() { * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @param value The name to set. * @return This builder for chaining. */ @@ -1095,7 +1095,7 @@ public Builder setName( * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return This builder for chaining. */ public Builder clearName() { @@ -1109,7 +1109,7 @@ public Builder clearName() { * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1130,7 +1130,7 @@ public Builder setNameBytes( * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ public java.lang.String getDescription() { @@ -1151,7 +1151,7 @@ public java.lang.String getDescription() { * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -1173,7 +1173,7 @@ public java.lang.String getDescription() { * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @param value The description to set. * @return This builder for chaining. */ @@ -1191,7 +1191,7 @@ public Builder setDescription( * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return This builder for chaining. */ public Builder clearDescription() { @@ -1206,7 +1206,7 @@ public Builder clearDescription() { * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -1234,7 +1234,7 @@ private void ensureTagsIsMutable() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return A list containing the tags. */ public com.google.protobuf.ProtocolStringList @@ -1248,7 +1248,7 @@ private void ensureTagsIsMutable() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return The count of tags. */ public int getTagsCount() { @@ -1260,7 +1260,7 @@ public int getTagsCount() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1273,7 +1273,7 @@ public java.lang.String getTags(int index) { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -1287,7 +1287,7 @@ public java.lang.String getTags(int index) { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. @@ -1307,7 +1307,7 @@ public Builder setTags( * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param value The tags to add. * @return This builder for chaining. */ @@ -1326,7 +1326,7 @@ public Builder addTags( * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param values The tags to add. * @return This builder for chaining. */ @@ -1345,7 +1345,7 @@ public Builder addAllTags( * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return This builder for chaining. */ public Builder clearTags() { @@ -1361,7 +1361,7 @@ public Builder clearTags() { * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param value The bytes of the tags to add. * @return This builder for chaining. */ @@ -1392,7 +1392,7 @@ private void ensureExamplesIsMutable() { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return A list containing the examples. */ public com.google.protobuf.ProtocolStringList @@ -1408,7 +1408,7 @@ private void ensureExamplesIsMutable() { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return The count of examples. */ public int getExamplesCount() { @@ -1422,7 +1422,7 @@ public int getExamplesCount() { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the element to return. * @return The examples at the given index. */ @@ -1437,7 +1437,7 @@ public java.lang.String getExamples(int index) { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the value to return. * @return The bytes of the examples at the given index. */ @@ -1453,7 +1453,7 @@ public java.lang.String getExamples(int index) { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index to set the value at. * @param value The examples to set. * @return This builder for chaining. @@ -1475,7 +1475,7 @@ public Builder setExamples( * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param value The examples to add. * @return This builder for chaining. */ @@ -1496,7 +1496,7 @@ public Builder addExamples( * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param values The examples to add. * @return This builder for chaining. */ @@ -1517,7 +1517,7 @@ public Builder addAllExamples( * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return This builder for chaining. */ public Builder clearExamples() { @@ -1535,7 +1535,7 @@ public Builder clearExamples() { * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param value The bytes of the examples to add. * @return This builder for chaining. */ @@ -1563,7 +1563,7 @@ private void ensureInputModesIsMutable() { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return A list containing the inputModes. */ public com.google.protobuf.ProtocolStringList @@ -1576,7 +1576,7 @@ private void ensureInputModesIsMutable() { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return The count of inputModes. */ public int getInputModesCount() { @@ -1587,7 +1587,7 @@ public int getInputModesCount() { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the element to return. * @return The inputModes at the given index. */ @@ -1599,7 +1599,7 @@ public java.lang.String getInputModes(int index) { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the value to return. * @return The bytes of the inputModes at the given index. */ @@ -1612,7 +1612,7 @@ public java.lang.String getInputModes(int index) { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index to set the value at. * @param value The inputModes to set. * @return This builder for chaining. @@ -1631,7 +1631,7 @@ public Builder setInputModes( * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param value The inputModes to add. * @return This builder for chaining. */ @@ -1649,7 +1649,7 @@ public Builder addInputModes( * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param values The inputModes to add. * @return This builder for chaining. */ @@ -1667,7 +1667,7 @@ public Builder addAllInputModes( * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return This builder for chaining. */ public Builder clearInputModes() { @@ -1682,7 +1682,7 @@ public Builder clearInputModes() { * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param value The bytes of the inputModes to add. * @return This builder for chaining. */ @@ -1710,7 +1710,7 @@ private void ensureOutputModesIsMutable() { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return A list containing the outputModes. */ public com.google.protobuf.ProtocolStringList @@ -1723,7 +1723,7 @@ private void ensureOutputModesIsMutable() { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return The count of outputModes. */ public int getOutputModesCount() { @@ -1734,7 +1734,7 @@ public int getOutputModesCount() { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the element to return. * @return The outputModes at the given index. */ @@ -1746,7 +1746,7 @@ public java.lang.String getOutputModes(int index) { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the value to return. * @return The bytes of the outputModes at the given index. */ @@ -1759,7 +1759,7 @@ public java.lang.String getOutputModes(int index) { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index to set the value at. * @param value The outputModes to set. * @return This builder for chaining. @@ -1778,7 +1778,7 @@ public Builder setOutputModes( * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param value The outputModes to add. * @return This builder for chaining. */ @@ -1796,7 +1796,7 @@ public Builder addOutputModes( * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param values The outputModes to add. * @return This builder for chaining. */ @@ -1814,7 +1814,7 @@ public Builder addAllOutputModes( * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return This builder for chaining. */ public Builder clearOutputModes() { @@ -1829,7 +1829,7 @@ public Builder clearOutputModes() { * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param value The bytes of the outputModes to add. * @return This builder for chaining. */ 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 bfcb9d956..d776b3112 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java @@ -15,7 +15,7 @@ public interface AgentSkillOrBuilder extends * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ java.lang.String getId(); @@ -24,7 +24,7 @@ public interface AgentSkillOrBuilder extends * Unique id of the skill within this agent. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface AgentSkillOrBuilder extends * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The name. */ java.lang.String getName(); @@ -44,7 +44,7 @@ public interface AgentSkillOrBuilder extends * A human readable name for the skill. * * - * string name = 2 [json_name = "name"]; + * string name = 2; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -56,7 +56,7 @@ public interface AgentSkillOrBuilder extends * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The description. */ java.lang.String getDescription(); @@ -66,7 +66,7 @@ public interface AgentSkillOrBuilder extends * details and behaviors. * * - * string description = 3 [json_name = "description"]; + * string description = 3; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -78,7 +78,7 @@ public interface AgentSkillOrBuilder extends * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return A list containing the tags. */ java.util.List @@ -89,7 +89,7 @@ public interface AgentSkillOrBuilder extends * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @return The count of tags. */ int getTagsCount(); @@ -99,7 +99,7 @@ public interface AgentSkillOrBuilder extends * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the element to return. * @return The tags at the given index. */ @@ -110,7 +110,7 @@ public interface AgentSkillOrBuilder extends * Example: ["cooking", "customer support", "billing"] * * - * repeated string tags = 4 [json_name = "tags"]; + * repeated string tags = 4; * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ @@ -125,7 +125,7 @@ public interface AgentSkillOrBuilder extends * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return A list containing the examples. */ java.util.List @@ -138,7 +138,7 @@ public interface AgentSkillOrBuilder extends * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @return The count of examples. */ int getExamplesCount(); @@ -150,7 +150,7 @@ public interface AgentSkillOrBuilder extends * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the element to return. * @return The examples at the given index. */ @@ -163,7 +163,7 @@ public interface AgentSkillOrBuilder extends * Example: ["I need a recipe for bread"] * * - * repeated string examples = 5 [json_name = "examples"]; + * repeated string examples = 5; * @param index The index of the value to return. * @return The bytes of the examples at the given index. */ @@ -175,7 +175,7 @@ public interface AgentSkillOrBuilder extends * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return A list containing the inputModes. */ java.util.List @@ -185,7 +185,7 @@ public interface AgentSkillOrBuilder extends * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @return The count of inputModes. */ int getInputModesCount(); @@ -194,7 +194,7 @@ public interface AgentSkillOrBuilder extends * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the element to return. * @return The inputModes at the given index. */ @@ -204,7 +204,7 @@ public interface AgentSkillOrBuilder extends * Possible input modalities supported. * * - * repeated string input_modes = 6 [json_name = "inputModes"]; + * repeated string input_modes = 6; * @param index The index of the value to return. * @return The bytes of the inputModes at the given index. */ @@ -216,7 +216,7 @@ public interface AgentSkillOrBuilder extends * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return A list containing the outputModes. */ java.util.List @@ -226,7 +226,7 @@ public interface AgentSkillOrBuilder extends * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @return The count of outputModes. */ int getOutputModesCount(); @@ -235,7 +235,7 @@ public interface AgentSkillOrBuilder extends * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the element to return. * @return The outputModes at the given index. */ @@ -245,7 +245,7 @@ public interface AgentSkillOrBuilder extends * Possible output modalities produced * * - * repeated string output_modes = 7 [json_name = "outputModes"]; + * repeated string output_modes = 7; * @param index The index of the value to return. * @return The bytes of the outputModes at the given 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 3e50bbcf8..e9be6369a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Artifact.java @@ -64,7 +64,7 @@ private Artifact() { * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The artifactId. */ @java.lang.Override @@ -85,7 +85,7 @@ public java.lang.String getArtifactId() { * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The bytes for artifactId. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getArtifactId() { * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ @java.lang.Override @@ -132,7 +132,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ @java.lang.Override @@ -158,7 +158,7 @@ public java.lang.String getName() { * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getDescription() { * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ @java.lang.Override @@ -205,7 +205,7 @@ public java.lang.String getDescription() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ @java.lang.Override public java.util.List getPartsList() { @@ -216,7 +216,7 @@ public java.util.List getPartsList() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ @java.lang.Override public java.util.List @@ -228,7 +228,7 @@ public java.util.List getPartsList() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ @java.lang.Override public int getPartsCount() { @@ -239,7 +239,7 @@ public int getPartsCount() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ @java.lang.Override public io.a2a.grpc.Part getParts(int index) { @@ -250,7 +250,7 @@ public io.a2a.grpc.Part getParts(int index) { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ @java.lang.Override public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( @@ -265,7 +265,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ @java.lang.Override @@ -277,7 +277,7 @@ public boolean hasMetadata() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ @java.lang.Override @@ -289,7 +289,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -305,7 +305,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -317,7 +317,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ public int getExtensionsCount() { @@ -328,7 +328,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -340,7 +340,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -860,7 +860,7 @@ public Builder mergeFrom( * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The artifactId. */ public java.lang.String getArtifactId() { @@ -880,7 +880,7 @@ public java.lang.String getArtifactId() { * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The bytes for artifactId. */ public com.google.protobuf.ByteString @@ -901,7 +901,7 @@ public java.lang.String getArtifactId() { * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @param value The artifactId to set. * @return This builder for chaining. */ @@ -918,7 +918,7 @@ public Builder setArtifactId( * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return This builder for chaining. */ public Builder clearArtifactId() { @@ -932,7 +932,7 @@ public Builder clearArtifactId() { * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @param value The bytes for artifactId to set. * @return This builder for chaining. */ @@ -952,7 +952,7 @@ public Builder setArtifactIdBytes( * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ public java.lang.String getName() { @@ -972,7 +972,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -993,7 +993,7 @@ public java.lang.String getName() { * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @param value The name to set. * @return This builder for chaining. */ @@ -1010,7 +1010,7 @@ public Builder setName( * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return This builder for chaining. */ public Builder clearName() { @@ -1024,7 +1024,7 @@ public Builder clearName() { * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -1044,7 +1044,7 @@ public Builder setNameBytes( * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ public java.lang.String getDescription() { @@ -1064,7 +1064,7 @@ public java.lang.String getDescription() { * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -1085,7 +1085,7 @@ public java.lang.String getDescription() { * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @param value The description to set. * @return This builder for chaining. */ @@ -1102,7 +1102,7 @@ public Builder setDescription( * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return This builder for chaining. */ public Builder clearDescription() { @@ -1116,7 +1116,7 @@ public Builder clearDescription() { * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -1147,7 +1147,7 @@ private void ensurePartsIsMutable() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public java.util.List getPartsList() { if (partsBuilder_ == null) { @@ -1161,7 +1161,7 @@ public java.util.List getPartsList() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public int getPartsCount() { if (partsBuilder_ == null) { @@ -1175,7 +1175,7 @@ public int getPartsCount() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public io.a2a.grpc.Part getParts(int index) { if (partsBuilder_ == null) { @@ -1189,7 +1189,7 @@ public io.a2a.grpc.Part getParts(int index) { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder setParts( int index, io.a2a.grpc.Part value) { @@ -1210,7 +1210,7 @@ public Builder setParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder setParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1228,7 +1228,7 @@ public Builder setParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder addParts(io.a2a.grpc.Part value) { if (partsBuilder_ == null) { @@ -1248,7 +1248,7 @@ public Builder addParts(io.a2a.grpc.Part value) { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder addParts( int index, io.a2a.grpc.Part value) { @@ -1269,7 +1269,7 @@ public Builder addParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder addParts( io.a2a.grpc.Part.Builder builderForValue) { @@ -1287,7 +1287,7 @@ public Builder addParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder addParts( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1305,7 +1305,7 @@ public Builder addParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder addAllParts( java.lang.Iterable values) { @@ -1324,7 +1324,7 @@ public Builder addAllParts( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder clearParts() { if (partsBuilder_ == null) { @@ -1341,7 +1341,7 @@ public Builder clearParts() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public Builder removeParts(int index) { if (partsBuilder_ == null) { @@ -1358,7 +1358,7 @@ public Builder removeParts(int index) { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public io.a2a.grpc.Part.Builder getPartsBuilder( int index) { @@ -1369,7 +1369,7 @@ public io.a2a.grpc.Part.Builder getPartsBuilder( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index) { @@ -1383,7 +1383,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public java.util.List getPartsOrBuilderList() { @@ -1398,7 +1398,7 @@ public io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public io.a2a.grpc.Part.Builder addPartsBuilder() { return internalGetPartsFieldBuilder().addBuilder( @@ -1409,7 +1409,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder() { * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public io.a2a.grpc.Part.Builder addPartsBuilder( int index) { @@ -1421,7 +1421,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ public java.util.List getPartsBuilderList() { @@ -1450,7 +1450,7 @@ public io.a2a.grpc.Part.Builder addPartsBuilder( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1461,7 +1461,7 @@ public boolean hasMetadata() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1476,7 +1476,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1496,7 +1496,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1514,7 +1514,7 @@ public Builder setMetadata( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1539,7 +1539,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1556,7 +1556,7 @@ public Builder clearMetadata() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000010; @@ -1568,7 +1568,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1583,7 +1583,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1612,7 +1612,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -1625,7 +1625,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ public int getExtensionsCount() { @@ -1636,7 +1636,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -1648,7 +1648,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -1661,7 +1661,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index to set the value at. * @param value The extensions to set. * @return This builder for chaining. @@ -1680,7 +1680,7 @@ public Builder setExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param value The extensions to add. * @return This builder for chaining. */ @@ -1698,7 +1698,7 @@ public Builder addExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param values The extensions to add. * @return This builder for chaining. */ @@ -1716,7 +1716,7 @@ public Builder addAllExtensions( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return This builder for chaining. */ public Builder clearExtensions() { @@ -1731,7 +1731,7 @@ public Builder clearExtensions() { * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param value The bytes of the extensions to add. * @return This builder for chaining. */ 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 54219afa3..05c14a8eb 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java @@ -15,7 +15,7 @@ public interface ArtifactOrBuilder extends * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The artifactId. */ java.lang.String getArtifactId(); @@ -24,7 +24,7 @@ public interface ArtifactOrBuilder extends * Unique id for the artifact. It must be at least unique within a task. * * - * string artifact_id = 1 [json_name = "artifactId"]; + * string artifact_id = 1; * @return The bytes for artifactId. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface ArtifactOrBuilder extends * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The name. */ java.lang.String getName(); @@ -44,7 +44,7 @@ public interface ArtifactOrBuilder extends * A human readable name for the artifact. * * - * string name = 3 [json_name = "name"]; + * string name = 3; * @return The bytes for name. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface ArtifactOrBuilder extends * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The description. */ java.lang.String getDescription(); @@ -64,7 +64,7 @@ public interface ArtifactOrBuilder extends * A human readable description of the artifact, optional. * * - * string description = 4 [json_name = "description"]; + * string description = 4; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -75,7 +75,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ java.util.List getPartsList(); @@ -84,7 +84,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ io.a2a.grpc.Part getParts(int index); /** @@ -92,7 +92,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ int getPartsCount(); /** @@ -100,7 +100,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ java.util.List getPartsOrBuilderList(); @@ -109,7 +109,7 @@ public interface ArtifactOrBuilder extends * The content of the artifact. * * - * repeated .a2a.v1.Part parts = 5 [json_name = "parts"]; + * repeated .a2a.v1.Part parts = 5; */ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( int index); @@ -119,7 +119,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -128,7 +128,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -137,7 +137,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * Optional metadata included with the artifact. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); @@ -146,7 +146,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ java.util.List @@ -156,7 +156,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ int getExtensionsCount(); @@ -165,7 +165,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -175,7 +175,7 @@ io.a2a.grpc.PartOrBuilder getPartsOrBuilder( * The URIs of extensions that are present or contributed to this Artifact. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @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 723f7164a..c7a21b14d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java @@ -59,7 +59,7 @@ private AuthenticationInfo() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return A list containing the schemes. */ public com.google.protobuf.ProtocolStringList @@ -71,7 +71,7 @@ private AuthenticationInfo() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return The count of schemes. */ public int getSchemesCount() { @@ -82,7 +82,7 @@ public int getSchemesCount() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the element to return. * @return The schemes at the given index. */ @@ -94,7 +94,7 @@ public java.lang.String getSchemes(int index) { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the value to return. * @return The bytes of the schemes at the given index. */ @@ -111,7 +111,7 @@ public java.lang.String getSchemes(int index) { * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The credentials. */ @java.lang.Override @@ -132,7 +132,7 @@ public java.lang.String getCredentials() { * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The bytes for credentials. */ @java.lang.Override @@ -500,7 +500,7 @@ private void ensureSchemesIsMutable() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return A list containing the schemes. */ public com.google.protobuf.ProtocolStringList @@ -513,7 +513,7 @@ private void ensureSchemesIsMutable() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return The count of schemes. */ public int getSchemesCount() { @@ -524,7 +524,7 @@ public int getSchemesCount() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the element to return. * @return The schemes at the given index. */ @@ -536,7 +536,7 @@ public java.lang.String getSchemes(int index) { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the value to return. * @return The bytes of the schemes at the given index. */ @@ -549,7 +549,7 @@ public java.lang.String getSchemes(int index) { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index to set the value at. * @param value The schemes to set. * @return This builder for chaining. @@ -568,7 +568,7 @@ public Builder setSchemes( * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param value The schemes to add. * @return This builder for chaining. */ @@ -586,7 +586,7 @@ public Builder addSchemes( * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param values The schemes to add. * @return This builder for chaining. */ @@ -604,7 +604,7 @@ public Builder addAllSchemes( * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return This builder for chaining. */ public Builder clearSchemes() { @@ -619,7 +619,7 @@ public Builder clearSchemes() { * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param value The bytes of the schemes to add. * @return This builder for chaining. */ @@ -640,7 +640,7 @@ public Builder addSchemesBytes( * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The credentials. */ public java.lang.String getCredentials() { @@ -660,7 +660,7 @@ public java.lang.String getCredentials() { * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The bytes for credentials. */ public com.google.protobuf.ByteString @@ -681,7 +681,7 @@ public java.lang.String getCredentials() { * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @param value The credentials to set. * @return This builder for chaining. */ @@ -698,7 +698,7 @@ public Builder setCredentials( * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return This builder for chaining. */ public Builder clearCredentials() { @@ -712,7 +712,7 @@ public Builder clearCredentials() { * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @param value The bytes for credentials to set. * @return This builder for chaining. */ 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 097b910e5..b18ba8b63 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java @@ -15,7 +15,7 @@ public interface AuthenticationInfoOrBuilder extends * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return A list containing the schemes. */ java.util.List @@ -25,7 +25,7 @@ public interface AuthenticationInfoOrBuilder extends * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @return The count of schemes. */ int getSchemesCount(); @@ -34,7 +34,7 @@ public interface AuthenticationInfoOrBuilder extends * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the element to return. * @return The schemes at the given index. */ @@ -44,7 +44,7 @@ public interface AuthenticationInfoOrBuilder extends * Supported authentication schemes - e.g. Basic, Bearer, etc * * - * repeated string schemes = 1 [json_name = "schemes"]; + * repeated string schemes = 1; * @param index The index of the value to return. * @return The bytes of the schemes at the given index. */ @@ -56,7 +56,7 @@ public interface AuthenticationInfoOrBuilder extends * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The credentials. */ java.lang.String getCredentials(); @@ -65,7 +65,7 @@ public interface AuthenticationInfoOrBuilder extends * Optional credentials * * - * string credentials = 2 [json_name = "credentials"]; + * string credentials = 2; * @return The bytes for credentials. */ com.google.protobuf.ByteString 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 cbe26afb6..25d4dfd17 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java @@ -67,7 +67,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ @java.lang.Override @@ -89,7 +89,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getAuthorizationUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The tokenUrl. */ @java.lang.Override @@ -138,7 +138,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The bytes for tokenUrl. */ @java.lang.Override @@ -165,7 +165,7 @@ public java.lang.String getTokenUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The refreshUrl. */ @java.lang.Override @@ -187,7 +187,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The bytes for refreshUrl. */ @java.lang.Override @@ -237,7 +237,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public boolean containsScopes( @@ -259,7 +259,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -271,7 +271,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public /* nullable */ @@ -290,7 +290,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -714,7 +714,7 @@ public Builder mergeFrom( * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ public java.lang.String getAuthorizationUrl() { @@ -735,7 +735,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ public com.google.protobuf.ByteString @@ -757,7 +757,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @param value The authorizationUrl to set. * @return This builder for chaining. */ @@ -775,7 +775,7 @@ public Builder setAuthorizationUrl( * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return This builder for chaining. */ public Builder clearAuthorizationUrl() { @@ -790,7 +790,7 @@ public Builder clearAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @param value The bytes for authorizationUrl to set. * @return This builder for chaining. */ @@ -811,7 +811,7 @@ public Builder setAuthorizationUrlBytes( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The tokenUrl. */ public java.lang.String getTokenUrl() { @@ -832,7 +832,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The bytes for tokenUrl. */ public com.google.protobuf.ByteString @@ -854,7 +854,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @param value The tokenUrl to set. * @return This builder for chaining. */ @@ -872,7 +872,7 @@ public Builder setTokenUrl( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return This builder for chaining. */ public Builder clearTokenUrl() { @@ -887,7 +887,7 @@ public Builder clearTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @param value The bytes for tokenUrl to set. * @return This builder for chaining. */ @@ -908,7 +908,7 @@ public Builder setTokenUrlBytes( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The refreshUrl. */ public java.lang.String getRefreshUrl() { @@ -929,7 +929,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The bytes for refreshUrl. */ public com.google.protobuf.ByteString @@ -951,7 +951,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @param value The refreshUrl to set. * @return This builder for chaining. */ @@ -969,7 +969,7 @@ public Builder setRefreshUrl( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return This builder for chaining. */ public Builder clearRefreshUrl() { @@ -984,7 +984,7 @@ public Builder clearRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @param value The bytes for refreshUrl to set. * @return This builder for chaining. */ @@ -1030,7 +1030,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public boolean containsScopes( @@ -1052,7 +1052,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -1064,7 +1064,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public /* nullable */ @@ -1083,7 +1083,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -1108,7 +1108,7 @@ public Builder clearScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ public Builder removeScopes( java.lang.String key) { @@ -1132,7 +1132,7 @@ public Builder removeScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ public Builder putScopes( java.lang.String key, @@ -1150,7 +1150,7 @@ public Builder putScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ public Builder putAllScopes( java.util.Map values) { 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 8e74a3d10..fd6247a7f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java @@ -16,7 +16,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ java.lang.String getAuthorizationUrl(); @@ -26,7 +26,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The tokenUrl. */ java.lang.String getTokenUrl(); @@ -48,7 +48,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 2 [json_name = "tokenUrl"]; + * string token_url = 2; * @return The bytes for tokenUrl. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The refreshUrl. */ java.lang.String getRefreshUrl(); @@ -70,7 +70,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 3 [json_name = "refreshUrl"]; + * string refresh_url = 3; * @return The bytes for refreshUrl. */ com.google.protobuf.ByteString @@ -82,7 +82,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ int getScopesCount(); /** @@ -91,7 +91,7 @@ public interface AuthorizationCodeOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ boolean containsScopes( java.lang.String key); @@ -107,7 +107,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ java.util.Map getScopesMap(); @@ -117,7 +117,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ /* nullable */ java.lang.String getScopesOrDefault( @@ -130,7 +130,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 4 [json_name = "scopes"]; + * map<string, string> scopes = 4; */ java.lang.String getScopesOrThrow( java.lang.String key); 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 a5120ff06..8674c35c3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java @@ -52,7 +52,7 @@ private CancelTaskRequest() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -73,7 +73,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -391,7 +391,7 @@ public Builder mergeFrom( * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -411,7 +411,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -432,7 +432,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -449,7 +449,7 @@ public Builder setName( * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -463,7 +463,7 @@ public Builder clearName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ 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 4939f71e4..95431bfc4 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface CancelTaskRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -24,7 +24,7 @@ public interface CancelTaskRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString 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 3a5be9442..184e94596 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java @@ -66,7 +66,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ @java.lang.Override @@ -88,7 +88,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getTokenUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ @java.lang.Override @@ -137,7 +137,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ @java.lang.Override @@ -187,7 +187,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -209,7 +209,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -221,7 +221,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -240,7 +240,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -640,7 +640,7 @@ public Builder mergeFrom( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ public java.lang.String getTokenUrl() { @@ -661,7 +661,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ public com.google.protobuf.ByteString @@ -683,7 +683,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @param value The tokenUrl to set. * @return This builder for chaining. */ @@ -701,7 +701,7 @@ public Builder setTokenUrl( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return This builder for chaining. */ public Builder clearTokenUrl() { @@ -716,7 +716,7 @@ public Builder clearTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @param value The bytes for tokenUrl to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setTokenUrlBytes( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ public java.lang.String getRefreshUrl() { @@ -758,7 +758,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ public com.google.protobuf.ByteString @@ -780,7 +780,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The refreshUrl to set. * @return This builder for chaining. */ @@ -798,7 +798,7 @@ public Builder setRefreshUrl( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return This builder for chaining. */ public Builder clearRefreshUrl() { @@ -813,7 +813,7 @@ public Builder clearRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The bytes for refreshUrl to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -881,7 +881,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -893,7 +893,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -912,7 +912,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -937,7 +937,7 @@ public Builder clearScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder removeScopes( java.lang.String key) { @@ -961,7 +961,7 @@ public Builder removeScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putScopes( java.lang.String key, @@ -979,7 +979,7 @@ public Builder putScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putAllScopes( java.util.Map values) { 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 c1d3cd312..81ab91e99 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java @@ -16,7 +16,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ java.lang.String getTokenUrl(); @@ -26,7 +26,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ java.lang.String getRefreshUrl(); @@ -48,7 +48,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ int getScopesCount(); /** @@ -69,7 +69,7 @@ public interface ClientCredentialsOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ boolean containsScopes( java.lang.String key); @@ -85,7 +85,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.util.Map getScopesMap(); @@ -95,7 +95,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ /* nullable */ java.lang.String getScopesOrDefault( @@ -108,7 +108,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.lang.String getScopesOrThrow( java.lang.String key); 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 966b0432b..1bd069a94 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java @@ -55,7 +55,7 @@ private CreateTaskPushNotificationConfigRequest() { * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The parent. */ @java.lang.Override @@ -77,7 +77,7 @@ public java.lang.String getParent() { * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for parent. */ @java.lang.Override @@ -99,7 +99,7 @@ public java.lang.String getParent() { @SuppressWarnings("serial") private volatile java.lang.Object configId_ = ""; /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configId. */ @java.lang.Override @@ -116,7 +116,7 @@ public java.lang.String getConfigId() { } } /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for configId. */ @java.lang.Override @@ -137,7 +137,7 @@ public java.lang.String getConfigId() { public static final int CONFIG_FIELD_NUMBER = 3; private io.a2a.grpc.TaskPushNotificationConfig config_; /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ @java.lang.Override @@ -145,7 +145,7 @@ public boolean hasConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ @java.lang.Override @@ -153,7 +153,7 @@ public io.a2a.grpc.TaskPushNotificationConfig getConfig() { return config_ == null ? io.a2a.grpc.TaskPushNotificationConfig.getDefaultInstance() : config_; } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigOrBuilder() { @@ -530,7 +530,7 @@ public Builder mergeFrom( * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The parent. */ public java.lang.String getParent() { @@ -551,7 +551,7 @@ public java.lang.String getParent() { * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for parent. */ public com.google.protobuf.ByteString @@ -573,7 +573,7 @@ public java.lang.String getParent() { * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The parent to set. * @return This builder for chaining. */ @@ -591,7 +591,7 @@ public Builder setParent( * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearParent() { @@ -606,7 +606,7 @@ public Builder clearParent() { * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for parent to set. * @return This builder for chaining. */ @@ -622,7 +622,7 @@ public Builder setParentBytes( private java.lang.Object configId_ = ""; /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configId. */ public java.lang.String getConfigId() { @@ -638,7 +638,7 @@ public java.lang.String getConfigId() { } } /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for configId. */ public com.google.protobuf.ByteString @@ -655,7 +655,7 @@ public java.lang.String getConfigId() { } } /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The configId to set. * @return This builder for chaining. */ @@ -668,7 +668,7 @@ public Builder setConfigId( return this; } /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearConfigId() { @@ -678,7 +678,7 @@ public Builder clearConfigId() { return this; } /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for configId to set. * @return This builder for chaining. */ @@ -696,14 +696,14 @@ public Builder setConfigIdBytes( private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskPushNotificationConfig, io.a2a.grpc.TaskPushNotificationConfig.Builder, io.a2a.grpc.TaskPushNotificationConfigOrBuilder> configBuilder_; /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ public boolean hasConfig() { return ((bitField0_ & 0x00000004) != 0); } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ public io.a2a.grpc.TaskPushNotificationConfig getConfig() { @@ -714,7 +714,7 @@ public io.a2a.grpc.TaskPushNotificationConfig getConfig() { } } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig(io.a2a.grpc.TaskPushNotificationConfig value) { if (configBuilder_ == null) { @@ -730,7 +730,7 @@ public Builder setConfig(io.a2a.grpc.TaskPushNotificationConfig value) { return this; } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setConfig( io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -744,7 +744,7 @@ public Builder setConfig( return this; } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeConfig(io.a2a.grpc.TaskPushNotificationConfig value) { if (configBuilder_ == null) { @@ -765,7 +765,7 @@ public Builder mergeConfig(io.a2a.grpc.TaskPushNotificationConfig value) { return this; } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearConfig() { bitField0_ = (bitField0_ & ~0x00000004); @@ -778,7 +778,7 @@ public Builder clearConfig() { return this; } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder getConfigBuilder() { bitField0_ |= 0x00000004; @@ -786,7 +786,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder getConfigBuilder() { return internalGetConfigFieldBuilder().getBuilder(); } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { @@ -797,7 +797,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigOrBuilder() { } } /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskPushNotificationConfig, io.a2a.grpc.TaskPushNotificationConfig.Builder, io.a2a.grpc.TaskPushNotificationConfigOrBuilder> 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 73fa1c0df..003750d66 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java @@ -16,7 +16,7 @@ public interface CreateTaskPushNotificationConfigRequestOrBuilder extends * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The parent. */ java.lang.String getParent(); @@ -26,36 +26,36 @@ public interface CreateTaskPushNotificationConfigRequestOrBuilder extends * Format: tasks/{id} * * - * string parent = 1 [json_name = "parent", (.google.api.field_behavior) = REQUIRED]; + * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The configId. */ java.lang.String getConfigId(); /** - * string config_id = 2 [json_name = "configId", (.google.api.field_behavior) = REQUIRED]; + * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for configId. */ com.google.protobuf.ByteString getConfigIdBytes(); /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the config field is set. */ boolean hasConfig(); /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The config. */ io.a2a.grpc.TaskPushNotificationConfig getConfig(); /** - * .a2a.v1.TaskPushNotificationConfig config = 3 [json_name = "config", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.TaskPushNotificationConfig config = 3 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DataPart.java b/spec-grpc/src/main/java/io/a2a/grpc/DataPart.java index 9b793b4bf..de2f2edae 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DataPart.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DataPart.java @@ -51,7 +51,7 @@ private DataPart() { public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.Struct data_; /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return Whether the data field is set. */ @java.lang.Override @@ -59,7 +59,7 @@ public boolean hasData() { return ((bitField0_ & 0x00000001) != 0); } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return The data. */ @java.lang.Override @@ -67,7 +67,7 @@ public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getDataOrBuilder() { @@ -397,14 +397,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000001) != 0); } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return The data. */ public com.google.protobuf.Struct getData() { @@ -415,7 +415,7 @@ public com.google.protobuf.Struct getData() { } } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public Builder setData(com.google.protobuf.Struct value) { if (dataBuilder_ == null) { @@ -431,7 +431,7 @@ public Builder setData(com.google.protobuf.Struct value) { return this; } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public Builder setData( com.google.protobuf.Struct.Builder builderForValue) { @@ -445,7 +445,7 @@ public Builder setData( return this; } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public Builder mergeData(com.google.protobuf.Struct value) { if (dataBuilder_ == null) { @@ -466,7 +466,7 @@ public Builder mergeData(com.google.protobuf.Struct value) { return this; } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000001); @@ -479,7 +479,7 @@ public Builder clearData() { return this; } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public com.google.protobuf.Struct.Builder getDataBuilder() { bitField0_ |= 0x00000001; @@ -487,7 +487,7 @@ public com.google.protobuf.Struct.Builder getDataBuilder() { return internalGetDataFieldBuilder().getBuilder(); } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ public com.google.protobuf.StructOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { @@ -498,7 +498,7 @@ public com.google.protobuf.StructOrBuilder getDataOrBuilder() { } } /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> diff --git a/spec-grpc/src/main/java/io/a2a/grpc/DataPartOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/DataPartOrBuilder.java index 17f85b202..9877e9f4d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DataPartOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DataPartOrBuilder.java @@ -11,17 +11,17 @@ public interface DataPartOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return Whether the data field is set. */ boolean hasData(); /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; * @return The data. */ com.google.protobuf.Struct getData(); /** - * .google.protobuf.Struct data = 1 [json_name = "data"]; + * .google.protobuf.Struct data = 1; */ com.google.protobuf.StructOrBuilder getDataOrBuilder(); } 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 afc374be5..3f3fcc441 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java @@ -52,7 +52,7 @@ private DeleteTaskPushNotificationConfigRequest() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -73,7 +73,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -391,7 +391,7 @@ public Builder mergeFrom( * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -411,7 +411,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -432,7 +432,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -449,7 +449,7 @@ public Builder setName( * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -463,7 +463,7 @@ public Builder clearName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ 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 c3c743692..a1ad16ac0 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface DeleteTaskPushNotificationConfigRequestOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -24,7 +24,7 @@ public interface DeleteTaskPushNotificationConfigRequestOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/FilePart.java b/spec-grpc/src/main/java/io/a2a/grpc/FilePart.java index fa85fef4a..ab117dd38 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/FilePart.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/FilePart.java @@ -95,14 +95,14 @@ public int getNumber() { public static final int FILE_WITH_URI_FIELD_NUMBER = 1; /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return Whether the fileWithUri field is set. */ public boolean hasFileWithUri() { return fileCase_ == 1; } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The fileWithUri. */ public java.lang.String getFileWithUri() { @@ -123,7 +123,7 @@ public java.lang.String getFileWithUri() { } } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The bytes for fileWithUri. */ public com.google.protobuf.ByteString @@ -147,7 +147,7 @@ public java.lang.String getFileWithUri() { public static final int FILE_WITH_BYTES_FIELD_NUMBER = 2; /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return Whether the fileWithBytes field is set. */ @java.lang.Override @@ -155,7 +155,7 @@ public boolean hasFileWithBytes() { return fileCase_ == 2; } /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return The fileWithBytes. */ @java.lang.Override @@ -170,7 +170,7 @@ public com.google.protobuf.ByteString getFileWithBytes() { @SuppressWarnings("serial") private volatile java.lang.Object mimeType_ = ""; /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The mimeType. */ @java.lang.Override @@ -187,7 +187,7 @@ public java.lang.String getMimeType() { } } /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The bytes for mimeType. */ @java.lang.Override @@ -596,7 +596,7 @@ public Builder clearFile() { private int bitField0_; /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return Whether the fileWithUri field is set. */ @java.lang.Override @@ -604,7 +604,7 @@ public boolean hasFileWithUri() { return fileCase_ == 1; } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The fileWithUri. */ @java.lang.Override @@ -626,7 +626,7 @@ public java.lang.String getFileWithUri() { } } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The bytes for fileWithUri. */ @java.lang.Override @@ -649,7 +649,7 @@ public java.lang.String getFileWithUri() { } } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @param value The fileWithUri to set. * @return This builder for chaining. */ @@ -662,7 +662,7 @@ public Builder setFileWithUri( return this; } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return This builder for chaining. */ public Builder clearFileWithUri() { @@ -674,7 +674,7 @@ public Builder clearFileWithUri() { return this; } /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @param value The bytes for fileWithUri to set. * @return This builder for chaining. */ @@ -689,14 +689,14 @@ public Builder setFileWithUriBytes( } /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return Whether the fileWithBytes field is set. */ public boolean hasFileWithBytes() { return fileCase_ == 2; } /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return The fileWithBytes. */ public com.google.protobuf.ByteString getFileWithBytes() { @@ -706,7 +706,7 @@ public com.google.protobuf.ByteString getFileWithBytes() { return com.google.protobuf.ByteString.EMPTY; } /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @param value The fileWithBytes to set. * @return This builder for chaining. */ @@ -718,7 +718,7 @@ public Builder setFileWithBytes(com.google.protobuf.ByteString value) { return this; } /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return This builder for chaining. */ public Builder clearFileWithBytes() { @@ -732,7 +732,7 @@ public Builder clearFileWithBytes() { private java.lang.Object mimeType_ = ""; /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The mimeType. */ public java.lang.String getMimeType() { @@ -748,7 +748,7 @@ public java.lang.String getMimeType() { } } /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The bytes for mimeType. */ public com.google.protobuf.ByteString @@ -765,7 +765,7 @@ public java.lang.String getMimeType() { } } /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @param value The mimeType to set. * @return This builder for chaining. */ @@ -778,7 +778,7 @@ public Builder setMimeType( return this; } /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return This builder for chaining. */ public Builder clearMimeType() { @@ -788,7 +788,7 @@ public Builder clearMimeType() { return this; } /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @param value The bytes for mimeType to set. * @return This builder for chaining. */ diff --git a/spec-grpc/src/main/java/io/a2a/grpc/FilePartOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/FilePartOrBuilder.java index d902f7a78..3f53232b3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/FilePartOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/FilePartOrBuilder.java @@ -11,40 +11,40 @@ public interface FilePartOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return Whether the fileWithUri field is set. */ boolean hasFileWithUri(); /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The fileWithUri. */ java.lang.String getFileWithUri(); /** - * string file_with_uri = 1 [json_name = "fileWithUri"]; + * string file_with_uri = 1; * @return The bytes for fileWithUri. */ com.google.protobuf.ByteString getFileWithUriBytes(); /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return Whether the fileWithBytes field is set. */ boolean hasFileWithBytes(); /** - * bytes file_with_bytes = 2 [json_name = "fileWithBytes"]; + * bytes file_with_bytes = 2; * @return The fileWithBytes. */ com.google.protobuf.ByteString getFileWithBytes(); /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The mimeType. */ java.lang.String getMimeType(); /** - * string mime_type = 3 [json_name = "mimeType"]; + * string mime_type = 3; * @return The bytes for mimeType. */ com.google.protobuf.ByteString 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 f0720170c..f828d56cd 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java @@ -52,7 +52,7 @@ private GetTaskPushNotificationConfigRequest() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -73,7 +73,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -391,7 +391,7 @@ public Builder mergeFrom( * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -411,7 +411,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -432,7 +432,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -449,7 +449,7 @@ public Builder setName( * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -463,7 +463,7 @@ public Builder clearName() { * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ 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 7502f36a7..420bdfdb9 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface GetTaskPushNotificationConfigRequestOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -24,7 +24,7 @@ public interface GetTaskPushNotificationConfigRequestOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{push_id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ 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 08c0515fa..717b8afc6 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java @@ -52,7 +52,7 @@ private GetTaskRequest() { * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The name. */ @java.lang.Override @@ -73,7 +73,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for name. */ @java.lang.Override @@ -94,7 +94,7 @@ public java.lang.String getName() { public static final int HISTORY_LENGTH_FIELD_NUMBER = 2; private int historyLength_ = 0; /** - * int32 history_length = 2 [json_name = "historyLength"]; + * int32 history_length = 2; * @return The historyLength. */ @java.lang.Override @@ -425,7 +425,7 @@ public Builder mergeFrom( * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The name. */ public java.lang.String getName() { @@ -445,7 +445,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -466,7 +466,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The name to set. * @return This builder for chaining. */ @@ -483,7 +483,7 @@ public Builder setName( * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearName() { @@ -497,7 +497,7 @@ public Builder clearName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -513,7 +513,7 @@ public Builder setNameBytes( private int historyLength_ ; /** - * int32 history_length = 2 [json_name = "historyLength"]; + * int32 history_length = 2; * @return The historyLength. */ @java.lang.Override @@ -521,7 +521,7 @@ public int getHistoryLength() { return historyLength_; } /** - * int32 history_length = 2 [json_name = "historyLength"]; + * int32 history_length = 2; * @param value The historyLength to set. * @return This builder for chaining. */ @@ -533,7 +533,7 @@ public Builder setHistoryLength(int value) { return this; } /** - * int32 history_length = 2 [json_name = "historyLength"]; + * int32 history_length = 2; * @return This builder for chaining. */ public Builder clearHistoryLength() { 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 0f55b196b..4e686dc47 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface GetTaskRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The name. */ java.lang.String getName(); @@ -24,14 +24,14 @@ public interface GetTaskRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name", (.google.api.field_behavior) = REQUIRED]; + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** - * int32 history_length = 2 [json_name = "historyLength"]; + * int32 history_length = 2; * @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 b6a093b85..2c612d7f9 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java @@ -54,7 +54,7 @@ private HTTPAuthSecurityScheme() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ @java.lang.Override @@ -75,7 +75,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ @java.lang.Override @@ -104,7 +104,7 @@ public java.lang.String getDescription() { * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The scheme. */ @java.lang.Override @@ -128,7 +128,7 @@ public java.lang.String getScheme() { * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The bytes for scheme. */ @java.lang.Override @@ -156,7 +156,7 @@ public java.lang.String getScheme() { * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bearerFormat. */ @java.lang.Override @@ -179,7 +179,7 @@ public java.lang.String getBearerFormat() { * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bytes for bearerFormat. */ @java.lang.Override @@ -545,7 +545,7 @@ public Builder mergeFrom( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ public java.lang.String getDescription() { @@ -565,7 +565,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -586,7 +586,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The description to set. * @return This builder for chaining. */ @@ -603,7 +603,7 @@ public Builder setDescription( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return This builder for chaining. */ public Builder clearDescription() { @@ -617,7 +617,7 @@ public Builder clearDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -640,7 +640,7 @@ public Builder setDescriptionBytes( * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The scheme. */ public java.lang.String getScheme() { @@ -663,7 +663,7 @@ public java.lang.String getScheme() { * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The bytes for scheme. */ public com.google.protobuf.ByteString @@ -687,7 +687,7 @@ public java.lang.String getScheme() { * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @param value The scheme to set. * @return This builder for chaining. */ @@ -707,7 +707,7 @@ public Builder setScheme( * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return This builder for chaining. */ public Builder clearScheme() { @@ -724,7 +724,7 @@ public Builder clearScheme() { * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @param value The bytes for scheme to set. * @return This builder for chaining. */ @@ -746,7 +746,7 @@ public Builder setSchemeBytes( * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bearerFormat. */ public java.lang.String getBearerFormat() { @@ -768,7 +768,7 @@ public java.lang.String getBearerFormat() { * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bytes for bearerFormat. */ public com.google.protobuf.ByteString @@ -791,7 +791,7 @@ public java.lang.String getBearerFormat() { * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @param value The bearerFormat to set. * @return This builder for chaining. */ @@ -810,7 +810,7 @@ public Builder setBearerFormat( * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return This builder for chaining. */ public Builder clearBearerFormat() { @@ -826,7 +826,7 @@ public Builder clearBearerFormat() { * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @param value The bytes for bearerFormat to set. * @return This builder for chaining. */ 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 90afd8f91..b4e9b4628 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java @@ -15,7 +15,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ java.lang.String getDescription(); @@ -24,7 +24,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The scheme. */ java.lang.String getScheme(); @@ -50,7 +50,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * The value is case-insensitive, as defined in RFC7235. * * - * string scheme = 2 [json_name = "scheme"]; + * string scheme = 2; * @return The bytes for scheme. */ com.google.protobuf.ByteString @@ -63,7 +63,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bearerFormat. */ java.lang.String getBearerFormat(); @@ -74,7 +74,7 @@ public interface HTTPAuthSecuritySchemeOrBuilder extends * this information is primarily for documentation purposes. * * - * string bearer_format = 3 [json_name = "bearerFormat"]; + * string bearer_format = 3; * @return The bytes for bearerFormat. */ com.google.protobuf.ByteString 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 450e158a9..7593dde41 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java @@ -66,7 +66,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ @java.lang.Override @@ -88,7 +88,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ @java.lang.Override @@ -137,7 +137,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ @java.lang.Override @@ -187,7 +187,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -209,7 +209,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -221,7 +221,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -240,7 +240,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -640,7 +640,7 @@ public Builder mergeFrom( * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ public java.lang.String getAuthorizationUrl() { @@ -661,7 +661,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ public com.google.protobuf.ByteString @@ -683,7 +683,7 @@ public java.lang.String getAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @param value The authorizationUrl to set. * @return This builder for chaining. */ @@ -701,7 +701,7 @@ public Builder setAuthorizationUrl( * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return This builder for chaining. */ public Builder clearAuthorizationUrl() { @@ -716,7 +716,7 @@ public Builder clearAuthorizationUrl() { * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @param value The bytes for authorizationUrl to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setAuthorizationUrlBytes( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ public java.lang.String getRefreshUrl() { @@ -758,7 +758,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ public com.google.protobuf.ByteString @@ -780,7 +780,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The refreshUrl to set. * @return This builder for chaining. */ @@ -798,7 +798,7 @@ public Builder setRefreshUrl( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return This builder for chaining. */ public Builder clearRefreshUrl() { @@ -813,7 +813,7 @@ public Builder clearRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The bytes for refreshUrl to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -881,7 +881,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -893,7 +893,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -912,7 +912,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -937,7 +937,7 @@ public Builder clearScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder removeScopes( java.lang.String key) { @@ -961,7 +961,7 @@ public Builder removeScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putScopes( java.lang.String key, @@ -979,7 +979,7 @@ public Builder putScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putAllScopes( java.util.Map values) { 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 78616d7aa..9ff012f6e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java @@ -16,7 +16,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The authorizationUrl. */ java.lang.String getAuthorizationUrl(); @@ -26,7 +26,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS * * - * string authorization_url = 1 [json_name = "authorizationUrl"]; + * string authorization_url = 1; * @return The bytes for authorizationUrl. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ java.lang.String getRefreshUrl(); @@ -48,7 +48,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ int getScopesCount(); /** @@ -69,7 +69,7 @@ public interface ImplicitOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ boolean containsScopes( java.lang.String key); @@ -85,7 +85,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.util.Map getScopesMap(); @@ -95,7 +95,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ /* nullable */ java.lang.String getScopesOrDefault( @@ -108,7 +108,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.lang.String getScopesOrThrow( java.lang.String key); diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java index 8ed2fc1a7..6563baeb8 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequest.java @@ -53,7 +53,7 @@ private ListTaskPushNotificationConfigRequest() { * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The parent. */ @java.lang.Override @@ -74,7 +74,7 @@ public java.lang.String getParent() { * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The bytes for parent. */ @java.lang.Override @@ -101,7 +101,7 @@ public java.lang.String getParent() { * If unspecified, all configs will be returned. * * - * int32 page_size = 2 [json_name = "pageSize"]; + * int32 page_size = 2; * @return The pageSize. */ @java.lang.Override @@ -122,7 +122,7 @@ public int getPageSize() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The pageToken. */ @java.lang.Override @@ -148,7 +148,7 @@ public java.lang.String getPageToken() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The bytes for pageToken. */ @java.lang.Override @@ -513,7 +513,7 @@ public Builder mergeFrom( * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The parent. */ public java.lang.String getParent() { @@ -533,7 +533,7 @@ public java.lang.String getParent() { * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The bytes for parent. */ public com.google.protobuf.ByteString @@ -554,7 +554,7 @@ public java.lang.String getParent() { * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @param value The parent to set. * @return This builder for chaining. */ @@ -571,7 +571,7 @@ public Builder setParent( * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return This builder for chaining. */ public Builder clearParent() { @@ -585,7 +585,7 @@ public Builder clearParent() { * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @param value The bytes for parent to set. * @return This builder for chaining. */ @@ -607,7 +607,7 @@ public Builder setParentBytes( * If unspecified, all configs will be returned. * * - * int32 page_size = 2 [json_name = "pageSize"]; + * int32 page_size = 2; * @return The pageSize. */ @java.lang.Override @@ -621,7 +621,7 @@ public int getPageSize() { * If unspecified, all configs will be returned. * * - * int32 page_size = 2 [json_name = "pageSize"]; + * int32 page_size = 2; * @param value The pageSize to set. * @return This builder for chaining. */ @@ -639,7 +639,7 @@ public Builder setPageSize(int value) { * If unspecified, all configs will be returned. * * - * int32 page_size = 2 [json_name = "pageSize"]; + * int32 page_size = 2; * @return This builder for chaining. */ public Builder clearPageSize() { @@ -660,7 +660,7 @@ public Builder clearPageSize() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The pageToken. */ public java.lang.String getPageToken() { @@ -685,7 +685,7 @@ public java.lang.String getPageToken() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The bytes for pageToken. */ public com.google.protobuf.ByteString @@ -711,7 +711,7 @@ public java.lang.String getPageToken() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @param value The pageToken to set. * @return This builder for chaining. */ @@ -733,7 +733,7 @@ public Builder setPageToken( * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return This builder for chaining. */ public Builder clearPageToken() { @@ -752,7 +752,7 @@ public Builder clearPageToken() { * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @param value The bytes for pageToken to set. * @return This builder for chaining. */ diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java index 1e6356045..77f60b630 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The parent. */ java.lang.String getParent(); @@ -24,7 +24,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends * parent=tasks/{id} * * - * string parent = 1 [json_name = "parent"]; + * string parent = 1; * @return The bytes for parent. */ com.google.protobuf.ByteString @@ -37,7 +37,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends * If unspecified, all configs will be returned. * * - * int32 page_size = 2 [json_name = "pageSize"]; + * int32 page_size = 2; * @return The pageSize. */ int getPageSize(); @@ -52,7 +52,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The pageToken. */ java.lang.String getPageToken(); @@ -66,7 +66,7 @@ public interface ListTaskPushNotificationConfigRequestOrBuilder extends * the page token. * * - * string page_token = 3 [json_name = "pageToken"]; + * string page_token = 3; * @return The bytes for pageToken. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java index beb535430..8c22e9f5e 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponse.java @@ -49,14 +49,14 @@ private ListTaskPushNotificationConfigResponse() { @SuppressWarnings("serial") private java.util.List configs_; /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public java.util.List getConfigsList() { return configs_; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public java.util.List @@ -64,21 +64,21 @@ public java.util.List getConfigsList() { return configs_; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public int getConfigsCount() { return configs_.size(); } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { return configs_.get(index); } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ @java.lang.Override public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( @@ -95,7 +95,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The nextPageToken. */ @java.lang.Override @@ -117,7 +117,7 @@ public java.lang.String getNextPageToken() { * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The bytes for nextPageToken. */ @java.lang.Override @@ -514,7 +514,7 @@ private void ensureConfigsIsMutable() { io.a2a.grpc.TaskPushNotificationConfig, io.a2a.grpc.TaskPushNotificationConfig.Builder, io.a2a.grpc.TaskPushNotificationConfigOrBuilder> configsBuilder_; /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsList() { if (configsBuilder_ == null) { @@ -524,7 +524,7 @@ public java.util.List getConfigsList() { } } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public int getConfigsCount() { if (configsBuilder_ == null) { @@ -534,7 +534,7 @@ public int getConfigsCount() { } } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { if (configsBuilder_ == null) { @@ -544,7 +544,7 @@ public io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index) { } } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder setConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig value) { @@ -561,7 +561,7 @@ public Builder setConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder setConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -575,7 +575,7 @@ public Builder setConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs(io.a2a.grpc.TaskPushNotificationConfig value) { if (configsBuilder_ == null) { @@ -591,7 +591,7 @@ public Builder addConfigs(io.a2a.grpc.TaskPushNotificationConfig value) { return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig value) { @@ -608,7 +608,7 @@ public Builder addConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -622,7 +622,7 @@ public Builder addConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addConfigs( int index, io.a2a.grpc.TaskPushNotificationConfig.Builder builderForValue) { @@ -636,7 +636,7 @@ public Builder addConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder addAllConfigs( java.lang.Iterable values) { @@ -651,7 +651,7 @@ public Builder addAllConfigs( return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder clearConfigs() { if (configsBuilder_ == null) { @@ -664,7 +664,7 @@ public Builder clearConfigs() { return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public Builder removeConfigs(int index) { if (configsBuilder_ == null) { @@ -677,14 +677,14 @@ public Builder removeConfigs(int index) { return this; } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder getConfigsBuilder( int index) { return internalGetConfigsFieldBuilder().getBuilder(index); } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( int index) { @@ -694,7 +694,7 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( } } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsOrBuilderList() { @@ -705,14 +705,14 @@ public io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( } } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder() { return internalGetConfigsFieldBuilder().addBuilder( io.a2a.grpc.TaskPushNotificationConfig.getDefaultInstance()); } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( int index) { @@ -720,7 +720,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( index, io.a2a.grpc.TaskPushNotificationConfig.getDefaultInstance()); } /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ public java.util.List getConfigsBuilderList() { @@ -748,7 +748,7 @@ public io.a2a.grpc.TaskPushNotificationConfig.Builder addConfigsBuilder( * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The nextPageToken. */ public java.lang.String getNextPageToken() { @@ -769,7 +769,7 @@ public java.lang.String getNextPageToken() { * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The bytes for nextPageToken. */ public com.google.protobuf.ByteString @@ -791,7 +791,7 @@ public java.lang.String getNextPageToken() { * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @param value The nextPageToken to set. * @return This builder for chaining. */ @@ -809,7 +809,7 @@ public Builder setNextPageToken( * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -824,7 +824,7 @@ public Builder clearNextPageToken() { * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ diff --git a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java index 211aeee5a..e23fa8182 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigResponseOrBuilder.java @@ -11,25 +11,25 @@ public interface ListTaskPushNotificationConfigResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ java.util.List getConfigsList(); /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ io.a2a.grpc.TaskPushNotificationConfig getConfigs(int index); /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ int getConfigsCount(); /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ java.util.List getConfigsOrBuilderList(); /** - * repeated .a2a.v1.TaskPushNotificationConfig configs = 1 [json_name = "configs"]; + * repeated .a2a.v1.TaskPushNotificationConfig configs = 1; */ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( int index); @@ -40,7 +40,7 @@ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The nextPageToken. */ java.lang.String getNextPageToken(); @@ -50,7 +50,7 @@ io.a2a.grpc.TaskPushNotificationConfigOrBuilder getConfigsOrBuilder( * If this field is omitted, there are no subsequent pages. * * - * string next_page_token = 2 [json_name = "nextPageToken"]; + * string next_page_token = 2; * @return The bytes for nextPageToken. */ com.google.protobuf.ByteString 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 cddcf43e5..b4b63ecb1 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Message.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Message.java @@ -70,7 +70,7 @@ private Message() { * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The messageId. */ @java.lang.Override @@ -92,7 +92,7 @@ public java.lang.String getMessageId() { * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The bytes for messageId. */ @java.lang.Override @@ -119,7 +119,7 @@ public java.lang.String getMessageId() { * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ @java.lang.Override @@ -141,7 +141,7 @@ public java.lang.String getContextId() { * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ @java.lang.Override @@ -168,7 +168,7 @@ public java.lang.String getContextId() { * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The taskId. */ @java.lang.Override @@ -190,7 +190,7 @@ public java.lang.String getTaskId() { * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The bytes for taskId. */ @java.lang.Override @@ -215,7 +215,7 @@ public java.lang.String getTaskId() { * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The enum numeric value on the wire for role. */ @java.lang.Override public int getRoleValue() { @@ -226,7 +226,7 @@ public java.lang.String getTaskId() { * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The role. */ @java.lang.Override public io.a2a.grpc.Role getRole() { @@ -243,7 +243,7 @@ public java.lang.String getTaskId() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ @java.lang.Override public java.util.List getContentList() { @@ -255,7 +255,7 @@ public java.util.List getContentList() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ @java.lang.Override public java.util.List @@ -268,7 +268,7 @@ public java.util.List getContentList() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ @java.lang.Override public int getContentCount() { @@ -280,7 +280,7 @@ public int getContentCount() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ @java.lang.Override public io.a2a.grpc.Part getContent(int index) { @@ -292,7 +292,7 @@ public io.a2a.grpc.Part getContent(int index) { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ @java.lang.Override public io.a2a.grpc.PartOrBuilder getContentOrBuilder( @@ -308,7 +308,7 @@ public io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ @java.lang.Override @@ -321,7 +321,7 @@ public boolean hasMetadata() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ @java.lang.Override @@ -334,7 +334,7 @@ public com.google.protobuf.Struct getMetadata() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -350,7 +350,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -362,7 +362,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ public int getExtensionsCount() { @@ -373,7 +373,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -385,7 +385,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -932,7 +932,7 @@ public Builder mergeFrom( * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The messageId. */ public java.lang.String getMessageId() { @@ -953,7 +953,7 @@ public java.lang.String getMessageId() { * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The bytes for messageId. */ public com.google.protobuf.ByteString @@ -975,7 +975,7 @@ public java.lang.String getMessageId() { * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @param value The messageId to set. * @return This builder for chaining. */ @@ -993,7 +993,7 @@ public Builder setMessageId( * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return This builder for chaining. */ public Builder clearMessageId() { @@ -1008,7 +1008,7 @@ public Builder clearMessageId() { * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @param value The bytes for messageId to set. * @return This builder for chaining. */ @@ -1029,7 +1029,7 @@ public Builder setMessageIdBytes( * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ public java.lang.String getContextId() { @@ -1050,7 +1050,7 @@ public java.lang.String getContextId() { * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ public com.google.protobuf.ByteString @@ -1072,7 +1072,7 @@ public java.lang.String getContextId() { * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The contextId to set. * @return This builder for chaining. */ @@ -1090,7 +1090,7 @@ public Builder setContextId( * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return This builder for chaining. */ public Builder clearContextId() { @@ -1105,7 +1105,7 @@ public Builder clearContextId() { * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The bytes for contextId to set. * @return This builder for chaining. */ @@ -1126,7 +1126,7 @@ public Builder setContextIdBytes( * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The taskId. */ public java.lang.String getTaskId() { @@ -1147,7 +1147,7 @@ public java.lang.String getTaskId() { * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -1169,7 +1169,7 @@ public java.lang.String getTaskId() { * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @param value The taskId to set. * @return This builder for chaining. */ @@ -1187,7 +1187,7 @@ public Builder setTaskId( * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -1202,7 +1202,7 @@ public Builder clearTaskId() { * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -1222,7 +1222,7 @@ public Builder setTaskIdBytes( * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The enum numeric value on the wire for role. */ @java.lang.Override public int getRoleValue() { @@ -1233,7 +1233,7 @@ public Builder setTaskIdBytes( * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @param value The enum numeric value on the wire for role to set. * @return This builder for chaining. */ @@ -1248,7 +1248,7 @@ public Builder setRoleValue(int value) { * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The role. */ @java.lang.Override @@ -1261,7 +1261,7 @@ public io.a2a.grpc.Role getRole() { * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @param value The role to set. * @return This builder for chaining. */ @@ -1277,7 +1277,7 @@ public Builder setRole(io.a2a.grpc.Role value) { * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return This builder for chaining. */ public Builder clearRole() { @@ -1305,7 +1305,7 @@ private void ensureContentIsMutable() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public java.util.List getContentList() { if (contentBuilder_ == null) { @@ -1320,7 +1320,7 @@ public java.util.List getContentList() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public int getContentCount() { if (contentBuilder_ == null) { @@ -1335,7 +1335,7 @@ public int getContentCount() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public io.a2a.grpc.Part getContent(int index) { if (contentBuilder_ == null) { @@ -1350,7 +1350,7 @@ public io.a2a.grpc.Part getContent(int index) { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder setContent( int index, io.a2a.grpc.Part value) { @@ -1372,7 +1372,7 @@ public Builder setContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder setContent( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1391,7 +1391,7 @@ public Builder setContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder addContent(io.a2a.grpc.Part value) { if (contentBuilder_ == null) { @@ -1412,7 +1412,7 @@ public Builder addContent(io.a2a.grpc.Part value) { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder addContent( int index, io.a2a.grpc.Part value) { @@ -1434,7 +1434,7 @@ public Builder addContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder addContent( io.a2a.grpc.Part.Builder builderForValue) { @@ -1453,7 +1453,7 @@ public Builder addContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder addContent( int index, io.a2a.grpc.Part.Builder builderForValue) { @@ -1472,7 +1472,7 @@ public Builder addContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder addAllContent( java.lang.Iterable values) { @@ -1492,7 +1492,7 @@ public Builder addAllContent( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder clearContent() { if (contentBuilder_ == null) { @@ -1510,7 +1510,7 @@ public Builder clearContent() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public Builder removeContent(int index) { if (contentBuilder_ == null) { @@ -1528,7 +1528,7 @@ public Builder removeContent(int index) { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public io.a2a.grpc.Part.Builder getContentBuilder( int index) { @@ -1540,7 +1540,7 @@ public io.a2a.grpc.Part.Builder getContentBuilder( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public io.a2a.grpc.PartOrBuilder getContentOrBuilder( int index) { @@ -1555,7 +1555,7 @@ public io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public java.util.List getContentOrBuilderList() { @@ -1571,7 +1571,7 @@ public io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public io.a2a.grpc.Part.Builder addContentBuilder() { return internalGetContentFieldBuilder().addBuilder( @@ -1583,7 +1583,7 @@ public io.a2a.grpc.Part.Builder addContentBuilder() { * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public io.a2a.grpc.Part.Builder addContentBuilder( int index) { @@ -1596,7 +1596,7 @@ public io.a2a.grpc.Part.Builder addContentBuilder( * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ public java.util.List getContentBuilderList() { @@ -1626,7 +1626,7 @@ public io.a2a.grpc.Part.Builder addContentBuilder( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1638,7 +1638,7 @@ public boolean hasMetadata() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1654,7 +1654,7 @@ public com.google.protobuf.Struct getMetadata() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1675,7 +1675,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1694,7 +1694,7 @@ public Builder setMetadata( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1720,7 +1720,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1738,7 +1738,7 @@ public Builder clearMetadata() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000020; @@ -1751,7 +1751,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1767,7 +1767,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -1796,7 +1796,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ public com.google.protobuf.ProtocolStringList @@ -1809,7 +1809,7 @@ private void ensureExtensionsIsMutable() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ public int getExtensionsCount() { @@ -1820,7 +1820,7 @@ public int getExtensionsCount() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -1832,7 +1832,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the value to return. * @return The bytes of the extensions at the given index. */ @@ -1845,7 +1845,7 @@ public java.lang.String getExtensions(int index) { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index to set the value at. * @param value The extensions to set. * @return This builder for chaining. @@ -1864,7 +1864,7 @@ public Builder setExtensions( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param value The extensions to add. * @return This builder for chaining. */ @@ -1882,7 +1882,7 @@ public Builder addExtensions( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param values The extensions to add. * @return This builder for chaining. */ @@ -1900,7 +1900,7 @@ public Builder addAllExtensions( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return This builder for chaining. */ public Builder clearExtensions() { @@ -1915,7 +1915,7 @@ public Builder clearExtensions() { * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param value The bytes of the extensions to add. * @return This builder for chaining. */ 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 94c1947b2..81727886b 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java @@ -16,7 +16,7 @@ public interface MessageOrBuilder extends * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The messageId. */ java.lang.String getMessageId(); @@ -26,7 +26,7 @@ public interface MessageOrBuilder extends * message creator. * * - * string message_id = 1 [json_name = "messageId"]; + * string message_id = 1; * @return The bytes for messageId. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface MessageOrBuilder extends * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ java.lang.String getContextId(); @@ -48,7 +48,7 @@ public interface MessageOrBuilder extends * will be associated with the given context. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface MessageOrBuilder extends * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The taskId. */ java.lang.String getTaskId(); @@ -70,7 +70,7 @@ public interface MessageOrBuilder extends * will be associated with the given task. * * - * string task_id = 3 [json_name = "taskId"]; + * string task_id = 3; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -81,7 +81,7 @@ public interface MessageOrBuilder extends * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The enum numeric value on the wire for role. */ int getRoleValue(); @@ -90,7 +90,7 @@ public interface MessageOrBuilder extends * A role for the message. * * - * .a2a.v1.Role role = 4 [json_name = "role"]; + * .a2a.v1.Role role = 4; * @return The role. */ io.a2a.grpc.Role getRole(); @@ -101,7 +101,7 @@ public interface MessageOrBuilder extends * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ java.util.List getContentList(); @@ -111,7 +111,7 @@ public interface MessageOrBuilder extends * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ io.a2a.grpc.Part getContent(int index); /** @@ -120,7 +120,7 @@ public interface MessageOrBuilder extends * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ int getContentCount(); /** @@ -129,7 +129,7 @@ public interface MessageOrBuilder extends * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ java.util.List getContentOrBuilderList(); @@ -139,7 +139,7 @@ public interface MessageOrBuilder extends * Content is the container of the message content. * * - * repeated .a2a.v1.Part content = 5 [json_name = "content"]; + * repeated .a2a.v1.Part content = 5; */ io.a2a.grpc.PartOrBuilder getContentOrBuilder( int index); @@ -150,7 +150,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -160,7 +160,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -170,7 +170,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * Any optional metadata to provide along with the message. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); @@ -179,7 +179,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return A list containing the extensions. */ java.util.List @@ -189,7 +189,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @return The count of extensions. */ int getExtensionsCount(); @@ -198,7 +198,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @param index The index of the element to return. * @return The extensions at the given index. */ @@ -208,7 +208,7 @@ io.a2a.grpc.PartOrBuilder getContentOrBuilder( * The URIs of extensions that are present or contributed to this Message. * * - * repeated string extensions = 7 [json_name = "extensions"]; + * repeated string extensions = 7; * @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/OAuth2SecurityScheme.java b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java index 22a91b84a..11065d682 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java @@ -53,7 +53,7 @@ private OAuth2SecurityScheme() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ @java.lang.Override @@ -74,7 +74,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ @java.lang.Override @@ -99,7 +99,7 @@ public java.lang.String getDescription() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return Whether the flows field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasFlows() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return The flows. */ @java.lang.Override @@ -123,7 +123,7 @@ public io.a2a.grpc.OAuthFlows getFlows() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ @java.lang.Override public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { @@ -475,7 +475,7 @@ public Builder mergeFrom( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ public java.lang.String getDescription() { @@ -495,7 +495,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -516,7 +516,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The description to set. * @return This builder for chaining. */ @@ -533,7 +533,7 @@ public Builder setDescription( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return This builder for chaining. */ public Builder clearDescription() { @@ -547,7 +547,7 @@ public Builder clearDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -569,7 +569,7 @@ public Builder setDescriptionBytes( * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return Whether the flows field is set. */ public boolean hasFlows() { @@ -580,7 +580,7 @@ public boolean hasFlows() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return The flows. */ public io.a2a.grpc.OAuthFlows getFlows() { @@ -595,7 +595,7 @@ public io.a2a.grpc.OAuthFlows getFlows() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public Builder setFlows(io.a2a.grpc.OAuthFlows value) { if (flowsBuilder_ == null) { @@ -615,7 +615,7 @@ public Builder setFlows(io.a2a.grpc.OAuthFlows value) { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public Builder setFlows( io.a2a.grpc.OAuthFlows.Builder builderForValue) { @@ -633,7 +633,7 @@ public Builder setFlows( * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public Builder mergeFlows(io.a2a.grpc.OAuthFlows value) { if (flowsBuilder_ == null) { @@ -658,7 +658,7 @@ public Builder mergeFlows(io.a2a.grpc.OAuthFlows value) { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public Builder clearFlows() { bitField0_ = (bitField0_ & ~0x00000002); @@ -675,7 +675,7 @@ public Builder clearFlows() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public io.a2a.grpc.OAuthFlows.Builder getFlowsBuilder() { bitField0_ |= 0x00000002; @@ -687,7 +687,7 @@ public io.a2a.grpc.OAuthFlows.Builder getFlowsBuilder() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { if (flowsBuilder_ != null) { @@ -702,7 +702,7 @@ public io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder() { * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OAuthFlows, io.a2a.grpc.OAuthFlows.Builder, io.a2a.grpc.OAuthFlowsOrBuilder> 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 40048a192..76620c1ba 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java @@ -15,7 +15,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ java.lang.String getDescription(); @@ -24,7 +24,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return Whether the flows field is set. */ boolean hasFlows(); @@ -44,7 +44,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; * @return The flows. */ io.a2a.grpc.OAuthFlows getFlows(); @@ -53,7 +53,7 @@ public interface OAuth2SecuritySchemeOrBuilder extends * An object containing configuration information for the flow types supported * * - * .a2a.v1.OAuthFlows flows = 2 [json_name = "flows"]; + * .a2a.v1.OAuthFlows flows = 2; */ io.a2a.grpc.OAuthFlowsOrBuilder getFlowsOrBuilder(); } 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 5d5927d17..4da07493d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java @@ -91,7 +91,7 @@ public int getNumber() { public static final int AUTHORIZATION_CODE_FIELD_NUMBER = 1; /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -99,7 +99,7 @@ public boolean hasAuthorizationCode() { return flowCase_ == 1; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ @java.lang.Override @@ -110,7 +110,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode() { return io.a2a.grpc.AuthorizationCodeOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ @java.lang.Override public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder() { @@ -122,7 +122,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui public static final int CLIENT_CREDENTIALS_FIELD_NUMBER = 2; /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ @java.lang.Override @@ -130,7 +130,7 @@ public boolean hasClientCredentials() { return flowCase_ == 2; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ @java.lang.Override @@ -141,7 +141,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials() { return io.a2a.grpc.ClientCredentialsOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ @java.lang.Override public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder() { @@ -153,7 +153,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui public static final int IMPLICIT_FIELD_NUMBER = 3; /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return Whether the implicit field is set. */ @java.lang.Override @@ -161,7 +161,7 @@ public boolean hasImplicit() { return flowCase_ == 3; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return The implicit. */ @java.lang.Override @@ -172,7 +172,7 @@ public io.a2a.grpc.ImplicitOAuthFlow getImplicit() { return io.a2a.grpc.ImplicitOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ @java.lang.Override public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { @@ -184,7 +184,7 @@ public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { public static final int PASSWORD_FIELD_NUMBER = 4; /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return Whether the password field is set. */ @java.lang.Override @@ -192,7 +192,7 @@ public boolean hasPassword() { return flowCase_ == 4; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return The password. */ @java.lang.Override @@ -203,7 +203,7 @@ public io.a2a.grpc.PasswordOAuthFlow getPassword() { return io.a2a.grpc.PasswordOAuthFlow.getDefaultInstance(); } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ @java.lang.Override public io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder() { @@ -655,7 +655,7 @@ public Builder clearFlow() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AuthorizationCodeOAuthFlow, io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder, io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder> authorizationCodeBuilder_; /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ @java.lang.Override @@ -663,7 +663,7 @@ public boolean hasAuthorizationCode() { return flowCase_ == 1; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ @java.lang.Override @@ -681,7 +681,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode() { } } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder setAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value) { if (authorizationCodeBuilder_ == null) { @@ -697,7 +697,7 @@ public Builder setAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value return this; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder setAuthorizationCode( io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder builderForValue) { @@ -711,7 +711,7 @@ public Builder setAuthorizationCode( return this; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder mergeAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow value) { if (authorizationCodeBuilder_ == null) { @@ -734,7 +734,7 @@ public Builder mergeAuthorizationCode(io.a2a.grpc.AuthorizationCodeOAuthFlow val return this; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public Builder clearAuthorizationCode() { if (authorizationCodeBuilder_ == null) { @@ -753,13 +753,13 @@ public Builder clearAuthorizationCode() { return this; } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ public io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder getAuthorizationCodeBuilder() { return internalGetAuthorizationCodeFieldBuilder().getBuilder(); } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ @java.lang.Override public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder() { @@ -773,7 +773,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui } } /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AuthorizationCodeOAuthFlow, io.a2a.grpc.AuthorizationCodeOAuthFlow.Builder, io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder> @@ -797,7 +797,7 @@ public io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBui private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ClientCredentialsOAuthFlow, io.a2a.grpc.ClientCredentialsOAuthFlow.Builder, io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder> clientCredentialsBuilder_; /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ @java.lang.Override @@ -805,7 +805,7 @@ public boolean hasClientCredentials() { return flowCase_ == 2; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ @java.lang.Override @@ -823,7 +823,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials() { } } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder setClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value) { if (clientCredentialsBuilder_ == null) { @@ -839,7 +839,7 @@ public Builder setClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value return this; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder setClientCredentials( io.a2a.grpc.ClientCredentialsOAuthFlow.Builder builderForValue) { @@ -853,7 +853,7 @@ public Builder setClientCredentials( return this; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder mergeClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow value) { if (clientCredentialsBuilder_ == null) { @@ -876,7 +876,7 @@ public Builder mergeClientCredentials(io.a2a.grpc.ClientCredentialsOAuthFlow val return this; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public Builder clearClientCredentials() { if (clientCredentialsBuilder_ == null) { @@ -895,13 +895,13 @@ public Builder clearClientCredentials() { return this; } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ public io.a2a.grpc.ClientCredentialsOAuthFlow.Builder getClientCredentialsBuilder() { return internalGetClientCredentialsFieldBuilder().getBuilder(); } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ @java.lang.Override public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder() { @@ -915,7 +915,7 @@ public io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBui } } /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ClientCredentialsOAuthFlow, io.a2a.grpc.ClientCredentialsOAuthFlow.Builder, io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder> @@ -939,7 +939,7 @@ 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 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return Whether the implicit field is set. */ @java.lang.Override @@ -947,7 +947,7 @@ public boolean hasImplicit() { return flowCase_ == 3; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return The implicit. */ @java.lang.Override @@ -965,7 +965,7 @@ public io.a2a.grpc.ImplicitOAuthFlow getImplicit() { } } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ public Builder setImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { if (implicitBuilder_ == null) { @@ -981,7 +981,7 @@ public Builder setImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ public Builder setImplicit( io.a2a.grpc.ImplicitOAuthFlow.Builder builderForValue) { @@ -995,7 +995,7 @@ public Builder setImplicit( return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ public Builder mergeImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { if (implicitBuilder_ == null) { @@ -1018,7 +1018,7 @@ public Builder mergeImplicit(io.a2a.grpc.ImplicitOAuthFlow value) { return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ public Builder clearImplicit() { if (implicitBuilder_ == null) { @@ -1037,13 +1037,13 @@ public Builder clearImplicit() { return this; } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ public io.a2a.grpc.ImplicitOAuthFlow.Builder getImplicitBuilder() { return internalGetImplicitFieldBuilder().getBuilder(); } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ @java.lang.Override public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { @@ -1057,7 +1057,7 @@ public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { } } /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.ImplicitOAuthFlow, io.a2a.grpc.ImplicitOAuthFlow.Builder, io.a2a.grpc.ImplicitOAuthFlowOrBuilder> @@ -1081,7 +1081,7 @@ public io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PasswordOAuthFlow, io.a2a.grpc.PasswordOAuthFlow.Builder, io.a2a.grpc.PasswordOAuthFlowOrBuilder> passwordBuilder_; /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return Whether the password field is set. */ @java.lang.Override @@ -1089,7 +1089,7 @@ public boolean hasPassword() { return flowCase_ == 4; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return The password. */ @java.lang.Override @@ -1107,7 +1107,7 @@ public io.a2a.grpc.PasswordOAuthFlow getPassword() { } } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ public Builder setPassword(io.a2a.grpc.PasswordOAuthFlow value) { if (passwordBuilder_ == null) { @@ -1123,7 +1123,7 @@ public Builder setPassword(io.a2a.grpc.PasswordOAuthFlow value) { return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ public Builder setPassword( io.a2a.grpc.PasswordOAuthFlow.Builder builderForValue) { @@ -1137,7 +1137,7 @@ public Builder setPassword( return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ public Builder mergePassword(io.a2a.grpc.PasswordOAuthFlow value) { if (passwordBuilder_ == null) { @@ -1160,7 +1160,7 @@ public Builder mergePassword(io.a2a.grpc.PasswordOAuthFlow value) { return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ public Builder clearPassword() { if (passwordBuilder_ == null) { @@ -1179,13 +1179,13 @@ public Builder clearPassword() { return this; } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ public io.a2a.grpc.PasswordOAuthFlow.Builder getPasswordBuilder() { return internalGetPasswordFieldBuilder().getBuilder(); } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ @java.lang.Override public io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder() { @@ -1199,7 +1199,7 @@ public io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder() { } } /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PasswordOAuthFlow, io.a2a.grpc.PasswordOAuthFlow.Builder, io.a2a.grpc.PasswordOAuthFlowOrBuilder> 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 a8ecd460b..804d3a826 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java @@ -11,62 +11,62 @@ public interface OAuthFlowsOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return Whether the authorizationCode field is set. */ boolean hasAuthorizationCode(); /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; * @return The authorizationCode. */ io.a2a.grpc.AuthorizationCodeOAuthFlow getAuthorizationCode(); /** - * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1 [json_name = "authorizationCode"]; + * .a2a.v1.AuthorizationCodeOAuthFlow authorization_code = 1; */ io.a2a.grpc.AuthorizationCodeOAuthFlowOrBuilder getAuthorizationCodeOrBuilder(); /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return Whether the clientCredentials field is set. */ boolean hasClientCredentials(); /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; * @return The clientCredentials. */ io.a2a.grpc.ClientCredentialsOAuthFlow getClientCredentials(); /** - * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2 [json_name = "clientCredentials"]; + * .a2a.v1.ClientCredentialsOAuthFlow client_credentials = 2; */ io.a2a.grpc.ClientCredentialsOAuthFlowOrBuilder getClientCredentialsOrBuilder(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return Whether the implicit field is set. */ boolean hasImplicit(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; * @return The implicit. */ io.a2a.grpc.ImplicitOAuthFlow getImplicit(); /** - * .a2a.v1.ImplicitOAuthFlow implicit = 3 [json_name = "implicit"]; + * .a2a.v1.ImplicitOAuthFlow implicit = 3; */ io.a2a.grpc.ImplicitOAuthFlowOrBuilder getImplicitOrBuilder(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return Whether the password field is set. */ boolean hasPassword(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; * @return The password. */ io.a2a.grpc.PasswordOAuthFlow getPassword(); /** - * .a2a.v1.PasswordOAuthFlow password = 4 [json_name = "password"]; + * .a2a.v1.PasswordOAuthFlow password = 4; */ io.a2a.grpc.PasswordOAuthFlowOrBuilder getPasswordOrBuilder(); 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 f06f91dd9..c2f01d139 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java @@ -53,7 +53,7 @@ private OpenIdConnectSecurityScheme() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ @java.lang.Override @@ -74,7 +74,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ @java.lang.Override @@ -101,7 +101,7 @@ public java.lang.String getDescription() { * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The openIdConnectUrl. */ @java.lang.Override @@ -123,7 +123,7 @@ public java.lang.String getOpenIdConnectUrl() { * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The bytes for openIdConnectUrl. */ @java.lang.Override @@ -465,7 +465,7 @@ public Builder mergeFrom( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ public java.lang.String getDescription() { @@ -485,7 +485,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ public com.google.protobuf.ByteString @@ -506,7 +506,7 @@ public java.lang.String getDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The description to set. * @return This builder for chaining. */ @@ -523,7 +523,7 @@ public Builder setDescription( * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return This builder for chaining. */ public Builder clearDescription() { @@ -537,7 +537,7 @@ public Builder clearDescription() { * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @param value The bytes for description to set. * @return This builder for chaining. */ @@ -558,7 +558,7 @@ public Builder setDescriptionBytes( * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The openIdConnectUrl. */ public java.lang.String getOpenIdConnectUrl() { @@ -579,7 +579,7 @@ public java.lang.String getOpenIdConnectUrl() { * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The bytes for openIdConnectUrl. */ public com.google.protobuf.ByteString @@ -601,7 +601,7 @@ public java.lang.String getOpenIdConnectUrl() { * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @param value The openIdConnectUrl to set. * @return This builder for chaining. */ @@ -619,7 +619,7 @@ public Builder setOpenIdConnectUrl( * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return This builder for chaining. */ public Builder clearOpenIdConnectUrl() { @@ -634,7 +634,7 @@ public Builder clearOpenIdConnectUrl() { * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @param value The bytes for openIdConnectUrl to set. * @return This builder for chaining. */ 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 0682b5f93..20e04a27c 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java @@ -15,7 +15,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The description. */ java.lang.String getDescription(); @@ -24,7 +24,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends * Description of this security scheme. * * - * string description = 1 [json_name = "description"]; + * string description = 1; * @return The bytes for description. */ com.google.protobuf.ByteString @@ -36,7 +36,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The openIdConnectUrl. */ java.lang.String getOpenIdConnectUrl(); @@ -46,7 +46,7 @@ public interface OpenIdConnectSecuritySchemeOrBuilder extends * metadata. * * - * string open_id_connect_url = 2 [json_name = "openIdConnectUrl"]; + * string open_id_connect_url = 2; * @return The bytes for openIdConnectUrl. */ com.google.protobuf.ByteString 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 5582d8d5e..dbb3015a3 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Part.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Part.java @@ -95,14 +95,14 @@ public int getNumber() { public static final int TEXT_FIELD_NUMBER = 1; /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return Whether the text field is set. */ public boolean hasText() { return partCase_ == 1; } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The text. */ public java.lang.String getText() { @@ -123,7 +123,7 @@ public java.lang.String getText() { } } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The bytes for text. */ public com.google.protobuf.ByteString @@ -147,7 +147,7 @@ public java.lang.String getText() { public static final int FILE_FIELD_NUMBER = 2; /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return Whether the file field is set. */ @java.lang.Override @@ -155,7 +155,7 @@ public boolean hasFile() { return partCase_ == 2; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return The file. */ @java.lang.Override @@ -166,7 +166,7 @@ public io.a2a.grpc.FilePart getFile() { return io.a2a.grpc.FilePart.getDefaultInstance(); } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ @java.lang.Override public io.a2a.grpc.FilePartOrBuilder getFileOrBuilder() { @@ -178,7 +178,7 @@ public io.a2a.grpc.FilePartOrBuilder getFileOrBuilder() { public static final int DATA_FIELD_NUMBER = 3; /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return Whether the data field is set. */ @java.lang.Override @@ -186,7 +186,7 @@ public boolean hasData() { return partCase_ == 3; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return The data. */ @java.lang.Override @@ -197,7 +197,7 @@ public io.a2a.grpc.DataPart getData() { return io.a2a.grpc.DataPart.getDefaultInstance(); } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ @java.lang.Override public io.a2a.grpc.DataPartOrBuilder getDataOrBuilder() { @@ -613,7 +613,7 @@ public Builder clearPart() { private int bitField0_; /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return Whether the text field is set. */ @java.lang.Override @@ -621,7 +621,7 @@ public boolean hasText() { return partCase_ == 1; } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The text. */ @java.lang.Override @@ -643,7 +643,7 @@ public java.lang.String getText() { } } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The bytes for text. */ @java.lang.Override @@ -666,7 +666,7 @@ public java.lang.String getText() { } } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @param value The text to set. * @return This builder for chaining. */ @@ -679,7 +679,7 @@ public Builder setText( return this; } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return This builder for chaining. */ public Builder clearText() { @@ -691,7 +691,7 @@ public Builder clearText() { return this; } /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @param value The bytes for text to set. * @return This builder for chaining. */ @@ -708,7 +708,7 @@ public Builder setTextBytes( private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.FilePart, io.a2a.grpc.FilePart.Builder, io.a2a.grpc.FilePartOrBuilder> fileBuilder_; /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return Whether the file field is set. */ @java.lang.Override @@ -716,7 +716,7 @@ public boolean hasFile() { return partCase_ == 2; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return The file. */ @java.lang.Override @@ -734,7 +734,7 @@ public io.a2a.grpc.FilePart getFile() { } } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ public Builder setFile(io.a2a.grpc.FilePart value) { if (fileBuilder_ == null) { @@ -750,7 +750,7 @@ public Builder setFile(io.a2a.grpc.FilePart value) { return this; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ public Builder setFile( io.a2a.grpc.FilePart.Builder builderForValue) { @@ -764,7 +764,7 @@ public Builder setFile( return this; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ public Builder mergeFile(io.a2a.grpc.FilePart value) { if (fileBuilder_ == null) { @@ -787,7 +787,7 @@ public Builder mergeFile(io.a2a.grpc.FilePart value) { return this; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ public Builder clearFile() { if (fileBuilder_ == null) { @@ -806,13 +806,13 @@ public Builder clearFile() { return this; } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ public io.a2a.grpc.FilePart.Builder getFileBuilder() { return internalGetFileFieldBuilder().getBuilder(); } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ @java.lang.Override public io.a2a.grpc.FilePartOrBuilder getFileOrBuilder() { @@ -826,7 +826,7 @@ public io.a2a.grpc.FilePartOrBuilder getFileOrBuilder() { } } /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.FilePart, io.a2a.grpc.FilePart.Builder, io.a2a.grpc.FilePartOrBuilder> @@ -850,7 +850,7 @@ public io.a2a.grpc.FilePartOrBuilder getFileOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.DataPart, io.a2a.grpc.DataPart.Builder, io.a2a.grpc.DataPartOrBuilder> dataBuilder_; /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return Whether the data field is set. */ @java.lang.Override @@ -858,7 +858,7 @@ public boolean hasData() { return partCase_ == 3; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return The data. */ @java.lang.Override @@ -876,7 +876,7 @@ public io.a2a.grpc.DataPart getData() { } } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ public Builder setData(io.a2a.grpc.DataPart value) { if (dataBuilder_ == null) { @@ -892,7 +892,7 @@ public Builder setData(io.a2a.grpc.DataPart value) { return this; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ public Builder setData( io.a2a.grpc.DataPart.Builder builderForValue) { @@ -906,7 +906,7 @@ public Builder setData( return this; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ public Builder mergeData(io.a2a.grpc.DataPart value) { if (dataBuilder_ == null) { @@ -929,7 +929,7 @@ public Builder mergeData(io.a2a.grpc.DataPart value) { return this; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ public Builder clearData() { if (dataBuilder_ == null) { @@ -948,13 +948,13 @@ public Builder clearData() { return this; } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ public io.a2a.grpc.DataPart.Builder getDataBuilder() { return internalGetDataFieldBuilder().getBuilder(); } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ @java.lang.Override public io.a2a.grpc.DataPartOrBuilder getDataOrBuilder() { @@ -968,7 +968,7 @@ public io.a2a.grpc.DataPartOrBuilder getDataOrBuilder() { } } /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.DataPart, io.a2a.grpc.DataPart.Builder, io.a2a.grpc.DataPartOrBuilder> 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 5840438a3..773988036 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java @@ -11,49 +11,49 @@ public interface PartOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return Whether the text field is set. */ boolean hasText(); /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The text. */ java.lang.String getText(); /** - * string text = 1 [json_name = "text"]; + * string text = 1; * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return Whether the file field is set. */ boolean hasFile(); /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; * @return The file. */ io.a2a.grpc.FilePart getFile(); /** - * .a2a.v1.FilePart file = 2 [json_name = "file"]; + * .a2a.v1.FilePart file = 2; */ io.a2a.grpc.FilePartOrBuilder getFileOrBuilder(); /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return Whether the data field is set. */ boolean hasData(); /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; * @return The data. */ io.a2a.grpc.DataPart getData(); /** - * .a2a.v1.DataPart data = 3 [json_name = "data"]; + * .a2a.v1.DataPart data = 3; */ io.a2a.grpc.DataPartOrBuilder getDataOrBuilder(); 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 3801ef006..c9c1c4b0a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java @@ -66,7 +66,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ @java.lang.Override @@ -88,7 +88,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ @java.lang.Override @@ -115,7 +115,7 @@ public java.lang.String getTokenUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ @java.lang.Override @@ -137,7 +137,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ @java.lang.Override @@ -187,7 +187,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -209,7 +209,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -221,7 +221,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -240,7 +240,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -640,7 +640,7 @@ public Builder mergeFrom( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ public java.lang.String getTokenUrl() { @@ -661,7 +661,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ public com.google.protobuf.ByteString @@ -683,7 +683,7 @@ public java.lang.String getTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @param value The tokenUrl to set. * @return This builder for chaining. */ @@ -701,7 +701,7 @@ public Builder setTokenUrl( * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return This builder for chaining. */ public Builder clearTokenUrl() { @@ -716,7 +716,7 @@ public Builder clearTokenUrl() { * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @param value The bytes for tokenUrl to set. * @return This builder for chaining. */ @@ -737,7 +737,7 @@ public Builder setTokenUrlBytes( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ public java.lang.String getRefreshUrl() { @@ -758,7 +758,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ public com.google.protobuf.ByteString @@ -780,7 +780,7 @@ public java.lang.String getRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The refreshUrl to set. * @return This builder for chaining. */ @@ -798,7 +798,7 @@ public Builder setRefreshUrl( * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return This builder for chaining. */ public Builder clearRefreshUrl() { @@ -813,7 +813,7 @@ public Builder clearRefreshUrl() { * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @param value The bytes for refreshUrl to set. * @return This builder for chaining. */ @@ -859,7 +859,7 @@ public int getScopesCount() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public boolean containsScopes( @@ -881,7 +881,7 @@ public java.util.Map getScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.util.Map getScopesMap() { @@ -893,7 +893,7 @@ public java.util.Map getScopesMap() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public /* nullable */ @@ -912,7 +912,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ @java.lang.Override public java.lang.String getScopesOrThrow( @@ -937,7 +937,7 @@ public Builder clearScopes() { * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder removeScopes( java.lang.String key) { @@ -961,7 +961,7 @@ public Builder removeScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putScopes( java.lang.String key, @@ -979,7 +979,7 @@ public Builder putScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ public Builder putAllScopes( java.util.Map values) { 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 73c88685f..1eea1da0f 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java @@ -16,7 +16,7 @@ public interface PasswordOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The tokenUrl. */ java.lang.String getTokenUrl(); @@ -26,7 +26,7 @@ public interface PasswordOAuthFlowOrBuilder extends * The OAuth2 standard requires the use of TLS. * * - * string token_url = 1 [json_name = "tokenUrl"]; + * string token_url = 1; * @return The bytes for tokenUrl. */ com.google.protobuf.ByteString @@ -38,7 +38,7 @@ public interface PasswordOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The refreshUrl. */ java.lang.String getRefreshUrl(); @@ -48,7 +48,7 @@ public interface PasswordOAuthFlowOrBuilder extends * form of a URL. The OAuth2 standard requires the use of TLS. * * - * string refresh_url = 2 [json_name = "refreshUrl"]; + * string refresh_url = 2; * @return The bytes for refreshUrl. */ com.google.protobuf.ByteString @@ -60,7 +60,7 @@ public interface PasswordOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ int getScopesCount(); /** @@ -69,7 +69,7 @@ public interface PasswordOAuthFlowOrBuilder extends * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ boolean containsScopes( java.lang.String key); @@ -85,7 +85,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.util.Map getScopesMap(); @@ -95,7 +95,7 @@ boolean containsScopes( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ /* nullable */ java.lang.String getScopesOrDefault( @@ -108,7 +108,7 @@ java.lang.String getScopesOrDefault( * scope name and a short description for it. The map MAY be empty. * * - * map<string, string> scopes = 3 [json_name = "scopes"]; + * map<string, string> scopes = 3; */ java.lang.String getScopesOrThrow( java.lang.String key); 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 b9b1909f5..5942397ba 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java @@ -59,7 +59,7 @@ private PushNotificationConfig() { * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ @java.lang.Override @@ -80,7 +80,7 @@ public java.lang.String getId() { * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ @java.lang.Override @@ -106,7 +106,7 @@ public java.lang.String getId() { * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getUrl() { * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ @java.lang.Override @@ -153,7 +153,7 @@ public java.lang.String getUrl() { * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The token. */ @java.lang.Override @@ -174,7 +174,7 @@ public java.lang.String getToken() { * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The bytes for token. */ @java.lang.Override @@ -199,7 +199,7 @@ public java.lang.String getToken() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ @java.lang.Override @@ -211,7 +211,7 @@ public boolean hasAuthentication() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ @java.lang.Override @@ -223,7 +223,7 @@ public io.a2a.grpc.AuthenticationInfo getAuthentication() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ @java.lang.Override public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { @@ -627,7 +627,7 @@ public Builder mergeFrom( * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ public java.lang.String getId() { @@ -647,7 +647,7 @@ public java.lang.String getId() { * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -668,7 +668,7 @@ public java.lang.String getId() { * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The id to set. * @return This builder for chaining. */ @@ -685,7 +685,7 @@ public Builder setId( * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return This builder for chaining. */ public Builder clearId() { @@ -699,7 +699,7 @@ public Builder clearId() { * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -719,7 +719,7 @@ public Builder setIdBytes( * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ public java.lang.String getUrl() { @@ -739,7 +739,7 @@ public java.lang.String getUrl() { * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ public com.google.protobuf.ByteString @@ -760,7 +760,7 @@ public java.lang.String getUrl() { * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @param value The url to set. * @return This builder for chaining. */ @@ -777,7 +777,7 @@ public Builder setUrl( * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return This builder for chaining. */ public Builder clearUrl() { @@ -791,7 +791,7 @@ public Builder clearUrl() { * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @param value The bytes for url to set. * @return This builder for chaining. */ @@ -811,7 +811,7 @@ public Builder setUrlBytes( * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The token. */ public java.lang.String getToken() { @@ -831,7 +831,7 @@ public java.lang.String getToken() { * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The bytes for token. */ public com.google.protobuf.ByteString @@ -852,7 +852,7 @@ public java.lang.String getToken() { * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @param value The token to set. * @return This builder for chaining. */ @@ -869,7 +869,7 @@ public Builder setToken( * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return This builder for chaining. */ public Builder clearToken() { @@ -883,7 +883,7 @@ public Builder clearToken() { * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @param value The bytes for token to set. * @return This builder for chaining. */ @@ -905,7 +905,7 @@ public Builder setTokenBytes( * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ public boolean hasAuthentication() { @@ -916,7 +916,7 @@ public boolean hasAuthentication() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ public io.a2a.grpc.AuthenticationInfo getAuthentication() { @@ -931,7 +931,7 @@ public io.a2a.grpc.AuthenticationInfo getAuthentication() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public Builder setAuthentication(io.a2a.grpc.AuthenticationInfo value) { if (authenticationBuilder_ == null) { @@ -951,7 +951,7 @@ public Builder setAuthentication(io.a2a.grpc.AuthenticationInfo value) { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public Builder setAuthentication( io.a2a.grpc.AuthenticationInfo.Builder builderForValue) { @@ -969,7 +969,7 @@ public Builder setAuthentication( * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public Builder mergeAuthentication(io.a2a.grpc.AuthenticationInfo value) { if (authenticationBuilder_ == null) { @@ -994,7 +994,7 @@ public Builder mergeAuthentication(io.a2a.grpc.AuthenticationInfo value) { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public Builder clearAuthentication() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1011,7 +1011,7 @@ public Builder clearAuthentication() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public io.a2a.grpc.AuthenticationInfo.Builder getAuthenticationBuilder() { bitField0_ |= 0x00000008; @@ -1023,7 +1023,7 @@ public io.a2a.grpc.AuthenticationInfo.Builder getAuthenticationBuilder() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { if (authenticationBuilder_ != null) { @@ -1038,7 +1038,7 @@ public io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder() { * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.AuthenticationInfo, io.a2a.grpc.AuthenticationInfo.Builder, io.a2a.grpc.AuthenticationInfoOrBuilder> 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 9aa257747..a04532954 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java @@ -15,7 +15,7 @@ public interface PushNotificationConfigOrBuilder extends * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ java.lang.String getId(); @@ -24,7 +24,7 @@ public interface PushNotificationConfigOrBuilder extends * A unique id for this push notification. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface PushNotificationConfigOrBuilder extends * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The url. */ java.lang.String getUrl(); @@ -44,7 +44,7 @@ public interface PushNotificationConfigOrBuilder extends * Url to send the notification too * * - * string url = 2 [json_name = "url"]; + * string url = 2; * @return The bytes for url. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface PushNotificationConfigOrBuilder extends * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The token. */ java.lang.String getToken(); @@ -64,7 +64,7 @@ public interface PushNotificationConfigOrBuilder extends * Token unique for this task/session * * - * string token = 3 [json_name = "token"]; + * string token = 3; * @return The bytes for token. */ com.google.protobuf.ByteString @@ -75,7 +75,7 @@ public interface PushNotificationConfigOrBuilder extends * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return Whether the authentication field is set. */ boolean hasAuthentication(); @@ -84,7 +84,7 @@ public interface PushNotificationConfigOrBuilder extends * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; * @return The authentication. */ io.a2a.grpc.AuthenticationInfo getAuthentication(); @@ -93,7 +93,7 @@ public interface PushNotificationConfigOrBuilder extends * Information about the authentication to sent with the notification * * - * .a2a.v1.AuthenticationInfo authentication = 4 [json_name = "authentication"]; + * .a2a.v1.AuthenticationInfo authentication = 4; */ io.a2a.grpc.AuthenticationInfoOrBuilder getAuthenticationOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/Security.java b/spec-grpc/src/main/java/io/a2a/grpc/Security.java index f19e94a20..3602a93ad 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Security.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Security.java @@ -82,7 +82,7 @@ public int getSchemesCount() { return internalGetSchemes().getMap().size(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public boolean containsSchemes( @@ -99,14 +99,14 @@ public java.util.Map getSchemes() { return getSchemesMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public java.util.Map getSchemesMap() { return internalGetSchemes().getMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public /* nullable */ @@ -120,7 +120,7 @@ io.a2a.grpc.StringList getSchemesOrDefault( return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public io.a2a.grpc.StringList getSchemesOrThrow( @@ -500,7 +500,7 @@ public int getSchemesCount() { return internalGetSchemes().ensureBuilderMap().size(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public boolean containsSchemes( @@ -517,14 +517,14 @@ public java.util.Map getSchemes() { return getSchemesMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public java.util.Map getSchemesMap() { return internalGetSchemes().getImmutableMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public /* nullable */ @@ -537,7 +537,7 @@ io.a2a.grpc.StringList getSchemesOrDefault( return map.containsKey(key) ? schemesConverter.build(map.get(key)) : defaultValue; } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ @java.lang.Override public io.a2a.grpc.StringList getSchemesOrThrow( @@ -555,7 +555,7 @@ public Builder clearSchemes() { return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ public Builder removeSchemes( java.lang.String key) { @@ -574,7 +574,7 @@ public Builder removeSchemes( return internalGetMutableSchemes().ensureMessageMap(); } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ public Builder putSchemes( java.lang.String key, @@ -587,7 +587,7 @@ public Builder putSchemes( return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ public Builder putAllSchemes( java.util.Map values) { @@ -602,7 +602,7 @@ public Builder putAllSchemes( return this; } /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ public io.a2a.grpc.StringList.Builder putSchemesBuilderIfAbsent( java.lang.String key) { diff --git a/spec-grpc/src/main/java/io/a2a/grpc/SecurityOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/SecurityOrBuilder.java index c6cad1a13..1b3897669 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecurityOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecurityOrBuilder.java @@ -11,11 +11,11 @@ public interface SecurityOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ int getSchemesCount(); /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ boolean containsSchemes( java.lang.String key); @@ -26,12 +26,12 @@ boolean containsSchemes( java.util.Map getSchemes(); /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ java.util.Map getSchemesMap(); /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .a2a.v1.StringList> schemes = 1; */ /* nullable */ io.a2a.grpc.StringList getSchemesOrDefault( @@ -39,7 +39,7 @@ io.a2a.grpc.StringList getSchemesOrDefault( /* nullable */ io.a2a.grpc.StringList defaultValue); /** - * map<string, .a2a.v1.StringList> schemes = 1 [json_name = "schemes"]; + * map<string, .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 a0de79755..b6726d097 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java @@ -91,7 +91,7 @@ public int getNumber() { public static final int API_KEY_SECURITY_SCHEME_FIELD_NUMBER = 1; /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ @java.lang.Override @@ -99,7 +99,7 @@ public boolean hasApiKeySecurityScheme() { return schemeCase_ == 1; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ @java.lang.Override @@ -110,7 +110,7 @@ public io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme() { return io.a2a.grpc.APIKeySecurityScheme.getDefaultInstance(); } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ @java.lang.Override public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder() { @@ -122,7 +122,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde public static final int HTTP_AUTH_SECURITY_SCHEME_FIELD_NUMBER = 2; /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ @java.lang.Override @@ -130,7 +130,7 @@ public boolean hasHttpAuthSecurityScheme() { return schemeCase_ == 2; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ @java.lang.Override @@ -141,7 +141,7 @@ public io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme() { return io.a2a.grpc.HTTPAuthSecurityScheme.getDefaultInstance(); } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ @java.lang.Override public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder() { @@ -153,7 +153,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu public static final int OAUTH2_SECURITY_SCHEME_FIELD_NUMBER = 3; /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ @java.lang.Override @@ -161,7 +161,7 @@ public boolean hasOauth2SecurityScheme() { return schemeCase_ == 3; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ @java.lang.Override @@ -172,7 +172,7 @@ public io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme() { return io.a2a.grpc.OAuth2SecurityScheme.getDefaultInstance(); } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ @java.lang.Override public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder() { @@ -184,7 +184,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde public static final int OPEN_ID_CONNECT_SECURITY_SCHEME_FIELD_NUMBER = 4; /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ @java.lang.Override @@ -192,7 +192,7 @@ public boolean hasOpenIdConnectSecurityScheme() { return schemeCase_ == 4; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ @java.lang.Override @@ -203,7 +203,7 @@ public io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme() return io.a2a.grpc.OpenIdConnectSecurityScheme.getDefaultInstance(); } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ @java.lang.Override public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder() { @@ -655,7 +655,7 @@ public Builder clearScheme() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.APIKeySecurityScheme, io.a2a.grpc.APIKeySecurityScheme.Builder, io.a2a.grpc.APIKeySecuritySchemeOrBuilder> apiKeySecuritySchemeBuilder_; /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ @java.lang.Override @@ -663,7 +663,7 @@ public boolean hasApiKeySecurityScheme() { return schemeCase_ == 1; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ @java.lang.Override @@ -681,7 +681,7 @@ public io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme() { } } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder setApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { if (apiKeySecuritySchemeBuilder_ == null) { @@ -697,7 +697,7 @@ public Builder setApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { return this; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder setApiKeySecurityScheme( io.a2a.grpc.APIKeySecurityScheme.Builder builderForValue) { @@ -711,7 +711,7 @@ public Builder setApiKeySecurityScheme( return this; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder mergeApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) { if (apiKeySecuritySchemeBuilder_ == null) { @@ -734,7 +734,7 @@ public Builder mergeApiKeySecurityScheme(io.a2a.grpc.APIKeySecurityScheme value) return this; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public Builder clearApiKeySecurityScheme() { if (apiKeySecuritySchemeBuilder_ == null) { @@ -753,13 +753,13 @@ public Builder clearApiKeySecurityScheme() { return this; } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ public io.a2a.grpc.APIKeySecurityScheme.Builder getApiKeySecuritySchemeBuilder() { return internalGetApiKeySecuritySchemeFieldBuilder().getBuilder(); } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ @java.lang.Override public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder() { @@ -773,7 +773,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde } } /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .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> @@ -797,7 +797,7 @@ public io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilde private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.HTTPAuthSecurityScheme, io.a2a.grpc.HTTPAuthSecurityScheme.Builder, io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder> httpAuthSecuritySchemeBuilder_; /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ @java.lang.Override @@ -805,7 +805,7 @@ public boolean hasHttpAuthSecurityScheme() { return schemeCase_ == 2; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ @java.lang.Override @@ -823,7 +823,7 @@ public io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme() { } } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder setHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme value) { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -839,7 +839,7 @@ public Builder setHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme valu return this; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder setHttpAuthSecurityScheme( io.a2a.grpc.HTTPAuthSecurityScheme.Builder builderForValue) { @@ -853,7 +853,7 @@ public Builder setHttpAuthSecurityScheme( return this; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder mergeHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme value) { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -876,7 +876,7 @@ public Builder mergeHttpAuthSecurityScheme(io.a2a.grpc.HTTPAuthSecurityScheme va return this; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public Builder clearHttpAuthSecurityScheme() { if (httpAuthSecuritySchemeBuilder_ == null) { @@ -895,13 +895,13 @@ public Builder clearHttpAuthSecurityScheme() { return this; } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ public io.a2a.grpc.HTTPAuthSecurityScheme.Builder getHttpAuthSecuritySchemeBuilder() { return internalGetHttpAuthSecuritySchemeFieldBuilder().getBuilder(); } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ @java.lang.Override public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder() { @@ -915,7 +915,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu } } /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .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> @@ -939,7 +939,7 @@ public io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBu private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OAuth2SecurityScheme, io.a2a.grpc.OAuth2SecurityScheme.Builder, io.a2a.grpc.OAuth2SecuritySchemeOrBuilder> oauth2SecuritySchemeBuilder_; /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ @java.lang.Override @@ -947,7 +947,7 @@ public boolean hasOauth2SecurityScheme() { return schemeCase_ == 3; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ @java.lang.Override @@ -965,7 +965,7 @@ public io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme() { } } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder setOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { if (oauth2SecuritySchemeBuilder_ == null) { @@ -981,7 +981,7 @@ public Builder setOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { return this; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder setOauth2SecurityScheme( io.a2a.grpc.OAuth2SecurityScheme.Builder builderForValue) { @@ -995,7 +995,7 @@ public Builder setOauth2SecurityScheme( return this; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder mergeOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) { if (oauth2SecuritySchemeBuilder_ == null) { @@ -1018,7 +1018,7 @@ public Builder mergeOauth2SecurityScheme(io.a2a.grpc.OAuth2SecurityScheme value) return this; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public Builder clearOauth2SecurityScheme() { if (oauth2SecuritySchemeBuilder_ == null) { @@ -1037,13 +1037,13 @@ public Builder clearOauth2SecurityScheme() { return this; } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ public io.a2a.grpc.OAuth2SecurityScheme.Builder getOauth2SecuritySchemeBuilder() { return internalGetOauth2SecuritySchemeFieldBuilder().getBuilder(); } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ @java.lang.Override public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder() { @@ -1057,7 +1057,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde } } /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .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> @@ -1081,7 +1081,7 @@ public io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilde private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.OpenIdConnectSecurityScheme, io.a2a.grpc.OpenIdConnectSecurityScheme.Builder, io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder> openIdConnectSecuritySchemeBuilder_; /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ @java.lang.Override @@ -1089,7 +1089,7 @@ public boolean hasOpenIdConnectSecurityScheme() { return schemeCase_ == 4; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ @java.lang.Override @@ -1107,7 +1107,7 @@ public io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme() } } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder setOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityScheme value) { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1123,7 +1123,7 @@ public Builder setOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityS return this; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder setOpenIdConnectSecurityScheme( io.a2a.grpc.OpenIdConnectSecurityScheme.Builder builderForValue) { @@ -1137,7 +1137,7 @@ public Builder setOpenIdConnectSecurityScheme( return this; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder mergeOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurityScheme value) { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1160,7 +1160,7 @@ public Builder mergeOpenIdConnectSecurityScheme(io.a2a.grpc.OpenIdConnectSecurit return this; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public Builder clearOpenIdConnectSecurityScheme() { if (openIdConnectSecuritySchemeBuilder_ == null) { @@ -1179,13 +1179,13 @@ public Builder clearOpenIdConnectSecurityScheme() { return this; } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ public io.a2a.grpc.OpenIdConnectSecurityScheme.Builder getOpenIdConnectSecuritySchemeBuilder() { return internalGetOpenIdConnectSecuritySchemeFieldBuilder().getBuilder(); } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ @java.lang.Override public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder() { @@ -1199,7 +1199,7 @@ public io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecurity } } /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .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> 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 ed4aa69c0..b79be8faf 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java @@ -11,62 +11,62 @@ public interface SecuritySchemeOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return Whether the apiKeySecurityScheme field is set. */ boolean hasApiKeySecurityScheme(); /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; * @return The apiKeySecurityScheme. */ io.a2a.grpc.APIKeySecurityScheme getApiKeySecurityScheme(); /** - * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1 [json_name = "apiKeySecurityScheme"]; + * .a2a.v1.APIKeySecurityScheme api_key_security_scheme = 1; */ io.a2a.grpc.APIKeySecuritySchemeOrBuilder getApiKeySecuritySchemeOrBuilder(); /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return Whether the httpAuthSecurityScheme field is set. */ boolean hasHttpAuthSecurityScheme(); /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; * @return The httpAuthSecurityScheme. */ io.a2a.grpc.HTTPAuthSecurityScheme getHttpAuthSecurityScheme(); /** - * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2 [json_name = "httpAuthSecurityScheme"]; + * .a2a.v1.HTTPAuthSecurityScheme http_auth_security_scheme = 2; */ io.a2a.grpc.HTTPAuthSecuritySchemeOrBuilder getHttpAuthSecuritySchemeOrBuilder(); /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return Whether the oauth2SecurityScheme field is set. */ boolean hasOauth2SecurityScheme(); /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; * @return The oauth2SecurityScheme. */ io.a2a.grpc.OAuth2SecurityScheme getOauth2SecurityScheme(); /** - * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3 [json_name = "oauth2SecurityScheme"]; + * .a2a.v1.OAuth2SecurityScheme oauth2_security_scheme = 3; */ io.a2a.grpc.OAuth2SecuritySchemeOrBuilder getOauth2SecuritySchemeOrBuilder(); /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return Whether the openIdConnectSecurityScheme field is set. */ boolean hasOpenIdConnectSecurityScheme(); /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; * @return The openIdConnectSecurityScheme. */ io.a2a.grpc.OpenIdConnectSecurityScheme getOpenIdConnectSecurityScheme(); /** - * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4 [json_name = "openIdConnectSecurityScheme"]; + * .a2a.v1.OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; */ io.a2a.grpc.OpenIdConnectSecuritySchemeOrBuilder getOpenIdConnectSecuritySchemeOrBuilder(); 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 42bd62bcc..75db4a2b8 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java @@ -59,7 +59,7 @@ private SendMessageConfiguration() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return A list containing the acceptedOutputModes. */ public com.google.protobuf.ProtocolStringList @@ -71,7 +71,7 @@ private SendMessageConfiguration() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return The count of acceptedOutputModes. */ public int getAcceptedOutputModesCount() { @@ -82,7 +82,7 @@ public int getAcceptedOutputModesCount() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the element to return. * @return The acceptedOutputModes at the given index. */ @@ -94,7 +94,7 @@ public java.lang.String getAcceptedOutputModes(int index) { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the value to return. * @return The bytes of the acceptedOutputModes at the given index. */ @@ -110,7 +110,7 @@ public java.lang.String getAcceptedOutputModes(int index) { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return Whether the pushNotification field is set. */ @java.lang.Override @@ -122,7 +122,7 @@ public boolean hasPushNotification() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return The pushNotification. */ @java.lang.Override @@ -134,7 +134,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotification() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ @java.lang.Override public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder() { @@ -149,7 +149,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder( * history will be unlimited. * * - * int32 history_length = 3 [json_name = "historyLength"]; + * int32 history_length = 3; * @return The historyLength. */ @java.lang.Override @@ -167,7 +167,7 @@ public int getHistoryLength() { * updates. * * - * bool blocking = 4 [json_name = "blocking"]; + * bool blocking = 4; * @return The blocking. */ @java.lang.Override @@ -593,7 +593,7 @@ private void ensureAcceptedOutputModesIsMutable() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return A list containing the acceptedOutputModes. */ public com.google.protobuf.ProtocolStringList @@ -606,7 +606,7 @@ private void ensureAcceptedOutputModesIsMutable() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return The count of acceptedOutputModes. */ public int getAcceptedOutputModesCount() { @@ -617,7 +617,7 @@ public int getAcceptedOutputModesCount() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the element to return. * @return The acceptedOutputModes at the given index. */ @@ -629,7 +629,7 @@ public java.lang.String getAcceptedOutputModes(int index) { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the value to return. * @return The bytes of the acceptedOutputModes at the given index. */ @@ -642,7 +642,7 @@ public java.lang.String getAcceptedOutputModes(int index) { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index to set the value at. * @param value The acceptedOutputModes to set. * @return This builder for chaining. @@ -661,7 +661,7 @@ public Builder setAcceptedOutputModes( * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param value The acceptedOutputModes to add. * @return This builder for chaining. */ @@ -679,7 +679,7 @@ public Builder addAcceptedOutputModes( * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param values The acceptedOutputModes to add. * @return This builder for chaining. */ @@ -697,7 +697,7 @@ public Builder addAllAcceptedOutputModes( * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return This builder for chaining. */ public Builder clearAcceptedOutputModes() { @@ -712,7 +712,7 @@ public Builder clearAcceptedOutputModes() { * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param value The bytes of the acceptedOutputModes to add. * @return This builder for chaining. */ @@ -735,7 +735,7 @@ public Builder addAcceptedOutputModesBytes( * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return Whether the pushNotification field is set. */ public boolean hasPushNotification() { @@ -746,7 +746,7 @@ public boolean hasPushNotification() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return The pushNotification. */ public io.a2a.grpc.PushNotificationConfig getPushNotification() { @@ -761,7 +761,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotification() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public Builder setPushNotification(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationBuilder_ == null) { @@ -781,7 +781,7 @@ public Builder setPushNotification(io.a2a.grpc.PushNotificationConfig value) { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public Builder setPushNotification( io.a2a.grpc.PushNotificationConfig.Builder builderForValue) { @@ -799,7 +799,7 @@ public Builder setPushNotification( * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public Builder mergePushNotification(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationBuilder_ == null) { @@ -824,7 +824,7 @@ public Builder mergePushNotification(io.a2a.grpc.PushNotificationConfig value) { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public Builder clearPushNotification() { bitField0_ = (bitField0_ & ~0x00000002); @@ -841,7 +841,7 @@ public Builder clearPushNotification() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationBuilder() { bitField0_ |= 0x00000002; @@ -853,7 +853,7 @@ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationBuilder() { * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder() { if (pushNotificationBuilder_ != null) { @@ -868,7 +868,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder( * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> @@ -891,7 +891,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder( * history will be unlimited. * * - * int32 history_length = 3 [json_name = "historyLength"]; + * int32 history_length = 3; * @return The historyLength. */ @java.lang.Override @@ -904,7 +904,7 @@ public int getHistoryLength() { * history will be unlimited. * * - * int32 history_length = 3 [json_name = "historyLength"]; + * int32 history_length = 3; * @param value The historyLength to set. * @return This builder for chaining. */ @@ -921,7 +921,7 @@ public Builder setHistoryLength(int value) { * history will be unlimited. * * - * int32 history_length = 3 [json_name = "historyLength"]; + * int32 history_length = 3; * @return This builder for chaining. */ public Builder clearHistoryLength() { @@ -940,7 +940,7 @@ public Builder clearHistoryLength() { * updates. * * - * bool blocking = 4 [json_name = "blocking"]; + * bool blocking = 4; * @return The blocking. */ @java.lang.Override @@ -955,7 +955,7 @@ public boolean getBlocking() { * updates. * * - * bool blocking = 4 [json_name = "blocking"]; + * bool blocking = 4; * @param value The blocking to set. * @return This builder for chaining. */ @@ -974,7 +974,7 @@ public Builder setBlocking(boolean value) { * updates. * * - * bool blocking = 4 [json_name = "blocking"]; + * bool blocking = 4; * @return This builder for chaining. */ public Builder clearBlocking() { 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 7df0eb45a..ff22f3f2a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java @@ -15,7 +15,7 @@ public interface SendMessageConfigurationOrBuilder extends * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return A list containing the acceptedOutputModes. */ java.util.List @@ -25,7 +25,7 @@ public interface SendMessageConfigurationOrBuilder extends * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @return The count of acceptedOutputModes. */ int getAcceptedOutputModesCount(); @@ -34,7 +34,7 @@ public interface SendMessageConfigurationOrBuilder extends * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the element to return. * @return The acceptedOutputModes at the given index. */ @@ -44,7 +44,7 @@ public interface SendMessageConfigurationOrBuilder extends * The output modes that the agent is expected to respond with. * * - * repeated string accepted_output_modes = 1 [json_name = "acceptedOutputModes"]; + * repeated string accepted_output_modes = 1; * @param index The index of the value to return. * @return The bytes of the acceptedOutputModes at the given index. */ @@ -56,7 +56,7 @@ public interface SendMessageConfigurationOrBuilder extends * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return Whether the pushNotification field is set. */ boolean hasPushNotification(); @@ -65,7 +65,7 @@ public interface SendMessageConfigurationOrBuilder extends * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; * @return The pushNotification. */ io.a2a.grpc.PushNotificationConfig getPushNotification(); @@ -74,7 +74,7 @@ public interface SendMessageConfigurationOrBuilder extends * A configuration of a webhook that can be used to receive updates * * - * .a2a.v1.PushNotificationConfig push_notification = 2 [json_name = "pushNotification"]; + * .a2a.v1.PushNotificationConfig push_notification = 2; */ io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationOrBuilder(); @@ -84,7 +84,7 @@ public interface SendMessageConfigurationOrBuilder extends * history will be unlimited. * * - * int32 history_length = 3 [json_name = "historyLength"]; + * int32 history_length = 3; * @return The historyLength. */ int getHistoryLength(); @@ -97,7 +97,7 @@ public interface SendMessageConfigurationOrBuilder extends * updates. * * - * bool blocking = 4 [json_name = "blocking"]; + * bool blocking = 4; * @return The blocking. */ boolean getBlocking(); 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 7b3c9cb87..53e563640 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequest.java @@ -51,7 +51,7 @@ private SendMessageRequest() { public static final int REQUEST_FIELD_NUMBER = 1; private io.a2a.grpc.Message request_; /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the request field is set. */ @java.lang.Override @@ -59,7 +59,7 @@ public boolean hasRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The request. */ @java.lang.Override @@ -67,7 +67,7 @@ public io.a2a.grpc.Message getRequest() { return request_ == null ? io.a2a.grpc.Message.getDefaultInstance() : request_; } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() { @@ -77,7 +77,7 @@ public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() { public static final int CONFIGURATION_FIELD_NUMBER = 2; private io.a2a.grpc.SendMessageConfiguration configuration_; /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return Whether the configuration field is set. */ @java.lang.Override @@ -85,7 +85,7 @@ public boolean hasConfiguration() { return ((bitField0_ & 0x00000002) != 0); } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return The configuration. */ @java.lang.Override @@ -93,7 +93,7 @@ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { return configuration_ == null ? io.a2a.grpc.SendMessageConfiguration.getDefaultInstance() : configuration_; } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ @java.lang.Override public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() { @@ -103,7 +103,7 @@ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() public static final int METADATA_FIELD_NUMBER = 3; private com.google.protobuf.Struct metadata_; /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return Whether the metadata field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasMetadata() { return ((bitField0_ & 0x00000004) != 0); } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return The metadata. */ @java.lang.Override @@ -119,7 +119,7 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -525,14 +525,14 @@ public Builder mergeFrom( private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> requestBuilder_; /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the request field is set. */ public boolean hasRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The request. */ public io.a2a.grpc.Message getRequest() { @@ -543,7 +543,7 @@ public io.a2a.grpc.Message getRequest() { } } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequest(io.a2a.grpc.Message value) { if (requestBuilder_ == null) { @@ -559,7 +559,7 @@ public Builder setRequest(io.a2a.grpc.Message value) { return this; } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRequest( io.a2a.grpc.Message.Builder builderForValue) { @@ -573,7 +573,7 @@ public Builder setRequest( return this; } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRequest(io.a2a.grpc.Message value) { if (requestBuilder_ == null) { @@ -594,7 +594,7 @@ public Builder mergeRequest(io.a2a.grpc.Message value) { return this; } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRequest() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,7 +607,7 @@ public Builder clearRequest() { return this; } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.Message.Builder getRequestBuilder() { bitField0_ |= 0x00000001; @@ -615,7 +615,7 @@ public io.a2a.grpc.Message.Builder getRequestBuilder() { return internalGetRequestFieldBuilder().getBuilder(); } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() { if (requestBuilder_ != null) { @@ -626,7 +626,7 @@ public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() { } } /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Message, io.a2a.grpc.Message.Builder, io.a2a.grpc.MessageOrBuilder> @@ -646,14 +646,14 @@ public io.a2a.grpc.MessageOrBuilder getRequestOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder> configurationBuilder_; /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return Whether the configuration field is set. */ public boolean hasConfiguration() { return ((bitField0_ & 0x00000002) != 0); } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return The configuration. */ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { @@ -664,7 +664,7 @@ public io.a2a.grpc.SendMessageConfiguration getConfiguration() { } } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public Builder setConfiguration(io.a2a.grpc.SendMessageConfiguration value) { if (configurationBuilder_ == null) { @@ -680,7 +680,7 @@ public Builder setConfiguration(io.a2a.grpc.SendMessageConfiguration value) { return this; } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public Builder setConfiguration( io.a2a.grpc.SendMessageConfiguration.Builder builderForValue) { @@ -694,7 +694,7 @@ public Builder setConfiguration( return this; } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public Builder mergeConfiguration(io.a2a.grpc.SendMessageConfiguration value) { if (configurationBuilder_ == null) { @@ -715,7 +715,7 @@ public Builder mergeConfiguration(io.a2a.grpc.SendMessageConfiguration value) { return this; } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public Builder clearConfiguration() { bitField0_ = (bitField0_ & ~0x00000002); @@ -728,7 +728,7 @@ public Builder clearConfiguration() { return this; } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public io.a2a.grpc.SendMessageConfiguration.Builder getConfigurationBuilder() { bitField0_ |= 0x00000002; @@ -736,7 +736,7 @@ public io.a2a.grpc.SendMessageConfiguration.Builder getConfigurationBuilder() { return internalGetConfigurationFieldBuilder().getBuilder(); } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() { if (configurationBuilder_ != null) { @@ -747,7 +747,7 @@ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() } } /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.SendMessageConfiguration, io.a2a.grpc.SendMessageConfiguration.Builder, io.a2a.grpc.SendMessageConfigurationOrBuilder> @@ -767,14 +767,14 @@ public io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder() private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_; /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return ((bitField0_ & 0x00000004) != 0); } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -785,7 +785,7 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -801,7 +801,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -815,7 +815,7 @@ public Builder setMetadata( return this; } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -836,7 +836,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000004); @@ -849,7 +849,7 @@ public Builder clearMetadata() { return this; } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000004; @@ -857,7 +857,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { return internalGetMetadataFieldBuilder().getBuilder(); } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -868,7 +868,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { } } /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 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 824622db1..fc3632f6b 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageRequestOrBuilder.java @@ -11,47 +11,47 @@ public interface SendMessageRequestOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the request field is set. */ boolean hasRequest(); /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The request. */ io.a2a.grpc.Message getRequest(); /** - * .a2a.v1.Message request = 1 [json_name = "request", (.google.api.field_behavior) = REQUIRED]; + * .a2a.v1.Message request = 1 [(.google.api.field_behavior) = REQUIRED]; */ io.a2a.grpc.MessageOrBuilder getRequestOrBuilder(); /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return Whether the configuration field is set. */ boolean hasConfiguration(); /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; * @return The configuration. */ io.a2a.grpc.SendMessageConfiguration getConfiguration(); /** - * .a2a.v1.SendMessageConfiguration configuration = 2 [json_name = "configuration"]; + * .a2a.v1.SendMessageConfiguration configuration = 2; */ io.a2a.grpc.SendMessageConfigurationOrBuilder getConfigurationOrBuilder(); /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * .google.protobuf.Struct metadata = 3 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 3; */ 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 fbad3f50e..365bbcda2 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponse.java @@ -91,7 +91,7 @@ public int getNumber() { public static final int TASK_FIELD_NUMBER = 1; /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -99,7 +99,7 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -110,7 +110,7 @@ public io.a2a.grpc.Task getTask() { return io.a2a.grpc.Task.getDefaultInstance(); } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -531,7 +531,7 @@ 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 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -539,7 +539,7 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -557,7 +557,7 @@ public io.a2a.grpc.Task getTask() { } } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder setTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -573,7 +573,7 @@ public Builder setTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder setTask( io.a2a.grpc.Task.Builder builderForValue) { @@ -587,7 +587,7 @@ public Builder setTask( return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder mergeTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -610,7 +610,7 @@ public Builder mergeTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -629,13 +629,13 @@ public Builder clearTask() { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public io.a2a.grpc.Task.Builder getTaskBuilder() { return internalGetTaskFieldBuilder().getBuilder(); } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -649,7 +649,7 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { } } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Task, io.a2a.grpc.Task.Builder, io.a2a.grpc.TaskOrBuilder> 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 b0032bac7..deb31c6cf 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/SendMessageResponseOrBuilder.java @@ -11,17 +11,17 @@ public interface SendMessageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ boolean hasTask(); /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ io.a2a.grpc.Task getTask(); /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ io.a2a.grpc.TaskOrBuilder getTaskOrBuilder(); 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 f9a76e2a7..97291a324 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponse.java @@ -103,7 +103,7 @@ public int getNumber() { public static final int TASK_FIELD_NUMBER = 1; /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -111,7 +111,7 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -122,7 +122,7 @@ public io.a2a.grpc.Task getTask() { return io.a2a.grpc.Task.getDefaultInstance(); } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -165,7 +165,7 @@ public io.a2a.grpc.MessageOrBuilder getMsgOrBuilder() { public static final int STATUS_UPDATE_FIELD_NUMBER = 3; /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ @java.lang.Override @@ -173,7 +173,7 @@ public boolean hasStatusUpdate() { return payloadCase_ == 3; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ @java.lang.Override @@ -184,7 +184,7 @@ public io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate() { return io.a2a.grpc.TaskStatusUpdateEvent.getDefaultInstance(); } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { @@ -196,7 +196,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { public static final int ARTIFACT_UPDATE_FIELD_NUMBER = 4; /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ @java.lang.Override @@ -204,7 +204,7 @@ public boolean hasArtifactUpdate() { return payloadCase_ == 4; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ @java.lang.Override @@ -215,7 +215,7 @@ public io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate() { return io.a2a.grpc.TaskArtifactUpdateEvent.getDefaultInstance(); } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ @java.lang.Override public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() { @@ -679,7 +679,7 @@ 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 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ @java.lang.Override @@ -687,7 +687,7 @@ public boolean hasTask() { return payloadCase_ == 1; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ @java.lang.Override @@ -705,7 +705,7 @@ public io.a2a.grpc.Task getTask() { } } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder setTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -721,7 +721,7 @@ public Builder setTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder setTask( io.a2a.grpc.Task.Builder builderForValue) { @@ -735,7 +735,7 @@ public Builder setTask( return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder mergeTask(io.a2a.grpc.Task value) { if (taskBuilder_ == null) { @@ -758,7 +758,7 @@ public Builder mergeTask(io.a2a.grpc.Task value) { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public Builder clearTask() { if (taskBuilder_ == null) { @@ -777,13 +777,13 @@ public Builder clearTask() { return this; } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ public io.a2a.grpc.Task.Builder getTaskBuilder() { return internalGetTaskFieldBuilder().getBuilder(); } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ @java.lang.Override public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { @@ -797,7 +797,7 @@ public io.a2a.grpc.TaskOrBuilder getTaskOrBuilder() { } } /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Task, io.a2a.grpc.Task.Builder, io.a2a.grpc.TaskOrBuilder> @@ -963,7 +963,7 @@ public io.a2a.grpc.MessageOrBuilder getMsgOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatusUpdateEvent, io.a2a.grpc.TaskStatusUpdateEvent.Builder, io.a2a.grpc.TaskStatusUpdateEventOrBuilder> statusUpdateBuilder_; /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ @java.lang.Override @@ -971,7 +971,7 @@ public boolean hasStatusUpdate() { return payloadCase_ == 3; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ @java.lang.Override @@ -989,7 +989,7 @@ public io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate() { } } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder setStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { if (statusUpdateBuilder_ == null) { @@ -1005,7 +1005,7 @@ public Builder setStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { return this; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder setStatusUpdate( io.a2a.grpc.TaskStatusUpdateEvent.Builder builderForValue) { @@ -1019,7 +1019,7 @@ public Builder setStatusUpdate( return this; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder mergeStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { if (statusUpdateBuilder_ == null) { @@ -1042,7 +1042,7 @@ public Builder mergeStatusUpdate(io.a2a.grpc.TaskStatusUpdateEvent value) { return this; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public Builder clearStatusUpdate() { if (statusUpdateBuilder_ == null) { @@ -1061,13 +1061,13 @@ public Builder clearStatusUpdate() { return this; } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ public io.a2a.grpc.TaskStatusUpdateEvent.Builder getStatusUpdateBuilder() { return internalGetStatusUpdateFieldBuilder().getBuilder(); } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { @@ -1081,7 +1081,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { } } /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatusUpdateEvent, io.a2a.grpc.TaskStatusUpdateEvent.Builder, io.a2a.grpc.TaskStatusUpdateEventOrBuilder> @@ -1105,7 +1105,7 @@ public io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder() { private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskArtifactUpdateEvent, io.a2a.grpc.TaskArtifactUpdateEvent.Builder, io.a2a.grpc.TaskArtifactUpdateEventOrBuilder> artifactUpdateBuilder_; /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ @java.lang.Override @@ -1113,7 +1113,7 @@ public boolean hasArtifactUpdate() { return payloadCase_ == 4; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ @java.lang.Override @@ -1131,7 +1131,7 @@ public io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate() { } } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder setArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { if (artifactUpdateBuilder_ == null) { @@ -1147,7 +1147,7 @@ public Builder setArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { return this; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder setArtifactUpdate( io.a2a.grpc.TaskArtifactUpdateEvent.Builder builderForValue) { @@ -1161,7 +1161,7 @@ public Builder setArtifactUpdate( return this; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder mergeArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { if (artifactUpdateBuilder_ == null) { @@ -1184,7 +1184,7 @@ public Builder mergeArtifactUpdate(io.a2a.grpc.TaskArtifactUpdateEvent value) { return this; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public Builder clearArtifactUpdate() { if (artifactUpdateBuilder_ == null) { @@ -1203,13 +1203,13 @@ public Builder clearArtifactUpdate() { return this; } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ public io.a2a.grpc.TaskArtifactUpdateEvent.Builder getArtifactUpdateBuilder() { return internalGetArtifactUpdateFieldBuilder().getBuilder(); } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ @java.lang.Override public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() { @@ -1223,7 +1223,7 @@ public io.a2a.grpc.TaskArtifactUpdateEventOrBuilder getArtifactUpdateOrBuilder() } } /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskArtifactUpdateEvent, io.a2a.grpc.TaskArtifactUpdateEvent.Builder, io.a2a.grpc.TaskArtifactUpdateEventOrBuilder> 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 3a17929cd..c606a8751 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StreamResponseOrBuilder.java @@ -11,17 +11,17 @@ public interface StreamResponseOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return Whether the task field is set. */ boolean hasTask(); /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; * @return The task. */ io.a2a.grpc.Task getTask(); /** - * .a2a.v1.Task task = 1 [json_name = "task"]; + * .a2a.v1.Task task = 1; */ io.a2a.grpc.TaskOrBuilder getTaskOrBuilder(); @@ -41,32 +41,32 @@ public interface StreamResponseOrBuilder extends io.a2a.grpc.MessageOrBuilder getMsgOrBuilder(); /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return Whether the statusUpdate field is set. */ boolean hasStatusUpdate(); /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; * @return The statusUpdate. */ io.a2a.grpc.TaskStatusUpdateEvent getStatusUpdate(); /** - * .a2a.v1.TaskStatusUpdateEvent status_update = 3 [json_name = "statusUpdate"]; + * .a2a.v1.TaskStatusUpdateEvent status_update = 3; */ io.a2a.grpc.TaskStatusUpdateEventOrBuilder getStatusUpdateOrBuilder(); /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return Whether the artifactUpdate field is set. */ boolean hasArtifactUpdate(); /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4; * @return The artifactUpdate. */ io.a2a.grpc.TaskArtifactUpdateEvent getArtifactUpdate(); /** - * .a2a.v1.TaskArtifactUpdateEvent artifact_update = 4 [json_name = "artifactUpdate"]; + * .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 4ee06422d..c283c87fa 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StringList.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StringList.java @@ -54,7 +54,7 @@ private StringList() { private com.google.protobuf.LazyStringArrayList list_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return A list containing the list. */ public com.google.protobuf.ProtocolStringList @@ -62,14 +62,14 @@ private StringList() { return list_; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return The count of list. */ public int getListCount() { return list_.size(); } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param index The index of the element to return. * @return The list at the given index. */ @@ -77,7 +77,7 @@ public java.lang.String getList(int index) { return list_.get(index); } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param index The index of the value to return. * @return The bytes of the list at the given index. */ @@ -408,7 +408,7 @@ private void ensureListIsMutable() { bitField0_ |= 0x00000001; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return A list containing the list. */ public com.google.protobuf.ProtocolStringList @@ -417,14 +417,14 @@ private void ensureListIsMutable() { return list_; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return The count of list. */ public int getListCount() { return list_.size(); } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param index The index of the element to return. * @return The list at the given index. */ @@ -432,7 +432,7 @@ public java.lang.String getList(int index) { return list_.get(index); } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param index The index of the value to return. * @return The bytes of the list at the given index. */ @@ -441,7 +441,7 @@ public java.lang.String getList(int index) { return list_.getByteString(index); } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param index The index to set the value at. * @param value The list to set. * @return This builder for chaining. @@ -456,7 +456,7 @@ public Builder setList( return this; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param value The list to add. * @return This builder for chaining. */ @@ -470,7 +470,7 @@ public Builder addList( return this; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param values The list to add. * @return This builder for chaining. */ @@ -484,7 +484,7 @@ public Builder addAllList( return this; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return This builder for chaining. */ public Builder clearList() { @@ -495,7 +495,7 @@ public Builder clearList() { return this; } /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @param value The bytes of the list to add. * @return This builder for chaining. */ 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 fbc8bf9db..36007c638 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/StringListOrBuilder.java @@ -11,24 +11,24 @@ public interface StringListOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return A list containing the list. */ java.util.List getListList(); /** - * repeated string list = 1 [json_name = "list"]; + * repeated string list = 1; * @return The count of list. */ int getListCount(); /** - * repeated string list = 1 [json_name = "list"]; + * 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); /** - * repeated string list = 1 [json_name = "list"]; + * 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/Task.java b/spec-grpc/src/main/java/io/a2a/grpc/Task.java index 74605278b..05a007f63 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/Task.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/Task.java @@ -63,7 +63,7 @@ private Task() { * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ @java.lang.Override @@ -84,7 +84,7 @@ public java.lang.String getId() { * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ @java.lang.Override @@ -111,7 +111,7 @@ public java.lang.String getId() { * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ @java.lang.Override @@ -133,7 +133,7 @@ public java.lang.String getContextId() { * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ @java.lang.Override @@ -158,7 +158,7 @@ public java.lang.String getContextId() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override @@ -170,7 +170,7 @@ public boolean hasStatus() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ @java.lang.Override @@ -182,7 +182,7 @@ public io.a2a.grpc.TaskStatus getStatus() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { @@ -197,7 +197,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public java.util.List getArtifactsList() { @@ -208,7 +208,7 @@ public java.util.List getArtifactsList() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public java.util.List @@ -220,7 +220,7 @@ public java.util.List getArtifactsList() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public int getArtifactsCount() { @@ -231,7 +231,7 @@ public int getArtifactsCount() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public io.a2a.grpc.Artifact getArtifacts(int index) { @@ -242,7 +242,7 @@ public io.a2a.grpc.Artifact getArtifacts(int index) { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ @java.lang.Override public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( @@ -259,7 +259,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ @java.lang.Override public java.util.List getHistoryList() { @@ -271,7 +271,7 @@ public java.util.List getHistoryList() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ @java.lang.Override public java.util.List @@ -284,7 +284,7 @@ public java.util.List getHistoryList() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ @java.lang.Override public int getHistoryCount() { @@ -296,7 +296,7 @@ public int getHistoryCount() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ @java.lang.Override public io.a2a.grpc.Message getHistory(int index) { @@ -308,7 +308,7 @@ public io.a2a.grpc.Message getHistory(int index) { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ @java.lang.Override public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( @@ -324,7 +324,7 @@ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ @java.lang.Override @@ -337,7 +337,7 @@ public boolean hasMetadata() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ @java.lang.Override @@ -350,7 +350,7 @@ public com.google.protobuf.Struct getMetadata() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -913,7 +913,7 @@ public Builder mergeFrom( * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ public java.lang.String getId() { @@ -933,7 +933,7 @@ public java.lang.String getId() { * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString @@ -954,7 +954,7 @@ public java.lang.String getId() { * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The id to set. * @return This builder for chaining. */ @@ -971,7 +971,7 @@ public Builder setId( * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return This builder for chaining. */ public Builder clearId() { @@ -985,7 +985,7 @@ public Builder clearId() { * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -1006,7 +1006,7 @@ public Builder setIdBytes( * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ public java.lang.String getContextId() { @@ -1027,7 +1027,7 @@ public java.lang.String getContextId() { * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ public com.google.protobuf.ByteString @@ -1049,7 +1049,7 @@ public java.lang.String getContextId() { * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The contextId to set. * @return This builder for chaining. */ @@ -1067,7 +1067,7 @@ public Builder setContextId( * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return This builder for chaining. */ public Builder clearContextId() { @@ -1082,7 +1082,7 @@ public Builder clearContextId() { * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The bytes for contextId to set. * @return This builder for chaining. */ @@ -1104,7 +1104,7 @@ public Builder setContextIdBytes( * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { @@ -1115,7 +1115,7 @@ public boolean hasStatus() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ public io.a2a.grpc.TaskStatus getStatus() { @@ -1130,7 +1130,7 @@ public io.a2a.grpc.TaskStatus getStatus() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder setStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -1150,7 +1150,7 @@ public Builder setStatus(io.a2a.grpc.TaskStatus value) { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder setStatus( io.a2a.grpc.TaskStatus.Builder builderForValue) { @@ -1168,7 +1168,7 @@ public Builder setStatus( * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -1193,7 +1193,7 @@ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1210,7 +1210,7 @@ public Builder clearStatus() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { bitField0_ |= 0x00000004; @@ -1222,7 +1222,7 @@ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { @@ -1237,7 +1237,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatus, io.a2a.grpc.TaskStatus.Builder, io.a2a.grpc.TaskStatusOrBuilder> @@ -1270,7 +1270,7 @@ private void ensureArtifactsIsMutable() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsList() { if (artifactsBuilder_ == null) { @@ -1284,7 +1284,7 @@ public java.util.List getArtifactsList() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public int getArtifactsCount() { if (artifactsBuilder_ == null) { @@ -1298,7 +1298,7 @@ public int getArtifactsCount() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact getArtifacts(int index) { if (artifactsBuilder_ == null) { @@ -1312,7 +1312,7 @@ public io.a2a.grpc.Artifact getArtifacts(int index) { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder setArtifacts( int index, io.a2a.grpc.Artifact value) { @@ -1333,7 +1333,7 @@ public Builder setArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder setArtifacts( int index, io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1351,7 +1351,7 @@ public Builder setArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts(io.a2a.grpc.Artifact value) { if (artifactsBuilder_ == null) { @@ -1371,7 +1371,7 @@ public Builder addArtifacts(io.a2a.grpc.Artifact value) { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( int index, io.a2a.grpc.Artifact value) { @@ -1392,7 +1392,7 @@ public Builder addArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1410,7 +1410,7 @@ public Builder addArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder addArtifacts( int index, io.a2a.grpc.Artifact.Builder builderForValue) { @@ -1428,7 +1428,7 @@ public Builder addArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder addAllArtifacts( java.lang.Iterable values) { @@ -1447,7 +1447,7 @@ public Builder addAllArtifacts( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder clearArtifacts() { if (artifactsBuilder_ == null) { @@ -1464,7 +1464,7 @@ public Builder clearArtifacts() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public Builder removeArtifacts(int index) { if (artifactsBuilder_ == null) { @@ -1481,7 +1481,7 @@ public Builder removeArtifacts(int index) { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder getArtifactsBuilder( int index) { @@ -1492,7 +1492,7 @@ public io.a2a.grpc.Artifact.Builder getArtifactsBuilder( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( int index) { @@ -1506,7 +1506,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsOrBuilderList() { @@ -1521,7 +1521,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder() { return internalGetArtifactsFieldBuilder().addBuilder( @@ -1532,7 +1532,7 @@ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder() { * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder( int index) { @@ -1544,7 +1544,7 @@ public io.a2a.grpc.Artifact.Builder addArtifactsBuilder( * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ public java.util.List getArtifactsBuilderList() { @@ -1583,7 +1583,7 @@ private void ensureHistoryIsMutable() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public java.util.List getHistoryList() { if (historyBuilder_ == null) { @@ -1598,7 +1598,7 @@ public java.util.List getHistoryList() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public int getHistoryCount() { if (historyBuilder_ == null) { @@ -1613,7 +1613,7 @@ public int getHistoryCount() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public io.a2a.grpc.Message getHistory(int index) { if (historyBuilder_ == null) { @@ -1628,7 +1628,7 @@ public io.a2a.grpc.Message getHistory(int index) { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder setHistory( int index, io.a2a.grpc.Message value) { @@ -1650,7 +1650,7 @@ public Builder setHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder setHistory( int index, io.a2a.grpc.Message.Builder builderForValue) { @@ -1669,7 +1669,7 @@ public Builder setHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder addHistory(io.a2a.grpc.Message value) { if (historyBuilder_ == null) { @@ -1690,7 +1690,7 @@ public Builder addHistory(io.a2a.grpc.Message value) { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder addHistory( int index, io.a2a.grpc.Message value) { @@ -1712,7 +1712,7 @@ public Builder addHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder addHistory( io.a2a.grpc.Message.Builder builderForValue) { @@ -1731,7 +1731,7 @@ public Builder addHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder addHistory( int index, io.a2a.grpc.Message.Builder builderForValue) { @@ -1750,7 +1750,7 @@ public Builder addHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder addAllHistory( java.lang.Iterable values) { @@ -1770,7 +1770,7 @@ public Builder addAllHistory( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder clearHistory() { if (historyBuilder_ == null) { @@ -1788,7 +1788,7 @@ public Builder clearHistory() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public Builder removeHistory(int index) { if (historyBuilder_ == null) { @@ -1806,7 +1806,7 @@ public Builder removeHistory(int index) { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder getHistoryBuilder( int index) { @@ -1818,7 +1818,7 @@ public io.a2a.grpc.Message.Builder getHistoryBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( int index) { @@ -1833,7 +1833,7 @@ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public java.util.List getHistoryOrBuilderList() { @@ -1849,7 +1849,7 @@ public io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder addHistoryBuilder() { return internalGetHistoryFieldBuilder().addBuilder( @@ -1861,7 +1861,7 @@ public io.a2a.grpc.Message.Builder addHistoryBuilder() { * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public io.a2a.grpc.Message.Builder addHistoryBuilder( int index) { @@ -1874,7 +1874,7 @@ public io.a2a.grpc.Message.Builder addHistoryBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ public java.util.List getHistoryBuilderList() { @@ -1904,7 +1904,7 @@ public io.a2a.grpc.Message.Builder addHistoryBuilder( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1916,7 +1916,7 @@ public boolean hasMetadata() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1932,7 +1932,7 @@ public com.google.protobuf.Struct getMetadata() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1953,7 +1953,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1972,7 +1972,7 @@ public Builder setMetadata( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1998,7 +1998,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2016,7 +2016,7 @@ public Builder clearMetadata() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000020; @@ -2029,7 +2029,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -2045,7 +2045,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 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 2019adc0c..379413bb4 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEvent.java @@ -59,7 +59,7 @@ private TaskArtifactUpdateEvent() { * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ @java.lang.Override @@ -80,7 +80,7 @@ public java.lang.String getTaskId() { * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ @java.lang.Override @@ -106,7 +106,7 @@ public java.lang.String getTaskId() { * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getContextId() { * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ @java.lang.Override @@ -152,7 +152,7 @@ public java.lang.String getContextId() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return Whether the artifact field is set. */ @java.lang.Override @@ -164,7 +164,7 @@ public boolean hasArtifact() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return The artifact. */ @java.lang.Override @@ -176,7 +176,7 @@ public io.a2a.grpc.Artifact getArtifact() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ @java.lang.Override public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { @@ -190,7 +190,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { * Whether this should be appended to a prior one produced * * - * bool append = 4 [json_name = "append"]; + * bool append = 4; * @return The append. */ @java.lang.Override @@ -205,7 +205,7 @@ public boolean getAppend() { * Whether this represents the last part of an artifact * * - * bool last_chunk = 5 [json_name = "lastChunk"]; + * bool last_chunk = 5; * @return The lastChunk. */ @java.lang.Override @@ -220,7 +220,7 @@ public boolean getLastChunk() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ @java.lang.Override @@ -232,7 +232,7 @@ public boolean hasMetadata() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ @java.lang.Override @@ -244,7 +244,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -711,7 +711,7 @@ public Builder mergeFrom( * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ public java.lang.String getTaskId() { @@ -731,7 +731,7 @@ public java.lang.String getTaskId() { * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -752,7 +752,7 @@ public java.lang.String getTaskId() { * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @param value The taskId to set. * @return This builder for chaining. */ @@ -769,7 +769,7 @@ public Builder setTaskId( * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -783,7 +783,7 @@ public Builder clearTaskId() { * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -803,7 +803,7 @@ public Builder setTaskIdBytes( * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ public java.lang.String getContextId() { @@ -823,7 +823,7 @@ public java.lang.String getContextId() { * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ public com.google.protobuf.ByteString @@ -844,7 +844,7 @@ public java.lang.String getContextId() { * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The contextId to set. * @return This builder for chaining. */ @@ -861,7 +861,7 @@ public Builder setContextId( * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return This builder for chaining. */ public Builder clearContextId() { @@ -875,7 +875,7 @@ public Builder clearContextId() { * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The bytes for contextId to set. * @return This builder for chaining. */ @@ -897,7 +897,7 @@ public Builder setContextIdBytes( * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return Whether the artifact field is set. */ public boolean hasArtifact() { @@ -908,7 +908,7 @@ public boolean hasArtifact() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return The artifact. */ public io.a2a.grpc.Artifact getArtifact() { @@ -923,7 +923,7 @@ public io.a2a.grpc.Artifact getArtifact() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public Builder setArtifact(io.a2a.grpc.Artifact value) { if (artifactBuilder_ == null) { @@ -943,7 +943,7 @@ public Builder setArtifact(io.a2a.grpc.Artifact value) { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public Builder setArtifact( io.a2a.grpc.Artifact.Builder builderForValue) { @@ -961,7 +961,7 @@ public Builder setArtifact( * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public Builder mergeArtifact(io.a2a.grpc.Artifact value) { if (artifactBuilder_ == null) { @@ -986,7 +986,7 @@ public Builder mergeArtifact(io.a2a.grpc.Artifact value) { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public Builder clearArtifact() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1003,7 +1003,7 @@ public Builder clearArtifact() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public io.a2a.grpc.Artifact.Builder getArtifactBuilder() { bitField0_ |= 0x00000004; @@ -1015,7 +1015,7 @@ public io.a2a.grpc.Artifact.Builder getArtifactBuilder() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { if (artifactBuilder_ != null) { @@ -1030,7 +1030,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.Artifact, io.a2a.grpc.Artifact.Builder, io.a2a.grpc.ArtifactOrBuilder> @@ -1052,7 +1052,7 @@ public io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder() { * Whether this should be appended to a prior one produced * * - * bool append = 4 [json_name = "append"]; + * bool append = 4; * @return The append. */ @java.lang.Override @@ -1064,7 +1064,7 @@ public boolean getAppend() { * Whether this should be appended to a prior one produced * * - * bool append = 4 [json_name = "append"]; + * bool append = 4; * @param value The append to set. * @return This builder for chaining. */ @@ -1080,7 +1080,7 @@ public Builder setAppend(boolean value) { * Whether this should be appended to a prior one produced * * - * bool append = 4 [json_name = "append"]; + * bool append = 4; * @return This builder for chaining. */ public Builder clearAppend() { @@ -1096,7 +1096,7 @@ public Builder clearAppend() { * Whether this represents the last part of an artifact * * - * bool last_chunk = 5 [json_name = "lastChunk"]; + * bool last_chunk = 5; * @return The lastChunk. */ @java.lang.Override @@ -1108,7 +1108,7 @@ public boolean getLastChunk() { * Whether this represents the last part of an artifact * * - * bool last_chunk = 5 [json_name = "lastChunk"]; + * bool last_chunk = 5; * @param value The lastChunk to set. * @return This builder for chaining. */ @@ -1124,7 +1124,7 @@ public Builder setLastChunk(boolean value) { * Whether this represents the last part of an artifact * * - * bool last_chunk = 5 [json_name = "lastChunk"]; + * bool last_chunk = 5; * @return This builder for chaining. */ public Builder clearLastChunk() { @@ -1142,7 +1142,7 @@ public Builder clearLastChunk() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1153,7 +1153,7 @@ public boolean hasMetadata() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1168,7 +1168,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1188,7 +1188,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1206,7 +1206,7 @@ public Builder setMetadata( * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1231,7 +1231,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000020); @@ -1248,7 +1248,7 @@ public Builder clearMetadata() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000020; @@ -1260,7 +1260,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1275,7 +1275,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 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 5e0c4c98f..8d208de11 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskArtifactUpdateEventOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ java.lang.String getTaskId(); @@ -24,7 +24,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The id of the task for this artifact * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ java.lang.String getContextId(); @@ -44,7 +44,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The id of the context that this task belongs too * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return Whether the artifact field is set. */ boolean hasArtifact(); @@ -64,7 +64,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; * @return The artifact. */ io.a2a.grpc.Artifact getArtifact(); @@ -73,7 +73,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * The artifact itself * * - * .a2a.v1.Artifact artifact = 3 [json_name = "artifact"]; + * .a2a.v1.Artifact artifact = 3; */ io.a2a.grpc.ArtifactOrBuilder getArtifactOrBuilder(); @@ -82,7 +82,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * Whether this should be appended to a prior one produced * * - * bool append = 4 [json_name = "append"]; + * bool append = 4; * @return The append. */ boolean getAppend(); @@ -92,7 +92,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * Whether this represents the last part of an artifact * * - * bool last_chunk = 5 [json_name = "lastChunk"]; + * bool last_chunk = 5; * @return The lastChunk. */ boolean getLastChunk(); @@ -102,7 +102,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -111,7 +111,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -120,7 +120,7 @@ public interface TaskArtifactUpdateEventOrBuilder extends * Optional metadata associated with the artifact update. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } 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 d4bcf9727..3bbe9e999 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskOrBuilder extends * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The id. */ java.lang.String getId(); @@ -24,7 +24,7 @@ public interface TaskOrBuilder extends * Unique identifier for a task, created by the A2A server. * * - * string id = 1 [json_name = "id"]; + * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString @@ -36,7 +36,7 @@ public interface TaskOrBuilder extends * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ java.lang.String getContextId(); @@ -46,7 +46,7 @@ public interface TaskOrBuilder extends * and messages). Created by the A2A server. * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ com.google.protobuf.ByteString @@ -57,7 +57,7 @@ public interface TaskOrBuilder extends * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); @@ -66,7 +66,7 @@ public interface TaskOrBuilder extends * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ io.a2a.grpc.TaskStatus getStatus(); @@ -75,7 +75,7 @@ public interface TaskOrBuilder extends * The current status of a Task, including state and a message. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder(); @@ -84,7 +84,7 @@ public interface TaskOrBuilder extends * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ java.util.List getArtifactsList(); @@ -93,7 +93,7 @@ public interface TaskOrBuilder extends * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ io.a2a.grpc.Artifact getArtifacts(int index); /** @@ -101,7 +101,7 @@ public interface TaskOrBuilder extends * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ int getArtifactsCount(); /** @@ -109,7 +109,7 @@ public interface TaskOrBuilder extends * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ java.util.List getArtifactsOrBuilderList(); @@ -118,7 +118,7 @@ public interface TaskOrBuilder extends * A set of output artifacts for a Task. * * - * repeated .a2a.v1.Artifact artifacts = 4 [json_name = "artifacts"]; + * repeated .a2a.v1.Artifact artifacts = 4; */ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( int index); @@ -129,7 +129,7 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ java.util.List getHistoryList(); @@ -139,7 +139,7 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ io.a2a.grpc.Message getHistory(int index); /** @@ -148,7 +148,7 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ int getHistoryCount(); /** @@ -157,7 +157,7 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ java.util.List getHistoryOrBuilderList(); @@ -167,7 +167,7 @@ io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder( * The history of interactions from a task. * * - * repeated .a2a.v1.Message history = 5 [json_name = "history"]; + * repeated .a2a.v1.Message history = 5; */ io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( int index); @@ -178,7 +178,7 @@ io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -188,7 +188,7 @@ io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -198,7 +198,7 @@ io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder( * A key/value object to store custom metadata about a task. * * - * .google.protobuf.Struct metadata = 6 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 6; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } 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 89d2fdd85..b7dabc6e8 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfig.java @@ -53,7 +53,7 @@ private TaskPushNotificationConfig() { * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -74,7 +74,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -95,7 +95,7 @@ public java.lang.String getName() { public static final int PUSH_NOTIFICATION_CONFIG_FIELD_NUMBER = 2; private io.a2a.grpc.PushNotificationConfig pushNotificationConfig_; /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ @java.lang.Override @@ -103,7 +103,7 @@ public boolean hasPushNotificationConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ @java.lang.Override @@ -111,7 +111,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { return pushNotificationConfig_ == null ? io.a2a.grpc.PushNotificationConfig.getDefaultInstance() : pushNotificationConfig_; } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ @java.lang.Override public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { @@ -463,7 +463,7 @@ public Builder mergeFrom( * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -483,7 +483,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -504,7 +504,7 @@ public java.lang.String getName() { * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -521,7 +521,7 @@ public Builder setName( * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -535,7 +535,7 @@ public Builder clearName() { * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -553,14 +553,14 @@ public Builder setNameBytes( private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.PushNotificationConfig, io.a2a.grpc.PushNotificationConfig.Builder, io.a2a.grpc.PushNotificationConfigOrBuilder> pushNotificationConfigBuilder_; /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ public boolean hasPushNotificationConfig() { return ((bitField0_ & 0x00000002) != 0); } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { @@ -571,7 +571,7 @@ public io.a2a.grpc.PushNotificationConfig getPushNotificationConfig() { } } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { @@ -587,7 +587,7 @@ public Builder setPushNotificationConfig(io.a2a.grpc.PushNotificationConfig valu return this; } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder setPushNotificationConfig( io.a2a.grpc.PushNotificationConfig.Builder builderForValue) { @@ -601,7 +601,7 @@ public Builder setPushNotificationConfig( return this; } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig value) { if (pushNotificationConfigBuilder_ == null) { @@ -622,7 +622,7 @@ public Builder mergePushNotificationConfig(io.a2a.grpc.PushNotificationConfig va return this; } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public Builder clearPushNotificationConfig() { bitField0_ = (bitField0_ & ~0x00000002); @@ -635,7 +635,7 @@ public Builder clearPushNotificationConfig() { return this; } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuilder() { bitField0_ |= 0x00000002; @@ -643,7 +643,7 @@ public io.a2a.grpc.PushNotificationConfig.Builder getPushNotificationConfigBuild return internalGetPushNotificationConfigFieldBuilder().getBuilder(); } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder() { if (pushNotificationConfigBuilder_ != null) { @@ -654,7 +654,7 @@ public io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBu } } /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .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> 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 923cdb062..660399e6d 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskPushNotificationConfigOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskPushNotificationConfigOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -24,24 +24,24 @@ public interface TaskPushNotificationConfigOrBuilder extends * name=tasks/{id}/pushNotificationConfigs/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return Whether the pushNotificationConfig field is set. */ boolean hasPushNotificationConfig(); /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; * @return The pushNotificationConfig. */ io.a2a.grpc.PushNotificationConfig getPushNotificationConfig(); /** - * .a2a.v1.PushNotificationConfig push_notification_config = 2 [json_name = "pushNotificationConfig"]; + * .a2a.v1.PushNotificationConfig push_notification_config = 2; */ io.a2a.grpc.PushNotificationConfigOrBuilder getPushNotificationConfigOrBuilder(); } 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 5ff2e72a7..684be6c4a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatus.java @@ -56,7 +56,7 @@ private TaskStatus() { * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { @@ -67,7 +67,7 @@ private TaskStatus() { * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return The state. */ @java.lang.Override public io.a2a.grpc.TaskState getState() { @@ -121,7 +121,7 @@ public io.a2a.grpc.MessageOrBuilder getUpdateOrBuilder() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return Whether the timestamp field is set. */ @java.lang.Override @@ -134,7 +134,7 @@ public boolean hasTimestamp() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return The timestamp. */ @java.lang.Override @@ -147,7 +147,7 @@ public com.google.protobuf.Timestamp getTimestamp() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { @@ -539,7 +539,7 @@ public Builder mergeFrom( * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return The enum numeric value on the wire for state. */ @java.lang.Override public int getStateValue() { @@ -550,7 +550,7 @@ public Builder mergeFrom( * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -565,7 +565,7 @@ public Builder setStateValue(int value) { * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return The state. */ @java.lang.Override @@ -578,7 +578,7 @@ public io.a2a.grpc.TaskState getState() { * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @param value The state to set. * @return This builder for chaining. */ @@ -594,7 +594,7 @@ public Builder setState(io.a2a.grpc.TaskState value) { * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return This builder for chaining. */ public Builder clearState() { @@ -770,7 +770,7 @@ public io.a2a.grpc.MessageOrBuilder getUpdateOrBuilder() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return Whether the timestamp field is set. */ public boolean hasTimestamp() { @@ -782,7 +782,7 @@ public boolean hasTimestamp() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return The timestamp. */ public com.google.protobuf.Timestamp getTimestamp() { @@ -798,7 +798,7 @@ public com.google.protobuf.Timestamp getTimestamp() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public Builder setTimestamp(com.google.protobuf.Timestamp value) { if (timestampBuilder_ == null) { @@ -819,7 +819,7 @@ public Builder setTimestamp(com.google.protobuf.Timestamp value) { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public Builder setTimestamp( com.google.protobuf.Timestamp.Builder builderForValue) { @@ -838,7 +838,7 @@ public Builder setTimestamp( * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { if (timestampBuilder_ == null) { @@ -864,7 +864,7 @@ public Builder mergeTimestamp(com.google.protobuf.Timestamp value) { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000004); @@ -882,7 +882,7 @@ public Builder clearTimestamp() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { bitField0_ |= 0x00000004; @@ -895,7 +895,7 @@ public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { if (timestampBuilder_ != null) { @@ -911,7 +911,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 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 2fc574154..4f5a1670a 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskStatusOrBuilder extends * The current state of this task * * - * .a2a.v1.TaskState state = 1 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @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 [json_name = "state"]; + * .a2a.v1.TaskState state = 1; * @return The state. */ io.a2a.grpc.TaskState getState(); @@ -62,7 +62,7 @@ public interface TaskStatusOrBuilder extends * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return Whether the timestamp field is set. */ boolean hasTimestamp(); @@ -72,7 +72,7 @@ public interface TaskStatusOrBuilder extends * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); @@ -82,7 +82,7 @@ public interface TaskStatusOrBuilder extends * Example: "2023-10-27T10:00:00Z" * * - * .google.protobuf.Timestamp timestamp = 3 [json_name = "timestamp"]; + * .google.protobuf.Timestamp timestamp = 3; */ com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder(); } 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 61cf2a157..72d6c57bc 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEvent.java @@ -59,7 +59,7 @@ private TaskStatusUpdateEvent() { * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ @java.lang.Override @@ -80,7 +80,7 @@ public java.lang.String getTaskId() { * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ @java.lang.Override @@ -106,7 +106,7 @@ public java.lang.String getTaskId() { * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ @java.lang.Override @@ -127,7 +127,7 @@ public java.lang.String getContextId() { * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ @java.lang.Override @@ -152,7 +152,7 @@ public java.lang.String getContextId() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override @@ -164,7 +164,7 @@ public boolean hasStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ @java.lang.Override @@ -176,7 +176,7 @@ public io.a2a.grpc.TaskStatus getStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ @java.lang.Override public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { @@ -190,7 +190,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * Whether this is the last status update expected for this task. * * - * bool final = 4 [json_name = "final"]; + * bool final = 4; * @return The final. */ @java.lang.Override @@ -205,7 +205,7 @@ public boolean getFinal() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ @java.lang.Override @@ -217,7 +217,7 @@ public boolean hasMetadata() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ @java.lang.Override @@ -229,7 +229,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { @@ -672,7 +672,7 @@ public Builder mergeFrom( * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ public java.lang.String getTaskId() { @@ -692,7 +692,7 @@ public java.lang.String getTaskId() { * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ public com.google.protobuf.ByteString @@ -713,7 +713,7 @@ public java.lang.String getTaskId() { * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @param value The taskId to set. * @return This builder for chaining. */ @@ -730,7 +730,7 @@ public Builder setTaskId( * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return This builder for chaining. */ public Builder clearTaskId() { @@ -744,7 +744,7 @@ public Builder clearTaskId() { * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @param value The bytes for taskId to set. * @return This builder for chaining. */ @@ -764,7 +764,7 @@ public Builder setTaskIdBytes( * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ public java.lang.String getContextId() { @@ -784,7 +784,7 @@ public java.lang.String getContextId() { * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ public com.google.protobuf.ByteString @@ -805,7 +805,7 @@ public java.lang.String getContextId() { * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The contextId to set. * @return This builder for chaining. */ @@ -822,7 +822,7 @@ public Builder setContextId( * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return This builder for chaining. */ public Builder clearContextId() { @@ -836,7 +836,7 @@ public Builder clearContextId() { * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @param value The bytes for contextId to set. * @return This builder for chaining. */ @@ -858,7 +858,7 @@ public Builder setContextIdBytes( * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { @@ -869,7 +869,7 @@ public boolean hasStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ public io.a2a.grpc.TaskStatus getStatus() { @@ -884,7 +884,7 @@ public io.a2a.grpc.TaskStatus getStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder setStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -904,7 +904,7 @@ public Builder setStatus(io.a2a.grpc.TaskStatus value) { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder setStatus( io.a2a.grpc.TaskStatus.Builder builderForValue) { @@ -922,7 +922,7 @@ public Builder setStatus( * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { if (statusBuilder_ == null) { @@ -947,7 +947,7 @@ public Builder mergeStatus(io.a2a.grpc.TaskStatus value) { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); @@ -964,7 +964,7 @@ public Builder clearStatus() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { bitField0_ |= 0x00000004; @@ -976,7 +976,7 @@ public io.a2a.grpc.TaskStatus.Builder getStatusBuilder() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { @@ -991,7 +991,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ private com.google.protobuf.SingleFieldBuilder< io.a2a.grpc.TaskStatus, io.a2a.grpc.TaskStatus.Builder, io.a2a.grpc.TaskStatusOrBuilder> @@ -1013,7 +1013,7 @@ public io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder() { * Whether this is the last status update expected for this task. * * - * bool final = 4 [json_name = "final"]; + * bool final = 4; * @return The final. */ @java.lang.Override @@ -1025,7 +1025,7 @@ public boolean getFinal() { * Whether this is the last status update expected for this task. * * - * bool final = 4 [json_name = "final"]; + * bool final = 4; * @param value The final to set. * @return This builder for chaining. */ @@ -1041,7 +1041,7 @@ public Builder setFinal(boolean value) { * Whether this is the last status update expected for this task. * * - * bool final = 4 [json_name = "final"]; + * bool final = 4; * @return This builder for chaining. */ public Builder clearFinal() { @@ -1059,7 +1059,7 @@ public Builder clearFinal() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ public boolean hasMetadata() { @@ -1070,7 +1070,7 @@ public boolean hasMetadata() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1085,7 +1085,7 @@ public com.google.protobuf.Struct getMetadata() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1105,7 +1105,7 @@ public Builder setMetadata(com.google.protobuf.Struct value) { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public Builder setMetadata( com.google.protobuf.Struct.Builder builderForValue) { @@ -1123,7 +1123,7 @@ public Builder setMetadata( * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1148,7 +1148,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public Builder clearMetadata() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1165,7 +1165,7 @@ public Builder clearMetadata() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { bitField0_ |= 0x00000010; @@ -1177,7 +1177,7 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { @@ -1192,7 +1192,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 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 42fd0d67f..264b19295 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskStatusUpdateEventOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The taskId. */ java.lang.String getTaskId(); @@ -24,7 +24,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The id of the task that is changed * * - * string task_id = 1 [json_name = "taskId"]; + * string task_id = 1; * @return The bytes for taskId. */ com.google.protobuf.ByteString @@ -35,7 +35,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The contextId. */ java.lang.String getContextId(); @@ -44,7 +44,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The id of the context that the task belongs to * * - * string context_id = 2 [json_name = "contextId"]; + * string context_id = 2; * @return The bytes for contextId. */ com.google.protobuf.ByteString @@ -55,7 +55,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @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 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; * @return The status. */ io.a2a.grpc.TaskStatus getStatus(); @@ -73,7 +73,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * The new status of the task. * * - * .a2a.v1.TaskStatus status = 3 [json_name = "status"]; + * .a2a.v1.TaskStatus status = 3; */ io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder(); @@ -82,7 +82,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * Whether this is the last status update expected for this task. * * - * bool final = 4 [json_name = "final"]; + * bool final = 4; * @return The final. */ boolean getFinal(); @@ -92,7 +92,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return Whether the metadata field is set. */ boolean hasMetadata(); @@ -101,7 +101,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; * @return The metadata. */ com.google.protobuf.Struct getMetadata(); @@ -110,7 +110,7 @@ public interface TaskStatusUpdateEventOrBuilder extends * Optional metadata to associate with the task update. * * - * .google.protobuf.Struct metadata = 5 [json_name = "metadata"]; + * .google.protobuf.Struct metadata = 5; */ com.google.protobuf.StructOrBuilder getMetadataOrBuilder(); } diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequest.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequest.java index 5f4020608..fb5317c33 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequest.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequest.java @@ -52,7 +52,7 @@ private TaskSubscriptionRequest() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ @java.lang.Override @@ -73,7 +73,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ @java.lang.Override @@ -391,7 +391,7 @@ public Builder mergeFrom( * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ public java.lang.String getName() { @@ -411,7 +411,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ public com.google.protobuf.ByteString @@ -432,7 +432,7 @@ public java.lang.String getName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The name to set. * @return This builder for chaining. */ @@ -449,7 +449,7 @@ public Builder setName( * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return This builder for chaining. */ public Builder clearName() { @@ -463,7 +463,7 @@ public Builder clearName() { * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @param value The bytes for name to set. * @return This builder for chaining. */ diff --git a/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequestOrBuilder.java b/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequestOrBuilder.java index da8c0e621..db4c6f9a7 100644 --- a/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequestOrBuilder.java +++ b/spec-grpc/src/main/java/io/a2a/grpc/TaskSubscriptionRequestOrBuilder.java @@ -15,7 +15,7 @@ public interface TaskSubscriptionRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The name. */ java.lang.String getName(); @@ -24,7 +24,7 @@ public interface TaskSubscriptionRequestOrBuilder extends * name=tasks/{id} * * - * string name = 1 [json_name = "name"]; + * string name = 1; * @return The bytes for name. */ com.google.protobuf.ByteString diff --git a/spec-grpc/src/main/proto/a2a.proto b/spec-grpc/src/main/proto/a2a.proto new file mode 100644 index 000000000..8bada0795 --- /dev/null +++ b/spec-grpc/src/main/proto/a2a.proto @@ -0,0 +1,674 @@ +// Older protoc compilers don't understand edition yet. +syntax = "proto3"; +package a2a.v1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/struct.proto"; +import "google/protobuf/timestamp.proto"; + +// Copied from https://github.com/a2aproject/A2A/blob/v0.2.6/specification/grpc/a2a.proto +// The only change is the 'java_package' update + +option csharp_namespace = "A2a.V1"; +option go_package = "google.golang.org/a2a/v1"; +option java_multiple_files = true; +option java_outer_classname = "A2A"; +// Update package from the spec version +option java_package = "io.a2a.grpc"; + +// A2AService defines the gRPC version of the A2A protocol. This has a slightly +// different shape than the JSONRPC version to better conform to AIP-127, +// where appropriate. The nouns are AgentCard, Message, Task and +// TaskPushNotificationConfig. +// - Messages are not a standard resource so there is no get/delete/update/list +// interface, only a send and stream custom methods. +// - Tasks have a get interface and custom cancel and subscribe methods. +// - TaskPushNotificationConfig are a resource whose parent is a task. +// They have get, list and create methods. +// - AgentCard is a static resource with only a get method. +// fields are not present as they don't comply with AIP rules, and the +// optional history_length on the get task method is not present as it also +// violates AIP-127 and AIP-131. +service A2AService { + // Send a message to the agent. This is a blocking call that will return the + // task once it is completed, or a LRO if requested. + rpc SendMessage(SendMessageRequest) returns (SendMessageResponse) { + option (google.api.http) = { + post: "/v1/message:send" + body: "*" + }; + } + // SendStreamingMessage is a streaming call that will return a stream of + // task update events until the Task is in an interrupted or terminal state. + rpc SendStreamingMessage(SendMessageRequest) returns (stream StreamResponse) { + option (google.api.http) = { + post: "/v1/message:stream" + body: "*" + }; + } + + // Get the current state of a task from the agent. + rpc GetTask(GetTaskRequest) returns (Task) { + option (google.api.http) = { + get: "/v1/{name=tasks/*}" + }; + option (google.api.method_signature) = "name"; + } + // Cancel a task from the agent. If supported one should expect no + // more task updates for the task. + rpc CancelTask(CancelTaskRequest) returns (Task) { + option (google.api.http) = { + post: "/v1/{name=tasks/*}:cancel" + body: "*" + }; + } + // TaskSubscription is a streaming call that will return a stream of task + // update events. This attaches the stream to an existing in process task. + // If the task is complete the stream will return the completed task (like + // GetTask) and close the stream. + rpc TaskSubscription(TaskSubscriptionRequest) + returns (stream StreamResponse) { + option (google.api.http) = { + get: "/v1/{name=tasks/*}:subscribe" + }; + } + + // Set a push notification config for a task. + rpc CreateTaskPushNotificationConfig(CreateTaskPushNotificationConfigRequest) + returns (TaskPushNotificationConfig) { + option (google.api.http) = { + post: "/v1/{parent=task/*/pushNotificationConfigs}" + body: "config" + }; + option (google.api.method_signature) = "parent,config"; + } + // Get a push notification config for a task. + rpc GetTaskPushNotificationConfig(GetTaskPushNotificationConfigRequest) + returns (TaskPushNotificationConfig) { + option (google.api.http) = { + get: "/v1/{name=tasks/*/pushNotificationConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + // Get a list of push notifications configured for a task. + rpc ListTaskPushNotificationConfig(ListTaskPushNotificationConfigRequest) + returns (ListTaskPushNotificationConfigResponse) { + option (google.api.http) = { + get: "/v1/{parent=tasks/*}/pushNotificationConfigs" + }; + option (google.api.method_signature) = "parent"; + } + // GetAgentCard returns the agent card for the agent. + rpc GetAgentCard(GetAgentCardRequest) returns (AgentCard) { + option (google.api.http) = { + get: "/v1/card" + }; + } + // Delete a push notification config for a task. + rpc DeleteTaskPushNotificationConfig(DeleteTaskPushNotificationConfigRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=tasks/*/pushNotificationConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } +} + +///////// Data Model //////////// + +// Configuration of a send message request. +message SendMessageConfiguration { + // The output modes that the agent is expected to respond with. + repeated string accepted_output_modes = 1; + // A configuration of a webhook that can be used to receive updates + PushNotificationConfig push_notification = 2; + // The maximum number of messages to include in the history. if 0, the + // history will be unlimited. + int32 history_length = 3; + // If true, the message will be blocking until the task is completed. If + // false, the message will be non-blocking and the task will be returned + // immediately. It is the caller's responsibility to check for any task + // updates. + bool blocking = 4; +} + +// 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. +message Task { + // Unique identifier for a task, created by the A2A server. + string id = 1; + // Unique identifier for the contextual collection of interactions (tasks + // and messages). Created by the A2A server. + string context_id = 2; + // The current status of a Task, including state and a message. + TaskStatus status = 3; + // 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. + 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; +} + +// The set of states a Task can be in. +enum TaskState { + TASK_STATE_UNSPECIFIED = 0; + // Represents the status that acknowledges a task is created + TASK_STATE_SUBMITTED = 1; + // Represents the status that a task is actively being processed + TASK_STATE_WORKING = 2; + // Represents the status a task is finished. This is a terminal state + TASK_STATE_COMPLETED = 3; + // Represents the status a task is done but failed. This is a terminal state + TASK_STATE_FAILED = 4; + // Represents the status a task was cancelled before it finished. + // This is a terminal state. + TASK_STATE_CANCELLED = 5; + // Represents the status that the task requires information to complete. + // This is an interrupted state. + TASK_STATE_INPUT_REQUIRED = 6; + // Represents the status 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. Authentication is expected to come out-of-band thus this is not + // an interrupted or terminal state. + TASK_STATE_AUTH_REQUIRED = 8; +} + +// A container for the status of a task +message TaskStatus { + // The current state of this task + TaskState state = 1; + // A message associated with the status. + Message update = 2 [json_name = "message"]; + // Timestamp when the status was recorded. + // Example: "2023-10-27T10:00:00Z" + google.protobuf.Timestamp timestamp = 3; +} + +// 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 part { + string text = 1; + FilePart file = 2; + DataPart data = 3; + } +} + +// FilePart represents the different ways files can be provided. If files are +// small, directly feeding the bytes is supported via file_with_bytes. If the +// file is large, the agent should read the content as appropriate directly +// from the file_with_uri source. +message FilePart { + oneof file { + string file_with_uri = 1; + bytes file_with_bytes = 2; + } + string mime_type = 3; +} + +// DataPart represents a structured blob. This is most commonly a JSON payload. +message DataPart { + google.protobuf.Struct data = 1; +} + +enum Role { + ROLE_UNSPECIFIED = 0; + // USER role refers to communication from the client to the server. + ROLE_USER = 1; + // AGENT role refers to communication from the server to the client. + ROLE_AGENT = 2; +} + +// Message is one unit of communication between client and server. It is +// associated with a context and optionally a task. Since the server is +// responsible for the context definition, it must always provide a context_id +// in its messages. The client can optionally provide the context_id if it +// knows the context to associate the message to. Similarly for task_id, +// except the server decides if a task is created and whether to include the +// task_id. +message Message { + // The message id of the message. This is required and created by the + // message creator. + string message_id = 1; + // The context id of the message. This is optional and 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. + string task_id = 3; + // A role for the message. + Role role = 4; + // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED + // Content is the container of the message content. + repeated Part content = 5; + // protolint:enable REPEATED_FIELD_NAMES_PLURALIZED + // Any optional 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; +} + +// Artifacts are the container for task completed results. These are similar +// to Messages but are intended to be the product of a task, as opposed to +// point-to-point communication. +message Artifact { + // Unique id for the artifact. It must be at least unique within a task. + string artifact_id = 1; + // A human readable name for the artifact. + string name = 3; + // A human readable description of the artifact, optional. + string description = 4; + // The content of the artifact. + repeated Part parts = 5; + // Optional metadata included with the artifact. + google.protobuf.Struct metadata = 6; + // The URIs of extensions that are present or contributed to this Artifact. + repeated string extensions = 7; +} + +// TaskStatusUpdateEvent is a delta even on a task indicating that a task +// has changed. +message TaskStatusUpdateEvent { + // The id of the task that is changed + string task_id = 1; + // The id of the context that the task belongs to + string context_id = 2; + // The new status of the task. + TaskStatus status = 3; + // Whether this is the last status update expected for this task. + bool final = 4; + // Optional metadata to associate with the task update. + google.protobuf.Struct metadata = 5; +} + +// TaskArtifactUpdateEvent represents a task delta where an artifact has +// been generated. +message TaskArtifactUpdateEvent { + // The id of the task for this artifact + string task_id = 1; + // The id of the context that this task belongs too + string context_id = 2; + // The artifact itself + Artifact artifact = 3; + // Whether this should be appended to a prior one produced + bool append = 4; + // Whether this represents the last part of an artifact + bool last_chunk = 5; + // Optional metadata associated with the artifact update. + google.protobuf.Struct metadata = 6; +} + +// Configuration for setting up push notifications for task updates. +message PushNotificationConfig { + // A unique id for this push notification. + string id = 1; + // Url to send the notification too + string url = 2; + // Token unique for this task/session + string token = 3; + // Information about the authentication to sent with the notification + AuthenticationInfo authentication = 4; +} + +// Defines authentication details, used for push notifications. +message AuthenticationInfo { + // Supported authentication schemes - e.g. Basic, Bearer, etc + repeated string schemes = 1; + // Optional credentials + string credentials = 2; +} + +// Defines additional transport information for the agent. +message AgentInterface { + // The url this interface is found at. + string url = 1; + // The transport supported this url. This is an open form string, to be + // easily extended for many transport protocols. The core ones officially + // supported are JSONRPC, GRPC and HTTP+JSON. + string transport = 2; +} + +// AgentCard conveys key information: +// - Overall details (version, name, description, uses) +// - Skills; a set of actions/solutions the agent can perform +// - Default modalities/content types supported by the agent. +// - Authentication requirements +message AgentCard { + // The version of the A2A protocol this agent supports. + string protocol_version = 16; + // A human readable name for the agent. + // Example: "Recipe Agent" + string name = 1; + // A description of the agent's domain of action/solution space. + // Example: "Agent that helps users with recipes and cooking." + string description = 2; + // A URL to the address the agent is hosted at. This represents the + // preferred endpoint as declared by the agent. + string url = 3; + // The transport of the preferred endpoint. If empty, defaults to JSONRPC. + string preferred_transport = 14; + // Announcement of additional supported transports. Client can use any of + // the supported transports. + repeated AgentInterface additional_interfaces = 15; + // The service provider of the agent. + AgentProvider provider = 4; + // The version of the agent. + // Example: "1.0.0" + string version = 5; + // A url to provide additional documentation about the agent. + string documentation_url = 6; + // A2A Capability set supported by the agent. + AgentCapabilities capabilities = 7; + // The security scheme details used for authenticating with this agent. + map security_schemes = 8; + // protolint:disable REPEATED_FIELD_NAMES_PLURALIZED + // Security requirements for contacting the agent. + repeated Security security = 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 mime types. + repeated string default_input_modes = 10; + // The mime types supported as outputs from this agent. + repeated string default_output_modes = 11; + // Skills represent a unit of ability an agent can perform. This may + // somewhat abstract but represents a more focused set of actions that the + // agent is highly likely to succeed at. + repeated AgentSkill skills = 12; + // Whether the agent supports providing an extended agent card when + // the user is authenticated, i.e. is the card from .well-known + // different than the card from GetAgentCard. + bool supports_authenticated_extended_card = 13; +} + +// Represents information about the service provider of an agent. +message AgentProvider { + // The providers reference url + // Example: "https://ai.google.dev" + string url = 1; + // The providers organization name + // Example: "Google" + string organization = 2; +} + +// Defines the A2A feature set supported by the agent +message AgentCapabilities { + // If the agent will support streaming responses + bool streaming = 1; + // If the agent can send push notifications to the clients webhook + bool push_notifications = 2; + // Extensions supported by this agent. + repeated AgentExtension extensions = 3; +} + +// A declaration of an extension supported by an Agent. +message AgentExtension { + // The URI of the extension. + // Example: "https://developers.google.com/identity/protocols/oauth2" + string uri = 1; + // A description of how this agent uses this extension. + // Example: "Google OAuth 2.0 authentication" + string description = 2; + // Whether the client must follow specific requirements of the extension. + // Example: false + bool required = 3; + // Optional configuration for the extension. + google.protobuf.Struct params = 4; +} + +// AgentSkill represents a unit of action/solution that the agent can perform. +// One can think of this as a type of highly reliable solution that an agent +// can be tasked to provide. Agents have the autonomy to choose how and when +// to use specific skills, but clients should have confidence that if the +// skill is defined that unit of action can be reliably performed. +message AgentSkill { + // Unique id of the skill within this agent. + string id = 1; + // A human readable name for the skill. + string name = 2; + // A human (or llm) readable description of the skill + // details and behaviors. + string description = 3; + // A set of tags for the skill to enhance categorization/utilization. + // Example: ["cooking", "customer support", "billing"] + repeated string tags = 4; + // A set of example queries that this skill is designed to address. + // These examples should help the caller to understand how to craft requests + // to the agent to achieve specific goals. + // Example: ["I need a recipe for bread"] + repeated string examples = 5; + // Possible input modalities supported. + repeated string input_modes = 6; + // Possible output modalities produced + repeated string output_modes = 7; +} + +message TaskPushNotificationConfig { + // name=tasks/{id}/pushNotificationConfigs/{id} + string name = 1; + PushNotificationConfig push_notification_config = 2; +} + +// protolint:disable REPEATED_FIELD_NAMES_PLURALIZED +message StringList { + repeated string list = 1; +} +// protolint:enable REPEATED_FIELD_NAMES_PLURALIZED + +message Security { + map schemes = 1; +} + +message SecurityScheme { + oneof scheme { + APIKeySecurityScheme api_key_security_scheme = 1; + HTTPAuthSecurityScheme http_auth_security_scheme = 2; + OAuth2SecurityScheme oauth2_security_scheme = 3; + OpenIdConnectSecurityScheme open_id_connect_security_scheme = 4; + } +} + +message APIKeySecurityScheme { + // Description of this security scheme. + string description = 1; + // Location of the API key, valid values are "query", "header", or "cookie" + string location = 2; + // Name of the header, query or cookie parameter to be used. + string name = 3; +} + +message HTTPAuthSecurityScheme { + // Description of this security scheme. + string description = 1; + // The name of the HTTP Authentication scheme to be used in the + // Authorization header as defined in RFC7235. The values used SHOULD be + // registered in the IANA Authentication Scheme registry. + // The value is case-insensitive, as defined in RFC7235. + string scheme = 2; + // A hint to the client to identify how the bearer token is formatted. + // Bearer tokens are usually generated by an authorization server, so + // this information is primarily for documentation purposes. + string bearer_format = 3; +} + +message OAuth2SecurityScheme { + // Description of this security scheme. + string description = 1; + // An object containing configuration information for the flow types supported + OAuthFlows flows = 2; +} + +message OpenIdConnectSecurityScheme { + // Description of this security scheme. + string description = 1; + // Well-known URL to discover the [[OpenID-Connect-Discovery]] provider + // metadata. + string open_id_connect_url = 2; +} + +message OAuthFlows { + oneof flow { + AuthorizationCodeOAuthFlow authorization_code = 1; + ClientCredentialsOAuthFlow client_credentials = 2; + ImplicitOAuthFlow implicit = 3; + PasswordOAuthFlow password = 4; + } +} + +message AuthorizationCodeOAuthFlow { + // 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 + string authorization_url = 1; + // 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. + string token_url = 2; + // The URL to be used for obtaining refresh tokens. This MUST be in the + // form of a URL. The OAuth2 standard requires the use of TLS. + string refresh_url = 3; + // The available scopes for the OAuth2 security scheme. A map between the + // scope name and a short description for it. The map MAY be empty. + map scopes = 4; +} + +message ClientCredentialsOAuthFlow { + // 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. + string token_url = 1; + // The URL to be used for obtaining refresh tokens. This MUST be in the + // form of a URL. The OAuth2 standard requires the use of TLS. + string refresh_url = 2; + // The available scopes for the OAuth2 security scheme. A map between the + // scope name and a short description for it. The map MAY be empty. + map scopes = 3; +} + +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 + string authorization_url = 1; + // The URL to be used for obtaining refresh tokens. This MUST be in the + // form of a URL. The OAuth2 standard requires the use of TLS. + string refresh_url = 2; + // The available scopes for the OAuth2 security scheme. A map between the + // scope name and a short description for it. The map MAY be empty. + map scopes = 3; +} + +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. + string token_url = 1; + // The URL to be used for obtaining refresh tokens. This MUST be in the + // form of a URL. The OAuth2 standard requires the use of TLS. + string refresh_url = 2; + // The available scopes for the OAuth2 security scheme. A map between the + // scope name and a short description for it. The map MAY be empty. + map scopes = 3; +} + +///////////// Request Messages /////////// +message SendMessageRequest { + Message request = 1 [(google.api.field_behavior) = REQUIRED]; + SendMessageConfiguration configuration = 2; + google.protobuf.Struct metadata = 3; +} + +message GetTaskRequest { + // name=tasks/{id} + string name = 1 [(google.api.field_behavior) = REQUIRED]; + int32 history_length = 2; +} + +message CancelTaskRequest { + // name=tasks/{id} + string name = 1; +} + +message GetTaskPushNotificationConfigRequest { + // name=tasks/{id}/pushNotificationConfigs/{push_id} + string name = 1; +} + +message DeleteTaskPushNotificationConfigRequest { + // name=tasks/{id}/pushNotificationConfigs/{push_id} + string name = 1; +} + +message CreateTaskPushNotificationConfigRequest { + // The task resource for this config. + // Format: tasks/{id} + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string config_id = 2 [(google.api.field_behavior) = REQUIRED]; + TaskPushNotificationConfig config = 3 + [(google.api.field_behavior) = REQUIRED]; +} + +message TaskSubscriptionRequest { + // name=tasks/{id} + string name = 1; +} + +message ListTaskPushNotificationConfigRequest { + // parent=tasks/{id} + string parent = 1; + // For AIP-158 these fields are present. Usually not used/needed. + // The maximum number of configurations to return. + // If unspecified, all configs will be returned. + int32 page_size = 2; + + // A page token received from a previous + // ListTaskPushNotificationConfigRequest call. + // Provide this to retrieve the subsequent page. + // When paginating, all other parameters provided to + // `ListTaskPushNotificationConfigRequest` must match the call that provided + // the page token. + string page_token = 3; +} + +message GetAgentCardRequest { + // Empty. Added to fix linter violation. +} + +//////// Response Messages /////////// +message SendMessageResponse { + oneof payload { + Task task = 1; + Message msg = 2 [json_name = "message"]; + } +} + +// The stream response for a message. The stream should be one of the following +// sequences: +// If the response is a message, the stream should contain one, and only one, +// message and then close +// If the response is a task lifecycle, the first response should be a Task +// object followed by zero or more TaskStatusUpdateEvents and +// TaskArtifactUpdateEvents. The stream should complete when the Task +// if in an interrupted or terminal state. A stream that ends before these +// conditions are met are +message StreamResponse { + oneof payload { + Task task = 1; + Message msg = 2 [json_name = "message"]; + TaskStatusUpdateEvent status_update = 3; + TaskArtifactUpdateEvent artifact_update = 4; + } +} + +message ListTaskPushNotificationConfigResponse { + 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. + string next_page_token = 2; +} diff --git a/transport/grpc/src/test/java/io/a2a/grpc/handler/GrpcHandlerTest.java b/transport/grpc/src/test/java/io/a2a/grpc/handler/GrpcHandlerTest.java index 75956f8b8..6e269026b 100644 --- a/transport/grpc/src/test/java/io/a2a/grpc/handler/GrpcHandlerTest.java +++ b/transport/grpc/src/test/java/io/a2a/grpc/handler/GrpcHandlerTest.java @@ -1,10 +1,6 @@ package io.a2a.grpc.handler; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertTrue; import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertInstanceOf; import java.util.ArrayList; import java.util.List; @@ -13,7 +9,6 @@ import com.google.protobuf.Empty; import com.google.protobuf.Struct; - import io.a2a.grpc.AuthenticationInfo; import io.a2a.grpc.CancelTaskRequest; import io.a2a.grpc.CreateTaskPushNotificationConfigRequest; @@ -53,7 +48,6 @@ import io.grpc.internal.testing.StreamRecorder; import io.grpc.stub.StreamObserver; import mutiny.zero.ZeroPublisher; - import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.mockito.MockedConstruction;