public final class ErrorGroupStats extends GeneratedMessageV3 implements ErrorGroupStatsOrBuilder
Data extracted for a specific group based on certain filter criteria,
such as a given time period and/or service filter.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats
Static Fields
public static final int AFFECTED_SERVICES_FIELD_NUMBER
Field Value
public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
Field Value
public static final int COUNT_FIELD_NUMBER
Field Value
public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value
public static final int GROUP_FIELD_NUMBER
Field Value
public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value
public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
Field Value
public static final int REPRESENTATIVE_FIELD_NUMBER
Field Value
public static final int TIMED_COUNTS_FIELD_NUMBER
Field Value
Static Methods
public static ErrorGroupStats getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ErrorGroupStats.Builder newBuilder()
Returns
public static ErrorGroupStats.Builder newBuilder(ErrorGroupStats prototype)
Parameter
Returns
public static ErrorGroupStats parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorGroupStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorGroupStats parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ErrorGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorGroupStats parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ErrorGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorGroupStats parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ErrorGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorGroupStats parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ErrorGroupStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ErrorGroupStats parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ErrorGroupStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ErrorGroupStats> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ServiceContext getAffectedServices(int index)
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;
Parameter
Returns
public int getAffectedServicesCount()
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;
Returns
public List<ServiceContext> getAffectedServicesList()
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;
Returns
public ServiceContextOrBuilder getAffectedServicesOrBuilder(int index)
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;
Parameter
Returns
public List<? extends ServiceContextOrBuilder> getAffectedServicesOrBuilderList()
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;
Returns
Type | Description |
List<? extends com.google.devtools.clouderrorreporting.v1beta1.ServiceContextOrBuilder> | |
public long getAffectedUsersCount()
Approximate number of affected users in the given group that
match the filter criteria.
Users are distinguished by data in the ErrorContext
of the
individual error events, such as their login name or their remote
IP address in case of HTTP requests.
The number of affected users can be zero even if the number of
errors is non-zero if no data was provided from which the
affected user could be deduced.
Users are counted based on data in the request
context that was provided in the error report. If more users are
implicitly affected, such as due to a crash of the whole service,
this is not reflected here.
int64 affected_users_count = 3;
Returns
Type | Description |
long | The affectedUsersCount.
|
Approximate total number of events in the given group that match
the filter criteria.
int64 count = 2;
Returns
Type | Description |
long | The count.
|
public ErrorGroupStats getDefaultInstanceForType()
Returns
public Timestamp 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.
.google.protobuf.Timestamp first_seen_time = 5;
Returns
public TimestampOrBuilder getFirstSeenTimeOrBuilder()
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.
.google.protobuf.Timestamp first_seen_time = 5;
Returns
public ErrorGroup getGroup()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
Returns
public ErrorGroupOrBuilder getGroupOrBuilder()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
Returns
public Timestamp 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.
.google.protobuf.Timestamp last_seen_time = 6;
Returns
public TimestampOrBuilder getLastSeenTimeOrBuilder()
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.
.google.protobuf.Timestamp last_seen_time = 6;
Returns
public int getNumAffectedServices()
The total number of services with a non-zero error count for the given
filter criteria.
int32 num_affected_services = 8;
Returns
Type | Description |
int | The numAffectedServices.
|
public Parser<ErrorGroupStats> getParserForType()
Returns
Overrides
public ErrorEvent getRepresentative()
An arbitrary event that is chosen as representative for the whole group.
The representative event is intended to be used as a quick preview for
the whole group. Events in the group are usually sufficiently similar
to each other such that showing an arbitrary representative provides
insight into the characteristics of the group as a whole.
.google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
Returns
public ErrorEventOrBuilder getRepresentativeOrBuilder()
An arbitrary event that is chosen as representative for the whole group.
The representative event is intended to be used as a quick preview for
the whole group. Events in the group are usually sufficiently similar
to each other such that showing an arbitrary representative provides
insight into the characteristics of the group as a whole.
.google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
Returns
public int getSerializedSize()
Returns
Overrides
public TimedCount getTimedCounts(int index)
Approximate number of occurrences over time.
Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;
Parameter
Returns
public int getTimedCountsCount()
Approximate number of occurrences over time.
Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;
Returns
public List<TimedCount> getTimedCountsList()
Approximate number of occurrences over time.
Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;
Returns
public TimedCountOrBuilder getTimedCountsOrBuilder(int index)
Approximate number of occurrences over time.
Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;
Parameter
Returns
public List<? extends TimedCountOrBuilder> getTimedCountsOrBuilderList()
Approximate number of occurrences over time.
Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;
Returns
Type | Description |
List<? extends com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder> | |
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasFirstSeenTime()
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.
.google.protobuf.Timestamp first_seen_time = 5;
Returns
Type | Description |
boolean | Whether the firstSeenTime field is set.
|
public boolean hasGroup()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
Returns
Type | Description |
boolean | Whether the group field is set.
|
public boolean hasLastSeenTime()
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.
.google.protobuf.Timestamp last_seen_time = 6;
Returns
Type | Description |
boolean | Whether the lastSeenTime field is set.
|
public boolean hasRepresentative()
An arbitrary event that is chosen as representative for the whole group.
The representative event is intended to be used as a quick preview for
the whole group. Events in the group are usually sufficiently similar
to each other such that showing an arbitrary representative provides
insight into the characteristics of the group as a whole.
.google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
Returns
Type | Description |
boolean | Whether the representative field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ErrorGroupStats.Builder newBuilderForType()
Returns
protected ErrorGroupStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ErrorGroupStats.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions