Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

fix: update gapic-generator-java with mock service generation fixes #794

Merged
merged 9 commits into from
Jun 27, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest reque
* .build();
* while (true) {
* ListCompaniesResponse response = companyServiceClient.listCompaniesCallable().call(request);
* for (Company element : response.getResponsesList()) {
* for (Company element : response.getCompaniesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = jobServiceClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ public final ListTenantsPagedResponse listTenants(ListTenantsRequest request) {
* .build();
* while (true) {
* ListTenantsResponse response = tenantServiceClient.listTenantsCallable().call(request);
* for (Tenant element : response.getResponsesList()) {
* for (Tenant element : response.getTenantsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ public final ListCompaniesPagedResponse listCompanies(ListCompaniesRequest reque
* .build();
* while (true) {
* ListCompaniesResponse response = companyServiceClient.listCompaniesCallable().call(request);
* for (Company element : response.getResponsesList()) {
* for (Company element : response.getCompaniesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1162,16 +1162,20 @@ public final UnaryCallable<BatchDeleteJobsRequest, Empty> batchDeleteJobsCallabl
* <p>Supported operator: =, AND
* <p>The fields eligible for filtering are:
* <ul>
* <li>`companyName` (Required)
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* specified.
* </ul>
* <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
* error is thrown.
* <p>Sample Query:
* <ul>
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -1211,16 +1215,20 @@ public final ListJobsPagedResponse listJobs(ProjectName parent, String filter) {
* <p>Supported operator: =, AND
* <p>The fields eligible for filtering are:
* <ul>
* <li>`companyName` (Required)
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* specified.
* </ul>
* <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
* error is thrown.
* <p>Sample Query:
* <ul>
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -1260,16 +1268,20 @@ public final ListJobsPagedResponse listJobs(TenantName parent, String filter) {
* <p>Supported operator: =, AND
* <p>The fields eligible for filtering are:
* <ul>
* <li>`companyName` (Required)
* <li>`companyName`
* <li>`requisitionId`
* <li>`status` Available values: OPEN, EXPIRED, ALL. Defaults to OPEN if no value is
* specified.
* </ul>
* <p>At least one of `companyName` and `requisitionId` must present or an INVALID_ARGUMENT
* error is thrown.
* <p>Sample Query:
* <ul>
* <li>companyName = "projects/foo/tenants/bar/companies/baz"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND requisitionId = "req-1"
* <li>companyName = "projects/foo/tenants/bar/companies/baz" AND status = "EXPIRED"
* <li>requisitionId = "req-1"
* <li>requisitionId = "req-1" AND status = "EXPIRED"
* </ul>
*
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
Expand Down Expand Up @@ -1361,7 +1373,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = jobServiceClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down Expand Up @@ -1500,7 +1512,7 @@ public final UnaryCallable<SearchJobsRequest, SearchJobsPagedResponse> searchJob
* .build();
* while (true) {
* SearchJobsResponse response = jobServiceClient.searchJobsCallable().call(request);
* for (SearchJobsResponse.MatchingJob element : response.getResponsesList()) {
* for (SearchJobsResponse.MatchingJob element : response.getMatchingJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down Expand Up @@ -1649,7 +1661,7 @@ public final SearchJobsForAlertPagedResponse searchJobsForAlert(SearchJobsReques
* .build();
* while (true) {
* SearchJobsResponse response = jobServiceClient.searchJobsForAlertCallable().call(request);
* for (SearchJobsResponse.MatchingJob element : response.getResponsesList()) {
* for (SearchJobsResponse.MatchingJob element : response.getMatchingJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Loading