public static final class DistributionCut.Builder extends GeneratedMessageV3.Builder<DistributionCut.Builder> implements DistributionCutOrBuilder
A DistributionCut
defines a TimeSeries
and thresholds used for measuring
good service and total service. The TimeSeries
must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
. The
computed good_service
will be the estimated count of values in the
Distribution
that fall within the specified min
and max
.
Protobuf type google.monitoring.v3.DistributionCut
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 DistributionCut.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DistributionCut build()
Returns
buildPartial()
public DistributionCut buildPartial()
Returns
clear()
public DistributionCut.Builder clear()
Returns
Overrides
clearDistributionFilter()
public DistributionCut.Builder clearDistributionFilter()
A monitoring filter
specifying a TimeSeries
aggregating values. Must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
.
string distribution_filter = 4;
Returns
clearField(Descriptors.FieldDescriptor field)
public DistributionCut.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DistributionCut.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRange()
public DistributionCut.Builder clearRange()
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Returns
clone()
public DistributionCut.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DistributionCut getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDistributionFilter()
public String getDistributionFilter()
A monitoring filter
specifying a TimeSeries
aggregating values. Must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
.
string distribution_filter = 4;
Returns
Type | Description |
String | The distributionFilter.
|
getDistributionFilterBytes()
public ByteString getDistributionFilterBytes()
A monitoring filter
specifying a TimeSeries
aggregating values. Must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
.
string distribution_filter = 4;
Returns
Type | Description |
ByteString | The bytes for distributionFilter.
|
getRange()
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Returns
Type | Description |
Range | The range.
|
getRangeBuilder()
public Range.Builder getRangeBuilder()
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Returns
getRangeOrBuilder()
public RangeOrBuilder getRangeOrBuilder()
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Returns
hasRange()
public boolean hasRange()
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Returns
Type | Description |
boolean | Whether the range field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DistributionCut other)
public DistributionCut.Builder mergeFrom(DistributionCut other)
Parameter
Returns
public DistributionCut.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DistributionCut.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRange(Range value)
public DistributionCut.Builder mergeRange(Range value)
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Parameter
Name | Description |
value | Range
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DistributionCut.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDistributionFilter(String value)
public DistributionCut.Builder setDistributionFilter(String value)
A monitoring filter
specifying a TimeSeries
aggregating values. Must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
.
string distribution_filter = 4;
Parameter
Name | Description |
value | String
The distributionFilter to set.
|
Returns
setDistributionFilterBytes(ByteString value)
public DistributionCut.Builder setDistributionFilterBytes(ByteString value)
A monitoring filter
specifying a TimeSeries
aggregating values. Must have ValueType =
DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
.
string distribution_filter = 4;
Parameter
Name | Description |
value | ByteString
The bytes for distributionFilter to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DistributionCut.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRange(Range value)
public DistributionCut.Builder setRange(Range value)
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Parameter
Name | Description |
value | Range
|
Returns
setRange(Range.Builder builderForValue)
public DistributionCut.Builder setRange(Range.Builder builderForValue)
Range of values considered "good." For a one-sided range, set one bound to
an infinite value.
.google.monitoring.v3.Range range = 5;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DistributionCut.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DistributionCut.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides