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.ConversationsClient.ListConversationsPagedResponse; 20 import static com.google.cloud.dialogflow.v2.ConversationsClient.ListLocationsPagedResponse; 21 import static com.google.cloud.dialogflow.v2.ConversationsClient.ListMessagesPagedResponse; 22 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.dialogflow.v2.CompleteConversationRequest; 26 import com.google.cloud.dialogflow.v2.Conversation; 27 import com.google.cloud.dialogflow.v2.CreateConversationRequest; 28 import com.google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest; 29 import com.google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse; 30 import com.google.cloud.dialogflow.v2.GetConversationRequest; 31 import com.google.cloud.dialogflow.v2.ListConversationsRequest; 32 import com.google.cloud.dialogflow.v2.ListConversationsResponse; 33 import com.google.cloud.dialogflow.v2.ListMessagesRequest; 34 import com.google.cloud.dialogflow.v2.ListMessagesResponse; 35 import com.google.cloud.dialogflow.v2.SuggestConversationSummaryRequest; 36 import com.google.cloud.dialogflow.v2.SuggestConversationSummaryResponse; 37 import com.google.cloud.location.GetLocationRequest; 38 import com.google.cloud.location.ListLocationsRequest; 39 import com.google.cloud.location.ListLocationsResponse; 40 import com.google.cloud.location.Location; 41 import javax.annotation.Generated; 42 43 // AUTO-GENERATED DOCUMENTATION AND CLASS. 44 /** 45 * Base stub class for the Conversations service API. 46 * 47 * <p>This class is for advanced usage and reflects the underlying API directly. 48 */ 49 @Generated("by gapic-generator-java") 50 public abstract class ConversationsStub implements BackgroundResource { 51 createConversationCallable()52 public UnaryCallable<CreateConversationRequest, Conversation> createConversationCallable() { 53 throw new UnsupportedOperationException("Not implemented: createConversationCallable()"); 54 } 55 56 public UnaryCallable<ListConversationsRequest, ListConversationsPagedResponse> listConversationsPagedCallable()57 listConversationsPagedCallable() { 58 throw new UnsupportedOperationException("Not implemented: listConversationsPagedCallable()"); 59 } 60 61 public UnaryCallable<ListConversationsRequest, ListConversationsResponse> listConversationsCallable()62 listConversationsCallable() { 63 throw new UnsupportedOperationException("Not implemented: listConversationsCallable()"); 64 } 65 getConversationCallable()66 public UnaryCallable<GetConversationRequest, Conversation> getConversationCallable() { 67 throw new UnsupportedOperationException("Not implemented: getConversationCallable()"); 68 } 69 completeConversationCallable()70 public UnaryCallable<CompleteConversationRequest, Conversation> completeConversationCallable() { 71 throw new UnsupportedOperationException("Not implemented: completeConversationCallable()"); 72 } 73 listMessagesPagedCallable()74 public UnaryCallable<ListMessagesRequest, ListMessagesPagedResponse> listMessagesPagedCallable() { 75 throw new UnsupportedOperationException("Not implemented: listMessagesPagedCallable()"); 76 } 77 listMessagesCallable()78 public UnaryCallable<ListMessagesRequest, ListMessagesResponse> listMessagesCallable() { 79 throw new UnsupportedOperationException("Not implemented: listMessagesCallable()"); 80 } 81 82 public UnaryCallable<SuggestConversationSummaryRequest, SuggestConversationSummaryResponse> suggestConversationSummaryCallable()83 suggestConversationSummaryCallable() { 84 throw new UnsupportedOperationException( 85 "Not implemented: suggestConversationSummaryCallable()"); 86 } 87 88 public UnaryCallable<GenerateStatelessSummaryRequest, GenerateStatelessSummaryResponse> generateStatelessSummaryCallable()89 generateStatelessSummaryCallable() { 90 throw new UnsupportedOperationException("Not implemented: generateStatelessSummaryCallable()"); 91 } 92 93 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()94 listLocationsPagedCallable() { 95 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 96 } 97 listLocationsCallable()98 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 99 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 100 } 101 getLocationCallable()102 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 103 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 104 } 105 106 @Override close()107 public abstract void close(); 108 } 109