Class TimeSeriesFilterRatio.RatioPart.Builder

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

public static final class TimeSeriesFilterRatio.RatioPart.Builder extends com.google.protobuf.GeneratedMessage.Builder<TimeSeriesFilterRatio.RatioPart.Builder> implements TimeSeriesFilterRatio.RatioPartOrBuilder
 Describes a query to build the numerator or denominator of a
 TimeSeriesFilterRatio.
 
Protobuf type google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart
  • 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<TimeSeriesFilterRatio.RatioPart.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<TimeSeriesFilterRatio.RatioPart.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<TimeSeriesFilterRatio.RatioPart.Builder>
    • getDefaultInstanceForType

      public TimeSeriesFilterRatio.RatioPart 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 TimeSeriesFilterRatio.RatioPart buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TimeSeriesFilterRatio.RatioPart.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<TimeSeriesFilterRatio.RatioPart.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<TimeSeriesFilterRatio.RatioPart.Builder>
    • mergeFrom

      public TimeSeriesFilterRatio.RatioPart.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<TimeSeriesFilterRatio.RatioPart.Builder>
      Throws:
      IOException
    • 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 TimeSeriesFilterRatio.RatioPartOrBuilder
      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 TimeSeriesFilterRatio.RatioPartOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       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];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       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];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public TimeSeriesFilterRatio.RatioPart.Builder setFilterBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • 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 TimeSeriesFilterRatio.RatioPartOrBuilder
      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 TimeSeriesFilterRatio.RatioPartOrBuilder
      Returns:
      The aggregation.
    • setAggregation

       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;
    • setAggregation

      public TimeSeriesFilterRatio.RatioPart.Builder setAggregation(Aggregation.Builder builderForValue)
       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;
    • mergeAggregation

      public TimeSeriesFilterRatio.RatioPart.Builder mergeAggregation(Aggregation value)
       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;
    • clearAggregation

      public TimeSeriesFilterRatio.RatioPart.Builder clearAggregation()
       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;
    • getAggregationBuilder

      public Aggregation.Builder getAggregationBuilder()
       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;
    • 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 TimeSeriesFilterRatio.RatioPartOrBuilder