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

- [ ] 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: eyJwIjoiamF2YS1jbG91ZGNvbW1lcmNlY29uc3VtZXJwcm9jdXJlbWVudC8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1jbG91ZHF1b3Rhcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1jbG91ZHN1cHBvcnQvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1jb25maWRlbnRpYWxjb21wdXRpbmcvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1jb250YWN0LWNlbnRlci1pbnNpZ2h0cy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXJhbmFseXNpcy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-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IiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiZDMwZmYwNzY3Nzc3YjM4MWZiMTYxN2Y2N2E5MGUzYWJkM2JkYzZkYyJ9
Copy-Tag: eyJwIjoiamF2YS1kYXRhc3RyZWFtLy5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
Copy-Tag: eyJwIjoiamF2YS1kZWJ1Z2dlci1jbGllbnQvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6ImQzMGZmMDc2Nzc3N2IzODFmYjE2MTdmNjdhOTBlM2FiZDNiZGM2ZGMifQ==
Copy-Tag: eyJwIjoiamF2YS1kaWFsb2dmbG93LWN4Ly5Pd2xCb3QueWFtbCIsImgiOiJkMzBmZjA3Njc3NzdiMzgxZmIxNjE3ZjY3YTkwZTNhYmQzYmRjNmRjIn0=
  • Loading branch information
gcf-owl-bot[bot] committed Mar 4, 2024
1 parent a38c88a commit 5a3bf2b
Show file tree
Hide file tree
Showing 319 changed files with 40 additions and 1,150 deletions.
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

0 comments on commit 5a3bf2b

Please sign in to comment.