Skip to content

Commit

Permalink
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
Browse files Browse the repository at this point in the history
…ator_java versions (#74)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: googleapis/googleapis-gen@230a558
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 10, 2022
1 parent 80bcada commit a25294d
Show file tree
Hide file tree
Showing 107 changed files with 1,044 additions and 420 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@
* <p>For example, to set the total timeout of getCertificate to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CertificateManagerSettings.Builder certificateManagerSettingsBuilder =
* CertificateManagerSettings.newBuilder();
* certificateManagerSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
* <p>Sample for CertificateManagerClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
* CertificateName name = CertificateName.of("[PROJECT]", "[LOCATION]", "[CERTIFICATE]");
* Certificate response = certificateManagerClient.getCertificate(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@
* <p>For example, to set the total timeout of getCertificate to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* CertificateManagerStubSettings.Builder certificateManagerSettingsBuilder =
* CertificateManagerStubSettings.newBuilder();
* certificateManagerSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificate", request.getCertificate()))
.toBody("certificate", request.getCertificate(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -244,7 +244,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificate", request.getCertificate()))
.toBody("certificate", request.getCertificate(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -395,7 +395,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificateMap", request.getCertificateMap()))
.toBody("certificateMap", request.getCertificateMap(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -439,7 +439,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificateMap", request.getCertificateMap()))
.toBody("certificateMap", request.getCertificateMap(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -594,7 +594,10 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificateMapEntry", request.getCertificateMapEntry()))
.toBody(
"certificateMapEntry",
request.getCertificateMapEntry(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -638,7 +641,10 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("certificateMapEntry", request.getCertificateMapEntry()))
.toBody(
"certificateMapEntry",
request.getCertificateMapEntry(),
false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -791,7 +797,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("dnsAuthorization", request.getDnsAuthorization()))
.toBody("dnsAuthorization", request.getDnsAuthorization(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -835,7 +841,7 @@ public class HttpJsonCertificateManagerStub extends CertificateManagerStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("dnsAuthorization", request.getDnsAuthorization()))
.toBody("dnsAuthorization", request.getDnsAuthorization(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetCredentialsProvider() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CertificateManagerSettings certificateManagerSettings =
CertificateManagerSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetCredentialsProvider1() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CertificateManagerSettings certificateManagerSettings =
CertificateManagerSettings.newBuilder()
.setTransportChannelProvider(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateSetEndpoint() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
CertificateManagerSettings certificateManagerSettings =
CertificateManagerSettings.newBuilder().setEndpoint(myEndpoint).build();
CertificateManagerClient certificateManagerClient =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCreateCertificate() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateRequest request =
CreateCertificateRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCreateCertificateLRO() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateRequest request =
CreateCertificateRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificate() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateRequest request =
CreateCertificateRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificateLocationnameCertificateString() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Certificate certificate = Certificate.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificateStringCertificateString() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
Certificate certificate = Certificate.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCreateCertificateMap() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateMapRequest request =
CreateCertificateMapRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCreateCertificateMapLRO() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateMapRequest request =
CreateCertificateMapRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificateMap() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
CreateCertificateMapRequest request =
CreateCertificateMapRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificateMapLocationnameCertificatemapString() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
CertificateMap certificateMap = CertificateMap.newBuilder().build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ public static void main(String[] args) throws Exception {
}

public static void syncCreateCertificateMapStringCertificatemapString() throws Exception {
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CertificateManagerClient certificateManagerClient = CertificateManagerClient.create()) {
String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
CertificateMap certificateMap = CertificateMap.newBuilder().build();
Expand Down
Loading

0 comments on commit a25294d

Please sign in to comment.