public static final class RequestBasedSli.Builder extends GeneratedMessage.Builder<RequestBasedSli.Builder> implements RequestBasedSliOrBuilder
Service Level Indicators for which atomic units of service are counted
directly.
Protobuf type google.monitoring.v3.RequestBasedSli
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public RequestBasedSli build()
buildPartial()
public RequestBasedSli buildPartial()
clear()
public RequestBasedSli.Builder clear()
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;
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;
clearMethod()
public RequestBasedSli.Builder clearMethod()
getDefaultInstanceForType()
public RequestBasedSli getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
getMethodCase()
public RequestBasedSli.MethodCase getMethodCase()
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(RequestBasedSli other)
public RequestBasedSli.Builder mergeFrom(RequestBasedSli other)
public RequestBasedSli.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RequestBasedSli.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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;
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;
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;
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;
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;