Class ErrorGroupStats (0.175.0-beta)

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

AFFECTED_SERVICES_FIELD_NUMBER

public static final int AFFECTED_SERVICES_FIELD_NUMBER
Field Value
Type Description
int

AFFECTED_USERS_COUNT_FIELD_NUMBER

public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

FIRST_SEEN_TIME_FIELD_NUMBER

public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value
Type Description
int

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
Type Description
int

LAST_SEEN_TIME_FIELD_NUMBER

public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value
Type Description
int

NUM_AFFECTED_SERVICES_FIELD_NUMBER

public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
Field Value
Type Description
int

REPRESENTATIVE_FIELD_NUMBER

public static final int REPRESENTATIVE_FIELD_NUMBER
Field Value
Type Description
int

TIMED_COUNTS_FIELD_NUMBER

public static final int TIMED_COUNTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ErrorGroupStats getDefaultInstance()
Returns
Type Description
ErrorGroupStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ErrorGroupStats.Builder newBuilder()
Returns
Type Description
ErrorGroupStats.Builder

newBuilder(ErrorGroupStats prototype)

public static ErrorGroupStats.Builder newBuilder(ErrorGroupStats prototype)
Parameter
Name Description
prototype ErrorGroupStats
Returns
Type Description
ErrorGroupStats.Builder

parseDelimitedFrom(InputStream input)

public static ErrorGroupStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ErrorGroupStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorGroupStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorGroupStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ErrorGroupStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ErrorGroupStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ErrorGroupStats> parser()
Returns
Type Description
Parser<ErrorGroupStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAffectedServices(int index)

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
Returns
Type Description
ServiceContext

getAffectedServicesCount()

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

getAffectedServicesList()

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
Type Description
List<ServiceContext>

getAffectedServicesOrBuilder(int index)

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
Returns
Type Description
ServiceContextOrBuilder

getAffectedServicesOrBuilderList()

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>

getAffectedUsersCount()

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] [google.devtools.clouderrorreporting.v1beta1.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.

getCount()

public long getCount()

Approximate total number of events in the given group that match the filter criteria.

int64 count = 2;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public ErrorGroupStats getDefaultInstanceForType()
Returns
Type Description
ErrorGroupStats

getFirstSeenTime()

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.

getFirstSeenTimeOrBuilder()

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
Type Description
TimestampOrBuilder

getGroup()

public ErrorGroup getGroup()

Group data that is independent of the filter criteria.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;

Returns
Type Description
ErrorGroup

The group.

getGroupOrBuilder()

public ErrorGroupOrBuilder getGroupOrBuilder()

Group data that is independent of the filter criteria.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;

Returns
Type Description
ErrorGroupOrBuilder

getLastSeenTime()

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.

getLastSeenTimeOrBuilder()

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
Type Description
TimestampOrBuilder

getNumAffectedServices()

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.

getParserForType()

public Parser<ErrorGroupStats> getParserForType()
Returns
Type Description
Parser<ErrorGroupStats>
Overrides

getRepresentative()

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.

getRepresentativeOrBuilder()

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
Type Description
ErrorEventOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimedCounts(int index)

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
Returns
Type Description
TimedCount

getTimedCountsCount()

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

getTimedCountsList()

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
Type Description
List<TimedCount>

getTimedCountsOrBuilder(int index)

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
Returns
Type Description
TimedCountOrBuilder

getTimedCountsOrBuilderList()

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>

hasFirstSeenTime()

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.

hasGroup()

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.

hasLastSeenTime()

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.

hasRepresentative()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ErrorGroupStats.Builder newBuilderForType()
Returns
Type Description
ErrorGroupStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorGroupStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ErrorGroupStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ErrorGroupStats.Builder toBuilder()
Returns
Type Description
ErrorGroupStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException