public final class MessageEvent 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 Cloud Trace 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 |
|---|
MessageEvent() |
| Modifier and Type | Method and Description |
|---|---|
MessageEvent |
clone() |
Long |
getCompressedSizeBytes()
The number of compressed bytes sent or received.
|
Long |
getId()
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED
MessageEvents.
|
String |
getType()
Type of MessageEvent.
|
Long |
getUncompressedSizeBytes()
The number of uncompressed bytes sent or received.
|
MessageEvent |
set(String fieldName,
Object value) |
MessageEvent |
setCompressedSizeBytes(Long compressedSizeBytes)
The number of compressed bytes sent or received.
|
MessageEvent |
setId(Long id)
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED
MessageEvents.
|
MessageEvent |
setType(String type)
Type of MessageEvent.
|
MessageEvent |
setUncompressedSizeBytes(Long uncompressedSizeBytes)
The number of uncompressed bytes sent or received.
|
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 getCompressedSizeBytes()
null for nonepublic MessageEvent setCompressedSizeBytes(Long compressedSizeBytes)
compressedSizeBytes - compressedSizeBytes or null for nonepublic Long getId()
null for nonepublic MessageEvent setId(Long id)
id - id or null for nonepublic String getType()
null for nonepublic MessageEvent setType(String type)
type - type or null for nonepublic Long getUncompressedSizeBytes()
null for nonepublic MessageEvent setUncompressedSizeBytes(Long uncompressedSizeBytes)
uncompressedSizeBytes - uncompressedSizeBytes or null for nonepublic MessageEvent set(String fieldName, Object value)
set in class GenericJsonpublic MessageEvent clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.