public final class DeviceRegistry
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 |
|---|
DeviceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
DeviceRegistry |
clone() |
List<RegistryCredential> |
getCredentials()
The credentials used to verify the device credentials.
|
List<EventNotificationConfig> |
getEventNotificationConfigs()
The configuration for notification of telemetry events received from the device.
|
HttpConfig |
getHttpConfig()
The DeviceService (HTTP) configuration for this device registry.
|
String |
getId()
The identifier of this device registry.
|
String |
getLogLevel()
**Beta Feature** The default logging verbosity for activity from devices in this registry.
|
MqttConfig |
getMqttConfig()
The MQTT configuration for this device registry.
|
String |
getName()
The resource path name.
|
StateNotificationConfig |
getStateNotificationConfig()
The configuration for notification of new states received from the device.
|
DeviceRegistry |
set(String fieldName,
Object value) |
DeviceRegistry |
setCredentials(List<RegistryCredential> credentials)
The credentials used to verify the device credentials.
|
DeviceRegistry |
setEventNotificationConfigs(List<EventNotificationConfig> eventNotificationConfigs)
The configuration for notification of telemetry events received from the device.
|
DeviceRegistry |
setHttpConfig(HttpConfig httpConfig)
The DeviceService (HTTP) configuration for this device registry.
|
DeviceRegistry |
setId(String id)
The identifier of this device registry.
|
DeviceRegistry |
setLogLevel(String logLevel)
**Beta Feature** The default logging verbosity for activity from devices in this registry.
|
DeviceRegistry |
setMqttConfig(MqttConfig mqttConfig)
The MQTT configuration for this device registry.
|
DeviceRegistry |
setName(String name)
The resource path name.
|
DeviceRegistry |
setStateNotificationConfig(StateNotificationConfig stateNotificationConfig)
The configuration for notification of new states received from the device.
|
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 List<RegistryCredential> getCredentials()
null for nonepublic DeviceRegistry setCredentials(List<RegistryCredential> credentials)
credentials - credentials or null for nonepublic List<EventNotificationConfig> getEventNotificationConfigs()
null for nonepublic DeviceRegistry setEventNotificationConfigs(List<EventNotificationConfig> eventNotificationConfigs)
eventNotificationConfigs - eventNotificationConfigs or null for nonepublic HttpConfig getHttpConfig()
null for nonepublic DeviceRegistry setHttpConfig(HttpConfig httpConfig)
httpConfig - httpConfig or null for nonepublic String getId()
null for nonepublic DeviceRegistry setId(String id)
id - id or null for nonepublic String getLogLevel()
null for nonepublic DeviceRegistry setLogLevel(String logLevel)
logLevel - logLevel or null for nonepublic MqttConfig getMqttConfig()
null for nonepublic DeviceRegistry setMqttConfig(MqttConfig mqttConfig)
mqttConfig - mqttConfig or null for nonepublic String getName()
null for nonepublic DeviceRegistry setName(String name)
name - name or null for nonepublic StateNotificationConfig getStateNotificationConfig()
null for nonepublic DeviceRegistry setStateNotificationConfig(StateNotificationConfig stateNotificationConfig)
stateNotificationConfig - stateNotificationConfig or null for nonepublic DeviceRegistry set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic DeviceRegistry clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.