Skip to content

chore: migrate sdk-platform-java#11961

Draft
chingor13 wants to merge 6478 commits intomainfrom
migrate-sdk-platform-java
Draft

chore: migrate sdk-platform-java#11961
chingor13 wants to merge 6478 commits intomainfrom
migrate-sdk-platform-java

Conversation

@chingor13
Copy link
Contributor

No description provided.

zhumin8 and others added 30 commits April 2, 2025 21:07
…i/majorversion (#3712)

This change allow generator to generate for a specified api-path. When
"--api-path" is not specified, fallback to "--library-names", and
__behavior for existing command usages should not change__.

For now, api-path should only take in path to api/version, e.g.
google/cloud/functions/v2
…neration (#3723)

Part of the fix for
googleapis/sdk-platform-java#3701 ☕

### Approach
The templates come from
https://github.com/googleapis/synthtool/tree/bf182cd41d9a7de56092cafcc7befe6b398332f6.
The only update was to include `generated-files-bot`, which is already
up to date in all the HW repos.

The `.kokoro` folder will be a separate follow up task. We will now
focus on solving the update of `update_generation_config` `yaml` and
`sh` files.

The fix to include the `.github` folder follows from
https://setuptools.pypa.io/en/latest/userguide/datafiles.html:
```
Glob patterns do not automatically match dotfiles, i.e., directory or file names starting with a dot (.).
To include such files, you must explicitly start the pattern with a dot, e.g. .* to match .gitignore.
```


Interestingly, this is also the reason `cp
synthool/gcp/templates/java_library/* ...` did not bring folders
starting with dot (such as .kokoro) into
googleapis/sdk-platform-java#2884
### Confirming effects in downstream repos
Demos show the results as of
googleapis/sdk-platform-java@b66af92
in
 - googleapis/java-storage#3012
 - googleapis/java-logging#1787
 - googleapis/java-pubsub#2384
 - googleapis/java-bigtable#2546
 - googleapis/java-spanner#3711
 - googleapis/java-firestore#2065
 - googleapis/java-datastore#1810
 - googleapis/java-bigquerystorage#2929
 - googleapis/java-pubsublite#1837

There were no regressions on templated files that were manually
modified.
Full context in [GraalVM 17 migration
doc](https://docs.google.com/document/d/1bOeGtVFLsq5ts71If5pFXCvHIeNpbtBRvF6XQfavLZs/edit?tab=t.loipy7ydvwga)

Confirmation that this works:
googleapis/java-shared-config@9530494

### Problem
JDK 17 `InputStreamReader` produces different bytes from JDK 18+. This
affects `ITHttpAnnotation#testComplianceGroup` because of the way
`compliance_suite.json` is parsed.

### Cause
JDK 18 was released including commit
[7fc854](openjdk/jdk@7fc8540)
which enables usage of UTF-8 by default. Before this commit, each JVM
will produce their own default Charset (_likely the reason we don't see
this error in other CI setups using java 17_). As a confirmation, if we
create an experiment test to print the default charset as in:

```java
 @test
  void verifyByteSizeOfExtremePayload() throws IOException {
    System.out.println(System.getProperty("file.encoding"));
}
```

When using openjdk 17 we get the value `Cp1252`, and on openjdk 18 we
get the value `UTF-8`.
Solution

### Solution
Finally, the solution is to explicitly use UTF-8 with the
`InputStreamReader`
…image` (#3732)

This marks the images as infrastructure-related and will not apply for
the customer-facing VM scanning tools. Context in b/395190324 and
[internal
g3doc](https://g3doc.corp.google.com/security/g3doc/isa/autovm/vmprograms/public_image_scanning.md?cl=head#common_vocab)
Context: [we will introduce a new GraalVM
job](https://docs.google.com/document/d/1bOeGtVFLsq5ts71If5pFXCvHIeNpbtBRvF6XQfavLZs/edit?tab=t.dcjxhf429j6t#bookmark=id.3s7d4dj247hr)
and will leverage the hermetic build templates to propagate this change
to some of the repositories. Each PR will be followed with ad-hoc
changes such as sync-repo-settings (the cannot be templated).

Demo PRs
 * googleapis/java-bigtable#2558
 * googleapis/java-bigquerystorage#2937
 * googleapis/java-storage#3029
 * googleapis/java-datastore#1816
* There are manual changes in `build.sh`. We will add this file to the
[ignored files in
owlbot.py](https://github.com/googleapis/java-datastore/blob/8ceb62b5182e30b4f771d6c1b586a22fb084c9ac/owlbot.py#L48-L57)
and will raise an issue to move this logic elsewhere (if feasible).
 * googleapis/java-firestore#2074
 * googleapis/java-logging#1789
 * googleapis/java-pubsub#2389
 * googleapis/java-pubsublite#1839
 * googleapis/java-spanner#3821
…onfig to v1.15.4 (#3742)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-shared-config](https://redirect.github.com/googleapis/java-shared-config)
| `1.15.1` -> `1.15.4` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-shared-config/1.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-shared-config/1.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-shared-config/1.15.1/1.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-shared-config/1.15.1/1.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>googleapis/java-shared-config
(com.google.cloud:google-cloud-shared-config)</summary>

###
[`v1.15.4`](https://redirect.github.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#1154-2025-04-15)

[Compare
Source](https://redirect.github.com/googleapis/java-shared-config/compare/v1.15.1...v1.15.4)

##### Bug Fixes

- Use recommended variable expansion syntax
([#&#8203;1016](https://redirect.github.com/googleapis/java-shared-config/issues/1016))
([6ff6dc4](https://redirect.github.com/googleapis/java-shared-config/commit/6ff6dc48b8d92604164da7c68e268476b5a16578))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
To be merged after cl/747626774

[context
doc](https://docs.google.com/document/d/1bOeGtVFLsq5ts71If5pFXCvHIeNpbtBRvF6XQfavLZs/edit?tab=t.dcjxhf429j6t)

TL;DR: we are introducing testing infra for GraalVM for JDK 17
## Implement Selective GAPIC Generation (Phase II)

This PR implements Phase II of selective GAPIC generation within the
`gapic-generator-java` project. This allows for finer control over the
intended usage of generated client methods (public, internal, or hidden)
by providing selective gapic generation configuration in service yaml.

### Key Changes:

#### 1. Model Updates
* Added a `isInternalApi` attribute to the internal representation of
methods to track their intended visibility (e.g., public, internal).

#### 2. Parser Logic
* Introduced the `getMethodSelectiveGapicType()` method responsible for
parsing the selective generation configuration for each method.
* Modified service filtering logic: Service classes will not be
generated if the service definition contains no methods or includes only
methods marked as **`HIDDEN`**.
* Enhanced `parseService()` to determine and assign the appropriate
`SelectiveGapicType` to each service method and its corresponding
generated variants (e.g., overloaded methods).

#### 3. Composer (Code Generation) Updates
* **Method Annotations:** For all method variants designated as
`INTERNAL`, generate an `@InternalApi` annotation accompanied by a
warning message discouraging external use.
* **Method Header Comments:** For methods marked as `INTERNAL`, generate
a specific comment in the method's header indicating its intended
internal-only usage.
* **Sample Generation:** Adjusted the logic for generating
`package-info.java` samples to prevent the usage of any methods marked
as `INTERNAL`.

#### 4. Tests
* Added **unit tests** covering the new parser logic and comment
generation changes related to selective generation types.
* Added/updated **golden unit/integration tests** to verify the correct
code output for various selective generation scenarios, including
services with:
    * All public methods.
    * A mix of public, `INTERNAL`, and/or `HIDDEN` methods.
* No public methods (verifying that the service class is not generated).
Error:
```
Error: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/cloud/datastore/emulator/CloudDatastore has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
```

This error seemed to show up ~3 weeks ago, but it doesn't look like
anything changed in java-datastore. Cloud Datastore Emulator seems to
have required JRE 11 since ~late 2022. We have been compiling with JDK
11 and running with Java 8.

Successful run:
https://github.com/googleapis/sdk-platform-java/actions/runs/14522553161
`Empty commit messages, skip creating pull request description.`

Fixes googleapis/sdk-platform-java#3745

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.0</summary>

##
[2.56.0](googleapis/sdk-platform-java@v2.55.1...v2.56.0)
(2025-04-18)


### Features

* Selective gapic generation phase II
([#3730](googleapis/sdk-platform-java#3730))
([64ac2c1](googleapis/sdk-platform-java@64ac2c1))


### Bug Fixes

* **hermetic-build:** use correct image name in templated graalvm jobs
([#3743](googleapis/sdk-platform-java#3743))
([29a78d3](googleapis/sdk-platform-java@29a78d3))
* plumb mtls endpoint to TransportChannelProvider
([#3673](googleapis/sdk-platform-java#3673))
([a961459](googleapis/sdk-platform-java@a961459))


### Dependencies

* add opentelemetry gcp-resources to shared deps
([#3722](googleapis/sdk-platform-java#3722))
([b1b075d](googleapis/sdk-platform-java@b1b075d))
</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>
Additionally: we use cloud-java-bot to create the flakiness issues.
Prepares downstream repos for the linter upgrade from java-shared-config
(googleapis/java-shared-config#1003)
Fixes error from
https://fusion2.corp.google.com/invocations/e3010c7e-ee63-4a12-ae04-e2dae7766bbe/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fjava-storage%2Fpresubmit%2Fgraalvm-native-a/log

This is due to the name of the jobs not matching what was submitted in
cl/750211040

```
[09:45:52 PDT] Job config validated!
[09:45:52 PDT] Resolving Github Scm Revision State
[09:45:56 PDT] Running git -c core.hooksPath=/dev/null clone https://github.com/googleapis/java-storage.git /tmp/workspace/workspace/src/github/java-storage
[09:45:57 PDT] Fetching GitHub java-storage@PR#3050.  This code is considered not submitted as it's coming from a pull request.
[09:45:57 PDT] Running git -c core.hooksPath=/dev/null fetch origin pull/3050/merge:pull_branch
[09:45:58 PDT] Running git -c core.hooksPath=/dev/null checkout pull_branch --
[09:45:58 PDT] Running git -c core.hooksPath=/dev/null rev-parse --verify HEAD
[09:45:58 PDT][ERROR] Build failed due to an error
com.google.devtools.kokoro.controller.UserException: An error happened while reading and parsing the build config
	at com.google.devtools.kokoro.jenkins.plugin.executor.BuilderStepsProvider.provide(BuilderStepsProvider.java:55)
	at com.google.devtools.kokoro.controller.build.PipelineBuildExecutor.runPipeline(PipelineBuildExecutor.java:92)
	at com.google.devtools.kokoro.controller.build.PipelineBuildExecutor.lambda$start$0(PipelineBuildExecutor.java:67)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: com.google.devtools.kokoro.controller.UserException: APPLICATION_ERROR;devtools.kokoro.executor.proto/KokoroExecutorWorker.ReadBuildConfig;no file found at path 'src/github/java-storage/.kokoro/presubmit/graalvm-native-a' or with allowed extensions invalid argument;AppErrorCode=3;StartTimeMs=1745340358647;tcp;Deadline(sec)=300.0;ResFormat=uncompressed;interceptors={[com.google.frameworks.debug.sherlog.core.rpcutil.Stubby3ClientInterceptor];overrides={}};ServerTimeSec=5.21036E-4;LogBytes=256;FailFast;EffSecLevel=none;ReqFormat=uncompressed;ReqID=3534e3e8629380d4;GlobalID=0;Server=[2002:a4f:c6c1:0:b0:422:a3e6:c419]:14001
	at com.google.devtools.kokoro.jenkins.shared.worker.ExecutorHelperClient.mapRpcException(ExecutorHelperClient.java:638)
	at com.google.devtools.kokoro.jenkins.shared.worker.ExecutorHelperClient.readBuildConfig(ExecutorHelperClient.java:529)
	at com.google.devtools.kokoro.jenkins.plugin.kokorojob.store.ConfigStore.getKokoroBuildConfigFromScm(ConfigStore.java:124)
	at com.google.devtools.kokoro.jenkins.plugin.kokorojob.store.ConfigStore.getKokoroBuildConfig(ConfigStore.java:93)
	at com.google.devtools.kokoro.jenkins.plugin.executor.BuilderStepsProvider.provide(BuilderStepsProvider.java:45)
	... 6 more
```
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.1-SNAPSHOT</summary>

### Updating meta-information for bleeding-edge SNAPSHOT release.
</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>
Co-authored-by: Diego Marquez <diegomarquezp@google.com>
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.1</summary>

##
[2.56.1](googleapis/sdk-platform-java@v2.56.0...v2.56.1)
(2025-04-23)


### Bug Fixes

* match graalvm job names with internal configs
([#3755](googleapis/sdk-platform-java#3755))
([23b4b12](googleapis/sdk-platform-java@23b4b12))
* use java 17 in samples.yaml
([#3754](googleapis/sdk-platform-java#3754))
([2d5c5e2](googleapis/sdk-platform-java@2d5c5e2))
* use spotify formatter in hermetic build templates
([#3752](googleapis/sdk-platform-java#3752))
([65e29da](googleapis/sdk-platform-java@65e29da))
</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>
Co-authored-by: Diego Alonso Marquez Palacios <diegomarquezp@google.com>
This ensures the templates are up to date with the latest released
version of sdk-platform-java-config
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.2-SNAPSHOT</summary>

### Updating meta-information for bleeding-edge SNAPSHOT release.
</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>
Co-authored-by: Diego Marquez <diegomarquezp@google.com>
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.2</summary>

##
[2.56.2](googleapis/sdk-platform-java@v2.56.1...v2.56.2)
(2025-04-23)


### Bug Fixes

* inline version update in kokoro templates
([#3762](googleapis/sdk-platform-java#3762))
([050aeab](googleapis/sdk-platform-java@050aeab))
* keep native image templates up to date
([#3759](googleapis/sdk-platform-java#3759))
([7dffab1](googleapis/sdk-platform-java@7dffab1))
</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>
… to v2.38.0 (#3773)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.google.errorprone:error_prone_annotations](https://errorprone.info)
([source](https://redirect.github.com/google/error-prone)) | `2.36.0` ->
`2.38.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.errorprone:error_prone_annotations/2.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.errorprone:error_prone_annotations/2.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.errorprone:error_prone_annotations/2.36.0/2.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.errorprone:error_prone_annotations/2.36.0/2.38.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/error-prone
(com.google.errorprone:error_prone_annotations)</summary>

###
[`v2.38.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.38.0):
Error Prone 2.38.0

New checks:

-
[`AddNullMarkedToPackageInfo`](https://errorprone.info/bugpattern/AddNullMarkedToPackageInfo):
adds
[`@org.jspecify.annotations.NullMarked`](https://jspecify.dev/docs/api/org/jspecify/annotations/NullMarked.html)
annotation to package-info files
- [`IntLiteralCast`](https://errorprone.info/bugpattern/IntLiteralCast):
Suggests a literal of the desired type instead of casting an int literal
to a long, float, or double
-
[`MisleadingEmptyVarargs`](https://errorprone.info/bugpattern/MisleadingEmptyVarargs):
Discourages calling varargs methods that expect at least one argument
with no arguments, like Mockito's `thenThrow`
-
[`PreconditionsExpensiveString`](https://errorprone.info/bugpattern/PreconditionsExpensiveString):
Discourages expensive string formatting in Guava `Preconditions` checks
- [`SelfSet`](https://errorprone.info/bugpattern/SelfSet): Detects
mistakes like `proto.setFoo(proto.getFoo())`
-
[`UnnecessaryCopy`](https://errorprone.info/bugpattern/UnnecessaryCopy):
detect unnecessary copies of proto Lists and Maps.

Closed issues:
[#&#8203;4924](https://redirect.github.com/google/error-prone/issues/4924),
[#&#8203;4897](https://redirect.github.com/google/error-prone/issues/4897),
[#&#8203;4995](https://redirect.github.com/google/error-prone/issues/4995)

Full changelog:
google/error-prone@v2.37.0...v2.38.0

###
[`v2.37.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.37.0):
Error Prone 2.37.0

[Compare
Source](https://redirect.github.com/google/error-prone/compare/v2.36.0...v2.37.0)

Changes:

- The annotations that were previously in `error_prone_type_annotations`
have been been merged into `error_prone_annotations`.
`error_prone_type_annotations` is now deprecated, and will be removed in
a future release.

New checks:

-
[`AssignmentExpression`](https://errorprone.info/bugpattern/AssignmentExpression)
- The use of an assignment expression can be surprising and hard to
read; consider factoring out the assignment to a separate statement.
-
[`IntFloatConversion`](https://errorprone.info/bugpattern/IntFloatConversion)
- Detect calls to `scalb` that should be using the double overload
instead
- [`InvalidSnippet`](https://errorprone.info/bugpattern/InvalidSnippet)
- Detects snippets which omit the `:` required for inline code.
-
[`JUnit4EmptyMethods`](https://errorprone.info/bugpattern/JUnit4EmptyMethods)
- Detects empty JUnit4 `@Before`, `@After`, `@BeforeClass`, and
`@AfterClass` methods.
-
[`MockIllegalThrows`](https://errorprone.info/bugpattern/MockIllegalThrows)
- Detects cases where Mockito is configured to throw checked exception
types which are impossible.
-
[`NegativeBoolean`](https://errorprone.info/bugpattern/NegativeBoolean)
- Prefer positive boolean names.
- [`RuleNotRun`](https://errorprone.info/bugpattern/RuleNotRun) -
Detects `TestRule`s not annotated with `@Rule`, that won't be run.
-
[`StringConcatToTextBlock`](https://errorprone.info/bugpattern/StringConcatToTextBlock)
- Replaces concatenated multiline strings with text blocks.
-
[`TimeInStaticInitializer`](https://errorprone.info/bugpattern/TimeInStaticInitializer)
- Detects accesses of the system time in static contexts.

Closed issues:

- Propagate check flags in patch mode
([#&#8203;4699](https://redirect.github.com/google/error-prone/issues/4699))
- Fixes a crash in ComputeIfAbsentAmbiguousReference
([#&#8203;4736](https://redirect.github.com/google/error-prone/issues/4736))
- Show the field name in HidingField diagnostics
([#&#8203;4775](https://redirect.github.com/google/error-prone/issues/4775))
- Add support for jakarta annotations to some checks
([#&#8203;4782](https://redirect.github.com/google/error-prone/issues/4782))
- FloatingPointAssertionWithinEpsilonTest depends on default locale
([#&#8203;4815](https://redirect.github.com/google/error-prone/issues/4815))
- `@InlineMe` patching of `Strings.repeat` produces broken code
([#&#8203;4819](https://redirect.github.com/google/error-prone/issues/4819))
- Fix a crash in IdentifierName on unnamed (`_`) variables
([#&#8203;4847](https://redirect.github.com/google/error-prone/issues/4847))
- Fix a crash in ArgumentParameterSwap
([#&#8203;490](https://redirect.github.com/google/error-prone/issues/490))

Full changelog:
google/error-prone@v2.36.0...v2.37.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.google.auth:google-auth-library-credentials](https://redirect.github.com/googleapis/google-auth-library-java)
| `1.33.1` -> `1.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-credentials/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.auth:google-auth-library-credentials/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.auth:google-auth-library-credentials/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-credentials/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[com.google.auth:google-auth-library-oauth2-http](https://redirect.github.com/googleapis/google-auth-library-java)
| `1.33.1` -> `1.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-oauth2-http/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.auth:google-auth-library-oauth2-http/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.auth:google-auth-library-oauth2-http/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-oauth2-http/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[com.google.auth:google-auth-library-bom](https://redirect.github.com/googleapis/google-auth-library-java)
| `1.33.1` -> `1.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.auth:google-auth-library-bom/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.auth:google-auth-library-bom/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.auth:google-auth-library-bom/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.auth:google-auth-library-bom/1.33.1/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>googleapis/google-auth-library-java
(com.google.auth:google-auth-library-credentials)</summary>

###
[`v1.34.0`](https://redirect.github.com/googleapis/google-auth-library-java/blob/HEAD/CHANGELOG.md#1340-2025-04-29)

[Compare
Source](https://redirect.github.com/googleapis/google-auth-library-java/compare/v1.33.1...v1.34.0)

##### Features

- Implement X509 certificate provider
([#&#8203;1722](https://redirect.github.com/googleapis/google-auth-library-java/issues/1722))
([4340684](https://redirect.github.com/googleapis/google-auth-library-java/commit/4340684fe29c9e9bffa90e88d0b1746f19b623ab))
- Next release from main branch is 1.34.0
([#&#8203;1698](https://redirect.github.com/googleapis/google-auth-library-java/issues/1698))
([fe43815](https://redirect.github.com/googleapis/google-auth-library-java/commit/fe4381513db1340190c4309a53c6265718682dde))
- Next release from main branch is 1.34.0
([#&#8203;1702](https://redirect.github.com/googleapis/google-auth-library-java/issues/1702))
([4507cf9](https://redirect.github.com/googleapis/google-auth-library-java/commit/4507cf9e17e7ff40cf142056d3929c87f5742dd1))

##### Bug Fixes

- Do not add padding in Client-Side CAB tokens.
([#&#8203;1728](https://redirect.github.com/googleapis/google-auth-library-java/issues/1728))
([8a75ccd](https://redirect.github.com/googleapis/google-auth-library-java/commit/8a75ccd1c09191abd8ebf463bc41810a38e185f5))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Temporary fix to only plumb the mtlsEndpoint to the gRPCChannelProviders
if this has been set with a non-null value. Validation will still go
through if it is set with bogus values.

Issue reported in googleapis/java-bigtable#2565

This seems to due to how Bigtable wrappers the generated stubs. BigTable
manually calls setEndpoint to for the StubSettings, but does not do the
equivalent for setMtlsEndpoint. The EndpointContext is only aware of the
TLS endpoint and passes a null value to the ChannelProviders.

Potential longer term fix: BigTable's wrappers would need to set the
mTLS Endpoint. This would be needed for BigTable to support S2A. This
does not impact any of BigTable's existing functionality as the endpoint
resolution for all non-S2A flows is done via `setEndpoint()`.
🤖 I have created a release *beep* *boop*
---


<details><summary>2.56.3-SNAPSHOT</summary>

### Updating meta-information for bleeding-edge SNAPSHOT release.
</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>
See b/406872289 for more infomation

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
@chingor13 chingor13 changed the title Migrate sdk platform java chore: migrate sdk-platform-java Feb 26, 2026
@chingor13 chingor13 force-pushed the migrate-sdk-platform-java branch from 7cef60a to 49be0a2 Compare February 26, 2026 23:17
igorbernstein2 and others added 2 commits February 27, 2026 11:04
…ons (#4119)

Removes compiler warnings like
```
 [CanonicalDuration] Duration can be expressed more clearly with different units
    (see https://errorprone.info/bugpattern/CanonicalDuration)
  Did you mean '.setMaxRetryDelayDuration(Duration.ofSeconds(45))'?
```
from generated clients

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@chingor13 chingor13 force-pushed the migrate-sdk-platform-java branch 7 times, most recently from c2c21a3 to 6375b09 Compare March 2, 2026 18:42
…rom the monorepo if they are present (#4124)

This is needed for the auth-library and sdk-platform-java migration into
the monorepo
@chingor13 chingor13 force-pushed the migrate-sdk-platform-java branch 7 times, most recently from 83a81b5 to 721a104 Compare March 3, 2026 16:46
@chingor13 chingor13 force-pushed the migrate-sdk-platform-java branch from 7f90df6 to 09941f1 Compare March 3, 2026 17:13
fix sdk-platform-java-config relativePath

try install for test

debug

try --also-make

try without parallel

use install

test

fix lint and enforcer checks

clean relativePath for parents
@chingor13 chingor13 force-pushed the migrate-sdk-platform-java branch from 6bd16a5 to 1feff08 Compare March 4, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.