Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit b33105f

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions
PiperOrigin-RevId: 472750037 Source-Link: googleapis/googleapis@88f2ea3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
1 parent ff1f62a commit b33105f

File tree

192 files changed

+26246
-40777
lines changed

Some content is hidden

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

192 files changed

+26246
-40777
lines changed

grpc-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchServiceGrpc.java

Lines changed: 0 additions & 893 deletions
This file was deleted.

grpc-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchServiceGrpc.java

Lines changed: 0 additions & 909 deletions
This file was deleted.

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceClient.java

Lines changed: 200 additions & 80 deletions
Large diffs are not rendered by default.

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/BatchServiceSettings.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import com.google.api.gax.rpc.ClientSettings;
3232
import com.google.api.gax.rpc.OperationCallSettings;
3333
import com.google.api.gax.rpc.PagedCallSettings;
34+
import com.google.api.gax.rpc.StubSettings;
3435
import com.google.api.gax.rpc.TransportChannelProvider;
3536
import com.google.api.gax.rpc.UnaryCallSettings;
3637
import com.google.cloud.batch.v1.stub.BatchServiceStubSettings;
@@ -67,16 +68,16 @@
6768
* <p>For example, to set the total timeout of createJob to 30 seconds:
6869
*
6970
* <pre>{@code
70-
* // This snippet has been automatically generated for illustrative purposes only.
71-
* // It may require modifications to work in your environment.
71+
* // This snippet has been automatically generated and should be regarded as a code template only.
72+
* // It will require modifications to work:
73+
* // - It may require correct/in-range values for request initialization.
74+
* // - It may require specifying regional endpoints when creating the service client as shown in
75+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
7276
* BatchServiceSettings.Builder batchServiceSettingsBuilder = BatchServiceSettings.newBuilder();
7377
* batchServiceSettingsBuilder
7478
* .createJobSettings()
7579
* .setRetrySettings(
76-
* batchServiceSettingsBuilder
77-
* .createJobSettings()
78-
* .getRetrySettings()
79-
* .toBuilder()
80+
* batchServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
8081
* .setTotalTimeout(Duration.ofSeconds(30))
8182
* .build());
8283
* BatchServiceSettings batchServiceSettings = batchServiceSettingsBuilder.build();

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/gapic_metadata.json

File renamed without changes.

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/package-info.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@
2727
* <p>Sample for BatchServiceClient:
2828
*
2929
* <pre>{@code
30-
* // This snippet has been automatically generated for illustrative purposes only.
31-
* // It may require modifications to work in your environment.
30+
* // This snippet has been automatically generated and should be regarded as a code template only.
31+
* // It will require modifications to work:
32+
* // - It may require correct/in-range values for request initialization.
33+
* // - It may require specifying regional endpoints when creating the service client as shown in
34+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3235
* try (BatchServiceClient batchServiceClient = BatchServiceClient.create()) {
3336
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
3437
* Job job = Job.newBuilder().build();

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStub.java

File renamed without changes.

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/BatchServiceStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@
9898
* <p>For example, to set the total timeout of createJob to 30 seconds:
9999
*
100100
* <pre>{@code
101-
* // This snippet has been automatically generated for illustrative purposes only.
102-
* // It may require modifications to work in your environment.
101+
* // This snippet has been automatically generated and should be regarded as a code template only.
102+
* // It will require modifications to work:
103+
* // - It may require correct/in-range values for request initialization.
104+
* // - It may require specifying regional endpoints when creating the service client as shown in
105+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
103106
* BatchServiceStubSettings.Builder batchServiceSettingsBuilder =
104107
* BatchServiceStubSettings.newBuilder();
105108
* batchServiceSettingsBuilder
106109
* .createJobSettings()
107110
* .setRetrySettings(
108-
* batchServiceSettingsBuilder
109-
* .createJobSettings()
110-
* .getRetrySettings()
111-
* .toBuilder()
111+
* batchServiceSettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
112112
* .setTotalTimeout(Duration.ofSeconds(30))
113113
* .build());
114114
* BatchServiceStubSettings batchServiceSettings = batchServiceSettingsBuilder.build();

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceCallableFactory.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceCallableFactory.java

File renamed without changes.

google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java renamed to owl-bot-staging/v1/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/GrpcBatchServiceStub.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
import io.grpc.MethodDescriptor;
5555
import io.grpc.protobuf.ProtoUtils;
5656
import java.io.IOException;
57+
import java.util.Map;
5758
import java.util.concurrent.TimeUnit;
5859
import javax.annotation.Generated;
5960

0 commit comments

Comments
 (0)