| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
The SonarCloud Build/ Build failure has the following error: Seems unrelated to this PR |
Sorry, something went wrong.
Yeah this is a known limitation where sonar can't run when changes come in from a fork. We can ignore this issue. |
Sorry, something went wrong.
| .build()); | ||
| GapicMetadata.ServiceForTransport.Builder grpcServiceClient = | ||
| GapicMetadata.ServiceForTransport.newBuilder() | ||
| .putClients("grpc", serviceClientProtoBuilder.build()); |
There was a problem hiding this comment.
@blakeli0 Do you know why if there is a reason we don't have a "rest" client here as well?
Sorry, something went wrong.
There was a problem hiding this comment.
It was probably a miss when REGAPIC was implemented.
This maybe outside of the scope of this PR, @noahdietz do you have any concerns of not having rest in gapic_metadata.json?
Sorry, something went wrong.
There was a problem hiding this comment.
do you have any concerns of not having rest in gapic_metadata.json?
ATM, i have no concerns. In my survey of other languages, Java is not the only one. We've gone X years without publishing that metadata with no complaints, so I'm not sure it's all that urgent. I can file an idea bug to capture my findings across languages and at least document that there is a gap in the metadata for rest.
Sorry, something went wrong.
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| <!-- Should be in sync with repositories.bzl --> | ||
| <googleapis.commit>44d6bef0ca6db8bba3fb324c8186e694bcc4829c</googleapis.commit> | ||
| <googleapis.commit>9fcfbea0aa5b50fa22e190faceb073d74504172b</googleapis.commit> |
There was a problem hiding this comment.
This is probably a tech debt on our end. gapic_metadata.proto should be updated automatically along side other "config protos" like service.proto.
Sorry, something went wrong.
There was a problem hiding this comment.
Yep, agreed. I will leave this here for now, but LMK if you want me to file a tracking issue with some details.
Sorry, something went wrong.
| .build()); | ||
| GapicMetadata.ServiceForTransport.Builder grpcServiceClient = | ||
| GapicMetadata.ServiceForTransport.newBuilder() | ||
| .putClients("grpc", serviceClientProtoBuilder.build()); |
There was a problem hiding this comment.
It was probably a miss when REGAPIC was implemented.
This maybe outside of the scope of this PR, @noahdietz do you have any concerns of not having rest in gapic_metadata.json?
Sorry, something went wrong.
🤖 I have created a release *beep* *boop* --- <details><summary>2.64.2</summary> ## [2.64.2](v2.64.1...v2.64.2) (2025-12-10) ### Bug Fixes * add per-service api_version to gapic_metadata ([#3984](#3984)) ([d589306](d589306)) ### Dependencies * Upgrade auth to 1.41.0. ([#4008](#4008)) ([833b3e5](833b3e5)) * upgrade grpc to 1.76.1 ([#3993](#3993)) ([958611e](958611e)) * Upgrade grpc to 1.76.2 ([#4006](#4006)) ([a8060a2](a8060a2)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Populates the `api_version` field on a per-`service` basis to the generated `gapic_metadata.json` using the value from the `service`-level annotation `google.api.api_version` already parsed for use in the `X-Goog-Api-Version`/`$apiVersion` system parameter (as of #2671). Updates the `googleapis.commit` used in internal dependency artifact generation to capture change to `gapic_metadata.proto`. Chose the most recent as of writing this. This also has the effect of updating some unit test goldens and unit test fixture dependencies that are based on protos at that commit. The Showcase `echo.proto` already has the `google.api.api_version` set on `service Echo`, so the `java-showcase` package is appropriately updated to account for inclusion of `apiVersion` in the `gapic_metadata.json` output. It is not in use by any API yet. It's presence in `gapic_metadata.json` will allow parsers to correlate `service` client to API version. Internal bug http://b/452365074.
🤖 I have created a release *beep* *boop* --- <details><summary>2.64.2</summary> ## [2.64.2](v2.64.1...v2.64.2) (2025-12-10) ### Bug Fixes * add per-service api_version to gapic_metadata ([#3984](#3984)) ([d589306](d589306)) ### Dependencies * Upgrade auth to 1.41.0. ([#4008](#4008)) ([833b3e5](833b3e5)) * upgrade grpc to 1.76.1 ([#3993](#3993)) ([958611e](958611e)) * Upgrade grpc to 1.76.2 ([#4006](#4006)) ([a8060a2](a8060a2)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- <details><summary>2.64.2</summary> ## [2.64.2](googleapis/sdk-platform-java@v2.64.1...v2.64.2) (2025-12-10) ### Bug Fixes * add per-service api_version to gapic_metadata ([#3984](googleapis/sdk-platform-java#3984)) ([ba93524](googleapis/sdk-platform-java@ba93524)) ### Dependencies * Upgrade auth to 1.41.0. ([#4008](googleapis/sdk-platform-java#4008)) ([f601805](googleapis/sdk-platform-java@f601805)) * upgrade grpc to 1.76.1 ([#3993](googleapis/sdk-platform-java#3993)) ([75b709f](googleapis/sdk-platform-java@75b709f)) * Upgrade grpc to 1.76.2 ([#4006](googleapis/sdk-platform-java#4006)) ([e4ba36c](googleapis/sdk-platform-java@e4ba36c)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Populates the api_version field on a per-service basis to the generated gapic_metadata.json using the value from the service-level annotation google.api.api_version already parsed for use in the X-Goog-Api-Version/$apiVersion system parameter (as of #2671).
Updates the googleapis.commit used in internal dependency artifact generation to capture change to gapic_metadata.proto. Chose the most recent as of writing this. This also has the effect of updating some unit test goldens and unit test fixture dependencies that are based on protos at that commit.
The Showcase echo.proto already has the google.api.api_version set on service Echo, so the java-showcase package is appropriately updated to account for inclusion of apiVersion in the gapic_metadata.json output. It is not in use by any API yet.
It's presence in gapic_metadata.json will allow parsers to correlate service client to API version.
Internal bug http://b/452365074.