public static final class DistributionCut.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DistributionCut.BuilderImplements
DistributionCutOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DistributionCut build()| Returns | |
|---|---|
| Type | Description |
DistributionCut |
|
buildPartial()
public DistributionCut buildPartial()| Returns | |
|---|---|
| Type | Description |
DistributionCut |
|
clear()
public DistributionCut.Builder clear()| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
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 | |
|---|---|
| Type | Description |
DistributionCut.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
getDefaultInstanceForType()
public DistributionCut getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DistributionCut |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()
public Range 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 | |
|---|---|
| Type | Description |
Range.Builder |
|
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 | |
|---|---|
| Type | Description |
RangeOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DistributionCut other)
public DistributionCut.Builder mergeFrom(DistributionCut other)| Parameter | |
|---|---|
| Name | Description |
other |
DistributionCut |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DistributionCut.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DistributionCut.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
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 | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
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 |
StringThe distributionFilter to set. |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for distributionFilter to set. |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|
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 | |
|---|---|
| Name | Description |
builderForValue |
Range.Builder |
| Returns | |
|---|---|
| Type | Description |
DistributionCut.Builder |
|