public static final class AlertPolicy.Condition.MetricAbsence.Builder extends GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder> implements AlertPolicy.Condition.MetricAbsenceOrBuilder
A condition type that checks that monitored resources are reporting data. The configuration defines a metric and a set of monitored resources. The predicate is considered in violation when a time series for the specified metric of a monitored resource does not include any data in the specified `duration`.Protobuf type
google.monitoring.v3.AlertPolicy.Condition.MetricAbsence
Modifier and Type | Method and Description |
---|---|
AlertPolicy.Condition.MetricAbsence.Builder |
addAggregations(Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
addAggregations(Aggregation value)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
addAggregations(int index,
Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
addAggregations(int index,
Aggregation value)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
Aggregation.Builder |
addAggregationsBuilder()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
Aggregation.Builder |
addAggregationsBuilder(int index)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
addAllAggregations(java.lang.Iterable<? extends Aggregation> values)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AlertPolicy.Condition.MetricAbsence |
build() |
AlertPolicy.Condition.MetricAbsence |
buildPartial() |
AlertPolicy.Condition.MetricAbsence.Builder |
clear() |
AlertPolicy.Condition.MetricAbsence.Builder |
clearAggregations()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
clearDuration()
The amount of time that a time series must fail to report new
data to be considered failing.
|
AlertPolicy.Condition.MetricAbsence.Builder |
clearField(Descriptors.FieldDescriptor field) |
AlertPolicy.Condition.MetricAbsence.Builder |
clearFilter()
A [filter](/monitoring/api/v3/filters) that
identifies which time series should be compared with the threshold.
|
AlertPolicy.Condition.MetricAbsence.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AlertPolicy.Condition.MetricAbsence.Builder |
clearTrigger()
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.MetricAbsence.Builder |
clone() |
Aggregation |
getAggregations(int index)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
Aggregation.Builder |
getAggregationsBuilder(int index)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
java.util.List<Aggregation.Builder> |
getAggregationsBuilderList()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
int |
getAggregationsCount()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
java.util.List<Aggregation> |
getAggregationsList()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AggregationOrBuilder |
getAggregationsOrBuilder(int index)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
java.util.List<? extends AggregationOrBuilder> |
getAggregationsOrBuilderList()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Duration |
getDuration()
The amount of time that a time series must fail to report new
data to be considered failing.
|
Duration.Builder |
getDurationBuilder()
The amount of time that a time series must fail to report new
data to be considered failing.
|
DurationOrBuilder |
getDurationOrBuilder()
The amount of time that a time series must fail to report new
data to be considered failing.
|
java.lang.String |
getFilter()
A [filter](/monitoring/api/v3/filters) that
identifies which time series should be compared with the threshold.
|
ByteString |
getFilterBytes()
A [filter](/monitoring/api/v3/filters) that
identifies which time series should be compared with the threshold.
|
AlertPolicy.Condition.Trigger |
getTrigger()
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.Trigger.Builder |
getTriggerBuilder()
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.TriggerOrBuilder |
getTriggerOrBuilder()
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
boolean |
hasDuration()
The amount of time that a time series must fail to report new
data to be considered failing.
|
boolean |
hasTrigger()
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AlertPolicy.Condition.MetricAbsence.Builder |
mergeDuration(Duration value)
The amount of time that a time series must fail to report new
data to be considered failing.
|
AlertPolicy.Condition.MetricAbsence.Builder |
mergeFrom(AlertPolicy.Condition.MetricAbsence other) |
AlertPolicy.Condition.MetricAbsence.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AlertPolicy.Condition.MetricAbsence.Builder |
mergeFrom(Message other) |
AlertPolicy.Condition.MetricAbsence.Builder |
mergeTrigger(AlertPolicy.Condition.Trigger value)
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.MetricAbsence.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AlertPolicy.Condition.MetricAbsence.Builder |
removeAggregations(int index)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
setAggregations(int index,
Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
setAggregations(int index,
Aggregation value)
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series together (such as
when aggregating multiple streams on each resource to a single
stream for each resource or when aggregating streams across all
members of a group of resrouces).
|
AlertPolicy.Condition.MetricAbsence.Builder |
setDuration(Duration.Builder builderForValue)
The amount of time that a time series must fail to report new
data to be considered failing.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setDuration(Duration value)
The amount of time that a time series must fail to report new
data to be considered failing.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AlertPolicy.Condition.MetricAbsence.Builder |
setFilter(java.lang.String value)
A [filter](/monitoring/api/v3/filters) that
identifies which time series should be compared with the threshold.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setFilterBytes(ByteString value)
A [filter](/monitoring/api/v3/filters) that
identifies which time series should be compared with the threshold.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AlertPolicy.Condition.MetricAbsence.Builder |
setTrigger(AlertPolicy.Condition.Trigger.Builder builderForValue)
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setTrigger(AlertPolicy.Condition.Trigger value)
The number/percent of time series for which the comparison must hold
in order for the condition to trigger.
|
AlertPolicy.Condition.MetricAbsence.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AlertPolicy.Condition.MetricAbsence build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AlertPolicy.Condition.MetricAbsence buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AlertPolicy.Condition.MetricAbsence.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder mergeFrom(AlertPolicy.Condition.MetricAbsence other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public AlertPolicy.Condition.MetricAbsence.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
java.io.IOException
public java.lang.String getFilter()
A [filter](/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
string filter = 1;
getFilter
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public ByteString getFilterBytes()
A [filter](/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
string filter = 1;
getFilterBytes
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public AlertPolicy.Condition.MetricAbsence.Builder setFilter(java.lang.String value)
A [filter](/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
string filter = 1;
public AlertPolicy.Condition.MetricAbsence.Builder clearFilter()
A [filter](/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
string filter = 1;
public AlertPolicy.Condition.MetricAbsence.Builder setFilterBytes(ByteString value)
A [filter](/monitoring/api/v3/filters) that identifies which time series should be compared with the threshold. The filter is similar to the one that is specified in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list) (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.
string filter = 1;
public java.util.List<Aggregation> getAggregationsList()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
getAggregationsList
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public int getAggregationsCount()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
getAggregationsCount
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public Aggregation getAggregations(int index)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
getAggregations
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public AlertPolicy.Condition.MetricAbsence.Builder setAggregations(int index, Aggregation value)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder setAggregations(int index, Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder addAggregations(Aggregation value)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder addAggregations(int index, Aggregation value)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder addAggregations(Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder addAggregations(int index, Aggregation.Builder builderForValue)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder addAllAggregations(java.lang.Iterable<? extends Aggregation> values)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder clearAggregations()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AlertPolicy.Condition.MetricAbsence.Builder removeAggregations(int index)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public Aggregation.Builder getAggregationsBuilder(int index)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public AggregationOrBuilder getAggregationsOrBuilder(int index)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
getAggregationsOrBuilder
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public java.util.List<? extends AggregationOrBuilder> getAggregationsOrBuilderList()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
getAggregationsOrBuilderList
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public Aggregation.Builder addAggregationsBuilder()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public Aggregation.Builder addAggregationsBuilder(int index)
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public java.util.List<Aggregation.Builder> getAggregationsBuilderList()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resrouces). Multiple aggregations are applied in the order specified. This field is similar to the one in the [`MetricService.ListTimeSeries` request](/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). It is advisable to use the `ListTimeSeries` method when debugging this field.
repeated .google.monitoring.v3.Aggregation aggregations = 5;
public boolean hasDuration()
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
hasDuration
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public Duration getDuration()
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
getDuration
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public AlertPolicy.Condition.MetricAbsence.Builder setDuration(Duration value)
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
public AlertPolicy.Condition.MetricAbsence.Builder setDuration(Duration.Builder builderForValue)
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
public AlertPolicy.Condition.MetricAbsence.Builder mergeDuration(Duration value)
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
public AlertPolicy.Condition.MetricAbsence.Builder clearDuration()
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
public Duration.Builder getDurationBuilder()
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
public DurationOrBuilder getDurationOrBuilder()
The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. The `Duration.nanos` field is ignored.
.google.protobuf.Duration duration = 2;
getDurationOrBuilder
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public boolean hasTrigger()
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
hasTrigger
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public AlertPolicy.Condition.Trigger getTrigger()
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
getTrigger
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public AlertPolicy.Condition.MetricAbsence.Builder setTrigger(AlertPolicy.Condition.Trigger value)
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
public AlertPolicy.Condition.MetricAbsence.Builder setTrigger(AlertPolicy.Condition.Trigger.Builder builderForValue)
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
public AlertPolicy.Condition.MetricAbsence.Builder mergeTrigger(AlertPolicy.Condition.Trigger value)
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
public AlertPolicy.Condition.MetricAbsence.Builder clearTrigger()
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
public AlertPolicy.Condition.Trigger.Builder getTriggerBuilder()
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
public AlertPolicy.Condition.TriggerOrBuilder getTriggerOrBuilder()
The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by `filter` and `aggregations`.
.google.monitoring.v3.AlertPolicy.Condition.Trigger trigger = 3;
getTriggerOrBuilder
in interface AlertPolicy.Condition.MetricAbsenceOrBuilder
public final AlertPolicy.Condition.MetricAbsence.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>
public final AlertPolicy.Condition.MetricAbsence.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AlertPolicy.Condition.MetricAbsence.Builder>