@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDeviceManagerStub, using the given settings.
|
protected |
GrpcDeviceManagerStub(DeviceManagerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDeviceManagerStub, using the given settings.
|
protected GrpcDeviceManagerStub(DeviceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcDeviceManagerStub(DeviceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcDeviceManagerStub create(DeviceManagerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcDeviceManagerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcDeviceManagerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistryCallable()
createDeviceRegistryCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistryCallable()
getDeviceRegistryCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistryCallable()
updateDeviceRegistryCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistryCallable()
deleteDeviceRegistryCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDeviceRegistriesRequest,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesPagedCallable()
listDeviceRegistriesPagedCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse> listDeviceRegistriesCallable()
listDeviceRegistriesCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<CreateDeviceRequest,Device> createDeviceCallable()
createDeviceCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<GetDeviceRequest,Device> getDeviceCallable()
getDeviceCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateDeviceRequest,Device> updateDeviceCallable()
updateDeviceCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteDeviceRequest,Empty> deleteDeviceCallable()
deleteDeviceCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDevicesRequest,DeviceManagerClient.ListDevicesPagedResponse> listDevicesPagedCallable()
listDevicesPagedCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDevicesRequest,ListDevicesResponse> listDevicesCallable()
listDevicesCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigCallable()
modifyCloudToDeviceConfigCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsCallable()
listDeviceConfigVersionsCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesCallable()
listDeviceStatesCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceCallable()
sendCommandToDeviceCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewayCallable()
bindDeviceToGatewayCallable in class DeviceManagerStubpublic com.google.api.gax.rpc.UnaryCallable<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> unbindDeviceFromGatewayCallable()
unbindDeviceFromGatewayCallable in class DeviceManagerStubpublic final void close()
close in interface AutoCloseableclose in class DeviceManagerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.