public static final class TimeSeriesRatio.Builder extends GeneratedMessage.Builder<TimeSeriesRatio.Builder> implements TimeSeriesRatioOrBuilder A TimeSeriesRatio specifies two TimeSeries to use for computing the
good_service / total_service ratio. The specified TimeSeries must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE. The TimeSeriesRatio must specify
exactly two of good, bad, and total, and the relationship good_service +
bad_service = total_service will be assumed.
Protobuf type google.monitoring.v3.TimeSeriesRatio
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimeSeriesRatio.BuilderImplements
TimeSeriesRatioOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TimeSeriesRatio build()| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio |
|
buildPartial()
public TimeSeriesRatio buildPartial()| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio |
|
clear()
public TimeSeriesRatio.Builder clear()| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
|
clearBadServiceFilter()
public TimeSeriesRatio.Builder clearBadServiceFilter() A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
string bad_service_filter = 5;
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
clearGoodServiceFilter()
public TimeSeriesRatio.Builder clearGoodServiceFilter() A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string good_service_filter = 4;
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
clearTotalServiceFilter()
public TimeSeriesRatio.Builder clearTotalServiceFilter() A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string total_service_filter = 6;
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
getBadServiceFilter()
public String getBadServiceFilter() A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
string bad_service_filter = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The badServiceFilter. |
getBadServiceFilterBytes()
public ByteString getBadServiceFilterBytes() A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
string bad_service_filter = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for badServiceFilter. |
getDefaultInstanceForType()
public TimeSeriesRatio getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoodServiceFilter()
public String getGoodServiceFilter() A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string good_service_filter = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The goodServiceFilter. |
getGoodServiceFilterBytes()
public ByteString getGoodServiceFilterBytes() A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string good_service_filter = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for goodServiceFilter. |
getTotalServiceFilter()
public String getTotalServiceFilter() A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string total_service_filter = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The totalServiceFilter. |
getTotalServiceFilterBytes()
public ByteString getTotalServiceFilterBytes() A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string total_service_filter = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for totalServiceFilter. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TimeSeriesRatio other)
public TimeSeriesRatio.Builder mergeFrom(TimeSeriesRatio other)| Parameter | |
|---|---|
| Name | Description |
other |
TimeSeriesRatio |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSeriesRatio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimeSeriesRatio.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
|
setBadServiceFilter(String value)
public TimeSeriesRatio.Builder setBadServiceFilter(String value) A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
string bad_service_filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe badServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setBadServiceFilterBytes(ByteString value)
public TimeSeriesRatio.Builder setBadServiceFilterBytes(ByteString value) A monitoring filter
specifying a TimeSeries quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
Must have ValueType = DOUBLE or ValueType = INT64 and must have
MetricKind = DELTA or MetricKind = CUMULATIVE.
string bad_service_filter = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for badServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setGoodServiceFilter(String value)
public TimeSeriesRatio.Builder setGoodServiceFilter(String value) A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string good_service_filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe goodServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setGoodServiceFilterBytes(ByteString value)
public TimeSeriesRatio.Builder setGoodServiceFilterBytes(ByteString value) A monitoring filter
specifying a TimeSeries quantifying good service provided. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string good_service_filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for goodServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setTotalServiceFilter(String value)
public TimeSeriesRatio.Builder setTotalServiceFilter(String value) A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string total_service_filter = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe totalServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setTotalServiceFilterBytes(ByteString value)
public TimeSeriesRatio.Builder setTotalServiceFilterBytes(ByteString value) A monitoring filter
specifying a TimeSeries quantifying total demanded service. Must have
ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
DELTA or MetricKind = CUMULATIVE.
string total_service_filter = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for totalServiceFilter to set. |
| Returns | |
|---|---|
| Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |