1 /* 2 * Copyright 2022 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.google.cloud.dialogflow.v2.stub; 18 19 import static com.google.cloud.dialogflow.v2.ParticipantsClient.ListLocationsPagedResponse; 20 import static com.google.cloud.dialogflow.v2.ParticipantsClient.ListParticipantsPagedResponse; 21 22 import com.google.api.gax.core.BackgroundResource; 23 import com.google.api.gax.rpc.BidiStreamingCallable; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.dialogflow.v2.AnalyzeContentRequest; 26 import com.google.cloud.dialogflow.v2.AnalyzeContentResponse; 27 import com.google.cloud.dialogflow.v2.CreateParticipantRequest; 28 import com.google.cloud.dialogflow.v2.GetParticipantRequest; 29 import com.google.cloud.dialogflow.v2.ListParticipantsRequest; 30 import com.google.cloud.dialogflow.v2.ListParticipantsResponse; 31 import com.google.cloud.dialogflow.v2.Participant; 32 import com.google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest; 33 import com.google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse; 34 import com.google.cloud.dialogflow.v2.SuggestArticlesRequest; 35 import com.google.cloud.dialogflow.v2.SuggestArticlesResponse; 36 import com.google.cloud.dialogflow.v2.SuggestFaqAnswersRequest; 37 import com.google.cloud.dialogflow.v2.SuggestFaqAnswersResponse; 38 import com.google.cloud.dialogflow.v2.SuggestSmartRepliesRequest; 39 import com.google.cloud.dialogflow.v2.SuggestSmartRepliesResponse; 40 import com.google.cloud.dialogflow.v2.UpdateParticipantRequest; 41 import com.google.cloud.location.GetLocationRequest; 42 import com.google.cloud.location.ListLocationsRequest; 43 import com.google.cloud.location.ListLocationsResponse; 44 import com.google.cloud.location.Location; 45 import javax.annotation.Generated; 46 47 // AUTO-GENERATED DOCUMENTATION AND CLASS. 48 /** 49 * Base stub class for the Participants service API. 50 * 51 * <p>This class is for advanced usage and reflects the underlying API directly. 52 */ 53 @Generated("by gapic-generator-java") 54 public abstract class ParticipantsStub implements BackgroundResource { 55 createParticipantCallable()56 public UnaryCallable<CreateParticipantRequest, Participant> createParticipantCallable() { 57 throw new UnsupportedOperationException("Not implemented: createParticipantCallable()"); 58 } 59 getParticipantCallable()60 public UnaryCallable<GetParticipantRequest, Participant> getParticipantCallable() { 61 throw new UnsupportedOperationException("Not implemented: getParticipantCallable()"); 62 } 63 64 public UnaryCallable<ListParticipantsRequest, ListParticipantsPagedResponse> listParticipantsPagedCallable()65 listParticipantsPagedCallable() { 66 throw new UnsupportedOperationException("Not implemented: listParticipantsPagedCallable()"); 67 } 68 69 public UnaryCallable<ListParticipantsRequest, ListParticipantsResponse> listParticipantsCallable()70 listParticipantsCallable() { 71 throw new UnsupportedOperationException("Not implemented: listParticipantsCallable()"); 72 } 73 updateParticipantCallable()74 public UnaryCallable<UpdateParticipantRequest, Participant> updateParticipantCallable() { 75 throw new UnsupportedOperationException("Not implemented: updateParticipantCallable()"); 76 } 77 analyzeContentCallable()78 public UnaryCallable<AnalyzeContentRequest, AnalyzeContentResponse> analyzeContentCallable() { 79 throw new UnsupportedOperationException("Not implemented: analyzeContentCallable()"); 80 } 81 82 public BidiStreamingCallable<StreamingAnalyzeContentRequest, StreamingAnalyzeContentResponse> streamingAnalyzeContentCallable()83 streamingAnalyzeContentCallable() { 84 throw new UnsupportedOperationException("Not implemented: streamingAnalyzeContentCallable()"); 85 } 86 suggestArticlesCallable()87 public UnaryCallable<SuggestArticlesRequest, SuggestArticlesResponse> suggestArticlesCallable() { 88 throw new UnsupportedOperationException("Not implemented: suggestArticlesCallable()"); 89 } 90 91 public UnaryCallable<SuggestFaqAnswersRequest, SuggestFaqAnswersResponse> suggestFaqAnswersCallable()92 suggestFaqAnswersCallable() { 93 throw new UnsupportedOperationException("Not implemented: suggestFaqAnswersCallable()"); 94 } 95 96 public UnaryCallable<SuggestSmartRepliesRequest, SuggestSmartRepliesResponse> suggestSmartRepliesCallable()97 suggestSmartRepliesCallable() { 98 throw new UnsupportedOperationException("Not implemented: suggestSmartRepliesCallable()"); 99 } 100 101 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()102 listLocationsPagedCallable() { 103 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 104 } 105 listLocationsCallable()106 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 107 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 108 } 109 getLocationCallable()110 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 111 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 112 } 113 114 @Override close()115 public abstract void close(); 116 } 117