Class DeviceManagerGrpc (2.23.0)

public final class DeviceManagerGrpc

Internet of Things (IoT) service. Securely connect and manage IoT devices.

Inheritance

java.lang.Object > DeviceManagerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(DeviceManagerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DeviceManagerGrpc.AsyncService service)
Parameter
NameDescription
serviceDeviceManagerGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getBindDeviceToGatewayMethod()

public static MethodDescriptor<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse> getBindDeviceToGatewayMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<BindDeviceToGatewayRequest,BindDeviceToGatewayResponse>

getCreateDeviceMethod()

public static MethodDescriptor<CreateDeviceRequest,Device> getCreateDeviceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateDeviceRequest,Device>

getCreateDeviceRegistryMethod()

public static MethodDescriptor<CreateDeviceRegistryRequest,DeviceRegistry> getCreateDeviceRegistryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateDeviceRegistryRequest,DeviceRegistry>

getDeleteDeviceMethod()

public static MethodDescriptor<DeleteDeviceRequest,Empty> getDeleteDeviceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteDeviceRequest,Empty>

getDeleteDeviceRegistryMethod()

public static MethodDescriptor<DeleteDeviceRegistryRequest,Empty> getDeleteDeviceRegistryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteDeviceRegistryRequest,Empty>

getGetDeviceMethod()

public static MethodDescriptor<GetDeviceRequest,Device> getGetDeviceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDeviceRequest,Device>

getGetDeviceRegistryMethod()

public static MethodDescriptor<GetDeviceRegistryRequest,DeviceRegistry> getGetDeviceRegistryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetDeviceRegistryRequest,DeviceRegistry>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getListDeviceConfigVersionsMethod()

public static MethodDescriptor<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse> getListDeviceConfigVersionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDeviceConfigVersionsRequest,ListDeviceConfigVersionsResponse>

getListDeviceRegistriesMethod()

public static MethodDescriptor<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse> getListDeviceRegistriesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDeviceRegistriesRequest,ListDeviceRegistriesResponse>

getListDeviceStatesMethod()

public static MethodDescriptor<ListDeviceStatesRequest,ListDeviceStatesResponse> getListDeviceStatesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDeviceStatesRequest,ListDeviceStatesResponse>

getListDevicesMethod()

public static MethodDescriptor<ListDevicesRequest,ListDevicesResponse> getListDevicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListDevicesRequest,ListDevicesResponse>

getModifyCloudToDeviceConfigMethod()

public static MethodDescriptor<ModifyCloudToDeviceConfigRequest,DeviceConfig> getModifyCloudToDeviceConfigMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ModifyCloudToDeviceConfigRequest,DeviceConfig>

getSendCommandToDeviceMethod()

public static MethodDescriptor<SendCommandToDeviceRequest,SendCommandToDeviceResponse> getSendCommandToDeviceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SendCommandToDeviceRequest,SendCommandToDeviceResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUnbindDeviceFromGatewayMethod()

public static MethodDescriptor<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse> getUnbindDeviceFromGatewayMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UnbindDeviceFromGatewayRequest,UnbindDeviceFromGatewayResponse>

getUpdateDeviceMethod()

public static MethodDescriptor<UpdateDeviceRequest,Device> getUpdateDeviceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDeviceRequest,Device>

getUpdateDeviceRegistryMethod()

public static MethodDescriptor<UpdateDeviceRegistryRequest,DeviceRegistry> getUpdateDeviceRegistryMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateDeviceRegistryRequest,DeviceRegistry>

newBlockingStub(Channel channel)

public static DeviceManagerGrpc.DeviceManagerBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DeviceManagerGrpc.DeviceManagerBlockingStub

newFutureStub(Channel channel)

public static DeviceManagerGrpc.DeviceManagerFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DeviceManagerGrpc.DeviceManagerFutureStub

newStub(Channel channel)

public static DeviceManagerGrpc.DeviceManagerStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
DeviceManagerGrpc.DeviceManagerStub