Interface ListGroupStatsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListGroupStatsRequest
,ListGroupStatsRequest.Builder
public interface ListGroupStatsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimedCountAlignment
getAlignment()
Optional.com.google.protobuf.Timestamp
getAlignmentTime()
Optional.com.google.protobuf.TimestampOrBuilder
getAlignmentTimeOrBuilder()
Optional.int
getAlignmentValue()
Optional.String
getGroupId(int index)
Optional.com.google.protobuf.ByteString
getGroupIdBytes(int index)
Optional.int
getGroupIdCount()
Optional.List<String>
getGroupIdList()
Optional.ErrorGroupOrder
getOrder()
Optional.int
getOrderValue()
Optional.int
getPageSize()
Optional.String
getPageToken()
Optional.com.google.protobuf.ByteString
getPageTokenBytes()
Optional.String
getProjectName()
Required.com.google.protobuf.ByteString
getProjectNameBytes()
Required.ServiceContextFilter
getServiceFilter()
Optional.ServiceContextFilterOrBuilder
getServiceFilterOrBuilder()
Optional.com.google.protobuf.Duration
getTimedCountDuration()
Optional.com.google.protobuf.DurationOrBuilder
getTimedCountDurationOrBuilder()
Optional.QueryTimeRange
getTimeRange()
Optional.QueryTimeRangeOrBuilder
getTimeRangeOrBuilder()
Optional.boolean
hasAlignmentTime()
Optional.boolean
hasServiceFilter()
Optional.boolean
hasTimedCountDuration()
Optional.boolean
hasTimeRange()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getProjectName
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](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The projectName.
-
getProjectNameBytes
com.google.protobuf.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](https://support.google.com/cloud/answer/6158840). Examples: `projects/my-project-123`, `projects/5551234`.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for projectName.
-
getGroupIdList
List<String> getGroupIdList()
Optional. List all <code>ErrorGroupStats</code> with these IDs.
repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the groupId.
-
getGroupIdCount
int getGroupIdCount()
Optional. List all <code>ErrorGroupStats</code> with these IDs.
repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of groupId.
-
getGroupId
String getGroupId(int index)
Optional. List all <code>ErrorGroupStats</code> with these IDs.
repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The groupId at the given index.
-
getGroupIdBytes
com.google.protobuf.ByteString getGroupIdBytes(int index)
Optional. List all <code>ErrorGroupStats</code> with these IDs.
repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the groupId at the given index.
-
hasServiceFilter
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:
- Whether the serviceFilter field is set.
-
getServiceFilter
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:
- The serviceFilter.
-
getServiceFilterOrBuilder
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];
-
hasTimeRange
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:
- Whether the timeRange field is set.
-
getTimeRange
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:
- The timeRange.
-
getTimeRangeOrBuilder
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];
-
hasTimedCountDuration
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:
- Whether the timedCountDuration field is set.
-
getTimedCountDuration
com.google.protobuf.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:
- The timedCountDuration.
-
getTimedCountDurationOrBuilder
com.google.protobuf.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];
-
getAlignmentValue
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:
- The enum numeric value on the wire for alignment.
-
getAlignment
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:
- The alignment.
-
hasAlignmentTime
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:
- Whether the alignmentTime field is set.
-
getAlignmentTime
com.google.protobuf.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:
- The alignmentTime.
-
getAlignmentTimeOrBuilder
com.google.protobuf.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];
-
getOrderValue
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:
- The enum numeric value on the wire for order.
-
getOrder
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:
- The order.
-
getPageSize
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:
- The pageSize.
-
getPageToken
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:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.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:
- The bytes for pageToken.
-
-