public final class DeviceConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud IoT API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DeviceConfig() |
| Modifier and Type | Method and Description |
|---|---|
DeviceConfig |
clone() |
byte[] |
decodeBinaryData()
The device configuration data.
|
DeviceConfig |
encodeBinaryData(byte[] binaryData)
The device configuration data.
|
String |
getBinaryData()
The device configuration data.
|
String |
getCloudUpdateTime()
[Output only] The time at which this configuration version was updated in Cloud IoT Core.
|
String |
getDeviceAckTime()
[Output only] The time at which Cloud IoT Core received the acknowledgment from the device,
indicating that the device has received this configuration version.
|
Long |
getVersion()
[Output only] The version of this update.
|
DeviceConfig |
set(String fieldName,
Object value) |
DeviceConfig |
setBinaryData(String binaryData)
The device configuration data.
|
DeviceConfig |
setCloudUpdateTime(String cloudUpdateTime)
[Output only] The time at which this configuration version was updated in Cloud IoT Core.
|
DeviceConfig |
setDeviceAckTime(String deviceAckTime)
[Output only] The time at which Cloud IoT Core received the acknowledgment from the device,
indicating that the device has received this configuration version.
|
DeviceConfig |
setVersion(Long version)
[Output only] The version of this update.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getBinaryData()
null for nonedecodeBinaryData()public byte[] decodeBinaryData()
null for nonegetBinaryData()public DeviceConfig setBinaryData(String binaryData)
binaryData - binaryData or null for none#encodeBinaryData()public DeviceConfig encodeBinaryData(byte[] binaryData)
The value is encoded Base64 or {@code null} for none.
public String getCloudUpdateTime()
null for nonepublic DeviceConfig setCloudUpdateTime(String cloudUpdateTime)
cloudUpdateTime - cloudUpdateTime or null for nonepublic String getDeviceAckTime()
null for nonepublic DeviceConfig setDeviceAckTime(String deviceAckTime)
deviceAckTime - deviceAckTime or null for nonepublic Long getVersion()
null for nonepublic DeviceConfig setVersion(Long version)
version - version or null for nonepublic DeviceConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.