Package | Description |
---|---|
com.google.cloud.iot.v1 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
Device.Builder |
Device.Builder.addAllCredentials(Iterable<? extends DeviceCredential> values)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.addCredentials(DeviceCredential.Builder builderForValue)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.addCredentials(DeviceCredential value)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.addCredentials(int index,
DeviceCredential.Builder builderForValue)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.addCredentials(int index,
DeviceCredential value)
The credentials used to authenticate this device.
|
Device.Builder |
ListDevicesResponse.Builder.addDevicesBuilder()
The devices that match the request.
|
Device.Builder |
ListDevicesResponse.Builder.addDevicesBuilder(int index)
The devices that match the request.
|
Device.Builder |
Device.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Device.Builder |
Device.Builder.clear() |
Device.Builder |
Device.Builder.clearBlocked()
If a device is blocked, connections or requests from this device will fail.
|
Device.Builder |
Device.Builder.clearConfig()
The most recent device configuration, which is eventually sent from
Cloud IoT Core to the device.
|
Device.Builder |
Device.Builder.clearCredentials()
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.clearField(Descriptors.FieldDescriptor field) |
Device.Builder |
Device.Builder.clearGatewayConfig()
Gateway-related configuration and state.
|
Device.Builder |
Device.Builder.clearId()
The user-defined device identifier.
|
Device.Builder |
Device.Builder.clearLastConfigAckTime()
[Output only] The last time a cloud-to-device config version acknowledgment
was received from the device.
|
Device.Builder |
Device.Builder.clearLastConfigSendTime()
[Output only] The last time a cloud-to-device config version was sent to
the device.
|
Device.Builder |
Device.Builder.clearLastErrorStatus()
[Output only] The error message of the most recent error, such as a failure
to publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.clearLastErrorTime()
[Output only] The time the most recent error occurred, such as a failure to
publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.clearLastEventTime()
[Output only] The last time a telemetry event was received.
|
Device.Builder |
Device.Builder.clearLastHeartbeatTime()
[Output only] The last time an MQTT `PINGREQ` was received.
|
Device.Builder |
Device.Builder.clearLastStateTime()
[Output only] The last time a state event was received.
|
Device.Builder |
Device.Builder.clearLogLevel()
**Beta Feature**
The logging verbosity for device activity.
|
Device.Builder |
Device.Builder.clearMetadata() |
Device.Builder |
Device.Builder.clearName()
The resource path name.
|
Device.Builder |
Device.Builder.clearNumId()
[Output only] A server-defined unique numeric ID for the device.
|
Device.Builder |
Device.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
Device.Builder |
Device.Builder.clearState()
[Output only] The state most recently received from the device.
|
Device.Builder |
Device.Builder.clone() |
Device.Builder |
UpdateDeviceRequest.Builder.getDeviceBuilder()
Required.
|
Device.Builder |
CreateDeviceRequest.Builder.getDeviceBuilder()
Required.
|
Device.Builder |
ListDevicesResponse.Builder.getDevicesBuilder(int index)
The devices that match the request.
|
Device.Builder |
Device.Builder.mergeConfig(DeviceConfig value)
The most recent device configuration, which is eventually sent from
Cloud IoT Core to the device.
|
Device.Builder |
Device.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Device.Builder |
Device.Builder.mergeFrom(Device other) |
Device.Builder |
Device.Builder.mergeFrom(Message other) |
Device.Builder |
Device.Builder.mergeGatewayConfig(GatewayConfig value)
Gateway-related configuration and state.
|
Device.Builder |
Device.Builder.mergeLastConfigAckTime(Timestamp value)
[Output only] The last time a cloud-to-device config version acknowledgment
was received from the device.
|
Device.Builder |
Device.Builder.mergeLastConfigSendTime(Timestamp value)
[Output only] The last time a cloud-to-device config version was sent to
the device.
|
Device.Builder |
Device.Builder.mergeLastErrorStatus(com.google.rpc.Status value)
[Output only] The error message of the most recent error, such as a failure
to publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.mergeLastErrorTime(Timestamp value)
[Output only] The time the most recent error occurred, such as a failure to
publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.mergeLastEventTime(Timestamp value)
[Output only] The last time a telemetry event was received.
|
Device.Builder |
Device.Builder.mergeLastHeartbeatTime(Timestamp value)
[Output only] The last time an MQTT `PINGREQ` was received.
|
Device.Builder |
Device.Builder.mergeLastStateTime(Timestamp value)
[Output only] The last time a state event was received.
|
Device.Builder |
Device.Builder.mergeState(DeviceState value)
[Output only] The state most recently received from the device.
|
Device.Builder |
Device.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static Device.Builder |
Device.newBuilder() |
static Device.Builder |
Device.newBuilder(Device prototype) |
Device.Builder |
Device.newBuilderForType() |
protected Device.Builder |
Device.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
Device.Builder |
Device.Builder.putAllMetadata(Map<String,String> values)
The metadata key-value pairs assigned to the device.
|
Device.Builder |
Device.Builder.putMetadata(String key,
String value)
The metadata key-value pairs assigned to the device.
|
Device.Builder |
Device.Builder.removeCredentials(int index)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.removeMetadata(String key)
The metadata key-value pairs assigned to the device.
|
Device.Builder |
Device.Builder.setBlocked(boolean value)
If a device is blocked, connections or requests from this device will fail.
|
Device.Builder |
Device.Builder.setConfig(DeviceConfig.Builder builderForValue)
The most recent device configuration, which is eventually sent from
Cloud IoT Core to the device.
|
Device.Builder |
Device.Builder.setConfig(DeviceConfig value)
The most recent device configuration, which is eventually sent from
Cloud IoT Core to the device.
|
Device.Builder |
Device.Builder.setCredentials(int index,
DeviceCredential.Builder builderForValue)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.setCredentials(int index,
DeviceCredential value)
The credentials used to authenticate this device.
|
Device.Builder |
Device.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
Device.Builder |
Device.Builder.setGatewayConfig(GatewayConfig.Builder builderForValue)
Gateway-related configuration and state.
|
Device.Builder |
Device.Builder.setGatewayConfig(GatewayConfig value)
Gateway-related configuration and state.
|
Device.Builder |
Device.Builder.setId(String value)
The user-defined device identifier.
|
Device.Builder |
Device.Builder.setIdBytes(ByteString value)
The user-defined device identifier.
|
Device.Builder |
Device.Builder.setLastConfigAckTime(Timestamp.Builder builderForValue)
[Output only] The last time a cloud-to-device config version acknowledgment
was received from the device.
|
Device.Builder |
Device.Builder.setLastConfigAckTime(Timestamp value)
[Output only] The last time a cloud-to-device config version acknowledgment
was received from the device.
|
Device.Builder |
Device.Builder.setLastConfigSendTime(Timestamp.Builder builderForValue)
[Output only] The last time a cloud-to-device config version was sent to
the device.
|
Device.Builder |
Device.Builder.setLastConfigSendTime(Timestamp value)
[Output only] The last time a cloud-to-device config version was sent to
the device.
|
Device.Builder |
Device.Builder.setLastErrorStatus(com.google.rpc.Status.Builder builderForValue)
[Output only] The error message of the most recent error, such as a failure
to publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.setLastErrorStatus(com.google.rpc.Status value)
[Output only] The error message of the most recent error, such as a failure
to publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.setLastErrorTime(Timestamp.Builder builderForValue)
[Output only] The time the most recent error occurred, such as a failure to
publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.setLastErrorTime(Timestamp value)
[Output only] The time the most recent error occurred, such as a failure to
publish to Cloud Pub/Sub.
|
Device.Builder |
Device.Builder.setLastEventTime(Timestamp.Builder builderForValue)
[Output only] The last time a telemetry event was received.
|
Device.Builder |
Device.Builder.setLastEventTime(Timestamp value)
[Output only] The last time a telemetry event was received.
|
Device.Builder |
Device.Builder.setLastHeartbeatTime(Timestamp.Builder builderForValue)
[Output only] The last time an MQTT `PINGREQ` was received.
|
Device.Builder |
Device.Builder.setLastHeartbeatTime(Timestamp value)
[Output only] The last time an MQTT `PINGREQ` was received.
|
Device.Builder |
Device.Builder.setLastStateTime(Timestamp.Builder builderForValue)
[Output only] The last time a state event was received.
|
Device.Builder |
Device.Builder.setLastStateTime(Timestamp value)
[Output only] The last time a state event was received.
|
Device.Builder |
Device.Builder.setLogLevel(LogLevel value)
**Beta Feature**
The logging verbosity for device activity.
|
Device.Builder |
Device.Builder.setLogLevelValue(int value)
**Beta Feature**
The logging verbosity for device activity.
|
Device.Builder |
Device.Builder.setName(String value)
The resource path name.
|
Device.Builder |
Device.Builder.setNameBytes(ByteString value)
The resource path name.
|
Device.Builder |
Device.Builder.setNumId(long value)
[Output only] A server-defined unique numeric ID for the device.
|
Device.Builder |
Device.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Device.Builder |
Device.Builder.setState(DeviceState.Builder builderForValue)
[Output only] The state most recently received from the device.
|
Device.Builder |
Device.Builder.setState(DeviceState value)
[Output only] The state most recently received from the device.
|
Device.Builder |
Device.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
Device.Builder |
Device.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<Device.Builder> |
ListDevicesResponse.Builder.getDevicesBuilderList()
The devices that match the request.
|
Modifier and Type | Method and Description |
---|---|
ListDevicesResponse.Builder |
ListDevicesResponse.Builder.addDevices(Device.Builder builderForValue)
The devices that match the request.
|
ListDevicesResponse.Builder |
ListDevicesResponse.Builder.addDevices(int index,
Device.Builder builderForValue)
The devices that match the request.
|
UpdateDeviceRequest.Builder |
UpdateDeviceRequest.Builder.setDevice(Device.Builder builderForValue)
Required.
|
CreateDeviceRequest.Builder |
CreateDeviceRequest.Builder.setDevice(Device.Builder builderForValue)
Required.
|
ListDevicesResponse.Builder |
ListDevicesResponse.Builder.setDevices(int index,
Device.Builder builderForValue)
The devices that match the request.
|
Copyright © 2022 Google LLC. All rights reserved.