Skip to content

Commit eb7408f

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#826)
- [ ] 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 6727e46 commit eb7408f

File tree

229 files changed

+1165
-538
lines changed

Some content is hidden

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

229 files changed

+1165
-538
lines changed

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/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
CompanyServiceSettings companyServiceSettings =
3538
CompanyServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/create/SyncCreateSetCredentialsProvider1.java

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

2929
public static void syncCreateSetCredentialsProvider1() throws Exception {
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
CompanyServiceSettings companyServiceSettings =
3336
CompanyServiceSettings.newBuilder()
3437
.setTransportChannelProvider(

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/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
CompanyServiceSettings companyServiceSettings =
3437
CompanyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
CompanyServiceClient companyServiceClient = CompanyServiceClient.create(companyServiceSettings);

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/AsyncCreateCompany.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 asyncCreateCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3639
CreateCompanyRequest request =
3740
CreateCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompany.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 syncCreateCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3538
CreateCompanyRequest request =
3639
CreateCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyStringCompany.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 syncCreateCompanyStringCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
3538
Company company = Company.newBuilder().build();

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/createcompany/SyncCreateCompanyTenantnameCompany.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 syncCreateCompanyTenantnameCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
3538
Company company = Company.newBuilder().build();

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/AsyncDeleteCompany.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 asyncDeleteCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3639
DeleteCompanyRequest request =
3740
DeleteCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompany.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 syncDeleteCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3538
DeleteCompanyRequest request =
3639
DeleteCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyCompanyname.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 syncDeleteCompanyCompanyname() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
3538
companyServiceClient.deleteCompany(name);

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/deletecompany/SyncDeleteCompanyString.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 syncDeleteCompanyString() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
3538
companyServiceClient.deleteCompany(name);

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/AsyncGetCompany.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 asyncGetCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3639
GetCompanyRequest request =
3740
GetCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompany.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 syncGetCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3538
GetCompanyRequest request =
3639
GetCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyCompanyname.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 syncGetCompanyCompanyname() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
CompanyName name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]");
3538
Company response = companyServiceClient.getCompany(name);

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/getcompany/SyncGetCompanyString.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 syncGetCompanyString() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
String name = CompanyName.of("[PROJECT]", "[TENANT]", "[COMPANY]").toString();
3538
Company response = companyServiceClient.getCompany(name);

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompanies.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 asyncListCompanies() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3639
ListCompaniesRequest request =
3740
ListCompaniesRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/AsyncListCompaniesPaged.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 asyncListCompaniesPaged() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3740
ListCompaniesRequest request =
3841
ListCompaniesRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompanies.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 syncListCompanies() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3538
ListCompaniesRequest request =
3639
ListCompaniesRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesString.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 syncListCompaniesString() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
String parent = TenantName.of("[PROJECT]", "[TENANT]").toString();
3538
for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/listcompanies/SyncListCompaniesTenantname.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 syncListCompaniesTenantname() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3437
TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
3538
for (Company element : companyServiceClient.listCompanies(parent).iterateAll()) {

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/AsyncUpdateCompany.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 asyncUpdateCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3639
UpdateCompanyRequest request =
3740
UpdateCompanyRequest.newBuilder()

talent/snippets/generated/com/google/cloud/talent/v4/companyserviceclient/updatecompany/SyncUpdateCompany.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 syncUpdateCompany() 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 (CompanyServiceClient companyServiceClient = CompanyServiceClient.create()) {
3538
UpdateCompanyRequest request =
3639
UpdateCompanyRequest.newBuilder()

0 commit comments

Comments
 (0)