Skip to content

Commit 1884226

Browse files
chore: [Many APIs] Update the Java code generator (gapic-generator-java) to 2.25.0 (#9817)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 563824709 Source-Link: https://togithub.com/googleapis/googleapis/commit/8fe4127b6bd66764c7a854d555d05ff4914b6716 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c8c0112151b19d890bb49b747b0ab28b816d47b1 Copy-Tag: eyJwIjoiamF2YS1kbXMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ== Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9 Copy-Tag: eyJwIjoiamF2YS1kb21haW5zLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0= Copy-Tag: eyJwIjoiamF2YS1lbnRlcnByaXNla25vd2xlZGdlZ3JhcGgvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ== Copy-Tag: eyJwIjoiamF2YS1lcnJvcnJlcG9ydGluZy8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9 Copy-Tag: eyJwIjoiamF2YS1lc3NlbnRpYWwtY29udGFjdHMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ== Copy-Tag: eyJwIjoiamF2YS1ldmVudGFyYy8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N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iYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9 Copy-Tag: eyJwIjoiamF2YS1pZHMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ== Copy-Tag: eyJwIjoiamF2YS1pbmZyYS1tYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0= Copy-Tag: eyJwIjoiamF2YS1pb3QvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ== Copy-Tag: eyJwIjoiamF2YS1rbXMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
1 parent 980fd46 commit 1884226

130 files changed

Lines changed: 146 additions & 146 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ConnectionProfileName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public boolean equals(Object o) {
160160
if (o == this) {
161161
return true;
162162
}
163-
if (o != null || getClass() == o.getClass()) {
163+
if (o != null && getClass() == o.getClass()) {
164164
ConnectionProfileName that = ((ConnectionProfileName) o);
165165
return Objects.equals(this.project, that.project)
166166
&& Objects.equals(this.location, that.location)

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/ConversionWorkspaceName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public boolean equals(Object o) {
160160
if (o == this) {
161161
return true;
162162
}
163-
if (o != null || getClass() == o.getClass()) {
163+
if (o != null && getClass() == o.getClass()) {
164164
ConversionWorkspaceName that = ((ConversionWorkspaceName) o);
165165
return Objects.equals(this.project, that.project)
166166
&& Objects.equals(this.location, that.location)

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/LocationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137
if (o == this) {
138138
return true;
139139
}
140-
if (o != null || getClass() == o.getClass()) {
140+
if (o != null && getClass() == o.getClass()) {
141141
LocationName that = ((LocationName) o);
142142
return Objects.equals(this.project, that.project)
143143
&& Objects.equals(this.location, that.location);

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/MappingRuleName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public boolean equals(Object o) {
183183
if (o == this) {
184184
return true;
185185
}
186-
if (o != null || getClass() == o.getClass()) {
186+
if (o != null && getClass() == o.getClass()) {
187187
MappingRuleName that = ((MappingRuleName) o);
188188
return Objects.equals(this.project, that.project)
189189
&& Objects.equals(this.location, that.location)

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/MigrationJobName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public boolean equals(Object o) {
158158
if (o == this) {
159159
return true;
160160
}
161-
if (o != null || getClass() == o.getClass()) {
161+
if (o != null && getClass() == o.getClass()) {
162162
MigrationJobName that = ((MigrationJobName) o);
163163
return Objects.equals(this.project, that.project)
164164
&& Objects.equals(this.location, that.location)

java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/PrivateConnectionName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public boolean equals(Object o) {
160160
if (o == this) {
161161
return true;
162162
}
163-
if (o != null || getClass() == o.getClass()) {
163+
if (o != null && getClass() == o.getClass()) {
164164
PrivateConnectionName that = ((PrivateConnectionName) o);
165165
return Objects.equals(this.project, that.project)
166166
&& Objects.equals(this.location, that.location)

java-document-ai/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.19.0</version>
23+
<version>26.22.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.26.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.27.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/EvaluationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public boolean equals(Object o) {
206206
if (o == this) {
207207
return true;
208208
}
209-
if (o != null || getClass() == o.getClass()) {
209+
if (o != null && getClass() == o.getClass()) {
210210
EvaluationName that = ((EvaluationName) o);
211211
return Objects.equals(this.project, that.project)
212212
&& Objects.equals(this.location, that.location)

java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/HumanReviewConfigName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154
if (o == this) {
155155
return true;
156156
}
157-
if (o != null || getClass() == o.getClass()) {
157+
if (o != null && getClass() == o.getClass()) {
158158
HumanReviewConfigName that = ((HumanReviewConfigName) o);
159159
return Objects.equals(this.project, that.project)
160160
&& Objects.equals(this.location, that.location)

java-document-ai/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/LocationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137
if (o == this) {
138138
return true;
139139
}
140-
if (o != null || getClass() == o.getClass()) {
140+
if (o != null && getClass() == o.getClass()) {
141141
LocationName that = ((LocationName) o);
142142
return Objects.equals(this.project, that.project)
143143
&& Objects.equals(this.location, that.location);

0 commit comments

Comments
 (0)