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.ContextsClient.ListContextsPagedResponse; 20 import static com.google.cloud.dialogflow.v2.ContextsClient.ListLocationsPagedResponse; 21 22 import com.google.api.gax.core.BackgroundResource; 23 import com.google.api.gax.rpc.UnaryCallable; 24 import com.google.cloud.dialogflow.v2.Context; 25 import com.google.cloud.dialogflow.v2.CreateContextRequest; 26 import com.google.cloud.dialogflow.v2.DeleteAllContextsRequest; 27 import com.google.cloud.dialogflow.v2.DeleteContextRequest; 28 import com.google.cloud.dialogflow.v2.GetContextRequest; 29 import com.google.cloud.dialogflow.v2.ListContextsRequest; 30 import com.google.cloud.dialogflow.v2.ListContextsResponse; 31 import com.google.cloud.dialogflow.v2.UpdateContextRequest; 32 import com.google.cloud.location.GetLocationRequest; 33 import com.google.cloud.location.ListLocationsRequest; 34 import com.google.cloud.location.ListLocationsResponse; 35 import com.google.cloud.location.Location; 36 import com.google.protobuf.Empty; 37 import javax.annotation.Generated; 38 39 // AUTO-GENERATED DOCUMENTATION AND CLASS. 40 /** 41 * Base stub class for the Contexts service API. 42 * 43 * <p>This class is for advanced usage and reflects the underlying API directly. 44 */ 45 @Generated("by gapic-generator-java") 46 public abstract class ContextsStub implements BackgroundResource { 47 listContextsPagedCallable()48 public UnaryCallable<ListContextsRequest, ListContextsPagedResponse> listContextsPagedCallable() { 49 throw new UnsupportedOperationException("Not implemented: listContextsPagedCallable()"); 50 } 51 listContextsCallable()52 public UnaryCallable<ListContextsRequest, ListContextsResponse> listContextsCallable() { 53 throw new UnsupportedOperationException("Not implemented: listContextsCallable()"); 54 } 55 getContextCallable()56 public UnaryCallable<GetContextRequest, Context> getContextCallable() { 57 throw new UnsupportedOperationException("Not implemented: getContextCallable()"); 58 } 59 createContextCallable()60 public UnaryCallable<CreateContextRequest, Context> createContextCallable() { 61 throw new UnsupportedOperationException("Not implemented: createContextCallable()"); 62 } 63 updateContextCallable()64 public UnaryCallable<UpdateContextRequest, Context> updateContextCallable() { 65 throw new UnsupportedOperationException("Not implemented: updateContextCallable()"); 66 } 67 deleteContextCallable()68 public UnaryCallable<DeleteContextRequest, Empty> deleteContextCallable() { 69 throw new UnsupportedOperationException("Not implemented: deleteContextCallable()"); 70 } 71 deleteAllContextsCallable()72 public UnaryCallable<DeleteAllContextsRequest, Empty> deleteAllContextsCallable() { 73 throw new UnsupportedOperationException("Not implemented: deleteAllContextsCallable()"); 74 } 75 76 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()77 listLocationsPagedCallable() { 78 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 79 } 80 listLocationsCallable()81 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 82 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 83 } 84 getLocationCallable()85 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 86 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 87 } 88 89 @Override close()90 public abstract void close(); 91 } 92