File tree Expand file tree Collapse file tree 13 files changed +41
-17
lines changed
google-cloud-clients/google-cloud-dialogflow
src/main/java/com/google/cloud/dialogflow Expand file tree Collapse file tree 13 files changed +41
-17
lines changed Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2 .stub .AgentsStub ;
3131import com .google .cloud .dialogflow .v2 .stub .AgentsStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -948,7 +949,8 @@ public static ApiFuture<SearchAgentsPagedResponse> createAsync(
948949 public SearchAgentsPagedResponse apply (SearchAgentsPage input ) {
949950 return new SearchAgentsPagedResponse (input );
950951 }
951- });
952+ },
953+ MoreExecutors .directExecutor ());
952954 }
953955
954956 private SearchAgentsPagedResponse (SearchAgentsPage page ) {
Original file line number Diff line number Diff line change 2727import com .google .api .gax .rpc .UnaryCallable ;
2828import com .google .cloud .dialogflow .v2 .stub .ContextsStub ;
2929import com .google .cloud .dialogflow .v2 .stub .ContextsStubSettings ;
30+ import com .google .common .util .concurrent .MoreExecutors ;
3031import com .google .protobuf .Empty ;
3132import java .io .IOException ;
3233import java .util .List ;
@@ -797,7 +798,8 @@ public static ApiFuture<ListContextsPagedResponse> createAsync(
797798 public ListContextsPagedResponse apply (ListContextsPage input ) {
798799 return new ListContextsPagedResponse (input );
799800 }
800- });
801+ },
802+ MoreExecutors .directExecutor ());
801803 }
802804
803805 private ListContextsPagedResponse (ListContextsPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2 .stub .EntityTypesStub ;
3131import com .google .cloud .dialogflow .v2 .stub .EntityTypesStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -1924,7 +1925,8 @@ public static ApiFuture<ListEntityTypesPagedResponse> createAsync(
19241925 public ListEntityTypesPagedResponse apply (ListEntityTypesPage input ) {
19251926 return new ListEntityTypesPagedResponse (input );
19261927 }
1927- });
1928+ },
1929+ MoreExecutors .directExecutor ());
19281930 }
19291931
19301932 private ListEntityTypesPagedResponse (ListEntityTypesPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2 .stub .IntentsStub ;
3131import com .google .cloud .dialogflow .v2 .stub .IntentsStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -1211,7 +1212,8 @@ public static ApiFuture<ListIntentsPagedResponse> createAsync(
12111212 public ListIntentsPagedResponse apply (ListIntentsPage input ) {
12121213 return new ListIntentsPagedResponse (input );
12131214 }
1214- });
1215+ },
1216+ MoreExecutors .directExecutor ());
12151217 }
12161218
12171219 private ListIntentsPagedResponse (ListIntentsPage page ) {
Original file line number Diff line number Diff line change 2727import com .google .api .gax .rpc .UnaryCallable ;
2828import com .google .cloud .dialogflow .v2 .stub .SessionEntityTypesStub ;
2929import com .google .cloud .dialogflow .v2 .stub .SessionEntityTypesStubSettings ;
30+ import com .google .common .util .concurrent .MoreExecutors ;
3031import com .google .protobuf .Empty ;
3132import java .io .IOException ;
3233import java .util .List ;
@@ -722,7 +723,8 @@ public static ApiFuture<ListSessionEntityTypesPagedResponse> createAsync(
722723 public ListSessionEntityTypesPagedResponse apply (ListSessionEntityTypesPage input ) {
723724 return new ListSessionEntityTypesPagedResponse (input );
724725 }
725- });
726+ },
727+ MoreExecutors .directExecutor ());
726728 }
727729
728730 private ListSessionEntityTypesPagedResponse (ListSessionEntityTypesPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2beta1 .stub .AgentsStub ;
3131import com .google .cloud .dialogflow .v2beta1 .stub .AgentsStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -949,7 +950,8 @@ public static ApiFuture<SearchAgentsPagedResponse> createAsync(
949950 public SearchAgentsPagedResponse apply (SearchAgentsPage input ) {
950951 return new SearchAgentsPagedResponse (input );
951952 }
952- });
953+ },
954+ MoreExecutors .directExecutor ());
953955 }
954956
955957 private SearchAgentsPagedResponse (SearchAgentsPage page ) {
Original file line number Diff line number Diff line change 2727import com .google .api .gax .rpc .UnaryCallable ;
2828import com .google .cloud .dialogflow .v2beta1 .stub .ContextsStub ;
2929import com .google .cloud .dialogflow .v2beta1 .stub .ContextsStubSettings ;
30+ import com .google .common .util .concurrent .MoreExecutors ;
3031import com .google .protobuf .Empty ;
3132import java .io .IOException ;
3233import java .util .List ;
@@ -831,7 +832,8 @@ public static ApiFuture<ListContextsPagedResponse> createAsync(
831832 public ListContextsPagedResponse apply (ListContextsPage input ) {
832833 return new ListContextsPagedResponse (input );
833834 }
834- });
835+ },
836+ MoreExecutors .directExecutor ());
835837 }
836838
837839 private ListContextsPagedResponse (ListContextsPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2beta1 .stub .DocumentsStub ;
3131import com .google .cloud .dialogflow .v2beta1 .stub .DocumentsStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -735,7 +736,8 @@ public static ApiFuture<ListDocumentsPagedResponse> createAsync(
735736 public ListDocumentsPagedResponse apply (ListDocumentsPage input ) {
736737 return new ListDocumentsPagedResponse (input );
737738 }
738- });
739+ },
740+ MoreExecutors .directExecutor ());
739741 }
740742
741743 private ListDocumentsPagedResponse (ListDocumentsPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2beta1 .stub .EntityTypesStub ;
3131import com .google .cloud .dialogflow .v2beta1 .stub .EntityTypesStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -1924,7 +1925,8 @@ public static ApiFuture<ListEntityTypesPagedResponse> createAsync(
19241925 public ListEntityTypesPagedResponse apply (ListEntityTypesPage input ) {
19251926 return new ListEntityTypesPagedResponse (input );
19261927 }
1927- });
1928+ },
1929+ MoreExecutors .directExecutor ());
19281930 }
19291931
19301932 private ListEntityTypesPagedResponse (ListEntityTypesPage page ) {
Original file line number Diff line number Diff line change 2929import com .google .api .gax .rpc .UnaryCallable ;
3030import com .google .cloud .dialogflow .v2beta1 .stub .IntentsStub ;
3131import com .google .cloud .dialogflow .v2beta1 .stub .IntentsStubSettings ;
32+ import com .google .common .util .concurrent .MoreExecutors ;
3233import com .google .longrunning .Operation ;
3334import com .google .longrunning .OperationsClient ;
3435import com .google .protobuf .Empty ;
@@ -1211,7 +1212,8 @@ public static ApiFuture<ListIntentsPagedResponse> createAsync(
12111212 public ListIntentsPagedResponse apply (ListIntentsPage input ) {
12121213 return new ListIntentsPagedResponse (input );
12131214 }
1214- });
1215+ },
1216+ MoreExecutors .directExecutor ());
12151217 }
12161218
12171219 private ListIntentsPagedResponse (ListIntentsPage page ) {
You can’t perform that action at this time.
0 commit comments