Class RequestBasedSli.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RequestBasedSli.Builder>
com.google.monitoring.v3.RequestBasedSli.Builder
All Implemented Interfaces:
RequestBasedSliOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RequestBasedSli

public static final class RequestBasedSli.Builder extends com.google.protobuf.GeneratedMessage.Builder<RequestBasedSli.Builder> implements RequestBasedSliOrBuilder
 Service Level Indicators for which atomic units of service are counted
 directly.
 
Protobuf type google.monitoring.v3.RequestBasedSli
  • 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<RequestBasedSli.Builder>
    • clear

      public RequestBasedSli.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<RequestBasedSli.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<RequestBasedSli.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public RequestBasedSli.Builder mergeFrom(RequestBasedSli other)
    • isInitialized

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

      public RequestBasedSli.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<RequestBasedSli.Builder>
      Throws:
      IOException
    • getMethodCase

      public RequestBasedSli.MethodCase getMethodCase()
      Specified by:
      getMethodCase in interface RequestBasedSliOrBuilder
    • clearMethod

      public RequestBasedSli.Builder clearMethod()
    • hasGoodTotalRatio

      public boolean hasGoodTotalRatio()
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
      Specified by:
      hasGoodTotalRatio in interface RequestBasedSliOrBuilder
      Returns:
      Whether the goodTotalRatio field is set.
    • getGoodTotalRatio

      public TimeSeriesRatio getGoodTotalRatio()
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
      Specified by:
      getGoodTotalRatio in interface RequestBasedSliOrBuilder
      Returns:
      The goodTotalRatio.
    • setGoodTotalRatio

      public RequestBasedSli.Builder setGoodTotalRatio(TimeSeriesRatio value)
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
    • setGoodTotalRatio

      public RequestBasedSli.Builder setGoodTotalRatio(TimeSeriesRatio.Builder builderForValue)
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
    • mergeGoodTotalRatio

      public RequestBasedSli.Builder mergeGoodTotalRatio(TimeSeriesRatio value)
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
    • clearGoodTotalRatio

      public RequestBasedSli.Builder clearGoodTotalRatio()
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
    • getGoodTotalRatioBuilder

      public TimeSeriesRatio.Builder getGoodTotalRatioBuilder()
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
    • getGoodTotalRatioOrBuilder

      public TimeSeriesRatioOrBuilder getGoodTotalRatioOrBuilder()
       `good_total_ratio` is used when the ratio of `good_service` to
       `total_service` is computed from two `TimeSeries`.
       
      .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
      Specified by:
      getGoodTotalRatioOrBuilder in interface RequestBasedSliOrBuilder
    • hasDistributionCut

      public boolean hasDistributionCut()
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
      Specified by:
      hasDistributionCut in interface RequestBasedSliOrBuilder
      Returns:
      Whether the distributionCut field is set.
    • getDistributionCut

      public DistributionCut getDistributionCut()
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
      Specified by:
      getDistributionCut in interface RequestBasedSliOrBuilder
      Returns:
      The distributionCut.
    • setDistributionCut

      public RequestBasedSli.Builder setDistributionCut(DistributionCut value)
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
    • setDistributionCut

      public RequestBasedSli.Builder setDistributionCut(DistributionCut.Builder builderForValue)
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
    • mergeDistributionCut

      public RequestBasedSli.Builder mergeDistributionCut(DistributionCut value)
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
    • clearDistributionCut

      public RequestBasedSli.Builder clearDistributionCut()
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
    • getDistributionCutBuilder

      public DistributionCut.Builder getDistributionCutBuilder()
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
    • getDistributionCutOrBuilder

      public DistributionCutOrBuilder getDistributionCutOrBuilder()
       `distribution_cut` is used when `good_service` is a count of values
       aggregated in a `Distribution` that fall into a good range. The
       `total_service` is the total count of all values aggregated in the
       `Distribution`.
       
      .google.monitoring.v3.DistributionCut distribution_cut = 3;
      Specified by:
      getDistributionCutOrBuilder in interface RequestBasedSliOrBuilder