- 3.52.0 (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesRatio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public TimeSeriesRatio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimeSeriesRatio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
clone()
public TimeSeriesRatio.Builder clone()
Returns | |
---|---|
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;
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesRatio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for badServiceFilter to set. |
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TimeSeriesRatio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for goodServiceFilter to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for totalServiceFilter to set. |
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimeSeriesRatio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TimeSeriesRatio.Builder |