Skip to content

Commit

Permalink
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
Browse files Browse the repository at this point in the history
…ator_java versions (#214)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 8, 2022
1 parent a65ea5e commit 293f962
Show file tree
Hide file tree
Showing 18 changed files with 154 additions and 76 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchCatalogsRequest request =
* SearchCatalogsRequest.newBuilder()
Expand Down Expand Up @@ -101,8 +104,11 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PrivateCatalogSettings privateCatalogSettings =
* PrivateCatalogSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -113,8 +119,11 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PrivateCatalogSettings privateCatalogSettings =
* PrivateCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
* PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create(privateCatalogSettings);
Expand All @@ -124,8 +133,11 @@
* the wire:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PrivateCatalogSettings privateCatalogSettings =
* PrivateCatalogSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -195,8 +207,11 @@ public PrivateCatalogStub getStub() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchCatalogsRequest request =
* SearchCatalogsRequest.newBuilder()
Expand Down Expand Up @@ -226,8 +241,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchCatalogsRequest request =
* SearchCatalogsRequest.newBuilder()
Expand Down Expand Up @@ -258,8 +276,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchCatalogsRequest request =
* SearchCatalogsRequest.newBuilder()
Expand Down Expand Up @@ -297,8 +318,11 @@ public final SearchCatalogsPagedResponse searchCatalogs(SearchCatalogsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchProductsRequest request =
* SearchProductsRequest.newBuilder()
Expand Down Expand Up @@ -328,8 +352,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchProductsRequest request =
* SearchProductsRequest.newBuilder()
Expand Down Expand Up @@ -360,8 +387,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchProductsRequest request =
* SearchProductsRequest.newBuilder()
Expand Down Expand Up @@ -399,8 +429,11 @@ public final SearchProductsPagedResponse searchProducts(SearchProductsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchVersionsRequest request =
* SearchVersionsRequest.newBuilder()
Expand Down Expand Up @@ -430,8 +463,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchVersionsRequest request =
* SearchVersionsRequest.newBuilder()
Expand Down Expand Up @@ -462,8 +498,11 @@ public final SearchVersionsPagedResponse searchVersions(SearchVersionsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchVersionsRequest request =
* SearchVersionsRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@
* <p>For example, to set the total timeout of searchCatalogs to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PrivateCatalogSettings.Builder privateCatalogSettingsBuilder =
* PrivateCatalogSettings.newBuilder();
* privateCatalogSettingsBuilder
* .searchCatalogsSettings()
* .setRetrySettings(
* privateCatalogSettingsBuilder
* .searchCatalogsSettings()
* .getRetrySettings()
* .toBuilder()
* privateCatalogSettingsBuilder.searchCatalogsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* PrivateCatalogSettings privateCatalogSettings = privateCatalogSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@
* <p>Sample for PrivateCatalogClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
* SearchCatalogsRequest request =
* SearchCatalogsRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@
* <p>For example, to set the total timeout of searchCatalogs to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PrivateCatalogStubSettings.Builder privateCatalogSettingsBuilder =
* PrivateCatalogStubSettings.newBuilder();
* privateCatalogSettingsBuilder
* .searchCatalogsSettings()
* .setRetrySettings(
* privateCatalogSettingsBuilder
* .searchCatalogsSettings()
* .getRetrySettings()
* .toBuilder()
* privateCatalogSettingsBuilder.searchCatalogsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* PrivateCatalogStubSettings privateCatalogSettings = privateCatalogSettingsBuilder.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetCredentialsProvider() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
PrivateCatalogSettings privateCatalogSettings =
PrivateCatalogSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetCredentialsProvider1() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
PrivateCatalogSettings privateCatalogSettings =
PrivateCatalogSettings.newBuilder()
.setTransportChannelProvider(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetEndpoint() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
PrivateCatalogSettings privateCatalogSettings =
PrivateCatalogSettings.newBuilder().setEndpoint(myEndpoint).build();
PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create(privateCatalogSettings);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncSearchCatalogs() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
SearchCatalogsRequest request =
SearchCatalogsRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncSearchCatalogsPaged() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
SearchCatalogsRequest request =
SearchCatalogsRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncSearchCatalogs() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PrivateCatalogClient privateCatalogClient = PrivateCatalogClient.create()) {
SearchCatalogsRequest request =
SearchCatalogsRequest.newBuilder()
Expand Down
Loading

0 comments on commit 293f962

Please sign in to comment.