• 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.IntentsClient.ListIntentsPagedResponse;
20 import static com.google.cloud.dialogflow.v2beta1.IntentsClient.ListLocationsPagedResponse;
21 
22 import com.google.api.core.BetaApi;
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.OperationCallable;
25 import com.google.api.gax.rpc.UnaryCallable;
26 import com.google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest;
27 import com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest;
28 import com.google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse;
29 import com.google.cloud.dialogflow.v2beta1.CreateIntentRequest;
30 import com.google.cloud.dialogflow.v2beta1.DeleteIntentRequest;
31 import com.google.cloud.dialogflow.v2beta1.GetIntentRequest;
32 import com.google.cloud.dialogflow.v2beta1.Intent;
33 import com.google.cloud.dialogflow.v2beta1.ListIntentsRequest;
34 import com.google.cloud.dialogflow.v2beta1.ListIntentsResponse;
35 import com.google.cloud.dialogflow.v2beta1.UpdateIntentRequest;
36 import com.google.cloud.location.GetLocationRequest;
37 import com.google.cloud.location.ListLocationsRequest;
38 import com.google.cloud.location.ListLocationsResponse;
39 import com.google.cloud.location.Location;
40 import com.google.longrunning.Operation;
41 import com.google.longrunning.stub.OperationsStub;
42 import com.google.protobuf.Empty;
43 import com.google.protobuf.Struct;
44 import javax.annotation.Generated;
45 
46 // AUTO-GENERATED DOCUMENTATION AND CLASS.
47 /**
48  * Base stub class for the Intents service API.
49  *
50  * <p>This class is for advanced usage and reflects the underlying API directly.
51  */
52 @BetaApi
53 @Generated("by gapic-generator-java")
54 public abstract class IntentsStub implements BackgroundResource {
55 
getOperationsStub()56   public OperationsStub getOperationsStub() {
57     return null;
58   }
59 
getHttpJsonOperationsStub()60   public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
61     return null;
62   }
63 
listIntentsPagedCallable()64   public UnaryCallable<ListIntentsRequest, ListIntentsPagedResponse> listIntentsPagedCallable() {
65     throw new UnsupportedOperationException("Not implemented: listIntentsPagedCallable()");
66   }
67 
listIntentsCallable()68   public UnaryCallable<ListIntentsRequest, ListIntentsResponse> listIntentsCallable() {
69     throw new UnsupportedOperationException("Not implemented: listIntentsCallable()");
70   }
71 
getIntentCallable()72   public UnaryCallable<GetIntentRequest, Intent> getIntentCallable() {
73     throw new UnsupportedOperationException("Not implemented: getIntentCallable()");
74   }
75 
createIntentCallable()76   public UnaryCallable<CreateIntentRequest, Intent> createIntentCallable() {
77     throw new UnsupportedOperationException("Not implemented: createIntentCallable()");
78   }
79 
updateIntentCallable()80   public UnaryCallable<UpdateIntentRequest, Intent> updateIntentCallable() {
81     throw new UnsupportedOperationException("Not implemented: updateIntentCallable()");
82   }
83 
deleteIntentCallable()84   public UnaryCallable<DeleteIntentRequest, Empty> deleteIntentCallable() {
85     throw new UnsupportedOperationException("Not implemented: deleteIntentCallable()");
86   }
87 
88   public OperationCallable<BatchUpdateIntentsRequest, BatchUpdateIntentsResponse, Struct>
batchUpdateIntentsOperationCallable()89       batchUpdateIntentsOperationCallable() {
90     throw new UnsupportedOperationException(
91         "Not implemented: batchUpdateIntentsOperationCallable()");
92   }
93 
batchUpdateIntentsCallable()94   public UnaryCallable<BatchUpdateIntentsRequest, Operation> batchUpdateIntentsCallable() {
95     throw new UnsupportedOperationException("Not implemented: batchUpdateIntentsCallable()");
96   }
97 
98   public OperationCallable<BatchDeleteIntentsRequest, Empty, Struct>
batchDeleteIntentsOperationCallable()99       batchDeleteIntentsOperationCallable() {
100     throw new UnsupportedOperationException(
101         "Not implemented: batchDeleteIntentsOperationCallable()");
102   }
103 
batchDeleteIntentsCallable()104   public UnaryCallable<BatchDeleteIntentsRequest, Operation> batchDeleteIntentsCallable() {
105     throw new UnsupportedOperationException("Not implemented: batchDeleteIntentsCallable()");
106   }
107 
108   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()109       listLocationsPagedCallable() {
110     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
111   }
112 
listLocationsCallable()113   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
114     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
115   }
116 
getLocationCallable()117   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
118     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
119   }
120 
121   @Override
close()122   public abstract void close();
123 }
124