Send feedback
Class RequestBasedSli.Builder (3.3.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.3.5 keyboard_arrow_down
public static final class RequestBasedSli . Builder extends GeneratedMessageV3 . Builder<RequestBasedSli . Builder > implements RequestBasedSliOrBuilder
Service Level Indicators for which atomic units of service are counted
directly.
Protobuf type google.monitoring.v3.RequestBasedSli
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestBasedSli . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RequestBasedSli build ()
Returns
buildPartial()
public RequestBasedSli buildPartial ()
Returns
clear()
public RequestBasedSli . Builder clear ()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public RequestBasedSli . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
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;
Returns
clearMethod()
public RequestBasedSli . Builder clearMethod ()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestBasedSli . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public RequestBasedSli . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public RequestBasedSli getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
getMethodCase()
public RequestBasedSli . MethodCase getMethodCase ()
Returns
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;
Returns
Type Description boolean Whether the distributionCut field is set.
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;
Returns
Type Description boolean Whether the goodTotalRatio field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeDistributionCut(DistributionCut value)
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;
Parameter
Returns
mergeFrom(RequestBasedSli other)
public RequestBasedSli . Builder mergeFrom ( RequestBasedSli other )
Parameter
Returns
public RequestBasedSli . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RequestBasedSli . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeGoodTotalRatio(TimeSeriesRatio value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestBasedSli . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDistributionCut(DistributionCut value)
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;
Parameter
Returns
setDistributionCut(DistributionCut.Builder builderForValue)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RequestBasedSli . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setGoodTotalRatio(TimeSeriesRatio value)
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;
Parameter
Returns
setGoodTotalRatio(TimeSeriesRatio.Builder builderForValue)
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestBasedSli . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestBasedSli . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]