Skip to content

Commit

Permalink
fix(deps): [Many APIs] Update the Java code generator (gapic-generato…
Browse files Browse the repository at this point in the history
…r-java) to 2.37.0 (#10457)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 611816371

Source-Link: https://togithub.com/googleapis/googleapis/commit/2a40f63ea714c7f4c6856a5db4d1f3cc7d4c4b18

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d30ff0767777b381fb1617f67a90e3abd3bdc6dc
Copy-Tag: eyJwIjoiamF2YS1yZWRpcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1yZXNvdXJjZS1zZXR0aW5ncy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1yZXNvdXJjZW1hbmFnZXIvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1yZXRhaWwvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1ydW4vLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1zY2hlZHVsZXIvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1zZWNyZXRtYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc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IsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlZGlyZWN0b3J5Ly5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlaGVhbHRoLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
Copy-Tag: eyJwIjoiamF2YS1zaGVsbC8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1jc3MvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1tZXJjaGFudC1pbnZlbnRvcmllcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Mar 4, 2024
1 parent 135c872 commit ec1623d
Show file tree
Hide file tree
Showing 250 changed files with 40 additions and 896 deletions.
4 changes: 2 additions & 2 deletions java-redis/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.32.0</version>
<version>26.33.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-redis.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.38.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.39.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 @@ -249,7 +249,6 @@ public static Builder newBuilder() {
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
Expand Down Expand Up @@ -291,7 +290,6 @@ private static Builder createDefault() {
return new Builder(CloudRedisStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(CloudRedisStubSettings.newHttpJsonBuilder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1013,8 +1013,6 @@ public UnaryCallSettings.Builder<CreateInstanceRequest, Operation> createInstanc
}

/** Returns the builder for the settings used for calls to createInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateInstanceRequest, Instance, OperationMetadata>
createInstanceOperationSettings() {
return createInstanceOperationSettings;
Expand All @@ -1026,8 +1024,6 @@ public UnaryCallSettings.Builder<UpdateInstanceRequest, Operation> updateInstanc
}

/** Returns the builder for the settings used for calls to updateInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateInstanceRequest, Instance, OperationMetadata>
updateInstanceOperationSettings() {
return updateInstanceOperationSettings;
Expand All @@ -1039,8 +1035,6 @@ public UnaryCallSettings.Builder<UpgradeInstanceRequest, Operation> upgradeInsta
}

/** Returns the builder for the settings used for calls to upgradeInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpgradeInstanceRequest, Instance, OperationMetadata>
upgradeInstanceOperationSettings() {
return upgradeInstanceOperationSettings;
Expand All @@ -1052,8 +1046,6 @@ public UnaryCallSettings.Builder<ImportInstanceRequest, Operation> importInstanc
}

/** Returns the builder for the settings used for calls to importInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ImportInstanceRequest, Instance, OperationMetadata>
importInstanceOperationSettings() {
return importInstanceOperationSettings;
Expand All @@ -1065,8 +1057,6 @@ public UnaryCallSettings.Builder<ExportInstanceRequest, Operation> exportInstanc
}

/** Returns the builder for the settings used for calls to exportInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ExportInstanceRequest, Instance, OperationMetadata>
exportInstanceOperationSettings() {
return exportInstanceOperationSettings;
Expand All @@ -1079,8 +1069,6 @@ public UnaryCallSettings.Builder<ExportInstanceRequest, Operation> exportInstanc
}

/** Returns the builder for the settings used for calls to failoverInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<FailoverInstanceRequest, Instance, OperationMetadata>
failoverInstanceOperationSettings() {
return failoverInstanceOperationSettings;
Expand All @@ -1092,8 +1080,6 @@ public UnaryCallSettings.Builder<DeleteInstanceRequest, Operation> deleteInstanc
}

/** Returns the builder for the settings used for calls to deleteInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DeleteInstanceRequest, Empty, OperationMetadata>
deleteInstanceOperationSettings() {
return deleteInstanceOperationSettings;
Expand All @@ -1106,8 +1092,6 @@ public UnaryCallSettings.Builder<DeleteInstanceRequest, Operation> deleteInstanc
}

/** Returns the builder for the settings used for calls to rescheduleMaintenance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<RescheduleMaintenanceRequest, Instance, OperationMetadata>
rescheduleMaintenanceOperationSettings() {
return rescheduleMaintenanceOperationSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.redis.v1.stub;

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable;
Expand All @@ -41,7 +40,6 @@
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonCloudRedisCallableFactory
implements HttpJsonStubCallableFactory<Operation, OperationsStub> {

Expand Down Expand Up @@ -73,8 +71,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static com.google.cloud.redis.v1.CloudRedisClient.ListLocationsPagedResponse;

import com.google.api.HttpRule;
import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.core.BackgroundResourceAggregation;
Expand Down Expand Up @@ -74,7 +73,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonCloudRedisStub extends CloudRedisStub {
private static final TypeRegistry typeRegistry =
TypeRegistry.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ public static Builder newBuilder() {
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
Expand Down Expand Up @@ -277,7 +276,6 @@ private static Builder createDefault() {
return new Builder(CloudRedisStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(CloudRedisStubSettings.newHttpJsonBuilder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,6 @@ public UnaryCallSettings.Builder<CreateInstanceRequest, Operation> createInstanc
}

/** Returns the builder for the settings used for calls to createInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateInstanceRequest, Instance, Any>
createInstanceOperationSettings() {
return createInstanceOperationSettings;
Expand All @@ -920,8 +918,6 @@ public UnaryCallSettings.Builder<UpdateInstanceRequest, Operation> updateInstanc
}

/** Returns the builder for the settings used for calls to updateInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateInstanceRequest, Instance, Any>
updateInstanceOperationSettings() {
return updateInstanceOperationSettings;
Expand All @@ -933,8 +929,6 @@ public UnaryCallSettings.Builder<UpgradeInstanceRequest, Operation> upgradeInsta
}

/** Returns the builder for the settings used for calls to upgradeInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpgradeInstanceRequest, Instance, Any>
upgradeInstanceOperationSettings() {
return upgradeInstanceOperationSettings;
Expand All @@ -946,8 +940,6 @@ public UnaryCallSettings.Builder<ImportInstanceRequest, Operation> importInstanc
}

/** Returns the builder for the settings used for calls to importInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ImportInstanceRequest, Instance, Any>
importInstanceOperationSettings() {
return importInstanceOperationSettings;
Expand All @@ -959,8 +951,6 @@ public UnaryCallSettings.Builder<ExportInstanceRequest, Operation> exportInstanc
}

/** Returns the builder for the settings used for calls to exportInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ExportInstanceRequest, Instance, Any>
exportInstanceOperationSettings() {
return exportInstanceOperationSettings;
Expand All @@ -973,8 +963,6 @@ public UnaryCallSettings.Builder<ExportInstanceRequest, Operation> exportInstanc
}

/** Returns the builder for the settings used for calls to failoverInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<FailoverInstanceRequest, Instance, Any>
failoverInstanceOperationSettings() {
return failoverInstanceOperationSettings;
Expand All @@ -986,8 +974,6 @@ public UnaryCallSettings.Builder<DeleteInstanceRequest, Operation> deleteInstanc
}

/** Returns the builder for the settings used for calls to deleteInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DeleteInstanceRequest, Empty, Any>
deleteInstanceOperationSettings() {
return deleteInstanceOperationSettings;
Expand All @@ -1000,8 +986,6 @@ public UnaryCallSettings.Builder<DeleteInstanceRequest, Operation> deleteInstanc
}

/** Returns the builder for the settings used for calls to rescheduleMaintenance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<RescheduleMaintenanceRequest, Instance, Any>
rescheduleMaintenanceOperationSettings() {
return rescheduleMaintenanceOperationSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
4 changes: 2 additions & 2 deletions java-resource-settings/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.32.0</version>
<version>26.33.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-resource-settings.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.35.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.36.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 @@ -145,7 +145,6 @@ public static Builder newBuilder() {
}

/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
Expand Down Expand Up @@ -188,7 +187,6 @@ private static Builder createDefault() {
return new Builder(ResourceSettingsServiceStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(ResourceSettingsServiceStubSettings.newHttpJsonBuilder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.resourcesettings.v1.stub;

import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable;
Expand All @@ -41,7 +40,6 @@
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonResourceSettingsServiceCallableFactory
implements HttpJsonStubCallableFactory<Operation, OperationsStub> {

Expand Down Expand Up @@ -73,8 +71,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
httpJsonCallSettings, callSettings, clientContext);
}

@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
@Override
public <RequestT, ResponseT, MetadataT>
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import static com.google.cloud.resourcesettings.v1.ResourceSettingsServiceClient.ListSettingsPagedResponse;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.core.BackgroundResourceAggregation;
Expand Down Expand Up @@ -52,7 +51,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonResourceSettingsServiceStub extends ResourceSettingsServiceStub {
private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();

Expand Down

0 comments on commit ec1623d

Please sign in to comment.