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 #10453

Merged
merged 4 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions java-cloudcommerceconsumerprocurement/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-cloudcommerceconsumerprocurement.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.33.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/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 @@ -154,7 +154,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 @@ -197,7 +196,6 @@ private static Builder createDefault() {
return new Builder(ConsumerProcurementServiceStubSettings.newBuilder());
}

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

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

package com.google.cloud.commerce.consumer.procurement.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 HttpJsonConsumerProcurementServiceCallableFactory
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 @@ -19,7 +19,6 @@
import static com.google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementServiceClient.ListOrdersPagedResponse;

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 @@ -59,7 +58,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonConsumerProcurementServiceStub extends ConsumerProcurementServiceStub {
private static final TypeRegistry typeRegistry =
TypeRegistry.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,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 @@ -198,7 +197,6 @@ private static Builder createDefault() {
return new Builder(ConsumerProcurementServiceStubSettings.newBuilder());
}

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

/** Returns the builder for the settings used for calls to placeOrder. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<PlaceOrderRequest, Order, PlaceOrderMetadata>
placeOrderOperationSettings() {
return placeOrderOperationSettings;
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-cloudquotas/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 @@ -203,7 +203,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-cloudquotas/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-cloudquotas.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.3.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.4.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 @@ -164,7 +164,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 @@ -206,7 +205,6 @@ private static Builder createDefault() {
return new Builder(CloudQuotasStubSettings.newBuilder());
}

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

package com.google.api.cloudquotas.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 HttpJsonCloudQuotasCallableFactory
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 @@ -29,7 +29,6 @@
import com.google.api.cloudquotas.v1.QuotaInfo;
import com.google.api.cloudquotas.v1.QuotaPreference;
import com.google.api.cloudquotas.v1.UpdateQuotaPreferenceRequest;
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 @@ -58,7 +57,6 @@
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonCloudQuotasStub extends CloudQuotasStub {
private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.api.cloudquotas.v1;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -97,17 +96,14 @@ public static Builder newBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static Builder newProjectLocationBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderLocationBuilder newFolderLocationBuilder() {
return new FolderLocationBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationLocationBuilder newOrganizationLocationBuilder() {
return new OrganizationLocationBuilder();
}
Expand All @@ -120,17 +116,14 @@ public static LocationName of(String project, String location) {
return newBuilder().setProject(project).setLocation(location).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LocationName ofProjectLocationName(String project, String location) {
return newBuilder().setProject(project).setLocation(location).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LocationName ofFolderLocationName(String folder, String location) {
return newFolderLocationBuilder().setFolder(folder).setLocation(location).build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LocationName ofOrganizationLocationName(String organization, String location) {
return newOrganizationLocationBuilder()
.setOrganization(organization)
Expand All @@ -142,17 +135,14 @@ public static String format(String project, String location) {
return newBuilder().setProject(project).setLocation(location).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatProjectLocationName(String project, String location) {
return newBuilder().setProject(project).setLocation(location).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatFolderLocationName(String folder, String location) {
return newFolderLocationBuilder().setFolder(folder).setLocation(location).build().toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatOrganizationLocationName(String organization, String location) {
return newOrganizationLocationBuilder()
.setOrganization(organization)
Expand Down Expand Up @@ -308,7 +298,6 @@ public LocationName build() {
}

/** Builder for folders/{folder}/locations/{location}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderLocationBuilder {
private String folder;
private String location;
Expand Down Expand Up @@ -339,7 +328,6 @@ public LocationName build() {
}

/** Builder for organizations/{organization}/locations/{location}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationLocationBuilder {
private String organization;
private String location;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.api.cloudquotas.v1;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -118,17 +117,14 @@ public static Builder newBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static Builder newProjectLocationServiceQuotaInfoBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderLocationServiceQuotaInfoBuilder newFolderLocationServiceQuotaInfoBuilder() {
return new FolderLocationServiceQuotaInfoBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationLocationServiceQuotaInfoBuilder
newOrganizationLocationServiceQuotaInfoBuilder() {
return new OrganizationLocationServiceQuotaInfoBuilder();
Expand All @@ -148,7 +144,6 @@ public static QuotaInfoName of(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static QuotaInfoName ofProjectLocationServiceQuotaInfoName(
String project, String location, String service, String quotaInfo) {
return newBuilder()
Expand All @@ -159,7 +154,6 @@ public static QuotaInfoName ofProjectLocationServiceQuotaInfoName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static QuotaInfoName ofFolderLocationServiceQuotaInfoName(
String folder, String location, String service, String quotaInfo) {
return newFolderLocationServiceQuotaInfoBuilder()
Expand All @@ -170,7 +164,6 @@ public static QuotaInfoName ofFolderLocationServiceQuotaInfoName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static QuotaInfoName ofOrganizationLocationServiceQuotaInfoName(
String organization, String location, String service, String quotaInfo) {
return newOrganizationLocationServiceQuotaInfoBuilder()
Expand All @@ -191,7 +184,6 @@ public static String format(String project, String location, String service, Str
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatProjectLocationServiceQuotaInfoName(
String project, String location, String service, String quotaInfo) {
return newBuilder()
Expand All @@ -203,7 +195,6 @@ public static String formatProjectLocationServiceQuotaInfoName(
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatFolderLocationServiceQuotaInfoName(
String folder, String location, String service, String quotaInfo) {
return newFolderLocationServiceQuotaInfoBuilder()
Expand All @@ -215,7 +206,6 @@ public static String formatFolderLocationServiceQuotaInfoName(
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatOrganizationLocationServiceQuotaInfoName(
String organization, String location, String service, String quotaInfo) {
return newOrganizationLocationServiceQuotaInfoBuilder()
Expand Down Expand Up @@ -425,7 +415,6 @@ public QuotaInfoName build() {
/**
* Builder for folders/{folder}/locations/{location}/services/{service}/quotaInfos/{quota_info}.
*/
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderLocationServiceQuotaInfoBuilder {
private String folder;
private String location;
Expand Down Expand Up @@ -479,7 +468,6 @@ public QuotaInfoName build() {
* Builder for
* organizations/{organization}/locations/{location}/services/{service}/quotaInfos/{quota_info}.
*/
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationLocationServiceQuotaInfoBuilder {
private String organization;
private String location;
Expand Down
Loading
Loading