public static final class TimeSeriesRatio.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
TimeSeriesRatio.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeriesRatio |
build() |
TimeSeriesRatio |
buildPartial() |
TimeSeriesRatio.Builder |
clear() |
TimeSeriesRatio.Builder |
clearBadServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
|
TimeSeriesRatio.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeSeriesRatio.Builder |
clearGoodServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying good service provided.
|
TimeSeriesRatio.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeSeriesRatio.Builder |
clearTotalServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying total demanded service.
|
TimeSeriesRatio.Builder |
clone() |
String |
getBadServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
|
com.google.protobuf.ByteString |
getBadServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
|
TimeSeriesRatio |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGoodServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying good service provided.
|
com.google.protobuf.ByteString |
getGoodServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying good service provided.
|
String |
getTotalServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying total demanded service.
|
com.google.protobuf.ByteString |
getTotalServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying total demanded service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeSeriesRatio.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeSeriesRatio.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeSeriesRatio.Builder |
mergeFrom(TimeSeriesRatio other) |
TimeSeriesRatio.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeriesRatio.Builder |
setBadServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
|
TimeSeriesRatio.Builder |
setBadServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying bad service, either demanded service
that was not provided or demanded service that was of inadequate quality.
|
TimeSeriesRatio.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeriesRatio.Builder |
setGoodServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying good service provided.
|
TimeSeriesRatio.Builder |
setGoodServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying good service provided.
|
TimeSeriesRatio.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeSeriesRatio.Builder |
setTotalServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying total demanded service.
|
TimeSeriesRatio.Builder |
setTotalServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
specifying a `TimeSeries` quantifying total demanded service.
|
TimeSeriesRatio.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeSeriesRatio build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeSeriesRatio buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeSeriesRatio.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder mergeFrom(TimeSeriesRatio other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public TimeSeriesRatio.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeriesRatio.Builder>IOExceptionpublic String getGoodServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getGoodServiceFilter in interface TimeSeriesRatioOrBuilderpublic com.google.protobuf.ByteString getGoodServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getGoodServiceFilterBytes in interface TimeSeriesRatioOrBuilderpublic TimeSeriesRatio.Builder setGoodServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The goodServiceFilter to set.public TimeSeriesRatio.Builder clearGoodServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;public TimeSeriesRatio.Builder setGoodServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The bytes for goodServiceFilter to set.public String getBadServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getBadServiceFilter in interface TimeSeriesRatioOrBuilderpublic com.google.protobuf.ByteString getBadServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getBadServiceFilterBytes in interface TimeSeriesRatioOrBuilderpublic TimeSeriesRatio.Builder setBadServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The badServiceFilter to set.public TimeSeriesRatio.Builder clearBadServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;public TimeSeriesRatio.Builder setBadServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The bytes for badServiceFilter to set.public String getTotalServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getTotalServiceFilter in interface TimeSeriesRatioOrBuilderpublic com.google.protobuf.ByteString getTotalServiceFilterBytes()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;getTotalServiceFilterBytes in interface TimeSeriesRatioOrBuilderpublic TimeSeriesRatio.Builder setTotalServiceFilter(String value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The totalServiceFilter to set.public TimeSeriesRatio.Builder clearTotalServiceFilter()
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;public TimeSeriesRatio.Builder setTotalServiceFilterBytes(com.google.protobuf.ByteString value)
A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) 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;value - The bytes for totalServiceFilter to set.public final TimeSeriesRatio.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>public final TimeSeriesRatio.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeriesRatio.Builder>Copyright © 2025 Google LLC. All rights reserved.