public static final class ChromeOsDevice.LastKnownNetwork extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LastKnownNetwork() |
Modifier and Type | Method and Description |
---|---|
ChromeOsDevice.LastKnownNetwork |
clone() |
String |
getIpAddress()
The IP address.
|
String |
getWanIpAddress()
The WAN IP address.
|
ChromeOsDevice.LastKnownNetwork |
set(String fieldName,
Object value) |
ChromeOsDevice.LastKnownNetwork |
setIpAddress(String ipAddress)
The IP address.
|
ChromeOsDevice.LastKnownNetwork |
setWanIpAddress(String wanIpAddress)
The WAN IP address.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getIpAddress()
null
for nonepublic ChromeOsDevice.LastKnownNetwork setIpAddress(String ipAddress)
ipAddress
- ipAddress or null
for nonepublic String getWanIpAddress()
null
for nonepublic ChromeOsDevice.LastKnownNetwork setWanIpAddress(String wanIpAddress)
wanIpAddress
- wanIpAddress or null
for nonepublic ChromeOsDevice.LastKnownNetwork set(String fieldName, Object value)
set
in class GenericJson
public ChromeOsDevice.LastKnownNetwork clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.