public final class ModifyCloudToDeviceConfigRequest
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 |
|---|
ModifyCloudToDeviceConfigRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyCloudToDeviceConfigRequest |
clone() |
byte[] |
decodeBinaryData()
Required.
|
ModifyCloudToDeviceConfigRequest |
encodeBinaryData(byte[] binaryData)
Required.
|
String |
getBinaryData()
Required.
|
Long |
getVersionToUpdate()
The version number to update.
|
ModifyCloudToDeviceConfigRequest |
set(String fieldName,
Object value) |
ModifyCloudToDeviceConfigRequest |
setBinaryData(String binaryData)
Required.
|
ModifyCloudToDeviceConfigRequest |
setVersionToUpdate(Long versionToUpdate)
The version number to 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 ModifyCloudToDeviceConfigRequest setBinaryData(String binaryData)
binaryData - binaryData or null for none#encodeBinaryData()public ModifyCloudToDeviceConfigRequest encodeBinaryData(byte[] binaryData)
The value is encoded Base64 or {@code null} for none.
public Long getVersionToUpdate()
null for nonepublic ModifyCloudToDeviceConfigRequest setVersionToUpdate(Long versionToUpdate)
versionToUpdate - versionToUpdate or null for nonepublic ModifyCloudToDeviceConfigRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ModifyCloudToDeviceConfigRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.