Skip to content

Commit

Permalink
chore: [Many APIs] Update the Java code generator (gapic-generator-ja…
Browse files Browse the repository at this point in the history
…va) to 2.25.0 (#9814)

- [ ] 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: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLWFuYWx5dGljcy1hZG1pbi8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiLmdpdGh1Yi9yZWxlYXNlLW5vdGUtZ2VuZXJhdGlvbi90ZXN0ZGF0YS9qYXZhLW1hcHMtbWFwc3BsYXRmb3JtZGF0YXNldHMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3NhcHByb3ZhbC8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hY2Nlc3Njb250ZXh0bWFuYWdlci8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hZHZpc29yeW5vdGlmaWNhdGlvbnMvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1haXBsYXRmb3JtLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0=
Copy-Tag: eyJwIjoiamF2YS1hbGxveWRiLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0=
Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtYWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3MtZGF0YS8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hbmFseXRpY3NodWIvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1hcGktZ2F0ZXdheS8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hcGlnZWUtY29ubmVjdC8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hcGlnZWUtcmVnaXN0cnkvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1hcGlrZXlzLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0=
Copy-Tag: eyJwIjoiamF2YS1hcmVhMTIwLXRhYmxlcy8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hcnRpZmFjdC1yZWdpc3RyeS8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hc3NldC8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hc3N1cmVkLXdvcmtsb2Fkcy8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9
Copy-Tag: eyJwIjoiamF2YS1hdXRvbWwvLk93bEJvdC55YW1sIiwiaCI6ImM4YzAxMTIxNTFiMTlkODkwYmI0OWI3NDdiMGFiMjhiODE2ZDQ3YjEifQ==
Copy-Tag: eyJwIjoiamF2YS1iYXJlLW1ldGFsLXNvbHV0aW9uLy5Pd2xCb3QueWFtbCIsImgiOiJjOGMwMTEyMTUxYjE5ZDg5MGJiNDliNzQ3YjBhYjI4YjgxNmQ0N2IxIn0=
  • Loading branch information
gcf-owl-bot[bot] authored Sep 11, 2023
1 parent 912fc3b commit 980fd46
Show file tree
Hide file tree
Showing 233 changed files with 249 additions and 249 deletions.
4 changes: 2 additions & 2 deletions java-accessapproval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.19.0</version>
<version>26.22.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.22.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.24.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
AccessApprovalSettingsName that = ((AccessApprovalSettingsName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.folder, that.folder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ApprovalRequestName that = ((ApprovalRequestName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.approvalRequest, that.approvalRequest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
FolderName that = ((FolderName) o);
return Objects.equals(this.folder, that.folder);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
OrganizationName that = ((OrganizationName) o);
return Objects.equals(this.organization, that.organization);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ProjectName that = ((ProjectName) o);
return Objects.equals(this.project, that.project);
}
Expand Down
4 changes: 2 additions & 2 deletions java-accesscontextmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.19.0</version>
<version>26.22.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.22.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.24.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
AccessLevelName that = ((AccessLevelName) o);
return Objects.equals(this.accessPolicy, that.accessPolicy)
&& Objects.equals(this.accessLevel, that.accessLevel);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
AccessPolicyName that = ((AccessPolicyName) o);
return Objects.equals(this.accessPolicy, that.accessPolicy);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
GcpUserAccessBindingName that = ((GcpUserAccessBindingName) o);
return Objects.equals(this.organization, that.organization)
&& Objects.equals(this.gcpUserAccessBinding, that.gcpUserAccessBinding);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
OrganizationName that = ((OrganizationName) o);
return Objects.equals(this.organization, that.organization);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ServicePerimeterName that = ((ServicePerimeterName) o);
return Objects.equals(this.accessPolicy, that.accessPolicy)
&& Objects.equals(this.servicePerimeter, that.servicePerimeter);
Expand Down
4 changes: 2 additions & 2 deletions java-advisorynotifications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.20.0</version>
<version>26.22.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-advisorynotifications/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.11.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.12.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
LocationName that = ((LocationName) o);
return Objects.equals(this.organization, that.organization)
&& Objects.equals(this.location, that.location);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
NotificationName that = ((NotificationName) o);
return Objects.equals(this.organization, that.organization)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
AnnotationSpecName that = ((AnnotationSpecName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ArtifactName that = ((ArtifactName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
BatchPredictionJobName that = ((BatchPredictionJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ContextName that = ((ContextName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
CustomJobName that = ((CustomJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
DataItemName that = ((DataItemName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
DataLabelingJobName that = ((DataLabelingJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
DatasetName that = ((DatasetName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
EndpointName that = ((EndpointName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
EntityTypeName that = ((EntityTypeName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ExecutionName that = ((ExecutionName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
FeatureName that = ((FeatureName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
FeaturestoreName that = ((FeaturestoreName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
HyperparameterTuningJobName that = ((HyperparameterTuningJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
IndexEndpointName that = ((IndexEndpointName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
IndexName that = ((IndexName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
LocationName that = ((LocationName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
MetadataSchemaName that = ((MetadataSchemaName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
MetadataStoreName that = ((MetadataStoreName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ModelDeploymentMonitoringJobName that = ((ModelDeploymentMonitoringJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ModelEvaluationName that = ((ModelEvaluationName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ModelEvaluationSliceName that = ((ModelEvaluationSliceName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
ModelName that = ((ModelName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
NasJobName that = ((NasJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
NasTrialDetailName that = ((NasTrialDetailName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o != null || getClass() == o.getClass()) {
if (o != null && getClass() == o.getClass()) {
PipelineJobName that = ((PipelineJobName) o);
return Objects.equals(this.project, that.project)
&& Objects.equals(this.location, that.location)
Expand Down
Loading

0 comments on commit 980fd46

Please sign in to comment.