Class StatisticalTimeSeriesFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StatisticalTimeSeriesFilter.Builder>
com.google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Builder
All Implemented Interfaces:
StatisticalTimeSeriesFilterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StatisticalTimeSeriesFilter

public static final class StatisticalTimeSeriesFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<StatisticalTimeSeriesFilter.Builder> implements StatisticalTimeSeriesFilterOrBuilder
 A filter that ranks streams based on their statistical relation to other
 streams in a request.
 Note: This field is deprecated and completely ignored by the API.
 
Protobuf type google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter
  • 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.Builder<StatisticalTimeSeriesFilter.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StatisticalTimeSeriesFilter.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StatisticalTimeSeriesFilter.Builder>
    • getDefaultInstanceForType

      public StatisticalTimeSeriesFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StatisticalTimeSeriesFilter buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StatisticalTimeSeriesFilter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatisticalTimeSeriesFilter.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StatisticalTimeSeriesFilter.Builder>
    • mergeFrom

      public StatisticalTimeSeriesFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StatisticalTimeSeriesFilter.Builder>
      Throws:
      IOException
    • getRankingMethodValue

      public int getRankingMethodValue()
       `rankingMethod` is applied to a set of time series, and then the produced
       value for each individual time series is used to compare a given time
       series to others.
       These are methods that cannot be applied stream-by-stream, but rather
       require the full context of a request to evaluate time series.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method ranking_method = 1;
      Specified by:
      getRankingMethodValue in interface StatisticalTimeSeriesFilterOrBuilder
      Returns:
      The enum numeric value on the wire for rankingMethod.
    • setRankingMethodValue

      public StatisticalTimeSeriesFilter.Builder setRankingMethodValue(int value)
       `rankingMethod` is applied to a set of time series, and then the produced
       value for each individual time series is used to compare a given time
       series to others.
       These are methods that cannot be applied stream-by-stream, but rather
       require the full context of a request to evaluate time series.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method ranking_method = 1;
      Parameters:
      value - The enum numeric value on the wire for rankingMethod to set.
      Returns:
      This builder for chaining.
    • getRankingMethod

      public StatisticalTimeSeriesFilter.Method getRankingMethod()
       `rankingMethod` is applied to a set of time series, and then the produced
       value for each individual time series is used to compare a given time
       series to others.
       These are methods that cannot be applied stream-by-stream, but rather
       require the full context of a request to evaluate time series.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method ranking_method = 1;
      Specified by:
      getRankingMethod in interface StatisticalTimeSeriesFilterOrBuilder
      Returns:
      The rankingMethod.
    • setRankingMethod

       `rankingMethod` is applied to a set of time series, and then the produced
       value for each individual time series is used to compare a given time
       series to others.
       These are methods that cannot be applied stream-by-stream, but rather
       require the full context of a request to evaluate time series.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method ranking_method = 1;
      Parameters:
      value - The rankingMethod to set.
      Returns:
      This builder for chaining.
    • clearRankingMethod

      public StatisticalTimeSeriesFilter.Builder clearRankingMethod()
       `rankingMethod` is applied to a set of time series, and then the produced
       value for each individual time series is used to compare a given time
       series to others.
       These are methods that cannot be applied stream-by-stream, but rather
       require the full context of a request to evaluate time series.
       
      .google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter.Method ranking_method = 1;
      Returns:
      This builder for chaining.
    • getNumTimeSeries

      public int getNumTimeSeries()
       How many time series to output.
       
      int32 num_time_series = 2;
      Specified by:
      getNumTimeSeries in interface StatisticalTimeSeriesFilterOrBuilder
      Returns:
      The numTimeSeries.
    • setNumTimeSeries

      public StatisticalTimeSeriesFilter.Builder setNumTimeSeries(int value)
       How many time series to output.
       
      int32 num_time_series = 2;
      Parameters:
      value - The numTimeSeries to set.
      Returns:
      This builder for chaining.
    • clearNumTimeSeries

      public StatisticalTimeSeriesFilter.Builder clearNumTimeSeries()
       How many time series to output.
       
      int32 num_time_series = 2;
      Returns:
      This builder for chaining.