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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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