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