Class TimeSeriesFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.dashboard.v1.TimeSeriesFilter
All Implemented Interfaces:
TimeSeriesFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class TimeSeriesFilter extends com.google.protobuf.GeneratedMessage implements TimeSeriesFilterOrBuilder
 A filter that defines a subset of time series data that is displayed in a
 widget. Time series data is fetched using the
 [`ListTimeSeries`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list)
 method.
 
Protobuf type google.monitoring.dashboard.v1.TimeSeriesFilter
See Also:
  • Field Details

    • FILTER_FIELD_NUMBER

      public static final int FILTER_FIELD_NUMBER
      See Also:
    • AGGREGATION_FIELD_NUMBER

      public static final int AGGREGATION_FIELD_NUMBER
      See Also:
    • SECONDARY_AGGREGATION_FIELD_NUMBER

      public static final int SECONDARY_AGGREGATION_FIELD_NUMBER
      See Also:
    • PICK_TIME_SERIES_FILTER_FIELD_NUMBER

      public static final int PICK_TIME_SERIES_FILTER_FIELD_NUMBER
      See Also:
    • STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER

      public static final int STATISTICAL_TIME_SERIES_FILTER_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOutputFilterCase

      public TimeSeriesFilter.OutputFilterCase getOutputFilterCase()
      Specified by:
      getOutputFilterCase in interface TimeSeriesFilterOrBuilder
    • getFilter

      public String getFilter()
       Required. The [monitoring
       filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
       the metric types, resources, and projects to query.
       
      string filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilter in interface TimeSeriesFilterOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Required. The [monitoring
       filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies
       the metric types, resources, and projects to query.
       
      string filter = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFilterBytes in interface TimeSeriesFilterOrBuilder
      Returns:
      The bytes for filter.
    • hasAggregation

      public boolean hasAggregation()
       By default, the raw time series data is returned.
       Use this field to combine multiple time series for different views of the
       data.
       
      .google.monitoring.dashboard.v1.Aggregation aggregation = 2;
      Specified by:
      hasAggregation in interface TimeSeriesFilterOrBuilder
      Returns:
      Whether the aggregation field is set.
    • getAggregation

      public Aggregation getAggregation()
       By default, the raw time series data is returned.
       Use this field to combine multiple time series for different views of the
       data.
       
      .google.monitoring.dashboard.v1.Aggregation aggregation = 2;
      Specified by:
      getAggregation in interface TimeSeriesFilterOrBuilder
      Returns:
      The aggregation.
    • getAggregationOrBuilder

      public AggregationOrBuilder getAggregationOrBuilder()
       By default, the raw time series data is returned.
       Use this field to combine multiple time series for different views of the
       data.
       
      .google.monitoring.dashboard.v1.Aggregation aggregation = 2;
      Specified by:
      getAggregationOrBuilder in interface TimeSeriesFilterOrBuilder
    • hasSecondaryAggregation

      public boolean hasSecondaryAggregation()
       Apply a second aggregation after `aggregation` is applied.
       
      .google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;
      Specified by:
      hasSecondaryAggregation in interface TimeSeriesFilterOrBuilder
      Returns:
      Whether the secondaryAggregation field is set.
    • getSecondaryAggregation

      public Aggregation getSecondaryAggregation()
       Apply a second aggregation after `aggregation` is applied.
       
      .google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;
      Specified by:
      getSecondaryAggregation in interface TimeSeriesFilterOrBuilder
      Returns:
      The secondaryAggregation.
    • getSecondaryAggregationOrBuilder

      public AggregationOrBuilder getSecondaryAggregationOrBuilder()
       Apply a second aggregation after `aggregation` is applied.
       
      .google.monitoring.dashboard.v1.Aggregation secondary_aggregation = 3;
      Specified by:
      getSecondaryAggregationOrBuilder in interface TimeSeriesFilterOrBuilder
    • hasPickTimeSeriesFilter

      public boolean hasPickTimeSeriesFilter()
       Ranking based time series filter.
       
      .google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;
      Specified by:
      hasPickTimeSeriesFilter in interface TimeSeriesFilterOrBuilder
      Returns:
      Whether the pickTimeSeriesFilter field is set.
    • getPickTimeSeriesFilter

      public PickTimeSeriesFilter getPickTimeSeriesFilter()
       Ranking based time series filter.
       
      .google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;
      Specified by:
      getPickTimeSeriesFilter in interface TimeSeriesFilterOrBuilder
      Returns:
      The pickTimeSeriesFilter.
    • getPickTimeSeriesFilterOrBuilder

      public PickTimeSeriesFilterOrBuilder getPickTimeSeriesFilterOrBuilder()
       Ranking based time series filter.
       
      .google.monitoring.dashboard.v1.PickTimeSeriesFilter pick_time_series_filter = 4;
      Specified by:
      getPickTimeSeriesFilterOrBuilder in interface TimeSeriesFilterOrBuilder
    • hasStatisticalTimeSeriesFilter

      @Deprecated public boolean hasStatisticalTimeSeriesFilter()
      Deprecated.
      google.monitoring.dashboard.v1.TimeSeriesFilter.statistical_time_series_filter is deprecated. See google/monitoring/dashboard/v1/metrics.proto;l=89
       Statistics based time series filter.
       Note: This field is deprecated and completely ignored by the API.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];
      Specified by:
      hasStatisticalTimeSeriesFilter in interface TimeSeriesFilterOrBuilder
      Returns:
      Whether the statisticalTimeSeriesFilter field is set.
    • getStatisticalTimeSeriesFilter

      @Deprecated public StatisticalTimeSeriesFilter getStatisticalTimeSeriesFilter()
      Deprecated.
      google.monitoring.dashboard.v1.TimeSeriesFilter.statistical_time_series_filter is deprecated. See google/monitoring/dashboard/v1/metrics.proto;l=89
       Statistics based time series filter.
       Note: This field is deprecated and completely ignored by the API.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];
      Specified by:
      getStatisticalTimeSeriesFilter in interface TimeSeriesFilterOrBuilder
      Returns:
      The statisticalTimeSeriesFilter.
    • getStatisticalTimeSeriesFilterOrBuilder

      @Deprecated public StatisticalTimeSeriesFilterOrBuilder getStatisticalTimeSeriesFilterOrBuilder()
      Deprecated.
       Statistics based time series filter.
       Note: This field is deprecated and completely ignored by the API.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter statistical_time_series_filter = 5 [deprecated = true];
      Specified by:
      getStatisticalTimeSeriesFilterOrBuilder in interface TimeSeriesFilterOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 TimeSeriesFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static TimeSeriesFilter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimeSeriesFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimeSeriesFilter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TimeSeriesFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TimeSeriesFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static TimeSeriesFilter.Builder newBuilder()
    • newBuilder

      public static TimeSeriesFilter.Builder newBuilder(TimeSeriesFilter prototype)
    • toBuilder

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

      protected TimeSeriesFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static TimeSeriesFilter getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TimeSeriesFilter> 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.GeneratedMessage
    • getDefaultInstanceForType

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