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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
public static final int AFFECTED_SERVICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GROUP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int REPRESENTATIVE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIMED_COUNTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ErrorGroupStats getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ErrorGroupStats.Builder newBuilder()
public static ErrorGroupStats.Builder newBuilder(ErrorGroupStats prototype)
public static ErrorGroupStats parseDelimitedFrom(InputStream input)
public static ErrorGroupStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorGroupStats parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ErrorGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ErrorGroupStats parseFrom(ByteString data)
public static ErrorGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ErrorGroupStats parseFrom(CodedInputStream input)
public static ErrorGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorGroupStats parseFrom(InputStream input)
public static ErrorGroupStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorGroupStats parseFrom(ByteBuffer data)
public static ErrorGroupStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ErrorGroupStats> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
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 |
---|
Type | Description |
Timestamp | The firstSeenTime.
|
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;
public ErrorGroup getGroup()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
public ErrorGroupOrBuilder getGroupOrBuilder()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
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 |
---|
Type | Description |
Timestamp | The lastSeenTime.
|
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;
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()
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 |
---|
Type | Description |
ErrorEvent | The representative.
|
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;
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
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 |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ErrorGroupStats.Builder newBuilderForType()
protected ErrorGroupStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ErrorGroupStats.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides