Class ErrorGroupStats

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

    public final class ErrorGroupStats
    extends com.google.protobuf.GeneratedMessageV3
    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
    See Also:
    Serialized Form
    • Field Detail

      • AFFECTED_USERS_COUNT_FIELD_NUMBER

        public static final int AFFECTED_USERS_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TIMED_COUNTS_FIELD_NUMBER

        public static final int TIMED_COUNTS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_SEEN_TIME_FIELD_NUMBER

        public static final int FIRST_SEEN_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_SEEN_TIME_FIELD_NUMBER

        public static final int LAST_SEEN_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AFFECTED_SERVICES_FIELD_NUMBER

        public static final int AFFECTED_SERVICES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NUM_AFFECTED_SERVICES_FIELD_NUMBER

        public static final int NUM_AFFECTED_SERVICES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • REPRESENTATIVE_FIELD_NUMBER

        public static final int REPRESENTATIVE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • hasGroup

        public boolean hasGroup()
         Group data that is independent of the filter criteria.
         
        .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
        Specified by:
        hasGroup in interface ErrorGroupStatsOrBuilder
        Returns:
        Whether the group field is set.
      • getGroup

        public ErrorGroup getGroup()
         Group data that is independent of the filter criteria.
         
        .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
        Specified by:
        getGroup in interface ErrorGroupStatsOrBuilder
        Returns:
        The group.
      • getCount

        public long getCount()
         Approximate total number of events in the given group that match
         the filter criteria.
         
        int64 count = 2;
        Specified by:
        getCount in interface ErrorGroupStatsOrBuilder
        Returns:
        The count.
      • 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;
        Specified by:
        getAffectedUsersCount in interface ErrorGroupStatsOrBuilder
        Returns:
        The affectedUsersCount.
      • 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;
        Specified by:
        getTimedCountsList in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getTimedCountsOrBuilderList in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getTimedCountsCount in interface ErrorGroupStatsOrBuilder
      • getTimedCounts

        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;
        Specified by:
        getTimedCounts in interface ErrorGroupStatsOrBuilder
      • getTimedCountsOrBuilder

        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;
        Specified by:
        getTimedCountsOrBuilder in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        hasFirstSeenTime in interface ErrorGroupStatsOrBuilder
        Returns:
        Whether the firstSeenTime field is set.
      • getFirstSeenTime

        public com.google.protobuf.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;
        Specified by:
        getFirstSeenTime in interface ErrorGroupStatsOrBuilder
        Returns:
        The firstSeenTime.
      • getFirstSeenTimeOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getFirstSeenTimeOrBuilder in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        hasLastSeenTime in interface ErrorGroupStatsOrBuilder
        Returns:
        Whether the lastSeenTime field is set.
      • getLastSeenTime

        public com.google.protobuf.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;
        Specified by:
        getLastSeenTime in interface ErrorGroupStatsOrBuilder
        Returns:
        The lastSeenTime.
      • getLastSeenTimeOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getLastSeenTimeOrBuilder in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getAffectedServicesList in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getAffectedServicesOrBuilderList in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getAffectedServicesCount in interface ErrorGroupStatsOrBuilder
      • getAffectedServices

        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;
        Specified by:
        getAffectedServices in interface ErrorGroupStatsOrBuilder
      • getAffectedServicesOrBuilder

        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;
        Specified by:
        getAffectedServicesOrBuilder in interface ErrorGroupStatsOrBuilder
      • 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;
        Specified by:
        getNumAffectedServices in interface ErrorGroupStatsOrBuilder
        Returns:
        The numAffectedServices.
      • 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;
        Specified by:
        hasRepresentative in interface ErrorGroupStatsOrBuilder
        Returns:
        Whether the representative field is set.
      • 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;
        Specified by:
        getRepresentative in interface ErrorGroupStatsOrBuilder
        Returns:
        The representative.
      • 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;
        Specified by:
        getRepresentativeOrBuilder in interface ErrorGroupStatsOrBuilder
      • 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 ErrorGroupStats parseFrom​(ByteBuffer data)
                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static ErrorGroupStats parseFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Throws:
        IOException
      • newBuilderForType

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

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

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

        public static com.google.protobuf.Parser<ErrorGroupStats> parser()
      • getParserForType

        public com.google.protobuf.Parser<ErrorGroupStats> 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 ErrorGroupStats getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder