Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): [Many APIs] Update the Java code generator (gapic-generator-java) to 2.37.0 #10452

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-bare-metal-solution/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.32.0</version>
<version>26.33.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/google-cloud-java/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-bare-metal-solution.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.35.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.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 @@ -503,7 +503,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 @@ -545,7 +544,6 @@ private static Builder createDefault() {
return new Builder(BareMetalSolutionStubSettings.newBuilder());
}

@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(BareMetalSolutionStubSettings.newHttpJsonBuilder());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2479,8 +2479,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 @@ -2497,8 +2495,6 @@ public UnaryCallSettings.Builder<ResetInstanceRequest, Operation> resetInstanceS
}

/** Returns the builder for the settings used for calls to resetInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
ResetInstanceRequest, ResetInstanceResponse, OperationMetadata>
resetInstanceOperationSettings() {
Expand All @@ -2511,8 +2507,6 @@ public UnaryCallSettings.Builder<StartInstanceRequest, Operation> startInstanceS
}

/** Returns the builder for the settings used for calls to startInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
StartInstanceRequest, StartInstanceResponse, OperationMetadata>
startInstanceOperationSettings() {
Expand All @@ -2525,8 +2519,6 @@ public UnaryCallSettings.Builder<StopInstanceRequest, Operation> stopInstanceSet
}

/** Returns the builder for the settings used for calls to stopInstance. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
StopInstanceRequest, StopInstanceResponse, OperationMetadata>
stopInstanceOperationSettings() {
Expand All @@ -2540,8 +2532,6 @@ public UnaryCallSettings.Builder<StopInstanceRequest, Operation> stopInstanceSet
}

/** Returns the builder for the settings used for calls to enableInteractiveSerialConsole. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
EnableInteractiveSerialConsoleRequest,
EnableInteractiveSerialConsoleResponse,
Expand All @@ -2557,8 +2547,6 @@ public UnaryCallSettings.Builder<StopInstanceRequest, Operation> stopInstanceSet
}

/** Returns the builder for the settings used for calls to disableInteractiveSerialConsole. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
DisableInteractiveSerialConsoleRequest,
DisableInteractiveSerialConsoleResponse,
Expand All @@ -2573,8 +2561,6 @@ public UnaryCallSettings.Builder<DetachLunRequest, Operation> detachLunSettings(
}

/** Returns the builder for the settings used for calls to detachLun. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DetachLunRequest, Instance, OperationMetadata>
detachLunOperationSettings() {
return detachLunOperationSettings;
Expand Down Expand Up @@ -2615,8 +2601,6 @@ public UnaryCallSettings.Builder<UpdateVolumeRequest, Operation> updateVolumeSet
}

/** Returns the builder for the settings used for calls to updateVolume. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateVolumeRequest, Volume, OperationMetadata>
updateVolumeOperationSettings() {
return updateVolumeOperationSettings;
Expand All @@ -2633,8 +2617,6 @@ public UnaryCallSettings.Builder<EvictVolumeRequest, Operation> evictVolumeSetti
}

/** Returns the builder for the settings used for calls to evictVolume. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<EvictVolumeRequest, Empty, OperationMetadata>
evictVolumeOperationSettings() {
return evictVolumeOperationSettings;
Expand All @@ -2646,8 +2628,6 @@ public UnaryCallSettings.Builder<ResizeVolumeRequest, Operation> resizeVolumeSet
}

/** Returns the builder for the settings used for calls to resizeVolume. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<ResizeVolumeRequest, Volume, OperationMetadata>
resizeVolumeOperationSettings() {
return resizeVolumeOperationSettings;
Expand Down Expand Up @@ -2677,8 +2657,6 @@ public UnaryCallSettings.Builder<UpdateNetworkRequest, Operation> updateNetworkS
}

/** Returns the builder for the settings used for calls to updateNetwork. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateNetworkRequest, Network, OperationMetadata>
updateNetworkOperationSettings() {
return updateNetworkOperationSettings;
Expand All @@ -2697,8 +2675,6 @@ public UnaryCallSettings.Builder<UpdateNetworkRequest, Operation> updateNetworkS
}

/** Returns the builder for the settings used for calls to restoreVolumeSnapshot. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
RestoreVolumeSnapshotRequest, VolumeSnapshot, OperationMetadata>
restoreVolumeSnapshotOperationSettings() {
Expand Down Expand Up @@ -2743,8 +2719,6 @@ public UnaryCallSettings.Builder<EvictLunRequest, Operation> evictLunSettings()
}

/** Returns the builder for the settings used for calls to evictLun. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<EvictLunRequest, Empty, OperationMetadata>
evictLunOperationSettings() {
return evictLunOperationSettings;
Expand All @@ -2768,8 +2742,6 @@ public UnaryCallSettings.Builder<UpdateNfsShareRequest, Operation> updateNfsShar
}

/** Returns the builder for the settings used for calls to updateNfsShare. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateNfsShareRequest, NfsShare, OperationMetadata>
updateNfsShareOperationSettings() {
return updateNfsShareOperationSettings;
Expand All @@ -2781,8 +2753,6 @@ public UnaryCallSettings.Builder<CreateNfsShareRequest, Operation> createNfsShar
}

/** Returns the builder for the settings used for calls to createNfsShare. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateNfsShareRequest, NfsShare, OperationMetadata>
createNfsShareOperationSettings() {
return createNfsShareOperationSettings;
Expand All @@ -2799,8 +2769,6 @@ public UnaryCallSettings.Builder<DeleteNfsShareRequest, Operation> deleteNfsShar
}

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

package com.google.cloud.baremetalsolution.v2.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 HttpJsonBareMetalSolutionCallableFactory
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 @@ -27,7 +27,6 @@
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListVolumesPagedResponse;

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 @@ -134,7 +133,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonBareMetalSolutionStub extends BareMetalSolutionStub {
private static final TypeRegistry typeRegistry =
TypeRegistry.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,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 @@ -225,7 +224,6 @@ private static Builder createDefault() {
return new Builder(BatchServiceStubSettings.newBuilder());
}

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

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

package com.google.cloud.batch.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 HttpJsonBatchServiceCallableFactory
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 @@ -21,7 +21,6 @@
import static com.google.cloud.batch.v1.BatchServiceClient.ListTasksPagedResponse;

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 @@ -71,7 +70,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonBatchServiceStub extends BatchServiceStub {
private static final TypeRegistry typeRegistry =
TypeRegistry.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,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 @@ -226,7 +225,6 @@ private static Builder createDefault() {
return new Builder(BatchServiceStubSettings.newBuilder());
}

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

/** Returns the builder for the settings used for calls to deleteJob. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DeleteJobRequest, Empty, OperationMetadata>
deleteJobOperationSettings() {
return deleteJobOperationSettings;
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-beyondcorp-appconnections/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.32.0</version>
<version>26.33.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/google-cloud-java/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-beyondcorp-appconnections.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.34.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 @@ -22,7 +22,6 @@

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -843,8 +842,6 @@ public Builder applyToAllUnaryMethods(
}

/** Returns the builder for the settings used for calls to createAppConnection. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
CreateAppConnectionRequest, AppConnection, AppConnectionOperationMetadata>
createAppConnectionOperationSettings() {
Expand All @@ -858,8 +855,6 @@ public Builder applyToAllUnaryMethods(
}

/** Returns the builder for the settings used for calls to updateAppConnection. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
UpdateAppConnectionRequest, AppConnection, AppConnectionOperationMetadata>
updateAppConnectionOperationSettings() {
Expand All @@ -873,8 +868,6 @@ public Builder applyToAllUnaryMethods(
}

/** Returns the builder for the settings used for calls to deleteAppConnection. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
DeleteAppConnectionRequest, Empty, AppConnectionOperationMetadata>
deleteAppConnectionOperationSettings() {
Expand Down
4 changes: 2 additions & 2 deletions java-beyondcorp-appconnectors/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.32.0</version>
<version>26.33.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/google-cloud-java/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-beyondcorp-appconnectors.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.34.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
Loading
Loading