public final class PacketIntervals extends 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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PacketIntervals() |
| Modifier and Type | Method and Description |
|---|---|
PacketIntervals |
clone() |
Long |
getAvgMs()
Average observed inter-packet interval in milliseconds.
|
String |
getDuration()
From how long ago in the past these intervals were observed.
|
Long |
getMaxMs()
Maximum observed inter-packet interval in milliseconds.
|
Long |
getMinMs()
Minimum observed inter-packet interval in milliseconds.
|
Long |
getNumIntervals()
Number of inter-packet intervals from which these statistics were derived.
|
String |
getType()
The type of packets for which inter-packet intervals were computed.
|
PacketIntervals |
set(String fieldName,
Object value) |
PacketIntervals |
setAvgMs(Long avgMs)
Average observed inter-packet interval in milliseconds.
|
PacketIntervals |
setDuration(String duration)
From how long ago in the past these intervals were observed.
|
PacketIntervals |
setMaxMs(Long maxMs)
Maximum observed inter-packet interval in milliseconds.
|
PacketIntervals |
setMinMs(Long minMs)
Minimum observed inter-packet interval in milliseconds.
|
PacketIntervals |
setNumIntervals(Long numIntervals)
Number of inter-packet intervals from which these statistics were derived.
|
PacketIntervals |
setType(String type)
The type of packets for which inter-packet intervals were computed.
|
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 Long getAvgMs()
null for nonepublic PacketIntervals setAvgMs(Long avgMs)
avgMs - avgMs or null for nonepublic String getDuration()
null for nonepublic PacketIntervals setDuration(String duration)
duration - duration or null for nonepublic Long getMaxMs()
null for nonepublic PacketIntervals setMaxMs(Long maxMs)
maxMs - maxMs or null for nonepublic Long getMinMs()
null for nonepublic PacketIntervals setMinMs(Long minMs)
minMs - minMs or null for nonepublic Long getNumIntervals()
null for nonepublic PacketIntervals setNumIntervals(Long numIntervals)
numIntervals - numIntervals or null for nonepublic String getType()
null for nonepublic PacketIntervals setType(String type)
type - type or null for nonepublic PacketIntervals set(String fieldName, Object value)
set in class GenericJsonpublic PacketIntervals clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.