Class ErrorGroupStats (0.149.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
TypeDescription
int

AFFECTED_USERS_COUNT_FIELD_NUMBER

public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

FIRST_SEEN_TIME_FIELD_NUMBER

public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_SEEN_TIME_FIELD_NUMBER

public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

NUM_AFFECTED_SERVICES_FIELD_NUMBER

public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
Field Value
TypeDescription
int

REPRESENTATIVE_FIELD_NUMBER

public static final int REPRESENTATIVE_FIELD_NUMBER
Field Value
TypeDescription
int

TIMED_COUNTS_FIELD_NUMBER

public static final int TIMED_COUNTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorGroupStats getDefaultInstance()
Returns
TypeDescription
ErrorGroupStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ErrorGroupStats.Builder newBuilder()
Returns
TypeDescription
ErrorGroupStats.Builder

newBuilder(ErrorGroupStats prototype)

public static ErrorGroupStats.Builder newBuilder(ErrorGroupStats prototype)
Parameter
NameDescription
prototypeErrorGroupStats
Returns
TypeDescription
ErrorGroupStats.Builder

parseDelimitedFrom(InputStream input)

public static ErrorGroupStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorGroupStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorGroupStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorGroupStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorGroupStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorGroupStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorGroupStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ErrorGroupStats> parser()
Returns
TypeDescription
Parser<ErrorGroupStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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 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
TypeDescription
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
TypeDescription
long

The count.

getDefaultInstanceForType()

public ErrorGroupStats getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getGroup()

public ErrorGroup getGroup()

Group data that is independent of the filter criteria.

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

Returns
TypeDescription
ErrorGroup

The group.

getGroupOrBuilder()

public ErrorGroupOrBuilder getGroupOrBuilder()

Group data that is independent of the filter criteria.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The numAffectedServices.

getParserForType()

public Parser<ErrorGroupStats> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ErrorEventOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the representative field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorGroupStats.Builder newBuilderForType()
Returns
TypeDescription
ErrorGroupStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorGroupStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorGroupStats.Builder toBuilder()
Returns
TypeDescription
ErrorGroupStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException