Skip to content

Commit 12e4cde

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_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
1 parent 8a57045 commit 12e4cde

File tree

150 files changed

+1477
-598
lines changed

Some content is hidden

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

150 files changed

+1477
-598
lines changed

java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsClient.java

Lines changed: 720 additions & 288 deletions
Large diffs are not rendered by default.

java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@
6060
* <p>For example, to set the total timeout of createConversation to 30 seconds:
6161
*
6262
* <pre>{@code
63-
* // This snippet has been automatically generated for illustrative purposes only.
64-
* // It may require modifications to work in your environment.
63+
* // This snippet has been automatically generated and should be regarded as a code template only.
64+
* // It will require modifications to work:
65+
* // - It may require correct/in-range values for request initialization.
66+
* // - It may require specifying regional endpoints when creating the service client as shown in
67+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
6568
* ContactCenterInsightsSettings.Builder contactCenterInsightsSettingsBuilder =
6669
* ContactCenterInsightsSettings.newBuilder();
6770
* contactCenterInsightsSettingsBuilder

java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/package-info.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
* <p>Sample for ContactCenterInsightsClient:
2626
*
2727
* <pre>{@code
28-
* // This snippet has been automatically generated for illustrative purposes only.
29-
* // It may require modifications to work in your environment.
28+
* // This snippet has been automatically generated and should be regarded as a code template only.
29+
* // It will require modifications to work:
30+
* // - It may require correct/in-range values for request initialization.
31+
* // - It may require specifying regional endpoints when creating the service client as shown in
32+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
3033
* try (ContactCenterInsightsClient contactCenterInsightsClient =
3134
* ContactCenterInsightsClient.create()) {
3235
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");

java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/ContactCenterInsightsStubSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,11 @@
138138
* <p>For example, to set the total timeout of createConversation 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
* ContactCenterInsightsStubSettings.Builder contactCenterInsightsSettingsBuilder =
144147
* ContactCenterInsightsStubSettings.newBuilder();
145148
* contactCenterInsightsSettingsBuilder

java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/HttpJsonContactCenterInsightsStub.java

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
160160
.setRequestBodyExtractor(
161161
request ->
162162
ProtoRestSerializer.create()
163-
.toBody("conversation", request.getConversation()))
163+
.toBody("conversation", request.getConversation(), false))
164164
.build())
165165
.setResponseParser(
166166
ProtoMessageResponseParser.<Conversation>newBuilder()
@@ -199,7 +199,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
199199
.setRequestBodyExtractor(
200200
request ->
201201
ProtoRestSerializer.create()
202-
.toBody("conversation", request.getConversation()))
202+
.toBody("conversation", request.getConversation(), false))
203203
.build())
204204
.setResponseParser(
205205
ProtoMessageResponseParser.<Conversation>newBuilder()
@@ -344,7 +344,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
344344
.setRequestBodyExtractor(
345345
request ->
346346
ProtoRestSerializer.create()
347-
.toBody("analysis", request.getAnalysis()))
347+
.toBody("analysis", request.getAnalysis(), false))
348348
.build())
349349
.setResponseParser(
350350
ProtoMessageResponseParser.<Operation>newBuilder()
@@ -489,7 +489,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
489489
.setRequestBodyExtractor(
490490
request ->
491491
ProtoRestSerializer.create()
492-
.toBody("*", request.toBuilder().clearParent().build()))
492+
.toBody("*", request.toBuilder().clearParent().build(), false))
493493
.build())
494494
.setResponseParser(
495495
ProtoMessageResponseParser.<Operation>newBuilder()
@@ -529,7 +529,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
529529
.setRequestBodyExtractor(
530530
request ->
531531
ProtoRestSerializer.create()
532-
.toBody("issueModel", request.getIssueModel()))
532+
.toBody("issueModel", request.getIssueModel(), false))
533533
.build())
534534
.setResponseParser(
535535
ProtoMessageResponseParser.<Operation>newBuilder()
@@ -571,7 +571,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
571571
.setRequestBodyExtractor(
572572
request ->
573573
ProtoRestSerializer.create()
574-
.toBody("issueModel", request.getIssueModel()))
574+
.toBody("issueModel", request.getIssueModel(), false))
575575
.build())
576576
.setResponseParser(
577577
ProtoMessageResponseParser.<IssueModel>newBuilder()
@@ -713,7 +713,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
713713
.setRequestBodyExtractor(
714714
request ->
715715
ProtoRestSerializer.create()
716-
.toBody("*", request.toBuilder().clearName().build()))
716+
.toBody("*", request.toBuilder().clearName().build(), false))
717717
.build())
718718
.setResponseParser(
719719
ProtoMessageResponseParser.<Operation>newBuilder()
@@ -753,7 +753,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
753753
.setRequestBodyExtractor(
754754
request ->
755755
ProtoRestSerializer.create()
756-
.toBody("*", request.toBuilder().clearName().build()))
756+
.toBody("*", request.toBuilder().clearName().build(), false))
757757
.build())
758758
.setResponseParser(
759759
ProtoMessageResponseParser.<Operation>newBuilder()
@@ -857,7 +857,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
857857
return fields;
858858
})
859859
.setRequestBodyExtractor(
860-
request -> ProtoRestSerializer.create().toBody("issue", request.getIssue()))
860+
request ->
861+
ProtoRestSerializer.create().toBody("issue", request.getIssue(), false))
861862
.build())
862863
.setResponseParser(
863864
ProtoMessageResponseParser.<Issue>newBuilder()
@@ -930,7 +931,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
930931
.setRequestBodyExtractor(
931932
request ->
932933
ProtoRestSerializer.create()
933-
.toBody("phraseMatcher", request.getPhraseMatcher()))
934+
.toBody("phraseMatcher", request.getPhraseMatcher(), false))
934935
.build())
935936
.setResponseParser(
936937
ProtoMessageResponseParser.<PhraseMatcher>newBuilder()
@@ -1074,7 +1075,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
10741075
.setRequestBodyExtractor(
10751076
request ->
10761077
ProtoRestSerializer.create()
1077-
.toBody("phraseMatcher", request.getPhraseMatcher()))
1078+
.toBody("phraseMatcher", request.getPhraseMatcher(), false))
10781079
.build())
10791080
.setResponseParser(
10801081
ProtoMessageResponseParser.<PhraseMatcher>newBuilder()
@@ -1182,7 +1183,7 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
11821183
.setRequestBodyExtractor(
11831184
request ->
11841185
ProtoRestSerializer.create()
1185-
.toBody("settings", request.getSettings()))
1186+
.toBody("settings", request.getSettings(), false))
11861187
.build())
11871188
.setResponseParser(
11881189
ProtoMessageResponseParser.<Settings>newBuilder()
@@ -1216,7 +1217,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
12161217
return fields;
12171218
})
12181219
.setRequestBodyExtractor(
1219-
request -> ProtoRestSerializer.create().toBody("view", request.getView()))
1220+
request ->
1221+
ProtoRestSerializer.create().toBody("view", request.getView(), false))
12201222
.build())
12211223
.setResponseParser(
12221224
ProtoMessageResponseParser.<View>newBuilder()
@@ -1319,7 +1321,8 @@ public class HttpJsonContactCenterInsightsStub extends ContactCenterInsightsStub
13191321
return fields;
13201322
})
13211323
.setRequestBodyExtractor(
1322-
request -> ProtoRestSerializer.create().toBody("view", request.getView()))
1324+
request ->
1325+
ProtoRestSerializer.create().toBody("view", request.getView(), false))
13231326
.build())
13241327
.setResponseParser(
13251328
ProtoMessageResponseParser.<View>newBuilder()

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/AsyncCalculateIssueModelStats.java

Lines changed: 5 additions & 2 deletions
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 asyncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3639
ContactCenterInsightsClient.create()) {
3740
CalculateIssueModelStatsRequest request =

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStats.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateIssueModelStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3538
ContactCenterInsightsClient.create()) {
3639
CalculateIssueModelStatsRequest request =

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsIssuemodelname.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateIssueModelStatsIssuemodelname() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3437
ContactCenterInsightsClient.create()) {
3538
IssueModelName issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]");

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculateissuemodelstats/SyncCalculateIssueModelStatsString.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateIssueModelStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3437
ContactCenterInsightsClient.create()) {
3538
String issueModel = IssueModelName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]").toString();

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/AsyncCalculateStats.java

