Skip to content

Commit 20adfd2

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#779)
- [ ] 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
1 parent 7953b0a commit 20adfd2

File tree

154 files changed

+770
-308
lines changed

Some content is hidden

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

154 files changed

+770
-308
lines changed

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/create/SyncCreateSetCredentialsProvider.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateSetCredentialsProvider() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
DataLabelingServiceSettings dataLabelingServiceSettings =
3538
DataLabelingServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/create/SyncCreateSetEndpoint.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateSetEndpoint() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
DataLabelingServiceSettings dataLabelingServiceSettings =
3437
DataLabelingServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
DataLabelingServiceClient dataLabelingServiceClient =

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createannotationspecset/AsyncCreateAnnotationSpecSet.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncCreateAnnotationSpecSet() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3639
CreateAnnotationSpecSetRequest request =
3740
CreateAnnotationSpecSetRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createannotationspecset/SyncCreateAnnotationSpecSet.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateAnnotationSpecSet() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3538
CreateAnnotationSpecSetRequest request =
3639
CreateAnnotationSpecSetRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createannotationspecset/SyncCreateAnnotationSpecSetProjectnameAnnotationspecset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateAnnotationSpecSetProjectnameAnnotationspecset() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
ProjectName parent = ProjectName.of("[PROJECT]");
3538
AnnotationSpecSet annotationSpecSet = AnnotationSpecSet.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createannotationspecset/SyncCreateAnnotationSpecSetStringAnnotationspecset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateAnnotationSpecSetStringAnnotationspecset() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
String parent = ProjectName.of("[PROJECT]").toString();
3538
AnnotationSpecSet annotationSpecSet = AnnotationSpecSet.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createdataset/AsyncCreateDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncCreateDataset() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3639
CreateDatasetRequest request =
3740
CreateDatasetRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createdataset/SyncCreateDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateDataset() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3538
CreateDatasetRequest request =
3639
CreateDatasetRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createdataset/SyncCreateDatasetProjectnameDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateDatasetProjectnameDataset() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
ProjectName parent = ProjectName.of("[PROJECT]");
3538
Dataset dataset = Dataset.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createdataset/SyncCreateDatasetStringDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateDatasetStringDataset() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
String parent = ProjectName.of("[PROJECT]").toString();
3538
Dataset dataset = Dataset.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createevaluationjob/AsyncCreateEvaluationJob.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncCreateEvaluationJob() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3639
CreateEvaluationJobRequest request =
3740
CreateEvaluationJobRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createevaluationjob/SyncCreateEvaluationJob.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateEvaluationJob() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3538
CreateEvaluationJobRequest request =
3639
CreateEvaluationJobRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createevaluationjob/SyncCreateEvaluationJobProjectnameEvaluationjob.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateEvaluationJobProjectnameEvaluationjob() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
ProjectName parent = ProjectName.of("[PROJECT]");
3538
EvaluationJob job = EvaluationJob.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createevaluationjob/SyncCreateEvaluationJobStringEvaluationjob.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateEvaluationJobStringEvaluationjob() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
String parent = ProjectName.of("[PROJECT]").toString();
3538
EvaluationJob job = EvaluationJob.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createinstruction/AsyncCreateInstruction.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncCreateInstruction() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3740
CreateInstructionRequest request =
3841
CreateInstructionRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createinstruction/AsyncCreateInstructionLRO.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
3131
}
3232

3333
public static void asyncCreateInstructionLRO() throws Exception {
34-
// This snippet has been automatically generated for illustrative purposes only.
35-
// It may require modifications to work in your environment.
34+
// This snippet has been automatically generated and should be regarded as a code template only.
35+
// It will require modifications to work:
36+
// - It may require correct/in-range values for request initialization.
37+
// - It may require specifying regional endpoints when creating the service client as shown in
38+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3639
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3740
CreateInstructionRequest request =
3841
CreateInstructionRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createinstruction/SyncCreateInstruction.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncCreateInstruction() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3538
CreateInstructionRequest request =
3639
CreateInstructionRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createinstruction/SyncCreateInstructionProjectnameInstruction.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateInstructionProjectnameInstruction() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
ProjectName parent = ProjectName.of("[PROJECT]");
3538
Instruction instruction = Instruction.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/createinstruction/SyncCreateInstructionStringInstruction.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
2828
}
2929

3030
public static void syncCreateInstructionStringInstruction() throws Exception {
31-
// This snippet has been automatically generated for illustrative purposes only.
32-
// It may require modifications to work in your environment.
31+
// This snippet has been automatically generated and should be regarded as a code template only.
32+
// It will require modifications to work:
33+
// - It may require correct/in-range values for request initialization.
34+
// - It may require specifying regional endpoints when creating the service client as shown in
35+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3336
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3437
String parent = ProjectName.of("[PROJECT]").toString();
3538
Instruction instruction = Instruction.newBuilder().build();

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/deleteannotateddataset/AsyncDeleteAnnotatedDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
3030
}
3131

3232
public static void asyncDeleteAnnotatedDataset() throws Exception {
33-
// This snippet has been automatically generated for illustrative purposes only.
34-
// It may require modifications to work in your environment.
33+
// This snippet has been automatically generated and should be regarded as a code template only.
34+
// It will require modifications to work:
35+
// - It may require correct/in-range values for request initialization.
36+
// - It may require specifying regional endpoints when creating the service client as shown in
37+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3538
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3639
DeleteAnnotatedDatasetRequest request =
3740
DeleteAnnotatedDatasetRequest.newBuilder()

datalabeling/snippets/generated/com/google/cloud/datalabeling/v1beta1/datalabelingserviceclient/deleteannotateddataset/SyncDeleteAnnotatedDataset.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
2929
}
3030

3131
public static void syncDeleteAnnotatedDataset() throws Exception {
32-
// This snippet has been automatically generated for illustrative purposes only.
33-
// It may require modifications to work in your environment.
32+
// This snippet has been automatically generated and should be regarded as a code template only.
33+
// It will require modifications to work:
34+
// - It may require correct/in-range values for request initialization.
35+
// - It may require specifying regional endpoints when creating the service client as shown in
36+
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3437
try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3538
DeleteAnnotatedDatasetRequest request =
3639
DeleteAnnotatedDatasetRequest.newBuilder()

0 commit comments

Comments
 (0)