@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonDeviceManagerStub extends DeviceManagerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonDeviceManagerStub(DeviceManagerStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonDeviceManagerStub, using the given settings.
|
protected |
HttpJsonDeviceManagerStub(DeviceManagerStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDeviceManagerStub, using the given settings.
|
protected HttpJsonDeviceManagerStub(DeviceManagerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonDeviceManagerStub(DeviceManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonDeviceManagerStub create(DeviceManagerStubSettings settings) throws IOException
IOException
public static final HttpJsonDeviceManagerStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonDeviceManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public UnaryCallable<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistryCallable()
createDeviceRegistryCallable
in class DeviceManagerStub
public UnaryCallable<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistryCallable()
getDeviceRegistryCallable
in class DeviceManagerStub
public UnaryCallable<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistryCallable()
updateDeviceRegistryCallable
in class DeviceManagerStub
public UnaryCallable<DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistryCallable()
deleteDeviceRegistryCallable
in class DeviceManagerStub
public UnaryCallable<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse> listDeviceRegistriesCallable()
listDeviceRegistriesCallable
in class DeviceManagerStub
public UnaryCallable<ListDeviceRegistriesRequest,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesPagedCallable()
listDeviceRegistriesPagedCallable
in class DeviceManagerStub
public UnaryCallable<CreateDeviceRequest,Device> createDeviceCallable()
createDeviceCallable
in class DeviceManagerStub
public UnaryCallable<GetDeviceRequest,Device> getDeviceCallable()
getDeviceCallable
in class DeviceManagerStub
public UnaryCallable<UpdateDeviceRequest,Device> updateDeviceCallable()
updateDeviceCallable
in class DeviceManagerStub
public UnaryCallable<DeleteDeviceRequest,Empty> deleteDeviceCallable()
deleteDeviceCallable
in class DeviceManagerStub
public UnaryCallable<ListDevicesRequest,ListDevicesResponse> listDevicesCallable()
listDevicesCallable
in class DeviceManagerStub
public UnaryCallable<ListDevicesRequest,DeviceManagerClient.ListDevicesPagedResponse> listDevicesPagedCallable()
listDevicesPagedCallable
in class DeviceManagerStub
public UnaryCallable<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigCallable()
modifyCloudToDeviceConfigCallable
in class DeviceManagerStub
public UnaryCallable<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsCallable()
listDeviceConfigVersionsCallable
in class DeviceManagerStub
public UnaryCallable<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesCallable()
listDeviceStatesCallable
in class DeviceManagerStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class DeviceManagerStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class DeviceManagerStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class DeviceManagerStub
public UnaryCallable<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceCallable()
sendCommandToDeviceCallable
in class DeviceManagerStub
public UnaryCallable<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewayCallable()
bindDeviceToGatewayCallable
in class DeviceManagerStub
public UnaryCallable<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewayCallable()
unbindDeviceFromGatewayCallable
in class DeviceManagerStub
public final void close()
close
in interface AutoCloseable
close
in class DeviceManagerStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.