Class ErrorGroupStats.Builder (0.163.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
Type Description
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
Name Description
value ServiceContext
Returns
Type Description
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
Name Description
builderForValue ServiceContext.Builder
Returns
Type Description
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
Name Description
index int
value ServiceContext
Returns
Type Description
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
Name Description
index int
builderForValue ServiceContext.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.devtools.clouderrorreporting.v1beta1.ServiceContext>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.devtools.clouderrorreporting.v1beta1.TimedCount>
Returns
Type Description
ErrorGroupStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroupStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value TimedCount
Returns
Type Description
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
Name Description
builderForValue TimedCount.Builder
Returns
Type Description
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
Name Description
index int
value TimedCount
Returns
Type Description
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
Name Description
index int
builderForValue TimedCount.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
TimedCount.Builder

build()

public ErrorGroupStats build()
Returns
Type Description
ErrorGroupStats

buildPartial()

public ErrorGroupStats buildPartial()
Returns
Type Description
ErrorGroupStats

clear()

public ErrorGroupStats.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ErrorGroupStats.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ErrorGroupStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ErrorGroupStats.Builder

clearGroup()

public ErrorGroupStats.Builder clearGroup()

Group data that is independent of the filter criteria.

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

Returns
Type Description
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
Type Description
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
Type Description
ErrorGroupStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorGroupStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
ErrorGroupStats.Builder

clone()

public ErrorGroupStats.Builder clone()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
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 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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
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.

getGroupBuilder()

public ErrorGroup.Builder getGroupBuilder()

Group data that is independent of the filter criteria.

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

Returns
Type Description
ErrorGroup.Builder

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.

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

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.

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
ErrorGroupStats.Builder

mergeFrom(ErrorGroupStats other)

public ErrorGroupStats.Builder mergeFrom(ErrorGroupStats other)
Parameter
Name Description
other ErrorGroupStats
Returns
Type Description
ErrorGroupStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorGroupStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorGroupStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorGroupStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ErrorGroup
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value ErrorEvent
Returns
Type Description
ErrorGroupStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroupStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value ServiceContext
Returns
Type Description
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
Name Description
index int
builderForValue ServiceContext.Builder
Returns
Type Description
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
Name Description
value long

The affectedUsersCount to set.

Returns
Type Description
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
Name Description
value long

The count to set.

Returns
Type Description
ErrorGroupStats.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorGroupStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value ErrorGroup
Returns
Type Description
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
Name Description
builderForValue ErrorGroup.Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value int

The numAffectedServices to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value ErrorEvent
Returns
Type Description
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
Name Description
builderForValue ErrorEvent.Builder
Returns
Type Description
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
Name Description
index int
value TimedCount
Returns
Type Description
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
Name Description
index int
builderForValue TimedCount.Builder
Returns
Type Description
ErrorGroupStats.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorGroupStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorGroupStats.Builder
Overrides