- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class TimeSeriesRatio.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimeSeriesRatio.BuilderImplements
TimeSeriesRatioOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesRatio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeriesRatio.Builder |
build()
public TimeSeriesRatio build()
Type | Description |
TimeSeriesRatio |
buildPartial()
public TimeSeriesRatio buildPartial()
Type | Description |
TimeSeriesRatio |
clear()
public TimeSeriesRatio.Builder clear()
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;
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesRatio.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TimeSeriesRatio.Builder |
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;
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesRatio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TimeSeriesRatio.Builder |
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;
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
clone()
public TimeSeriesRatio.Builder clone()
Type | Description |
TimeSeriesRatio.Builder |
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;
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;
Type | Description |
ByteString | The bytes for badServiceFilter. |
getDefaultInstanceForType()
public TimeSeriesRatio getDefaultInstanceForType()
Type | Description |
TimeSeriesRatio |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for totalServiceFilter. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TimeSeriesRatio other)
public TimeSeriesRatio.Builder mergeFrom(TimeSeriesRatio other)
Name | Description |
other | TimeSeriesRatio |
Type | Description |
TimeSeriesRatio.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimeSeriesRatio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TimeSeriesRatio.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TimeSeriesRatio.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TimeSeriesRatio.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesRatio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | String The badServiceFilter to set. |
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;
Name | Description |
value | ByteString The bytes for badServiceFilter to set. |
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesRatio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimeSeriesRatio.Builder |
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;
Name | Description |
value | String The goodServiceFilter to set. |
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;
Name | Description |
value | ByteString The bytes for goodServiceFilter to set. |
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimeSeriesRatio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TimeSeriesRatio.Builder |
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;
Name | Description |
value | String The totalServiceFilter to set. |
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;
Name | Description |
value | ByteString The bytes for totalServiceFilter to set. |
Type | Description |
TimeSeriesRatio.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesRatio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimeSeriesRatio.Builder |