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