Skip to content

Commit 518fc41

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#705)
- [ ] 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 28a24fb commit 518fc41

File tree

156 files changed

+784
-328
lines changed

Some content is hidden

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

156 files changed

+784
-328
lines changed

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupserviceclient/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
LookupServiceSettings lookupServiceSettings =
3538
LookupServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupserviceclient/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
LookupServiceSettings lookupServiceSettings =
3336
LookupServiceSettings.newBuilder()
3437
.setTransportChannelProvider(

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupserviceclient/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
LookupServiceSettings lookupServiceSettings =
3437
LookupServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
LookupServiceClient lookupServiceClient = LookupServiceClient.create(lookupServiceSettings);

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupserviceclient/resolveservice/AsyncResolveService.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 asyncResolveService() 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 (LookupServiceClient lookupServiceClient = LookupServiceClient.create()) {
3639
ResolveServiceRequest request =
3740
ResolveServiceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupserviceclient/resolveservice/SyncResolveService.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 syncResolveService() 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 (LookupServiceClient lookupServiceClient = LookupServiceClient.create()) {
3538
ResolveServiceRequest request =
3639
ResolveServiceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/lookupservicesettings/resolveservice/SyncResolveService.java

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

2929
public static void syncResolveService() 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
LookupServiceSettings.Builder lookupServiceSettingsBuilder = LookupServiceSettings.newBuilder();
3336
lookupServiceSettingsBuilder
3437
.resolveServiceSettings()
3538
.setRetrySettings(
36-
lookupServiceSettingsBuilder
37-
.resolveServiceSettings()
38-
.getRetrySettings()
39-
.toBuilder()
39+
lookupServiceSettingsBuilder.resolveServiceSettings().getRetrySettings().toBuilder()
4040
.setTotalTimeout(Duration.ofSeconds(30))
4141
.build());
4242
LookupServiceSettings lookupServiceSettings = lookupServiceSettingsBuilder.build();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/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
RegistrationServiceSettings registrationServiceSettings =
3538
RegistrationServiceSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/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
RegistrationServiceSettings registrationServiceSettings =
3336
RegistrationServiceSettings.newBuilder()
3437
.setTransportChannelProvider(

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/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
RegistrationServiceSettings registrationServiceSettings =
3437
RegistrationServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
3538
RegistrationServiceClient registrationServiceClient =

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/AsyncCreateEndpoint.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 asyncCreateEndpoint() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3639
CreateEndpointRequest request =
3740
CreateEndpointRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpoint.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 syncCreateEndpoint() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3538
CreateEndpointRequest request =
3639
CreateEndpointRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointServicenameEndpointString.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 syncCreateEndpointServicenameEndpointString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
ServiceName parent = ServiceName.of("[PROJECT]", "[LOCATION]", "[NAMESPACE]", "[SERVICE]");
3538
Endpoint endpoint = Endpoint.newBuilder().build();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createendpoint/SyncCreateEndpointStringEndpointString.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 syncCreateEndpointStringEndpointString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
String parent =
3538
ServiceName.of("[PROJECT]", "[LOCATION]", "[NAMESPACE]", "[SERVICE]").toString();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/AsyncCreateNamespace.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 asyncCreateNamespace() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3639
CreateNamespaceRequest request =
3740
CreateNamespaceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespace.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 syncCreateNamespace() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3538
CreateNamespaceRequest request =
3639
CreateNamespaceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceLocationnameNamespaceString.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 syncCreateNamespaceLocationnameNamespaceString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
3538
Namespace namespace = Namespace.newBuilder().build();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createnamespace/SyncCreateNamespaceStringNamespaceString.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 syncCreateNamespaceStringNamespaceString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
3538
Namespace namespace = Namespace.newBuilder().build();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/AsyncCreateService.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 asyncCreateService() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3639
CreateServiceRequest request =
3740
CreateServiceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateService.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 syncCreateService() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3538
CreateServiceRequest request =
3639
CreateServiceRequest.newBuilder()

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceNamespacenameServiceString.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 syncCreateServiceNamespacenameServiceString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
NamespaceName parent = NamespaceName.of("[PROJECT]", "[LOCATION]", "[NAMESPACE]");
3538
Service service = Service.newBuilder().build();

servicedirectory/snippets/snippets/generated/com/google/cloud/servicedirectory/v1/registrationserviceclient/createservice/SyncCreateServiceStringServiceString.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 syncCreateServiceStringServiceString() 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 (RegistrationServiceClient registrationServiceClient = RegistrationServiceClient.create()) {
3437
String parent = NamespaceName.of("[PROJECT]", "[LOCATION]", "[NAMESPACE]").toString();
3538
Service service = Service.newBuilder().build();

0 commit comments

Comments
 (0)