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