public final class StackTrace
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 Trace 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.Flags
Constructor and Description |
---|
StackTrace() |
Modifier and Type | Method and Description |
---|---|
StackTrace |
clone() |
StackFrames |
getStackFrames()
Stack frames in this stack trace.
|
java.lang.Long |
getStackTraceHashId()
The hash ID is used to conserve network bandwidth for duplicate stack traces within a single
trace.
|
StackTrace |
set(java.lang.String fieldName,
java.lang.Object value) |
StackTrace |
setStackFrames(StackFrames stackFrames)
Stack frames in this stack trace.
|
StackTrace |
setStackTraceHashId(java.lang.Long stackTraceHashId)
The hash ID is used to conserve network bandwidth for duplicate stack traces within a single
trace.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public StackFrames getStackFrames()
null
for nonepublic StackTrace setStackFrames(StackFrames stackFrames)
stackFrames
- stackFrames or null
for nonepublic java.lang.Long getStackTraceHashId()
null
for nonepublic StackTrace setStackTraceHashId(java.lang.Long stackTraceHashId)
stackTraceHashId
- stackTraceHashId or null
for nonepublic StackTrace set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public StackTrace clone()
clone
in class com.google.api.client.json.GenericJson