Class ListGroupStatsRequest.Builder (0.135.0-beta)

public static final class ListGroupStatsRequest.Builder extends GeneratedMessageV3.Builder<ListGroupStatsRequest.Builder> implements ListGroupStatsRequestOrBuilder

Specifies a set of ErrorGroupStats to return.

Protobuf type google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest

Static Methods

getDescriptor()

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

Methods

addAllGroupId(Iterable<String> values)

public ListGroupStatsRequest.Builder addAllGroupId(Iterable<String> values)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<String>

The groupId to add.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

addGroupId(String value)

public ListGroupStatsRequest.Builder addGroupId(String value)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The groupId to add.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

addGroupIdBytes(ByteString value)

public ListGroupStatsRequest.Builder addGroupIdBytes(ByteString value)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes of the groupId to add.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListGroupStatsRequest build()
Returns
TypeDescription
ListGroupStatsRequest

buildPartial()

public ListGroupStatsRequest buildPartial()
Returns
TypeDescription
ListGroupStatsRequest

clear()

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

clearAlignment()

public ListGroupStatsRequest.Builder clearAlignment()

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearAlignmentTime()

public ListGroupStatsRequest.Builder clearAlignmentTime()

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGroupId()

public ListGroupStatsRequest.Builder clearGroupId()

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrder()

public ListGroupStatsRequest.Builder clearOrder()

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearPageSize()

public ListGroupStatsRequest.Builder clearPageSize()

Optional. The maximum number of results to return per response. Default is 20.

int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearPageToken()

public ListGroupStatsRequest.Builder clearPageToken()

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearProjectName()

public ListGroupStatsRequest.Builder clearProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud Console. Examples: projects/my-project-123, projects/5551234.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

clearServiceFilter()

public ListGroupStatsRequest.Builder clearServiceFilter()

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

clearTimeRange()

public ListGroupStatsRequest.Builder clearTimeRange()

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

clearTimedCountDuration()

public ListGroupStatsRequest.Builder clearTimedCountDuration()

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ListGroupStatsRequest.Builder

clone()

public ListGroupStatsRequest.Builder clone()
Returns
TypeDescription
ListGroupStatsRequest.Builder
Overrides

getAlignment()

public TimedCountAlignment getAlignment()

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimedCountAlignment

The alignment.

getAlignmentTime()

public Timestamp getAlignmentTime()

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The alignmentTime.

getAlignmentTimeBuilder()

public Timestamp.Builder getAlignmentTimeBuilder()

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getAlignmentTimeOrBuilder()

public TimestampOrBuilder getAlignmentTimeOrBuilder()

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

getAlignmentValue()

public int getAlignmentValue()

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for alignment.

getDefaultInstanceForType()

public ListGroupStatsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListGroupStatsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGroupId(int index)

public String getGroupId(int index)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The groupId at the given index.

getGroupIdBytes(int index)

public ByteString getGroupIdBytes(int index)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the groupId at the given index.

getGroupIdCount()

public int getGroupIdCount()

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of groupId.

getGroupIdList()

public ProtocolStringList getGroupIdList()

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the groupId.

getOrder()

public ErrorGroupOrder getOrder()

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ErrorGroupOrder

The order.

getOrderValue()

public int getOrderValue()

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for order.

getPageSize()

public int getPageSize()

Optional. The maximum number of results to return per response. Default is 20.

int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getProjectName()

public String getProjectName()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud Console. Examples: projects/my-project-123, projects/5551234.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The projectName.

getProjectNameBytes()

public ByteString getProjectNameBytes()

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud Console. Examples: projects/my-project-123, projects/5551234.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for projectName.

getServiceFilter()

public ServiceContextFilter getServiceFilter()

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilter

The serviceFilter.

getServiceFilterBuilder()

public ServiceContextFilter.Builder getServiceFilterBuilder()

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilter.Builder

getServiceFilterOrBuilder()

public ServiceContextFilterOrBuilder getServiceFilterOrBuilder()

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ServiceContextFilterOrBuilder

getTimeRange()

public QueryTimeRange getTimeRange()

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRange

The timeRange.

getTimeRangeBuilder()

public QueryTimeRange.Builder getTimeRangeBuilder()

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRange.Builder

getTimeRangeOrBuilder()

public QueryTimeRangeOrBuilder getTimeRangeOrBuilder()

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
QueryTimeRangeOrBuilder

getTimedCountDuration()

public Duration getTimedCountDuration()

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Duration

The timedCountDuration.

getTimedCountDurationBuilder()

public Duration.Builder getTimedCountDurationBuilder()

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getTimedCountDurationOrBuilder()

public DurationOrBuilder getTimedCountDurationOrBuilder()

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DurationOrBuilder

hasAlignmentTime()

public boolean hasAlignmentTime()

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the alignmentTime field is set.

hasServiceFilter()

public boolean hasServiceFilter()

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the serviceFilter field is set.

hasTimeRange()

public boolean hasTimeRange()

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the timeRange field is set.

