@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
IOException
protected GrpcDeviceManagerStub(DeviceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDeviceManagerStub create(DeviceManagerStubSettings settings) throws IOException
IOException
public static final GrpcDeviceManagerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcDeviceManagerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<CreateDeviceRegistryRequest,DeviceRegistry> createDeviceRegistryCallable()
createDeviceRegistryCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<GetDeviceRegistryRequest,DeviceRegistry> getDeviceRegistryCallable()
getDeviceRegistryCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<UpdateDeviceRegistryRequest,DeviceRegistry> updateDeviceRegistryCallable()
updateDeviceRegistryCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<DeleteDeviceRegistryRequest,Empty> deleteDeviceRegistryCallable()
deleteDeviceRegistryCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDeviceRegistriesRequest,DeviceManagerClient.ListDeviceRegistriesPagedResponse> listDeviceRegistriesPagedCallable()
listDeviceRegistriesPagedCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse> listDeviceRegistriesCallable()
listDeviceRegistriesCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<CreateDeviceRequest,Device> createDeviceCallable()
createDeviceCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<GetDeviceRequest,Device> getDeviceCallable()
getDeviceCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<UpdateDeviceRequest,Device> updateDeviceCallable()
updateDeviceCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<DeleteDeviceRequest,Empty> deleteDeviceCallable()
deleteDeviceCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDevicesRequest,DeviceManagerClient.ListDevicesPagedResponse> listDevicesPagedCallable()
listDevicesPagedCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDevicesRequest,ListDevicesResponse> listDevicesCallable()
listDevicesCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ModifyCloudToDeviceConfigRequest,DeviceConfig> modifyCloudToDeviceConfigCallable()
modifyCloudToDeviceConfigCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> listDeviceConfigVersionsCallable()
listDeviceConfigVersionsCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<ListDeviceStatesRequest,ListDeviceStatesResponse> listDeviceStatesCallable()
listDeviceStatesCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<SendCommandToDeviceRequest,SendCommandToDeviceResponse> sendCommandToDeviceCallable()
sendCommandToDeviceCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.UnaryCallable<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> bindDeviceToGatewayCallable()
bindDeviceToGatewayCallable
in class DeviceManagerStub
public com.google.api.gax.rpc.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 © 2019 Google LLC. All rights reserved.