Skip to content

Commit b9fd090

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 e8f5787 commit b9fd090

File tree

158 files changed

+1550
-620
lines changed

Some content is hidden

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

158 files changed

+1550
-620
lines changed

java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceClient.java

+765-306
Large diffs are not rendered by default.

java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/DataLabelingServiceSettings.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@
6363
* <p>For example, to set the total timeout of createDataset to 30 seconds:
6464
*
6565
* <pre>{@code
66-
* // This snippet has been automatically generated for illustrative purposes only.
67-
* // It may require modifications to work in your environment.
66+
* // This snippet has been automatically generated and should be regarded as a code template only.
67+
* // It will require modifications to work:
68+
* // - It may require correct/in-range values for request initialization.
69+
* // - It may require specifying regional endpoints when creating the service client as shown in
70+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6871
* DataLabelingServiceSettings.Builder dataLabelingServiceSettingsBuilder =
6972
* DataLabelingServiceSettings.newBuilder();
7073
* dataLabelingServiceSettingsBuilder

java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/package-info.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@
2424
* <p>Sample for DataLabelingServiceClient:
2525
*
2626
* <pre>{@code
27-
* // This snippet has been automatically generated for illustrative purposes only.
28-
* // It may require modifications to work in your environment.
27+
* // This snippet has been automatically generated and should be regarded as a code template only.
28+
* // It will require modifications to work:
29+
* // - It may require correct/in-range values for request initialization.
30+
* // - It may require specifying regional endpoints when creating the service client as shown in
31+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2932
* try (DataLabelingServiceClient dataLabelingServiceClient = DataLabelingServiceClient.create()) {
3033
* ProjectName parent = ProjectName.of("[PROJECT]");
3134
* Dataset dataset = Dataset.newBuilder().build();

java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/stub/DataLabelingServiceStubSettings.java

+5-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,11 @@
138138
* <p>For example, to set the total timeout of createDataset to 30 seconds:
139139
*
140140
* <pre>{@code
141-
* // This snippet has been automatically generated for illustrative purposes only.
142-
* // It may require modifications to work in your environment.
141+
* // This snippet has been automatically generated and should be regarded as a code template only.
142+
* // It will require modifications to work:
143+
* // - It may require correct/in-range values for request initialization.
144+
* // - It may require specifying regional endpoints when creating the service client as shown in
145+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
143146
* DataLabelingServiceStubSettings.Builder dataLabelingServiceSettingsBuilder =
144147
* DataLabelingServiceStubSettings.newBuilder();
145148
* dataLabelingServiceSettingsBuilder

java-datalabeling/samples/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))

java-datalabeling/samples/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 =

java-datalabeling/samples/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()

java-datalabeling/samples/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()

java-datalabeling/samples/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();

java-datalabeling/samples/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();

java-datalabeling/samples/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()

java-datalabeling/samples/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()

java-datalabeling/samples/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();

java-datalabeling/samples/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();

java-datalabeling/samples/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()

java-datalabeling/samples/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()

java-datalabeling/samples/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();

java-datalabeling/samples/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();

java-datalabeling/samples/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()

java-datalabeling/samples/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()

java-datalabeling/samples/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()

java-datalabeling/samples/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();

java-datalabeling/samples/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();

0 commit comments

Comments
 (0)