Class DeviceManagerGrpc (2.44.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
Type Description
String

Static Methods

bindService(DeviceManagerGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DeviceManagerGrpc.AsyncService service)
Parameter
Name Description
service DeviceManagerGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBindDeviceToGatewayMethod()

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

getCreateDeviceMethod()

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

getCreateDeviceRegistryMethod()

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

getDeleteDeviceMethod()

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

getDeleteDeviceRegistryMethod()

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

getGetDeviceMethod()

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

getGetDeviceRegistryMethod()

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

getGetIamPolicyMethod()

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

getListDeviceConfigVersionsMethod()

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

getListDeviceRegistriesMethod()

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

getListDeviceStatesMethod()

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

getListDevicesMethod()

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

getModifyCloudToDeviceConfigMethod()

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

getSendCommandToDeviceMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

getUnbindDeviceFromGatewayMethod()

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

getUpdateDeviceMethod()

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

getUpdateDeviceRegistryMethod()

public static MethodDescriptor<UpdateDeviceRegistryRequest,DeviceRegistry> getUpdateDeviceRegistryMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
DeviceManagerGrpc.DeviceManagerStub