From ac0dbddf1d50ad5186d3f8da5fb495ce185a44ae Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 22 Jun 2022 01:02:14 +0000 Subject: [PATCH] chore: Integrate new gapic-generator-java and rules_gapic (#935) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- .../java/com/google/cloud/dialogflow/v2/AgentsClient.java | 2 +- .../com/google/cloud/dialogflow/v2/AnswerRecordsClient.java | 2 +- .../java/com/google/cloud/dialogflow/v2/ContextsClient.java | 2 +- .../cloud/dialogflow/v2/ConversationDatasetsClient.java | 2 +- .../google/cloud/dialogflow/v2/ConversationModelsClient.java | 4 ++-- .../cloud/dialogflow/v2/ConversationProfilesClient.java | 2 +- .../com/google/cloud/dialogflow/v2/ConversationsClient.java | 4 ++-- .../java/com/google/cloud/dialogflow/v2/DocumentsClient.java | 2 +- .../com/google/cloud/dialogflow/v2/EntityTypesClient.java | 2 +- .../com/google/cloud/dialogflow/v2/EnvironmentsClient.java | 4 ++-- .../java/com/google/cloud/dialogflow/v2/IntentsClient.java | 2 +- .../com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java | 2 +- .../com/google/cloud/dialogflow/v2/ParticipantsClient.java | 2 +- .../google/cloud/dialogflow/v2/SessionEntityTypesClient.java | 2 +- .../java/com/google/cloud/dialogflow/v2/VersionsClient.java | 2 +- .../com/google/cloud/dialogflow/v2beta1/AgentsClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java | 2 +- .../com/google/cloud/dialogflow/v2beta1/ContextsClient.java | 2 +- .../cloud/dialogflow/v2beta1/ConversationProfilesClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/ConversationsClient.java | 4 ++-- .../com/google/cloud/dialogflow/v2beta1/DocumentsClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/EntityTypesClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/EnvironmentsClient.java | 4 ++-- .../com/google/cloud/dialogflow/v2beta1/IntentsClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java | 2 +- .../google/cloud/dialogflow/v2beta1/ParticipantsClient.java | 4 ++-- .../cloud/dialogflow/v2beta1/SessionEntityTypesClient.java | 2 +- .../com/google/cloud/dialogflow/v2beta1/VersionsClient.java | 2 +- .../cloud/dialogflow/v2/ConversationModelsClientTest.java | 4 ++-- 29 files changed, 36 insertions(+), 36 deletions(-) diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index 7067aa4db..2e0c7ea4d 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java @@ -677,7 +677,7 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest request) * .build(); * while (true) { * SearchAgentsResponse response = agentsClient.searchAgentsCallable().call(request); - * for (Agent element : response.getResponsesList()) { + * for (Agent element : response.getAgentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java index a1e8498be..68a073654 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java @@ -317,7 +317,7 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR * while (true) { * ListAnswerRecordsResponse response = * answerRecordsClient.listAnswerRecordsCallable().call(request); - * for (AnswerRecord element : response.getResponsesList()) { + * for (AnswerRecord element : response.getAnswerRecordsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java index 00f97792d..6732f3a23 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java @@ -286,7 +286,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .build(); * while (true) { * ListContextsResponse response = contextsClient.listContextsCallable().call(request); - * for (Context element : response.getResponsesList()) { + * for (Context element : response.getContextsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java index 47bda1ff8..31eae2751 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java @@ -586,7 +586,7 @@ public final ListConversationDatasetsPagedResponse listConversationDatasets( * while (true) { * ListConversationDatasetsResponse response = * conversationDatasetsClient.listConversationDatasetsCallable().call(request); - * for (ConversationDataset element : response.getResponsesList()) { + * for (ConversationDataset element : response.getConversationDatasetsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java index 0d048f060..77c2de092 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java @@ -496,7 +496,7 @@ public final ListConversationModelsPagedResponse listConversationModels( * while (true) { * ListConversationModelsResponse response = * conversationModelsClient.listConversationModelsCallable().call(request); - * for (ConversationModel element : response.getResponsesList()) { + * for (ConversationModel element : response.getConversationModelsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1049,7 +1049,7 @@ public final ListConversationModelEvaluationsPagedResponse listConversationModel * while (true) { * ListConversationModelEvaluationsResponse response = * conversationModelsClient.listConversationModelEvaluationsCallable().call(request); - * for (ConversationModelEvaluation element : response.getResponsesList()) { + * for (ConversationModelEvaluation element : response.getConversationModelEvaluationsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java index 88c09a562..4f18e7e58 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java @@ -346,7 +346,7 @@ public final ListConversationProfilesPagedResponse listConversationProfiles( * while (true) { * ListConversationProfilesResponse response = * conversationProfilesClient.listConversationProfilesCallable().call(request); - * for (ConversationProfile element : response.getResponsesList()) { + * for (ConversationProfile element : response.getConversationProfilesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java index d396cd5a8..859280f18 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java @@ -540,7 +540,7 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR * while (true) { * ListConversationsResponse response = * conversationsClient.listConversationsCallable().call(request); - * for (Conversation element : response.getResponsesList()) { + * for (Conversation element : response.getConversationsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -938,7 +938,7 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request) * .build(); * while (true) { * ListMessagesResponse response = conversationsClient.listMessagesCallable().call(request); - * for (Message element : response.getResponsesList()) { + * for (Message element : response.getMessagesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java index d8322854e..6127f0a11 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java @@ -310,7 +310,7 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque * .build(); * while (true) { * ListDocumentsResponse response = documentsClient.listDocumentsCallable().call(request); - * for (Document element : response.getResponsesList()) { + * for (Document element : response.getDocumentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index 3100eb52c..268ede6e9 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java @@ -369,7 +369,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest * while (true) { * ListEntityTypesResponse response = * entityTypesClient.listEntityTypesCallable().call(request); - * for (EntityType element : response.getResponsesList()) { + * for (EntityType element : response.getEntityTypesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java index 87c461b84..8eb2bd551 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java @@ -288,7 +288,7 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ * while (true) { * ListEnvironmentsResponse response = * environmentsClient.listEnvironmentsCallable().call(request); - * for (Environment element : response.getResponsesList()) { + * for (Environment element : response.getEnvironmentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -618,7 +618,7 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory( * while (true) { * EnvironmentHistory response = * environmentsClient.getEnvironmentHistoryCallable().call(request); - * for (EnvironmentHistory.Entry element : response.getResponsesList()) { + * for (EnvironmentHistory.Entry element : response.getEntriesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index b1d0fb9c5..42bb047c5 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java @@ -387,7 +387,7 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) { * .build(); * while (true) { * ListIntentsResponse response = intentsClient.listIntentsCallable().call(request); - * for (Intent element : response.getResponsesList()) { + * for (Intent element : response.getIntentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java index 7066bf73c..882b39d68 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java @@ -319,7 +319,7 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases( * while (true) { * ListKnowledgeBasesResponse response = * knowledgeBasesClient.listKnowledgeBasesCallable().call(request); - * for (KnowledgeBase element : response.getResponsesList()) { + * for (KnowledgeBase element : response.getKnowledgeBasesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java index 4158f8220..f234b79ee 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java @@ -523,7 +523,7 @@ public final ListParticipantsPagedResponse listParticipants(ListParticipantsRequ * while (true) { * ListParticipantsResponse response = * participantsClient.listParticipantsCallable().call(request); - * for (Participant element : response.getResponsesList()) { + * for (Participant element : response.getParticipantsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java index 401f520a7..3ddc8ba8a 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java @@ -315,7 +315,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes( * while (true) { * ListSessionEntityTypesResponse response = * sessionEntityTypesClient.listSessionEntityTypesCallable().call(request); - * for (SessionEntityType element : response.getResponsesList()) { + * for (SessionEntityType element : response.getSessionEntityTypesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java index 1bd9aaf14..6abd5c13a 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java @@ -281,7 +281,7 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) * .build(); * while (true) { * ListVersionsResponse response = versionsClient.listVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java index 8cd17cb57..1c685e3cc 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java @@ -673,7 +673,7 @@ public final SearchAgentsPagedResponse searchAgents(SearchAgentsRequest request) * .build(); * while (true) { * SearchAgentsResponse response = agentsClient.searchAgentsCallable().call(request); - * for (Agent element : response.getResponsesList()) { + * for (Agent element : response.getAgentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java index dc88fc9f8..d3598fa18 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java @@ -367,7 +367,7 @@ public final ListAnswerRecordsPagedResponse listAnswerRecords(ListAnswerRecordsR * while (true) { * ListAnswerRecordsResponse response = * answerRecordsClient.listAnswerRecordsCallable().call(request); - * for (AnswerRecord element : response.getResponsesList()) { + * for (AnswerRecord element : response.getAnswerRecordsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java index a9962dfe1..38e3df5b0 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java @@ -298,7 +298,7 @@ public final ListContextsPagedResponse listContexts(ListContextsRequest request) * .build(); * while (true) { * ListContextsResponse response = contextsClient.listContextsCallable().call(request); - * for (Context element : response.getResponsesList()) { + * for (Context element : response.getContextsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java index f3afc250b..0cd618545 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java @@ -348,7 +348,7 @@ public final ListConversationProfilesPagedResponse listConversationProfiles( * while (true) { * ListConversationProfilesResponse response = * conversationProfilesClient.listConversationProfilesCallable().call(request); - * for (ConversationProfile element : response.getResponsesList()) { + * for (ConversationProfile element : response.getConversationProfilesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java index 0394883bf..f729f66c9 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java @@ -542,7 +542,7 @@ public final ListConversationsPagedResponse listConversations(ListConversationsR * while (true) { * ListConversationsResponse response = * conversationsClient.listConversationsCallable().call(request); - * for (Conversation element : response.getResponsesList()) { + * for (Conversation element : response.getConversationsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1057,7 +1057,7 @@ public final ListMessagesPagedResponse listMessages(ListMessagesRequest request) * .build(); * while (true) { * ListMessagesResponse response = conversationsClient.listMessagesCallable().call(request); - * for (Message element : response.getResponsesList()) { + * for (Message element : response.getMessagesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java index 468528317..b9b819d65 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java @@ -327,7 +327,7 @@ public final ListDocumentsPagedResponse listDocuments(ListDocumentsRequest reque * .build(); * while (true) { * ListDocumentsResponse response = documentsClient.listDocumentsCallable().call(request); - * for (Document element : response.getResponsesList()) { + * for (Document element : response.getDocumentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java index 1b4587f0e..e7d2aad39 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java @@ -377,7 +377,7 @@ public final ListEntityTypesPagedResponse listEntityTypes(ListEntityTypesRequest * while (true) { * ListEntityTypesResponse response = * entityTypesClient.listEntityTypesCallable().call(request); - * for (EntityType element : response.getResponsesList()) { + * for (EntityType element : response.getEntityTypesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java index d333a37b0..5a15104ee 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java @@ -291,7 +291,7 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ * while (true) { * ListEnvironmentsResponse response = * environmentsClient.listEnvironmentsCallable().call(request); - * for (Environment element : response.getResponsesList()) { + * for (Environment element : response.getEnvironmentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -621,7 +621,7 @@ public final GetEnvironmentHistoryPagedResponse getEnvironmentHistory( * while (true) { * EnvironmentHistory response = * environmentsClient.getEnvironmentHistoryCallable().call(request); - * for (EnvironmentHistory.Entry element : response.getResponsesList()) { + * for (EnvironmentHistory.Entry element : response.getEntriesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index d25a9dc4b..0d3986934 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java @@ -389,7 +389,7 @@ public final ListIntentsPagedResponse listIntents(ListIntentsRequest request) { * .build(); * while (true) { * ListIntentsResponse response = intentsClient.listIntentsCallable().call(request); - * for (Intent element : response.getResponsesList()) { + * for (Intent element : response.getIntentsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java index f50851af5..338609e64 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java @@ -339,7 +339,7 @@ public final ListKnowledgeBasesPagedResponse listKnowledgeBases( * while (true) { * ListKnowledgeBasesResponse response = * knowledgeBasesClient.listKnowledgeBasesCallable().call(request); - * for (KnowledgeBase element : response.getResponsesList()) { + * for (KnowledgeBase element : response.getKnowledgeBasesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java index 5361b9e0a..c7e12a29b 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java @@ -527,7 +527,7 @@ public final ListParticipantsPagedResponse listParticipants(ListParticipantsRequ * while (true) { * ListParticipantsResponse response = * participantsClient.listParticipantsCallable().call(request); - * for (Participant element : response.getResponsesList()) { + * for (Participant element : response.getParticipantsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1433,7 +1433,7 @@ public final ListSuggestionsPagedResponse listSuggestions(ListSuggestionsRequest * while (true) { * ListSuggestionsResponse response = * participantsClient.listSuggestionsCallable().call(request); - * for (Suggestion element : response.getResponsesList()) { + * for (Suggestion element : response.getSuggestionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java index a69bcb24d..fc4f5947b 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java @@ -327,7 +327,7 @@ public final ListSessionEntityTypesPagedResponse listSessionEntityTypes( * while (true) { * ListSessionEntityTypesResponse response = * sessionEntityTypesClient.listSessionEntityTypesCallable().call(request); - * for (SessionEntityType element : response.getResponsesList()) { + * for (SessionEntityType element : response.getSessionEntityTypesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java index a1dc2bea1..88c9e425a 100644 --- a/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java +++ b/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java @@ -283,7 +283,7 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) * .build(); * while (true) { * ListVersionsResponse response = versionsClient.listVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); diff --git a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java index 4a96e03d4..5082b82f4 100644 --- a/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java +++ b/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java @@ -149,8 +149,8 @@ public void getConversationModelTest() throws Exception { ConversationModel expectedResponse = ConversationModel.newBuilder() .setName( - ConversationModelName.ofProjectLocationConversationModelName( - "[PROJECT]", "[LOCATION]", "[CONVERSATION_MODEL]") + ConversationModelName.ofProjectConversationModelName( + "[PROJECT]", "[CONVERSATION_MODEL]") .toString()) .setDisplayName("displayName1714148973") .setCreateTime(Timestamp.newBuilder().build())