• 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.EnvironmentsClient.GetEnvironmentHistoryPagedResponse;
20 import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListEnvironmentsPagedResponse;
21 import static com.google.cloud.dialogflow.v2.EnvironmentsClient.ListLocationsPagedResponse;
22 
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.cloud.dialogflow.v2.CreateEnvironmentRequest;
26 import com.google.cloud.dialogflow.v2.DeleteEnvironmentRequest;
27 import com.google.cloud.dialogflow.v2.Environment;
28 import com.google.cloud.dialogflow.v2.EnvironmentHistory;
29 import com.google.cloud.dialogflow.v2.GetEnvironmentHistoryRequest;
30 import com.google.cloud.dialogflow.v2.GetEnvironmentRequest;
31 import com.google.cloud.dialogflow.v2.ListEnvironmentsRequest;
32 import com.google.cloud.dialogflow.v2.ListEnvironmentsResponse;
33 import com.google.cloud.dialogflow.v2.UpdateEnvironmentRequest;
34 import com.google.cloud.location.GetLocationRequest;
35 import com.google.cloud.location.ListLocationsRequest;
36 import com.google.cloud.location.ListLocationsResponse;
37 import com.google.cloud.location.Location;
38 import com.google.protobuf.Empty;
39 import javax.annotation.Generated;
40 
41 // AUTO-GENERATED DOCUMENTATION AND CLASS.
42 /**
43  * Base stub class for the Environments service API.
44  *
45  * <p>This class is for advanced usage and reflects the underlying API directly.
46  */
47 @Generated("by gapic-generator-java")
48 public abstract class EnvironmentsStub implements BackgroundResource {
49 
50   public UnaryCallable<ListEnvironmentsRequest, ListEnvironmentsPagedResponse>
listEnvironmentsPagedCallable()51       listEnvironmentsPagedCallable() {
52     throw new UnsupportedOperationException("Not implemented: listEnvironmentsPagedCallable()");
53   }
54 
55   public UnaryCallable<ListEnvironmentsRequest, ListEnvironmentsResponse>
listEnvironmentsCallable()56       listEnvironmentsCallable() {
57     throw new UnsupportedOperationException("Not implemented: listEnvironmentsCallable()");
58   }
59 
getEnvironmentCallable()60   public UnaryCallable<GetEnvironmentRequest, Environment> getEnvironmentCallable() {
61     throw new UnsupportedOperationException("Not implemented: getEnvironmentCallable()");
62   }
63 
createEnvironmentCallable()64   public UnaryCallable<CreateEnvironmentRequest, Environment> createEnvironmentCallable() {
65     throw new UnsupportedOperationException("Not implemented: createEnvironmentCallable()");
66   }
67 
updateEnvironmentCallable()68   public UnaryCallable<UpdateEnvironmentRequest, Environment> updateEnvironmentCallable() {
69     throw new UnsupportedOperationException("Not implemented: updateEnvironmentCallable()");
70   }
71 
deleteEnvironmentCallable()72   public UnaryCallable<DeleteEnvironmentRequest, Empty> deleteEnvironmentCallable() {
73     throw new UnsupportedOperationException("Not implemented: deleteEnvironmentCallable()");
74   }
75 
76   public UnaryCallable<GetEnvironmentHistoryRequest, GetEnvironmentHistoryPagedResponse>
getEnvironmentHistoryPagedCallable()77       getEnvironmentHistoryPagedCallable() {
78     throw new UnsupportedOperationException(
79         "Not implemented: getEnvironmentHistoryPagedCallable()");
80   }
81 
82   public UnaryCallable<GetEnvironmentHistoryRequest, EnvironmentHistory>
getEnvironmentHistoryCallable()83       getEnvironmentHistoryCallable() {
84     throw new UnsupportedOperationException("Not implemented: getEnvironmentHistoryCallable()");
85   }
86 
87   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()88       listLocationsPagedCallable() {
89     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
90   }
91 
listLocationsCallable()92   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
93     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
94   }
95 
getLocationCallable()96   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
97     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
98   }
99 
100   @Override
close()101   public abstract void close();
102 }
103