Skip to content

Commit e0a83af

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#817)
* 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 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 58b0062 commit e0a83af

File tree

5 files changed

+136
-63
lines changed

5 files changed

+136
-63
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java

Lines changed: 115 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,11 @@
113113
* calls that map to API methods. Sample code to get started:
114114
*
115115
* <pre>{@code
116-
* // This snippet has been automatically generated for illustrative purposes only.
117-
* // It may require modifications to work in your environment.
116+
* // This snippet has been automatically generated and should be regarded as a code template only.
117+
* // It will require modifications to work:
118+
* // - It may require correct/in-range values for request initialization.
119+
* // - It may require specifying regional endpoints when creating the service client as shown in
120+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
118121
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
119122
* GetIndexRequest request =
120123
* GetIndexRequest.newBuilder()
@@ -154,8 +157,11 @@
154157
* <p>To customize credentials:
155158
*
156159
* <pre>{@code
157-
* // This snippet has been automatically generated for illustrative purposes only.
158-
* // It may require modifications to work in your environment.
160+
* // This snippet has been automatically generated and should be regarded as a code template only.
161+
* // It will require modifications to work:
162+
* // - It may require correct/in-range values for request initialization.
163+
* // - It may require specifying regional endpoints when creating the service client as shown in
164+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
159165
* DatastoreAdminSettings datastoreAdminSettings =
160166
* DatastoreAdminSettings.newBuilder()
161167
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -166,8 +172,11 @@
166172
* <p>To customize the endpoint:
167173
*
168174
* <pre>{@code
169-
* // This snippet has been automatically generated for illustrative purposes only.
170-
* // It may require modifications to work in your environment.
175+
* // This snippet has been automatically generated and should be regarded as a code template only.
176+
* // It will require modifications to work:
177+
* // - It may require correct/in-range values for request initialization.
178+
* // - It may require specifying regional endpoints when creating the service client as shown in
179+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
171180
* DatastoreAdminSettings datastoreAdminSettings =
172181
* DatastoreAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
173182
* DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
@@ -177,8 +186,11 @@
177186
* the wire:
178187
*
179188
* <pre>{@code
180-
* // This snippet has been automatically generated for illustrative purposes only.
181-
* // It may require modifications to work in your environment.
189+
* // This snippet has been automatically generated and should be regarded as a code template only.
190+
* // It will require modifications to work:
191+
* // - It may require correct/in-range values for request initialization.
192+
* // - It may require specifying regional endpoints when creating the service client as shown in
193+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
182194
* DatastoreAdminSettings datastoreAdminSettings =
183195
* DatastoreAdminSettings.newBuilder()
184196
* .setTransportChannelProvider(
@@ -276,8 +288,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
276288
* <p>Sample code:
277289
*
278290
* <pre>{@code
279-
* // This snippet has been automatically generated for illustrative purposes only.
280-
* // It may require modifications to work in your environment.
291+
* // This snippet has been automatically generated and should be regarded as a code template only.
292+
* // It will require modifications to work:
293+
* // - It may require correct/in-range values for request initialization.
294+
* // - It may require specifying regional endpoints when creating the service client as shown in
295+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
281296
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
282297
* String projectId = "projectId-894832108";
283298
* Map<String, String> labels = new HashMap<>();
@@ -336,8 +351,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
336351
* <p>Sample code:
337352
*
338353
* <pre>{@code
339-
* // This snippet has been automatically generated for illustrative purposes only.
340-
* // It may require modifications to work in your environment.
354+
* // This snippet has been automatically generated and should be regarded as a code template only.
355+
* // It will require modifications to work:
356+
* // - It may require correct/in-range values for request initialization.
357+
* // - It may require specifying regional endpoints when creating the service client as shown in
358+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
341359
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
342360
* ExportEntitiesRequest request =
343361
* ExportEntitiesRequest.newBuilder()
@@ -370,8 +388,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
370388
* <p>Sample code:
371389
*
372390
* <pre>{@code
373-
* // This snippet has been automatically generated for illustrative purposes only.
374-
* // It may require modifications to work in your environment.
391+
* // This snippet has been automatically generated and should be regarded as a code template only.
392+
* // It will require modifications to work:
393+
* // - It may require correct/in-range values for request initialization.
394+
* // - It may require specifying regional endpoints when creating the service client as shown in
395+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
375396
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
376397
* ExportEntitiesRequest request =
377398
* ExportEntitiesRequest.newBuilder()
@@ -405,8 +426,11 @@ public final OperationFuture<ExportEntitiesResponse, ExportEntitiesMetadata> exp
405426
* <p>Sample code:
406427
*
407428
* <pre>{@code
408-
* // This snippet has been automatically generated for illustrative purposes only.
409-
* // It may require modifications to work in your environment.
429+
* // This snippet has been automatically generated and should be regarded as a code template only.
430+
* // It will require modifications to work:
431+
* // - It may require correct/in-range values for request initialization.
432+
* // - It may require specifying regional endpoints when creating the service client as shown in
433+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
410434
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
411435
* ExportEntitiesRequest request =
412436
* ExportEntitiesRequest.newBuilder()
@@ -436,8 +460,11 @@ public final UnaryCallable<ExportEntitiesRequest, Operation> exportEntitiesCalla
436460
* <p>Sample code:
437461
*
438462
* <pre>{@code
439-
* // This snippet has been automatically generated for illustrative purposes only.
440-
* // It may require modifications to work in your environment.
463+
* // This snippet has been automatically generated and should be regarded as a code template only.
464+
* // It will require modifications to work:
465+
* // - It may require correct/in-range values for request initialization.
466+
* // - It may require specifying regional endpoints when creating the service client as shown in
467+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
441468
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
442469
* String projectId = "projectId-894832108";
443470
* Map<String, String> labels = new HashMap<>();
@@ -487,8 +514,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
487514
* <p>Sample code:
488515
*
489516
* <pre>{@code
490-
* // This snippet has been automatically generated for illustrative purposes only.
491-
* // It may require modifications to work in your environment.
517+
* // This snippet has been automatically generated and should be regarded as a code template only.
518+
* // It will require modifications to work:
519+
* // - It may require correct/in-range values for request initialization.
520+
* // - It may require specifying regional endpoints when creating the service client as shown in
521+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
492522
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
493523
* ImportEntitiesRequest request =
494524
* ImportEntitiesRequest.newBuilder()
@@ -519,8 +549,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
519549
* <p>Sample code:
520550
*
521551
* <pre>{@code
522-
* // This snippet has been automatically generated for illustrative purposes only.
523-
* // It may require modifications to work in your environment.
552+
* // This snippet has been automatically generated and should be regarded as a code template only.
553+
* // It will require modifications to work:
554+
* // - It may require correct/in-range values for request initialization.
555+
* // - It may require specifying regional endpoints when creating the service client as shown in
556+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
524557
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
525558
* ImportEntitiesRequest request =
526559
* ImportEntitiesRequest.newBuilder()
@@ -551,8 +584,11 @@ public final OperationFuture<Empty, ImportEntitiesMetadata> importEntitiesAsync(
551584
* <p>Sample code:
552585
*
553586
* <pre>{@code
554-
* // This snippet has been automatically generated for illustrative purposes only.
555-
* // It may require modifications to work in your environment.
587+
* // This snippet has been automatically generated and should be regarded as a code template only.
588+
* // It will require modifications to work:
589+
* // - It may require correct/in-range values for request initialization.
590+
* // - It may require specifying regional endpoints when creating the service client as shown in
591+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
556592
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
557593
* ImportEntitiesRequest request =
558594
* ImportEntitiesRequest.newBuilder()
@@ -589,8 +625,11 @@ public final UnaryCallable<ImportEntitiesRequest, Operation> importEntitiesCalla
589625
* <p>Sample code:
590626
*
591627
* <pre>{@code
592-
* // This snippet has been automatically generated for illustrative purposes only.
593-
* // It may require modifications to work in your environment.
628+
* // This snippet has been automatically generated and should be regarded as a code template only.
629+
* // It will require modifications to work:
630+
* // - It may require correct/in-range values for request initialization.
631+
* // - It may require specifying regional endpoints when creating the service client as shown in
632+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
594633
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
595634
* CreateIndexRequest request =
596635
* CreateIndexRequest.newBuilder()
@@ -626,8 +665,11 @@ public final OperationFuture<Index, IndexOperationMetadata> createIndexAsync(
626665
* <p>Sample code:
627666
*
628667
* <pre>{@code
629-
* // This snippet has been automatically generated for illustrative purposes only.
630-
* // It may require modifications to work in your environment.
668+
* // This snippet has been automatically generated and should be regarded as a code template only.
669+
* // It will require modifications to work:
670+
* // - It may require correct/in-range values for request initialization.
671+
* // - It may require specifying regional endpoints when creating the service client as shown in
672+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
631673
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
632674
* CreateIndexRequest request =
633675
* CreateIndexRequest.newBuilder()
@@ -663,8 +705,11 @@ public final OperationFuture<Index, IndexOperationMetadata> createIndexAsync(
663705
* <p>Sample code:
664706
*
665707
* <pre>{@code
666-
* // This snippet has been automatically generated for illustrative purposes only.
667-
* // It may require modifications to work in your environment.
708+
* // This snippet has been automatically generated and should be regarded as a code template only.
709+
* // It will require modifications to work:
710+
* // - It may require correct/in-range values for request initialization.
711+
* // - It may require specifying regional endpoints when creating the service client as shown in
712+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
668713
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
669714
* CreateIndexRequest request =
670715
* CreateIndexRequest.newBuilder()
@@ -696,8 +741,11 @@ public final UnaryCallable<CreateIndexRequest, Operation> createIndexCallable()
696741
* <p>Sample code:
697742
*
698743
* <pre>{@code
699-
* // This snippet has been automatically generated for illustrative purposes only.
700-
* // It may require modifications to work in your environment.
744+
* // This snippet has been automatically generated and should be regarded as a code template only.
745+
* // It will require modifications to work:
746+
* // - It may require correct/in-range values for request initialization.
747+
* // - It may require specifying regional endpoints when creating the service client as shown in
748+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
701749
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
702750
* DeleteIndexRequest request =
703751
* DeleteIndexRequest.newBuilder()
@@ -731,8 +779,11 @@ public final OperationFuture<Index, IndexOperationMetadata> deleteIndexAsync(
731779
* <p>Sample code:
732780
*
733781
* <pre>{@code
734-
* // This snippet has been automatically generated for illustrative purposes only.
735-
* // It may require modifications to work in your environment.
782+
* // This snippet has been automatically generated and should be regarded as a code template only.
783+
* // It will require modifications to work:
784+
* // - It may require correct/in-range values for request initialization.
785+
* // - It may require specifying regional endpoints when creating the service client as shown in
786+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
736787
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
737788
* DeleteIndexRequest request =
738789
* DeleteIndexRequest.newBuilder()
@@ -766,8 +817,11 @@ public final OperationFuture<Index, IndexOperationMetadata> deleteIndexAsync(
766817
* <p>Sample code:
767818
*
768819
* <pre>{@code
769-
* // This snippet has been automatically generated for illustrative purposes only.
770-
* // It may require modifications to work in your environment.
820+
* // This snippet has been automatically generated and should be regarded as a code template only.
821+
* // It will require modifications to work:
822+
* // - It may require correct/in-range values for request initialization.
823+
* // - It may require specifying regional endpoints when creating the service client as shown in
824+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
771825
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
772826
* DeleteIndexRequest request =
773827
* DeleteIndexRequest.newBuilder()
@@ -791,8 +845,11 @@ public final UnaryCallable<DeleteIndexRequest, Operation> deleteIndexCallable()
791845
* <p>Sample code:
792846
*
793847
* <pre>{@code
794-
* // This snippet has been automatically generated for illustrative purposes only.
795-
* // It may require modifications to work in your environment.
848+
* // This snippet has been automatically generated and should be regarded as a code template only.
849+
* // It will require modifications to work:
850+
* // - It may require correct/in-range values for request initialization.
851+
* // - It may require specifying regional endpoints when creating the service client as shown in
852+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
796853
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
797854
* GetIndexRequest request =
798855
* GetIndexRequest.newBuilder()
@@ -817,8 +874,11 @@ public final Index getIndex(GetIndexRequest request) {
817874
* <p>Sample code:
818875
*
819876
* <pre>{@code
820-
* // This snippet has been automatically generated for illustrative purposes only.
821-
* // It may require modifications to work in your environment.
877+
* // This snippet has been automatically generated and should be regarded as a code template only.
878+
* // It will require modifications to work:
879+
* // - It may require correct/in-range values for request initialization.
880+
* // - It may require specifying regional endpoints when creating the service client as shown in
881+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
822882
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
823883
* GetIndexRequest request =
824884
* GetIndexRequest.newBuilder()
@@ -843,8 +903,11 @@ public final UnaryCallable<GetIndexRequest, Index> getIndexCallable() {
843903
* <p>Sample code:
844904
*
845905
* <pre>{@code
846-
* // This snippet has been automatically generated for illustrative purposes only.
847-
* // It may require modifications to work in your environment.
906+
* // This snippet has been automatically generated and should be regarded as a code template only.
907+
* // It will require modifications to work:
908+
* // - It may require correct/in-range values for request initialization.
909+
* // - It may require specifying regional endpoints when creating the service client as shown in
910+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
848911
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
849912
* ListIndexesRequest request =
850913
* ListIndexesRequest.newBuilder()
@@ -874,8 +937,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
874937
* <p>Sample code:
875938
*
876939
* <pre>{@code
877-
* // This snippet has been automatically generated for illustrative purposes only.
878-
* // It may require modifications to work in your environment.
940+
* // This snippet has been automatically generated and should be regarded as a code template only.
941+
* // It will require modifications to work:
942+
* // - It may require correct/in-range values for request initialization.
943+
* // - It may require specifying regional endpoints when creating the service client as shown in
944+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
879945
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
880946
* ListIndexesRequest request =
881947
* ListIndexesRequest.newBuilder()
@@ -905,8 +971,11 @@ public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) {
905971
* <p>Sample code:
906972
*
907973
* <pre>{@code
908-
* // This snippet has been automatically generated for illustrative purposes only.
909-
* // It may require modifications to work in your environment.
974+
* // This snippet has been automatically generated and should be regarded as a code template only.
975+
* // It will require modifications to work:
976+
* // - It may require correct/in-range values for request initialization.
977+
* // - It may require specifying regional endpoints when creating the service client as shown in
978+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
910979
* try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
911980
* ListIndexesRequest request =
912981
* ListIndexesRequest.newBuilder()

0 commit comments

Comments
 (0)