public final class ErrorGroupStats
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 |
---|
ErrorGroupStats() |
Modifier and Type | Method and Description |
---|---|
ErrorGroupStats |
clone() |
java.util.List<ServiceContext> |
getAffectedServices()
Service contexts with a non-zero error count for the given filter criteria.
|
java.lang.Long |
getAffectedUsersCount()
Approximate number of affected users in the given group that match the filter criteria.
|
java.lang.Long |
getCount()
Approximate total number of events in the given group that match the filter criteria.
|
java.lang.String |
getFirstSeenTime()
Approximate first occurrence that was ever seen for this group and which matches the given
filter criteria, ignoring the time_range that was specified in the request.
|
ErrorGroup |
getGroup()
Group data that is independent of the filter criteria.
|
java.lang.String |
getLastSeenTime()
Approximate last occurrence that was ever seen for this group and which matches the given
filter criteria, ignoring the time_range that was specified in the request.
|
java.lang.Integer |
getNumAffectedServices()
The total number of services with a non-zero error count for the given filter criteria.
|
ErrorEvent |
getRepresentative()
An arbitrary event that is chosen as representative for the whole group.
|
java.util.List<TimedCount> |
getTimedCounts()
Approximate number of occurrences over time.
|
ErrorGroupStats |
set(java.lang.String fieldName,
java.lang.Object value) |
ErrorGroupStats |
setAffectedServices(java.util.List<ServiceContext> affectedServices)
Service contexts with a non-zero error count for the given filter criteria.
|
ErrorGroupStats |
setAffectedUsersCount(java.lang.Long affectedUsersCount)
Approximate number of affected users in the given group that match the filter criteria.
|
ErrorGroupStats |
setCount(java.lang.Long count)
Approximate total number of events in the given group that match the filter criteria.
|
ErrorGroupStats |
setFirstSeenTime(java.lang.String firstSeenTime)
Approximate first occurrence that was ever seen for this group and which matches the given
filter criteria, ignoring the time_range that was specified in the request.
|
ErrorGroupStats |
setGroup(ErrorGroup group)
Group data that is independent of the filter criteria.
|
ErrorGroupStats |
setLastSeenTime(java.lang.String lastSeenTime)
Approximate last occurrence that was ever seen for this group and which matches the given
filter criteria, ignoring the time_range that was specified in the request.
|
ErrorGroupStats |
setNumAffectedServices(java.lang.Integer numAffectedServices)
The total number of services with a non-zero error count for the given filter criteria.
|
ErrorGroupStats |
setRepresentative(ErrorEvent representative)
An arbitrary event that is chosen as representative for the whole group.
|
ErrorGroupStats |
setTimedCounts(java.util.List<TimedCount> timedCounts)
Approximate number of occurrences over time.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<ServiceContext> getAffectedServices()
null
for nonepublic ErrorGroupStats setAffectedServices(java.util.List<ServiceContext> affectedServices)
affectedServices
- affectedServices or null
for nonepublic java.lang.Long getAffectedUsersCount()
null
for nonepublic ErrorGroupStats setAffectedUsersCount(java.lang.Long affectedUsersCount)
affectedUsersCount
- affectedUsersCount or null
for nonepublic java.lang.Long getCount()
null
for nonepublic ErrorGroupStats setCount(java.lang.Long count)
count
- count or null
for nonepublic java.lang.String getFirstSeenTime()
null
for nonepublic ErrorGroupStats setFirstSeenTime(java.lang.String firstSeenTime)
firstSeenTime
- firstSeenTime or null
for nonepublic ErrorGroup getGroup()
null
for nonepublic ErrorGroupStats setGroup(ErrorGroup group)
group
- group or null
for nonepublic java.lang.String getLastSeenTime()
null
for nonepublic ErrorGroupStats setLastSeenTime(java.lang.String lastSeenTime)
lastSeenTime
- lastSeenTime or null
for nonepublic java.lang.Integer getNumAffectedServices()
null
for nonepublic ErrorGroupStats setNumAffectedServices(java.lang.Integer numAffectedServices)
numAffectedServices
- numAffectedServices or null
for nonepublic ErrorEvent getRepresentative()
null
for nonepublic ErrorGroupStats setRepresentative(ErrorEvent representative)
representative
- representative or null
for nonepublic java.util.List<TimedCount> getTimedCounts()
null
for nonepublic ErrorGroupStats setTimedCounts(java.util.List<TimedCount> timedCounts)
timedCounts
- timedCounts or null
for nonepublic ErrorGroupStats set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ErrorGroupStats clone()
clone
in class com.google.api.client.json.GenericJson