Class ErrorGroupStats.Builder (0.162.0-beta)

public static final class ErrorGroupStats.Builder extends GeneratedMessageV3.Builder<ErrorGroupStats.Builder> 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 Methods

getDescriptor()

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

Methods

addAffectedServices(ServiceContext value)

public ErrorGroupStats.Builder addAffectedServices(ServiceContext value)

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
valueServiceContext
Returns
TypeDescription
ErrorGroupStats.Builder

addAffectedServices(ServiceContext.Builder builderForValue)

public ErrorGroupStats.Builder addAffectedServices(ServiceContext.Builder builderForValue)

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
builderForValueServiceContext.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

addAffectedServices(int index, ServiceContext value)

public ErrorGroupStats.Builder addAffectedServices(int index, ServiceContext value)

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;

Parameters
NameDescription
indexint
valueServiceContext
Returns
TypeDescription
ErrorGroupStats.Builder

addAffectedServices(int index, ServiceContext.Builder builderForValue)

public ErrorGroupStats.Builder addAffectedServices(int index, ServiceContext.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueServiceContext.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

addAffectedServicesBuilder()

public ServiceContext.Builder addAffectedServicesBuilder()

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
ServiceContext.Builder

addAffectedServicesBuilder(int index)

public ServiceContext.Builder addAffectedServicesBuilder(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.Builder

addAllAffectedServices(Iterable<? extends ServiceContext> values)

public ErrorGroupStats.Builder addAllAffectedServices(Iterable<? extends ServiceContext> values)

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
valuesIterable<? extends com.google.devtools.clouderrorreporting.v1beta1.ServiceContext>
Returns
TypeDescription
ErrorGroupStats.Builder

addAllTimedCounts(Iterable<? extends TimedCount> values)

public ErrorGroupStats.Builder addAllTimedCounts(Iterable<? extends TimedCount> values)

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
valuesIterable<? extends com.google.devtools.clouderrorreporting.v1beta1.TimedCount>
Returns
TypeDescription
ErrorGroupStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroupStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

addTimedCounts(TimedCount value)

public ErrorGroupStats.Builder addTimedCounts(TimedCount value)

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
valueTimedCount
Returns
TypeDescription
ErrorGroupStats.Builder

addTimedCounts(TimedCount.Builder builderForValue)

public ErrorGroupStats.Builder addTimedCounts(TimedCount.Builder builderForValue)

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
builderForValueTimedCount.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

addTimedCounts(int index, TimedCount value)

public ErrorGroupStats.Builder addTimedCounts(int index, TimedCount value)

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;

Parameters
NameDescription
indexint
valueTimedCount
Returns
TypeDescription
ErrorGroupStats.Builder

addTimedCounts(int index, TimedCount.Builder builderForValue)

public ErrorGroupStats.Builder addTimedCounts(int index, TimedCount.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTimedCount.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

addTimedCountsBuilder()

public TimedCount.Builder addTimedCountsBuilder()

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
TimedCount.Builder

addTimedCountsBuilder(int index)

public TimedCount.Builder addTimedCountsBuilder(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.Builder

build()

public ErrorGroupStats build()
Returns
TypeDescription
ErrorGroupStats

buildPartial()

public ErrorGroupStats buildPartial()
Returns
TypeDescription
ErrorGroupStats

clear()

public ErrorGroupStats.Builder clear()
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

clearAffectedServices()

public ErrorGroupStats.Builder clearAffectedServices()

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
ErrorGroupStats.Builder

clearAffectedUsersCount()

public ErrorGroupStats.Builder clearAffectedUsersCount()

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
ErrorGroupStats.Builder

This builder for chaining.

clearCount()

public ErrorGroupStats.Builder clearCount()

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

int64 count = 2;

Returns
TypeDescription
ErrorGroupStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ErrorGroupStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

clearFirstSeenTime()

public ErrorGroupStats.Builder clearFirstSeenTime()

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
ErrorGroupStats.Builder

clearGroup()

public ErrorGroupStats.Builder clearGroup()

Group data that is independent of the filter criteria.

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

Returns
TypeDescription
ErrorGroupStats.Builder

clearLastSeenTime()

public ErrorGroupStats.Builder clearLastSeenTime()

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
ErrorGroupStats.Builder

clearNumAffectedServices()

public ErrorGroupStats.Builder clearNumAffectedServices()

The total number of services with a non-zero error count for the given filter criteria.

int32 num_affected_services = 8;

Returns
TypeDescription
ErrorGroupStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorGroupStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

clearRepresentative()

public ErrorGroupStats.Builder clearRepresentative()

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
ErrorGroupStats.Builder

clearTimedCounts()

public ErrorGroupStats.Builder clearTimedCounts()

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
ErrorGroupStats.Builder

clone()

public ErrorGroupStats.Builder clone()
Returns
TypeDescription
ErrorGroupStats.Builder
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

getAffectedServicesBuilder(int index)

public ServiceContext.Builder getAffectedServicesBuilder(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.Builder

getAffectedServicesBuilderList()

public List<ServiceContext.Builder> getAffectedServicesBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getFirstSeenTimeBuilder()

public Timestamp.Builder getFirstSeenTimeBuilder()

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
Builder

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.

getGroupBuilder()

public ErrorGroup.Builder getGroupBuilder()

Group data that is independent of the filter criteria.

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

Returns
TypeDescription
ErrorGroup.Builder

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.

getLastSeenTimeBuilder()

public Timestamp.Builder getLastSeenTimeBuilder()

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
Builder

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.

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.

getRepresentativeBuilder()

public ErrorEvent.Builder getRepresentativeBuilder()

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.Builder

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

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

getTimedCountsBuilder(int index)

public TimedCount.Builder getTimedCountsBuilder(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.Builder

getTimedCountsBuilderList()

public List<TimedCount.Builder> getTimedCountsBuilderList()

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<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFirstSeenTime(Timestamp value)

public ErrorGroupStats.Builder mergeFirstSeenTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ErrorGroupStats.Builder

mergeFrom(ErrorGroupStats other)

public ErrorGroupStats.Builder mergeFrom(ErrorGroupStats other)
Parameter
NameDescription
otherErrorGroupStats
Returns
TypeDescription
ErrorGroupStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorGroupStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorGroupStats.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

mergeGroup(ErrorGroup value)

public ErrorGroupStats.Builder mergeGroup(ErrorGroup value)

Group data that is independent of the filter criteria.

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

Parameter
NameDescription
valueErrorGroup
Returns
TypeDescription
ErrorGroupStats.Builder

mergeLastSeenTime(Timestamp value)

public ErrorGroupStats.Builder mergeLastSeenTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ErrorGroupStats.Builder

mergeRepresentative(ErrorEvent value)

public ErrorGroupStats.Builder mergeRepresentative(ErrorEvent value)

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;

Parameter
NameDescription
valueErrorEvent
Returns
TypeDescription
ErrorGroupStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroupStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

removeAffectedServices(int index)

public ErrorGroupStats.Builder removeAffectedServices(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
ErrorGroupStats.Builder

removeTimedCounts(int index)

public ErrorGroupStats.Builder removeTimedCounts(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
ErrorGroupStats.Builder

setAffectedServices(int index, ServiceContext value)

public ErrorGroupStats.Builder setAffectedServices(int index, ServiceContext value)

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;

Parameters
NameDescription
indexint
valueServiceContext
Returns
TypeDescription
ErrorGroupStats.Builder

setAffectedServices(int index, ServiceContext.Builder builderForValue)

public ErrorGroupStats.Builder setAffectedServices(int index, ServiceContext.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueServiceContext.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

setAffectedUsersCount(long value)

public ErrorGroupStats.Builder setAffectedUsersCount(long value)

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;

Parameter
NameDescription
valuelong

The affectedUsersCount to set.

Returns
TypeDescription
ErrorGroupStats.Builder

This builder for chaining.

setCount(long value)

public ErrorGroupStats.Builder setCount(long value)

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

int64 count = 2;

Parameter
NameDescription
valuelong

The count to set.

Returns
TypeDescription
ErrorGroupStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroupStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

setFirstSeenTime(Timestamp value)

public ErrorGroupStats.Builder setFirstSeenTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ErrorGroupStats.Builder

setFirstSeenTime(Timestamp.Builder builderForValue)

public ErrorGroupStats.Builder setFirstSeenTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ErrorGroupStats.Builder

setGroup(ErrorGroup value)

public ErrorGroupStats.Builder setGroup(ErrorGroup value)

Group data that is independent of the filter criteria.

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

Parameter
NameDescription
valueErrorGroup
Returns
TypeDescription
ErrorGroupStats.Builder

setGroup(ErrorGroup.Builder builderForValue)

public ErrorGroupStats.Builder setGroup(ErrorGroup.Builder builderForValue)

Group data that is independent of the filter criteria.

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

Parameter
NameDescription
builderForValueErrorGroup.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

setLastSeenTime(Timestamp value)

public ErrorGroupStats.Builder setLastSeenTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ErrorGroupStats.Builder

setLastSeenTime(Timestamp.Builder builderForValue)

public ErrorGroupStats.Builder setLastSeenTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ErrorGroupStats.Builder

setNumAffectedServices(int value)

public ErrorGroupStats.Builder setNumAffectedServices(int value)

The total number of services with a non-zero error count for the given filter criteria.

int32 num_affected_services = 8;

Parameter
NameDescription
valueint

The numAffectedServices to set.

Returns
TypeDescription
ErrorGroupStats.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorGroupStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides

setRepresentative(ErrorEvent value)

public ErrorGroupStats.Builder setRepresentative(ErrorEvent value)

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;

Parameter
NameDescription
valueErrorEvent
Returns
TypeDescription
ErrorGroupStats.Builder

setRepresentative(ErrorEvent.Builder builderForValue)

public ErrorGroupStats.Builder setRepresentative(ErrorEvent.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueErrorEvent.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

setTimedCounts(int index, TimedCount value)

public ErrorGroupStats.Builder setTimedCounts(int index, TimedCount value)

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;

Parameters
NameDescription
indexint
valueTimedCount
Returns
TypeDescription
ErrorGroupStats.Builder

setTimedCounts(int index, TimedCount.Builder builderForValue)

public ErrorGroupStats.Builder setTimedCounts(int index, TimedCount.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueTimedCount.Builder
Returns
TypeDescription
ErrorGroupStats.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroupStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorGroupStats.Builder
Overrides