public final class ReportedErrorEvent
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 Error Reporting 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 |
---|
ReportedErrorEvent() |
Modifier and Type | Method and Description |
---|---|
ReportedErrorEvent |
clone() |
ErrorContext |
getContext()
Optional.
|
java.lang.String |
getEventTime()
Optional.
|
java.lang.String |
getMessage()
Required.
|
ServiceContext |
getServiceContext()
Required.
|
ReportedErrorEvent |
set(java.lang.String fieldName,
java.lang.Object value) |
ReportedErrorEvent |
setContext(ErrorContext context)
Optional.
|
ReportedErrorEvent |
setEventTime(java.lang.String eventTime)
Optional.
|
ReportedErrorEvent |
setMessage(java.lang.String message)
Required.
|
ReportedErrorEvent |
setServiceContext(ServiceContext serviceContext)
Required.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ErrorContext getContext()
null
for nonepublic ReportedErrorEvent setContext(ErrorContext context)
context
- context or null
for nonepublic java.lang.String getEventTime()
null
for nonepublic ReportedErrorEvent setEventTime(java.lang.String eventTime)
eventTime
- eventTime or null
for nonepublic java.lang.String getMessage()
null
for nonepublic ReportedErrorEvent setMessage(java.lang.String message)
message
- message or null
for nonepublic ServiceContext getServiceContext()
null
for nonepublic ReportedErrorEvent setServiceContext(ServiceContext serviceContext)
serviceContext
- serviceContext or null
for nonepublic ReportedErrorEvent set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ReportedErrorEvent clone()
clone
in class com.google.api.client.json.GenericJson