hasTimedCountDuration()

public boolean hasTimedCountDuration()

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the timedCountDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAlignmentTime(Timestamp value)

public ListGroupStatsRequest.Builder mergeAlignmentTime(Timestamp value)

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListGroupStatsRequest.Builder

mergeFrom(ListGroupStatsRequest other)

public ListGroupStatsRequest.Builder mergeFrom(ListGroupStatsRequest other)
Parameter
NameDescription
otherListGroupStatsRequest
Returns
TypeDescription
ListGroupStatsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceFilter(ServiceContextFilter value)

public ListGroupStatsRequest.Builder mergeServiceFilter(ServiceContextFilter value)

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueServiceContextFilter
Returns
TypeDescription
ListGroupStatsRequest.Builder

mergeTimeRange(QueryTimeRange value)

public ListGroupStatsRequest.Builder mergeTimeRange(QueryTimeRange value)

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueQueryTimeRange
Returns
TypeDescription
ListGroupStatsRequest.Builder

mergeTimedCountDuration(Duration value)

public ListGroupStatsRequest.Builder mergeTimedCountDuration(Duration value)

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
ListGroupStatsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAlignment(TimedCountAlignment value)

public ListGroupStatsRequest.Builder setAlignment(TimedCountAlignment value)

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueTimedCountAlignment

The alignment to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setAlignmentTime(Timestamp value)

public ListGroupStatsRequest.Builder setAlignmentTime(Timestamp value)

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ListGroupStatsRequest.Builder

setAlignmentTime(Timestamp.Builder builderForValue)

public ListGroupStatsRequest.Builder setAlignmentTime(Timestamp.Builder builderForValue)

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

.google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListGroupStatsRequest.Builder

setAlignmentValue(int value)

public ListGroupStatsRequest.Builder setAlignmentValue(int value)

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for alignment to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupId(int index, String value)

public ListGroupStatsRequest.Builder setGroupId(int index, String value)

Optional. List all <code>ErrorGroupStats</code> with these IDs.

repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The groupId to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setOrder(ErrorGroupOrder value)

public ListGroupStatsRequest.Builder setOrder(ErrorGroupOrder value)

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueErrorGroupOrder

The order to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setOrderValue(int value)

public ListGroupStatsRequest.Builder setOrderValue(int value)

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The enum numeric value on the wire for order to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListGroupStatsRequest.Builder setPageSize(int value)

Optional. The maximum number of results to return per response. Default is 20.

int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListGroupStatsRequest.Builder setPageToken(String value)

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListGroupStatsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setProjectName(String value)

public ListGroupStatsRequest.Builder setProjectName(String value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud Console. Examples: projects/my-project-123, projects/5551234.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The projectName to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

setProjectNameBytes(ByteString value)

public ListGroupStatsRequest.Builder setProjectNameBytes(ByteString value)

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud Console. Examples: projects/my-project-123, projects/5551234.

string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for projectName to set.

Returns
TypeDescription
ListGroupStatsRequest.Builder

This builder for chaining.

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

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

setServiceFilter(ServiceContextFilter value)

public ListGroupStatsRequest.Builder setServiceFilter(ServiceContextFilter value)

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueServiceContextFilter
Returns
TypeDescription
ListGroupStatsRequest.Builder

setServiceFilter(ServiceContextFilter.Builder builderForValue)

public ListGroupStatsRequest.Builder setServiceFilter(ServiceContextFilter.Builder builderForValue)

Optional. List only <code>ErrorGroupStats</code> which belong to a service context that matches the filter. Data for all service contexts is returned if this field is not specified.

.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueServiceContextFilter.Builder
Returns
TypeDescription
ListGroupStatsRequest.Builder

setTimeRange(QueryTimeRange value)

public ListGroupStatsRequest.Builder setTimeRange(QueryTimeRange value)

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueQueryTimeRange
Returns
TypeDescription
ListGroupStatsRequest.Builder

setTimeRange(QueryTimeRange.Builder builderForValue)

public ListGroupStatsRequest.Builder setTimeRange(QueryTimeRange.Builder builderForValue)

Optional. List data for the given time range. If not set, a default time range is used. The field <code>time_range_begin</code> in the response will specify the beginning of this time range. Only <code>ErrorGroupStats</code> with a non-zero count in the given time range are returned, unless the request contains an explicit <code>group_id</code> list. If a <code>group_id</code> list is given, also <code>ErrorGroupStats</code> with zero occurrences are returned.

.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueQueryTimeRange.Builder
Returns
TypeDescription
ListGroupStatsRequest.Builder

setTimedCountDuration(Duration value)

public ListGroupStatsRequest.Builder setTimedCountDuration(Duration value)

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueDuration
Returns
TypeDescription
ListGroupStatsRequest.Builder

setTimedCountDuration(Duration.Builder builderForValue)

public ListGroupStatsRequest.Builder setTimedCountDuration(Duration.Builder builderForValue)

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

.google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListGroupStatsRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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