Skip to content

Commit

Permalink
chore: Integrate new gapic-generator-java and rules_gapic (#935)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 454027580

Source-Link: googleapis/googleapis@1b22277

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2022
1 parent a199fd4 commit 26c2e78
Show file tree
Hide file tree
Showing 29 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 26c2e78

Please sign in to comment.