• 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.iot.v1.stub;
18 
19 import static com.google.cloud.iot.v1.DeviceManagerClient.ListDeviceRegistriesPagedResponse;
20 import static com.google.cloud.iot.v1.DeviceManagerClient.ListDevicesPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.UnaryCallable;
24 import com.google.cloud.iot.v1.BindDeviceToGatewayRequest;
25 import com.google.cloud.iot.v1.BindDeviceToGatewayResponse;
26 import com.google.cloud.iot.v1.CreateDeviceRegistryRequest;
27 import com.google.cloud.iot.v1.CreateDeviceRequest;
28 import com.google.cloud.iot.v1.DeleteDeviceRegistryRequest;
29 import com.google.cloud.iot.v1.DeleteDeviceRequest;
30 import com.google.cloud.iot.v1.Device;
31 import com.google.cloud.iot.v1.DeviceConfig;
32 import com.google.cloud.iot.v1.DeviceRegistry;
33 import com.google.cloud.iot.v1.GetDeviceRegistryRequest;
34 import com.google.cloud.iot.v1.GetDeviceRequest;
35 import com.google.cloud.iot.v1.ListDeviceConfigVersionsRequest;
36 import com.google.cloud.iot.v1.ListDeviceConfigVersionsResponse;
37 import com.google.cloud.iot.v1.ListDeviceRegistriesRequest;
38 import com.google.cloud.iot.v1.ListDeviceRegistriesResponse;
39 import com.google.cloud.iot.v1.ListDeviceStatesRequest;
40 import com.google.cloud.iot.v1.ListDeviceStatesResponse;
41 import com.google.cloud.iot.v1.ListDevicesRequest;
42 import com.google.cloud.iot.v1.ListDevicesResponse;
43 import com.google.cloud.iot.v1.ModifyCloudToDeviceConfigRequest;
44 import com.google.cloud.iot.v1.SendCommandToDeviceRequest;
45 import com.google.cloud.iot.v1.SendCommandToDeviceResponse;
46 import com.google.cloud.iot.v1.UnbindDeviceFromGatewayRequest;
47 import com.google.cloud.iot.v1.UnbindDeviceFromGatewayResponse;
48 import com.google.cloud.iot.v1.UpdateDeviceRegistryRequest;
49 import com.google.cloud.iot.v1.UpdateDeviceRequest;
50 import com.google.iam.v1.GetIamPolicyRequest;
51 import com.google.iam.v1.Policy;
52 import com.google.iam.v1.SetIamPolicyRequest;
53 import com.google.iam.v1.TestIamPermissionsRequest;
54 import com.google.iam.v1.TestIamPermissionsResponse;
55 import com.google.protobuf.Empty;
56 import javax.annotation.Generated;
57 
58 // AUTO-GENERATED DOCUMENTATION AND CLASS.
59 /**
60  * Base stub class for the DeviceManager service API.
61  *
62  * <p>This class is for advanced usage and reflects the underlying API directly.
63  */
64 @Generated("by gapic-generator-java")
65 public abstract class DeviceManagerStub implements BackgroundResource {
66 
createDeviceRegistryCallable()67   public UnaryCallable<CreateDeviceRegistryRequest, DeviceRegistry> createDeviceRegistryCallable() {
68     throw new UnsupportedOperationException("Not implemented: createDeviceRegistryCallable()");
69   }
70 
getDeviceRegistryCallable()71   public UnaryCallable<GetDeviceRegistryRequest, DeviceRegistry> getDeviceRegistryCallable() {
72     throw new UnsupportedOperationException("Not implemented: getDeviceRegistryCallable()");
73   }
74 
updateDeviceRegistryCallable()75   public UnaryCallable<UpdateDeviceRegistryRequest, DeviceRegistry> updateDeviceRegistryCallable() {
76     throw new UnsupportedOperationException("Not implemented: updateDeviceRegistryCallable()");
77   }
78 
deleteDeviceRegistryCallable()79   public UnaryCallable<DeleteDeviceRegistryRequest, Empty> deleteDeviceRegistryCallable() {
80     throw new UnsupportedOperationException("Not implemented: deleteDeviceRegistryCallable()");
81   }
82 
83   public UnaryCallable<ListDeviceRegistriesRequest, ListDeviceRegistriesPagedResponse>
listDeviceRegistriesPagedCallable()84       listDeviceRegistriesPagedCallable() {
85     throw new UnsupportedOperationException("Not implemented: listDeviceRegistriesPagedCallable()");
86   }
87 
88   public UnaryCallable<ListDeviceRegistriesRequest, ListDeviceRegistriesResponse>
listDeviceRegistriesCallable()89       listDeviceRegistriesCallable() {
90     throw new UnsupportedOperationException("Not implemented: listDeviceRegistriesCallable()");
91   }
92 
createDeviceCallable()93   public UnaryCallable<CreateDeviceRequest, Device> createDeviceCallable() {
94     throw new UnsupportedOperationException("Not implemented: createDeviceCallable()");
95   }
96 
getDeviceCallable()97   public UnaryCallable<GetDeviceRequest, Device> getDeviceCallable() {
98     throw new UnsupportedOperationException("Not implemented: getDeviceCallable()");
99   }
100 
updateDeviceCallable()101   public UnaryCallable<UpdateDeviceRequest, Device> updateDeviceCallable() {
102     throw new UnsupportedOperationException("Not implemented: updateDeviceCallable()");
103   }
104 
deleteDeviceCallable()105   public UnaryCallable<DeleteDeviceRequest, Empty> deleteDeviceCallable() {
106     throw new UnsupportedOperationException("Not implemented: deleteDeviceCallable()");
107   }
108 
listDevicesPagedCallable()109   public UnaryCallable<ListDevicesRequest, ListDevicesPagedResponse> listDevicesPagedCallable() {
110     throw new UnsupportedOperationException("Not implemented: listDevicesPagedCallable()");
111   }
112 
listDevicesCallable()113   public UnaryCallable<ListDevicesRequest, ListDevicesResponse> listDevicesCallable() {
114     throw new UnsupportedOperationException("Not implemented: listDevicesCallable()");
115   }
116 
117   public UnaryCallable<ModifyCloudToDeviceConfigRequest, DeviceConfig>
modifyCloudToDeviceConfigCallable()118       modifyCloudToDeviceConfigCallable() {
119     throw new UnsupportedOperationException("Not implemented: modifyCloudToDeviceConfigCallable()");
120   }
121 
122   public UnaryCallable<ListDeviceConfigVersionsRequest, ListDeviceConfigVersionsResponse>
listDeviceConfigVersionsCallable()123       listDeviceConfigVersionsCallable() {
124     throw new UnsupportedOperationException("Not implemented: listDeviceConfigVersionsCallable()");
125   }
126 
127   public UnaryCallable<ListDeviceStatesRequest, ListDeviceStatesResponse>
listDeviceStatesCallable()128       listDeviceStatesCallable() {
129     throw new UnsupportedOperationException("Not implemented: listDeviceStatesCallable()");
130   }
131 
setIamPolicyCallable()132   public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
133     throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
134   }
135 
getIamPolicyCallable()136   public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
137     throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
138   }
139 
140   public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable()141       testIamPermissionsCallable() {
142     throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
143   }
144 
145   public UnaryCallable<SendCommandToDeviceRequest, SendCommandToDeviceResponse>
sendCommandToDeviceCallable()146       sendCommandToDeviceCallable() {
147     throw new UnsupportedOperationException("Not implemented: sendCommandToDeviceCallable()");
148   }
149 
150   public UnaryCallable<BindDeviceToGatewayRequest, BindDeviceToGatewayResponse>
bindDeviceToGatewayCallable()151       bindDeviceToGatewayCallable() {
152     throw new UnsupportedOperationException("Not implemented: bindDeviceToGatewayCallable()");
153   }
154 
155   public UnaryCallable<UnbindDeviceFromGatewayRequest, UnbindDeviceFromGatewayResponse>
unbindDeviceFromGatewayCallable()156       unbindDeviceFromGatewayCallable() {
157     throw new UnsupportedOperationException("Not implemented: unbindDeviceFromGatewayCallable()");
158   }
159 
160   @Override
close()161   public abstract void close();
162 }
163