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