Skip to content

Commit ec1623d

Browse files
fix(deps): [Many APIs] Update the Java code generator (gapic-generator-java) to 2.37.0 (googleapis#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: eyJwIjoiamF2YS1zZWNyZXRtYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3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MzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0= Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlZGlyZWN0b3J5Ly5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0= Copy-Tag: eyJwIjoiamF2YS1zZXJ2aWNlaGVhbHRoLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0= Copy-Tag: eyJwIjoiamF2YS1zaGVsbC8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9 Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1jc3MvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ== Copy-Tag: eyJwIjoiamF2YS1zaG9wcGluZy1tZXJjaGFudC1pbnZlbnRvcmllcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
1 parent 135c872 commit ec1623d

File tree

250 files changed

+40
-896
lines changed

Some content is hidden

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

250 files changed

+40
-896
lines changed

java-redis/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.32.0</version>
23+
<version>26.33.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-redis.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.38.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.39.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-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/CloudRedisSettings.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ public static Builder newBuilder() {
249249
}
250250

251251
/** Returns a new REST builder for this class. */
252-
@BetaApi
253252
public static Builder newHttpJsonBuilder() {
254253
return Builder.createHttpJsonDefault();
255254
}
@@ -291,7 +290,6 @@ private static Builder createDefault() {
291290
return new Builder(CloudRedisStubSettings.newBuilder());
292291
}
293292

294-
@BetaApi
295293
private static Builder createHttpJsonDefault() {
296294
return new Builder(CloudRedisStubSettings.newHttpJsonBuilder());
297295
}

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/CloudRedisStubSettings.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,6 @@ public UnaryCallSettings.Builder<CreateInstanceRequest, Operation> createInstanc
10131013
}
10141014

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

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

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

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

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

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

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

11081094
/** Returns the builder for the settings used for calls to rescheduleMaintenance. */
1109-
@BetaApi(
1110-
"The surface for use by generated code is not stable yet and may change in the future.")
11111095
public OperationCallSettings.Builder<RescheduleMaintenanceRequest, Instance, OperationMetadata>
11121096
rescheduleMaintenanceOperationSettings() {
11131097
return rescheduleMaintenanceOperationSettings;

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/HttpJsonCloudRedisCallableFactory.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

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

19-
import com.google.api.core.BetaApi;
2019
import com.google.api.gax.httpjson.HttpJsonCallSettings;
2120
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
2221
import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable;
@@ -41,7 +40,6 @@
4140
* <p>This class is for advanced usage.
4241
*/
4342
@Generated("by gapic-generator-java")
44-
@BetaApi
4543
public class HttpJsonCloudRedisCallableFactory
4644
implements HttpJsonStubCallableFactory<Operation, OperationsStub> {
4745

@@ -73,8 +71,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
7371
httpJsonCallSettings, callSettings, clientContext);
7472
}
7573

76-
@BetaApi(
77-
"The surface for long-running operations is not stable yet and may change in the future.")
7874
@Override
7975
public <RequestT, ResponseT, MetadataT>
8076
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/HttpJsonCloudRedisStub.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import static com.google.cloud.redis.v1.CloudRedisClient.ListLocationsPagedResponse;
2121

2222
import com.google.api.HttpRule;
23-
import com.google.api.core.BetaApi;
2423
import com.google.api.core.InternalApi;
2524
import com.google.api.gax.core.BackgroundResource;
2625
import com.google.api.gax.core.BackgroundResourceAggregation;
@@ -74,7 +73,6 @@
7473
* <p>This class is for advanced usage and reflects the underlying API directly.
7574
*/
7675
@Generated("by gapic-generator-java")
77-
@BetaApi
7876
public class HttpJsonCloudRedisStub extends CloudRedisStub {
7977
private static final TypeRegistry typeRegistry =
8078
TypeRegistry.newBuilder()

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/CloudRedisSettings.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ public static Builder newBuilder() {
235235
}
236236

237237
/** Returns a new REST builder for this class. */
238-
@BetaApi
239238
public static Builder newHttpJsonBuilder() {
240239
return Builder.createHttpJsonDefault();
241240
}
@@ -277,7 +276,6 @@ private static Builder createDefault() {
277276
return new Builder(CloudRedisStubSettings.newBuilder());
278277
}
279278

280-
@BetaApi
281279
private static Builder createHttpJsonDefault() {
282280
return new Builder(CloudRedisStubSettings.newHttpJsonBuilder());
283281
}

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/CloudRedisStubSettings.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,6 @@ public UnaryCallSettings.Builder<CreateInstanceRequest, Operation> createInstanc
907907
}
908908

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

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

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

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

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

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

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

1002988
/** Returns the builder for the settings used for calls to rescheduleMaintenance. */
1003-
@BetaApi(
1004-
"The surface for use by generated code is not stable yet and may change in the future.")
1005989
public OperationCallSettings.Builder<RescheduleMaintenanceRequest, Instance, Any>
1006990
rescheduleMaintenanceOperationSettings() {
1007991
return rescheduleMaintenanceOperationSettings;

java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/HttpJsonCloudRedisCallableFactory.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ public <RequestT, ResponseT> UnaryCallable<RequestT, ResponseT> createBatchingCa
7373
httpJsonCallSettings, callSettings, clientContext);
7474
}
7575

76-
@BetaApi(
77-
"The surface for long-running operations is not stable yet and may change in the future.")
7876
@Override
7977
public <RequestT, ResponseT, MetadataT>
8078
OperationCallable<RequestT, ResponseT, MetadataT> createOperationCallable(

java-resource-settings/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.32.0</version>
23+
<version>26.33.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-resource-settings.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.35.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resource-settings/1.36.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-resource-settings/google-cloud-resource-settings/src/main/java/com/google/cloud/resourcesettings/v1/ResourceSettingsServiceSettings.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ public static Builder newBuilder() {
145145
}
146146

147147
/** Returns a new REST builder for this class. */
148-
@BetaApi
149148
public static Builder newHttpJsonBuilder() {
150149
return Builder.createHttpJsonDefault();
151150
}
@@ -188,7 +187,6 @@ private static Builder createDefault() {
188187
return new Builder(ResourceSettingsServiceStubSettings.newBuilder());
189188
}
190189

191-
@BetaApi
192190
private static Builder createHttpJsonDefault() {
193191
return new Builder(ResourceSettingsServiceStubSettings.newHttpJsonBuilder());
194192
}

0 commit comments

Comments
 (0)