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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestBasedSli.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
clearField(Descriptors.FieldDescriptor field)
public RequestBasedSli.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearMethod()
public RequestBasedSli.Builder clearMethod()
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestBasedSli.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RequestBasedSli.Builder clone()
Overrides
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 GeneratedMessageV3.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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestBasedSli.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public RequestBasedSli.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestBasedSli.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestBasedSli.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides