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 (#350)

- [ ] 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
  • Loading branch information
gcf-owl-bot[bot] authored Sep 20, 2022
1 parent 8a57045 commit 12e4cde
Show file tree
Hide file tree
Showing 150 changed files with 1,477 additions and 598 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@
* <p>For example, to set the total timeout of createConversation 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
* ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder =
* ContactCenterInsightsSettings.newBuilder();
* contactCenterInsightsSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
* <p>Sample for ContactCenterInsightsClient:
*
* <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 (ContactCenterInsightsClient contactCenterInsightsClient =
* ContactCenterInsightsClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@
* <p>For example, to set the total timeout of createConversation 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
* ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder =
* ContactCenterInsightsStubSettings.newBuilder();
* contactCenterInsightsSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("conversation", request.getConversation()))
.toBody("conversation", request.getConversation(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Conversation>newBuilder()
Expand Down Expand Up @@ -199,7 +199,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("conversation", request.getConversation()))
.toBody("conversation", request.getConversation(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Conversation>newBuilder()
Expand Down Expand Up @@ -344,7 +344,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("analysis", request.getAnalysis()))
.toBody("analysis", request.getAnalysis(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -489,7 +489,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearParent().build()))
.toBody("*", request.toBuilder().clearParent().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -529,7 +529,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("issueModel", request.getIssueModel()))
.toBody("issueModel", request.getIssueModel(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -571,7 +571,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("issueModel", request.getIssueModel()))
.toBody("issueModel", request.getIssueModel(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<IssueModel>newBuilder()
Expand Down Expand Up @@ -713,7 +713,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -753,7 +753,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("*", request.toBuilder().clearName().build()))
.toBody("*", request.toBuilder().clearName().build(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Operation>newBuilder()
Expand Down Expand Up @@ -857,7 +857,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("issue", request.getIssue()))
request ->
ProtoRestSerializer.create().toBody("issue", request.getIssue(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Issue>newBuilder()
Expand Down Expand Up @@ -930,7 +931,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("phraseMatcher", request.getPhraseMatcher()))
.toBody("phraseMatcher", request.getPhraseMatcher(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<PhraseMatcher>newBuilder()
Expand Down Expand Up @@ -1074,7 +1075,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("phraseMatcher", request.getPhraseMatcher()))
.toBody("phraseMatcher", request.getPhraseMatcher(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<PhraseMatcher>newBuilder()
Expand Down Expand Up @@ -1182,7 +1183,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
.toBody("settings", request.getSettings()))
.toBody("settings", request.getSettings(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<Settings>newBuilder()
Expand Down Expand Up @@ -1216,7 +1217,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("view", request.getView()))
request ->
ProtoRestSerializer.create().toBody("view", request.getView(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<View>newBuilder()
Expand Down Expand Up @@ -1319,7 +1321,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
return fields;
})
.setRequestBodyExtractor(
request -> ProtoRestSerializer.create().toBody("view", request.getView()))
request ->
ProtoRestSerializer.create().toBody("view", request.getView(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.<View>newBuilder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
CalculateIssueModelStatsRequest request =
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 syncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
CalculateIssueModelStatsRequest request =
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 syncCalculateIssueModelStatsIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");
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 syncCalculateIssueModelStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
String issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ public static void main(String[] args) throws Exception {
}

public static void asyncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
CalculateStatsRequest request =
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 syncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
CalculateStatsRequest request =
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 syncCalculateStatsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");
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 syncCalculateStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
ContactCenterInsightsClient.create()) {
String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();
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
ContactCenterInsightsSettings contactCenterInsightsSettings =
ContactCenterInsightsSettings.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
ContactCenterInsightsSettings contactCenterInsightsSettings =
ContactCenterInsightsSettings.newBuilder()
.setTransportChannelProvider(
Expand Down
Loading

0 comments on commit 12e4cde

Please sign in to comment.