Lines changed: 5 additions & 2 deletions
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 asyncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3639
ContactCenterInsightsClient.create()) {
3740
CalculateStatsRequest request =

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStats.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateStats() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3538
ContactCenterInsightsClient.create()) {
3639
CalculateStatsRequest request =

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsLocationname.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateStatsLocationname() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3437
ContactCenterInsightsClient.create()) {
3538
LocationName location = LocationName.of("[PROJECT]", "[LOCATION]");

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/calculatestats/SyncCalculateStatsString.java

Lines changed: 5 additions & 2 deletions
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 syncCalculateStatsString() 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 (ContactCenterInsightsClient contactCenterInsightsClient =
3437
ContactCenterInsightsClient.create()) {
3538
String location = LocationName.of("[PROJECT]", "[LOCATION]").toString();

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider.java

Lines changed: 5 additions & 2 deletions
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
ContactCenterInsightsSettings contactCenterInsightsSettings =
3538
ContactCenterInsightsSettings.newBuilder()
3639
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))

java-contact-center-insights/samples/snippets/generated/com/google/cloud/contactcenterinsights/v1/contactcenterinsightsclient/create/SyncCreateSetCredentialsProvider1.java

Lines changed: 5 additions & 2 deletions
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
ContactCenterInsightsSettings contactCenterInsightsSettings =
3336
ContactCenterInsightsSettings.newBuilder()
3437
.setTransportChannelProvider(

0 commit comments

Comments
 (0)