Class ListGroupStatsRequest

  • All Implemented Interfaces:
    ListGroupStatsRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class ListGroupStatsRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements ListGroupStatsRequestOrBuilder
     Specifies a set of `ErrorGroupStats` to return.
     
    Protobuf type google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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](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) = { ... }
        Specified by:
        getProjectName in interface ListGroupStatsRequestOrBuilder
        Returns:
        The projectName.
      • getProjectNameBytes

        public 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) = { ... }
        Specified by:
        getProjectNameBytes in interface ListGroupStatsRequestOrBuilder
        Returns:
        The bytes for projectName.
      • getGroupIdList

        public com.google.protobuf.ProtocolStringList getGroupIdList()
         Optional. List all <code>ErrorGroupStats</code> with these IDs.
         
        repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getGroupIdList in interface ListGroupStatsRequestOrBuilder
        Returns:
        A list containing the groupId.
      • getGroupIdCount

        public int getGroupIdCount()
         Optional. List all <code>ErrorGroupStats</code> with these IDs.
         
        repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getGroupIdCount in interface ListGroupStatsRequestOrBuilder
        Returns:
        The count of groupId.
      • getGroupId

        public String getGroupId​(int index)
         Optional. List all <code>ErrorGroupStats</code> with these IDs.
         
        repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getGroupId in interface ListGroupStatsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The groupId at the given index.
      • getGroupIdBytes

        public 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];
        Specified by:
        getGroupIdBytes in interface ListGroupStatsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the groupId at the given index.
      • 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];
        Specified by:
        hasServiceFilter in interface ListGroupStatsRequestOrBuilder
        Returns:
        Whether the serviceFilter field is set.
      • 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];
        Specified by:
        getServiceFilter in interface ListGroupStatsRequestOrBuilder
        Returns:
        The serviceFilter.
      • 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];
        Specified by:
        getServiceFilterOrBuilder in interface ListGroupStatsRequestOrBuilder
      • 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];
        Specified by:
        hasTimeRange in interface ListGroupStatsRequestOrBuilder
        Returns:
        Whether the timeRange field is set.
      • 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];
        Specified by:
        getTimeRange in interface ListGroupStatsRequestOrBuilder
        Returns:
        The timeRange.
      • 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];
        Specified by:
        getTimeRangeOrBuilder in interface ListGroupStatsRequestOrBuilder
      • 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];
        Specified by:
        hasTimedCountDuration in interface ListGroupStatsRequestOrBuilder
        Returns:
        Whether the timedCountDuration field is set.
      • getTimedCountDuration

        public 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];
        Specified by:
        getTimedCountDuration in interface ListGroupStatsRequestOrBuilder
        Returns:
        The timedCountDuration.
      • getTimedCountDurationOrBuilder

        public 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];
        Specified by:
        getTimedCountDurationOrBuilder in interface ListGroupStatsRequestOrBuilder
      • 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];
        Specified by:
        getAlignmentValue in interface ListGroupStatsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for alignment.
      • 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];
        Specified by:
        getAlignment in interface ListGroupStatsRequestOrBuilder
        Returns:
        The alignment.
      • 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];
        Specified by:
        hasAlignmentTime in interface ListGroupStatsRequestOrBuilder
        Returns:
        Whether the alignmentTime field is set.
      • getAlignmentTime

        public 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];
        Specified by:
        getAlignmentTime in interface ListGroupStatsRequestOrBuilder
        Returns:
        The alignmentTime.
      • getAlignmentTimeOrBuilder

        public 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];
        Specified by:
        getAlignmentTimeOrBuilder in interface ListGroupStatsRequestOrBuilder
      • 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];
        Specified by:
        getOrderValue in interface ListGroupStatsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for order.
      • 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];
        Specified by:
        getOrder in interface ListGroupStatsRequestOrBuilder
        Returns:
        The 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];
        Specified by:
        getPageSize in interface ListGroupStatsRequestOrBuilder
        Returns:
        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];
        Specified by:
        getPageToken in interface ListGroupStatsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public 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];
        Specified by:
        getPageTokenBytes in interface ListGroupStatsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(com.google.protobuf.ByteString data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(com.google.protobuf.ByteString data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(byte[] data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ListGroupStatsRequest parseFrom​(byte[] data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ListGroupStatsRequest.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ListGroupStatsRequest.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ListGroupStatsRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ListGroupStatsRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ListGroupStatsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder