diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java index 7067aa4db2ae..2e0c7ea4dddf 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AgentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java index a1e8498be1c2..68a07365465d 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/AnswerRecordsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java index 00f97792d56e..6732f3a23837 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ContextsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java index 47bda1ff8d84..31eae2751cd4 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationDatasetsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java index 0d048f060049..77c2de0927c7 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java index 88c09a562c30..4f18e7e58e3e 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationProfilesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java index d396cd5a8ef7..859280f182c1 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ConversationsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java index d8322854e620..6127f0a11285 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/DocumentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java index 3100eb52caa9..268ede6e9cf3 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EntityTypesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java index 87c461b849e1..8eb2bd551c20 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/EnvironmentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java index b1d0fb9c5c58..42bb047c5fc7 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/IntentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java index 7066bf73c138..882b39d68dd6 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/KnowledgeBasesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java index 4158f8220f09..f234b79ee1ff 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/ParticipantsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java index 401f520a737f..3ddc8ba8acda 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/SessionEntityTypesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java index 1bd9aaf14779..6abd5c13a7d2 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/VersionsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java index 8cd17cb57d67..1c685e3cc741 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AgentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java index dc88fc9f8383..d3598fa1888c 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/AnswerRecordsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java index a9962dfe183b..38e3df5b0c01 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ContextsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java index f3afc250bfe0..0cd618545e06 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationProfilesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java index 0394883bf0f5..f729f66c935f 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ConversationsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java index 4685283175d7..b9b819d65e88 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/DocumentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java index 1b4587f0e4ed..e7d2aad39e28 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EntityTypesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java index d333a37b0578..5a15104eed3e 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/EnvironmentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java index d25a9dc4baf7..0d39869347eb 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/IntentsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java index f50851af5dc2..338609e6468b 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/KnowledgeBasesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java index 5361b9e0adec..c7e12a29b3e6 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/ParticipantsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java index a69bcb24d452..fc4f5947b02e 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/SessionEntityTypesClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java index a1dc2bea1aea..88c9e425ab0b 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/VersionsClient.java +++ b/java-dialogflow/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/java-dialogflow/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java b/java-dialogflow/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java index 4a96e03d4619..5082b82f414b 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ConversationModelsClientTest.java +++ b/java-dialogflow/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())