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
Modifier and Type | Class and Description |
---|---|
static class |
ErrorGroupStats.Builder
Data extracted for a specific group based on certain filter criteria,
such as a given time period and/or service filter.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
AFFECTED_SERVICES_FIELD_NUMBER |
static int |
AFFECTED_USERS_COUNT_FIELD_NUMBER |
static int |
COUNT_FIELD_NUMBER |
static int |
FIRST_SEEN_TIME_FIELD_NUMBER |
static int |
GROUP_FIELD_NUMBER |
static int |
LAST_SEEN_TIME_FIELD_NUMBER |
static int |
NUM_AFFECTED_SERVICES_FIELD_NUMBER |
static int |
REPRESENTATIVE_FIELD_NUMBER |
static int |
TIMED_COUNTS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ServiceContext |
getAffectedServices(int index)
Service contexts with a non-zero error count for the given filter
criteria.
|
int |
getAffectedServicesCount()
Service contexts with a non-zero error count for the given filter
criteria.
|
java.util.List<ServiceContext> |
getAffectedServicesList()
Service contexts with a non-zero error count for the given filter
criteria.
|
ServiceContextOrBuilder |
getAffectedServicesOrBuilder(int index)
Service contexts with a non-zero error count for the given filter
criteria.
|
java.util.List<? extends ServiceContextOrBuilder> |
getAffectedServicesOrBuilderList()
Service contexts with a non-zero error count for the given filter
criteria.
|
long |
getAffectedUsersCount()
Approximate number of affected users in the given group that
match the filter criteria.
|
long |
getCount()
Approximate total number of events in the given group that match
the filter criteria.
|
static ErrorGroupStats |
getDefaultInstance() |
ErrorGroupStats |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
ErrorGroup |
getGroup()
Group data that is independent of the filter criteria.
|
ErrorGroupOrBuilder |
getGroupOrBuilder()
Group data that is independent of the filter criteria.
|
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.
|
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.
|
int |
getNumAffectedServices()
The total number of services with a non-zero error count for the given
filter criteria.
|
Parser<ErrorGroupStats> |
getParserForType() |
ErrorEvent |
getRepresentative()
An arbitrary event that is chosen as representative for the whole group.
|
ErrorEventOrBuilder |
getRepresentativeOrBuilder()
An arbitrary event that is chosen as representative for the whole group.
|
int |
getSerializedSize() |
TimedCount |
getTimedCounts(int index)
Approximate number of occurrences over time.
|
int |
getTimedCountsCount()
Approximate number of occurrences over time.
|
java.util.List<TimedCount> |
getTimedCountsList()
Approximate number of occurrences over time.
|
TimedCountOrBuilder |
getTimedCountsOrBuilder(int index)
Approximate number of occurrences over time.
|
java.util.List<? extends TimedCountOrBuilder> |
getTimedCountsOrBuilderList()
Approximate number of occurrences over time.
|
UnknownFieldSet |
getUnknownFields() |
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.
|
boolean |
hasGroup()
Group data that is independent of the filter criteria.
|
int |
hashCode() |
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.
|
boolean |
hasRepresentative()
An arbitrary event that is chosen as representative for the whole group.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ErrorGroupStats.Builder |
newBuilder() |
static ErrorGroupStats.Builder |
newBuilder(ErrorGroupStats prototype) |
ErrorGroupStats.Builder |
newBuilderForType() |
protected ErrorGroupStats.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ErrorGroupStats |
parseDelimitedFrom(java.io.InputStream input) |
static ErrorGroupStats |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ErrorGroupStats |
parseFrom(byte[] data) |
static ErrorGroupStats |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ErrorGroupStats |
parseFrom(java.nio.ByteBuffer data) |
static ErrorGroupStats |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ErrorGroupStats |
parseFrom(ByteString data) |
static ErrorGroupStats |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ErrorGroupStats |
parseFrom(CodedInputStream input) |
static ErrorGroupStats |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ErrorGroupStats |
parseFrom(java.io.InputStream input) |
static ErrorGroupStats |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ErrorGroupStats> |
parser() |
ErrorGroupStats.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int GROUP_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
public static final int TIMED_COUNTS_FIELD_NUMBER
public static final int FIRST_SEEN_TIME_FIELD_NUMBER
public static final int LAST_SEEN_TIME_FIELD_NUMBER
public static final int AFFECTED_SERVICES_FIELD_NUMBER
public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
public static final int REPRESENTATIVE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean hasGroup()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
hasGroup
in interface ErrorGroupStatsOrBuilder
public ErrorGroup getGroup()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
getGroup
in interface ErrorGroupStatsOrBuilder
public ErrorGroupOrBuilder getGroupOrBuilder()
Group data that is independent of the filter criteria.
.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
getGroupOrBuilder
in interface ErrorGroupStatsOrBuilder
public long getCount()
Approximate total number of events in the given group that match the filter criteria.
int64 count = 2;
getCount
in interface ErrorGroupStatsOrBuilder
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;
getAffectedUsersCount
in interface ErrorGroupStatsOrBuilder
public java.util.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;
getTimedCountsList
in interface ErrorGroupStatsOrBuilder
public java.util.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;
getTimedCountsOrBuilderList
in interface ErrorGroupStatsOrBuilder
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;
getTimedCountsCount
in interface ErrorGroupStatsOrBuilder
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;
getTimedCounts
in interface ErrorGroupStatsOrBuilder
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;
getTimedCountsOrBuilder
in interface ErrorGroupStatsOrBuilder
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;
hasFirstSeenTime
in interface ErrorGroupStatsOrBuilder
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;
getFirstSeenTime
in interface ErrorGroupStatsOrBuilder
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;
getFirstSeenTimeOrBuilder
in interface ErrorGroupStatsOrBuilder
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;
hasLastSeenTime
in interface ErrorGroupStatsOrBuilder
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;
getLastSeenTime
in interface ErrorGroupStatsOrBuilder
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;
getLastSeenTimeOrBuilder
in interface ErrorGroupStatsOrBuilder
public java.util.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;
getAffectedServicesList
in interface ErrorGroupStatsOrBuilder
public java.util.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;
getAffectedServicesOrBuilderList
in interface ErrorGroupStatsOrBuilder
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;
getAffectedServicesCount
in interface ErrorGroupStatsOrBuilder
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;
getAffectedServices
in interface ErrorGroupStatsOrBuilder
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;
getAffectedServicesOrBuilder
in interface ErrorGroupStatsOrBuilder
public int getNumAffectedServices()
The total number of services with a non-zero error count for the given filter criteria.
int32 num_affected_services = 8;
getNumAffectedServices
in interface ErrorGroupStatsOrBuilder
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;
hasRepresentative
in interface ErrorGroupStatsOrBuilder
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;
getRepresentative
in interface ErrorGroupStatsOrBuilder
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;
getRepresentativeOrBuilder
in interface ErrorGroupStatsOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ErrorGroupStats parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ErrorGroupStats parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ErrorGroupStats parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ErrorGroupStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ErrorGroupStats parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ErrorGroupStats parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ErrorGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ErrorGroupStats.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ErrorGroupStats.Builder newBuilder()
public static ErrorGroupStats.Builder newBuilder(ErrorGroupStats prototype)
public ErrorGroupStats.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ErrorGroupStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ErrorGroupStats getDefaultInstance()
public static Parser<ErrorGroupStats> parser()
public Parser<ErrorGroupStats> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ErrorGroupStats getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder