public static final class AlertPolicy.Condition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder> implements AlertPolicy.ConditionOrBuilder
A condition is a true/false test that determines when an alerting policy should open an incident. If a condition evaluates to true, it signifies that something is wrong.Protobuf type
google.monitoring.v3.AlertPolicy.Condition| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.Condition.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.Condition |
build() |
AlertPolicy.Condition |
buildPartial() |
AlertPolicy.Condition.Builder |
clear() |
AlertPolicy.Condition.Builder |
clearCondition() |
AlertPolicy.Condition.Builder |
clearConditionAbsent()
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.Builder |
clearConditionMatchedLog()
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.Builder |
clearConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.Builder |
clearConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.Builder |
clearConditionThreshold()
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.Builder |
clearDisplayName()
A short name or phrase used to identify the condition in dashboards,
notifications, and incidents.
|
AlertPolicy.Condition.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlertPolicy.Condition.Builder |
clearName()
Required if the condition exists.
|
AlertPolicy.Condition.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlertPolicy.Condition.Builder |
clone() |
AlertPolicy.Condition.MetricAbsence |
getConditionAbsent()
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.MetricAbsence.Builder |
getConditionAbsentBuilder()
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.MetricAbsenceOrBuilder |
getConditionAbsentOrBuilder()
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.ConditionCase |
getConditionCase() |
AlertPolicy.Condition.LogMatch |
getConditionMatchedLog()
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.LogMatch.Builder |
getConditionMatchedLogBuilder()
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.LogMatchOrBuilder |
getConditionMatchedLogOrBuilder()
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.MonitoringQueryLanguageCondition |
getConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder |
getConditionMonitoringQueryLanguageBuilder()
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder |
getConditionMonitoringQueryLanguageOrBuilder()
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.PrometheusQueryLanguageCondition |
getConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.PrometheusQueryLanguageCondition.Builder |
getConditionPrometheusQueryLanguageBuilder()
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.PrometheusQueryLanguageConditionOrBuilder |
getConditionPrometheusQueryLanguageOrBuilder()
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.MetricThreshold |
getConditionThreshold()
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.MetricThreshold.Builder |
getConditionThresholdBuilder()
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.MetricThresholdOrBuilder |
getConditionThresholdOrBuilder()
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
A short name or phrase used to identify the condition in dashboards,
notifications, and incidents.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
A short name or phrase used to identify the condition in dashboards,
notifications, and incidents.
|
String |
getName()
Required if the condition exists.
|
com.google.protobuf.ByteString |
getNameBytes()
Required if the condition exists.
|
boolean |
hasConditionAbsent()
A condition that checks that a time series continues to
receive new data points.
|
boolean |
hasConditionMatchedLog()
A condition that checks for log messages matching given constraints.
|
boolean |
hasConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define
alerts.
|
boolean |
hasConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
|
boolean |
hasConditionThreshold()
A condition that compares a time series against a threshold.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AlertPolicy.Condition.Builder |
mergeConditionAbsent(AlertPolicy.Condition.MetricAbsence value)
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.Builder |
mergeConditionMatchedLog(AlertPolicy.Condition.LogMatch value)
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.Builder |
mergeConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition value)
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.Builder |
mergeConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition value)
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.Builder |
mergeConditionThreshold(AlertPolicy.Condition.MetricThreshold value)
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.Builder |
mergeFrom(AlertPolicy.Condition other) |
AlertPolicy.Condition.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlertPolicy.Condition.Builder |
mergeFrom(com.google.protobuf.Message other) |
AlertPolicy.Condition.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AlertPolicy.Condition.Builder |
setConditionAbsent(AlertPolicy.Condition.MetricAbsence.Builder builderForValue)
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.Builder |
setConditionAbsent(AlertPolicy.Condition.MetricAbsence value)
A condition that checks that a time series continues to
receive new data points.
|
AlertPolicy.Condition.Builder |
setConditionMatchedLog(AlertPolicy.Condition.LogMatch.Builder builderForValue)
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.Builder |
setConditionMatchedLog(AlertPolicy.Condition.LogMatch value)
A condition that checks for log messages matching given constraints.
|
AlertPolicy.Condition.Builder |
setConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder builderForValue)
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.Builder |
setConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition value)
A condition that uses the Monitoring Query Language to define
alerts.
|
AlertPolicy.Condition.Builder |
setConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition.Builder builderForValue)
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.Builder |
setConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition value)
A condition that uses the Prometheus query language to define alerts.
|
AlertPolicy.Condition.Builder |
setConditionThreshold(AlertPolicy.Condition.MetricThreshold.Builder builderForValue)
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.Builder |
setConditionThreshold(AlertPolicy.Condition.MetricThreshold value)
A condition that compares a time series against a threshold.
|
AlertPolicy.Condition.Builder |
setDisplayName(String value)
A short name or phrase used to identify the condition in dashboards,
notifications, and incidents.
|
AlertPolicy.Condition.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
A short name or phrase used to identify the condition in dashboards,
notifications, and incidents.
|
AlertPolicy.Condition.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.Condition.Builder |
setName(String value)
Required if the condition exists.
|
AlertPolicy.Condition.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required if the condition exists.
|
AlertPolicy.Condition.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlertPolicy.Condition.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.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<AlertPolicy.Condition.Builder>public AlertPolicy.Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlertPolicy.Condition build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Condition buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.Condition.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.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<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.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<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.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<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.Builder mergeFrom(AlertPolicy.Condition other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>public AlertPolicy.Condition.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<AlertPolicy.Condition.Builder>IOExceptionpublic AlertPolicy.Condition.ConditionCase getConditionCase()
getConditionCase in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder clearCondition()
public String getName()
Required if the condition exists. The unique resource name for this
condition. Its format is:
projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
`[CONDITION_ID]` is assigned by Cloud Monitoring when the
condition is created as part of a new or updated alerting policy.
When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the conditions of the
requested alerting policy. Cloud Monitoring creates the
condition identifiers and includes them in the new policy.
When calling the
[alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
method to update a policy, including a condition `name` causes the
existing condition to be updated. Conditions without names are added to
the updated policy. Existing conditions are deleted if they are not
updated.
Best practice is to preserve `[CONDITION_ID]` if you make only small
changes, such as those to condition thresholds, durations, or trigger
values. Otherwise, treat the change as a new condition and let the
existing condition be deleted.
string name = 12;getName in interface AlertPolicy.ConditionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required if the condition exists. The unique resource name for this
condition. Its format is:
projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
`[CONDITION_ID]` is assigned by Cloud Monitoring when the
condition is created as part of a new or updated alerting policy.
When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the conditions of the
requested alerting policy. Cloud Monitoring creates the
condition identifiers and includes them in the new policy.
When calling the
[alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
method to update a policy, including a condition `name` causes the
existing condition to be updated. Conditions without names are added to
the updated policy. Existing conditions are deleted if they are not
updated.
Best practice is to preserve `[CONDITION_ID]` if you make only small
changes, such as those to condition thresholds, durations, or trigger
values. Otherwise, treat the change as a new condition and let the
existing condition be deleted.
string name = 12;getNameBytes in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setName(String value)
Required if the condition exists. The unique resource name for this
condition. Its format is:
projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
`[CONDITION_ID]` is assigned by Cloud Monitoring when the
condition is created as part of a new or updated alerting policy.
When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the conditions of the
requested alerting policy. Cloud Monitoring creates the
condition identifiers and includes them in the new policy.
When calling the
[alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
method to update a policy, including a condition `name` causes the
existing condition to be updated. Conditions without names are added to
the updated policy. Existing conditions are deleted if they are not
updated.
Best practice is to preserve `[CONDITION_ID]` if you make only small
changes, such as those to condition thresholds, durations, or trigger
values. Otherwise, treat the change as a new condition and let the
existing condition be deleted.
string name = 12;value - The name to set.public AlertPolicy.Condition.Builder clearName()
Required if the condition exists. The unique resource name for this
condition. Its format is:
projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
`[CONDITION_ID]` is assigned by Cloud Monitoring when the
condition is created as part of a new or updated alerting policy.
When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the conditions of the
requested alerting policy. Cloud Monitoring creates the
condition identifiers and includes them in the new policy.
When calling the
[alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
method to update a policy, including a condition `name` causes the
existing condition to be updated. Conditions without names are added to
the updated policy. Existing conditions are deleted if they are not
updated.
Best practice is to preserve `[CONDITION_ID]` if you make only small
changes, such as those to condition thresholds, durations, or trigger
values. Otherwise, treat the change as a new condition and let the
existing condition be deleted.
string name = 12;public AlertPolicy.Condition.Builder setNameBytes(com.google.protobuf.ByteString value)
Required if the condition exists. The unique resource name for this
condition. Its format is:
projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
`[CONDITION_ID]` is assigned by Cloud Monitoring when the
condition is created as part of a new or updated alerting policy.
When calling the
[alertPolicies.create][google.monitoring.v3.AlertPolicyService.CreateAlertPolicy]
method, do not include the `name` field in the conditions of the
requested alerting policy. Cloud Monitoring creates the
condition identifiers and includes them in the new policy.
When calling the
[alertPolicies.update][google.monitoring.v3.AlertPolicyService.UpdateAlertPolicy]
method to update a policy, including a condition `name` causes the
existing condition to be updated. Conditions without names are added to
the updated policy. Existing conditions are deleted if they are not
updated.
Best practice is to preserve `[CONDITION_ID]` if you make only small
changes, such as those to condition thresholds, durations, or trigger
values. Otherwise, treat the change as a new condition and let the
existing condition be deleted.
string name = 12;value - The bytes for name to set.public String getDisplayName()
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
string display_name = 6;getDisplayName in interface AlertPolicy.ConditionOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
string display_name = 6;getDisplayNameBytes in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setDisplayName(String value)
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
string display_name = 6;value - The displayName to set.public AlertPolicy.Condition.Builder clearDisplayName()
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
string display_name = 6;public AlertPolicy.Condition.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.
string display_name = 6;value - The bytes for displayName to set.public boolean hasConditionThreshold()
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
hasConditionThreshold in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.MetricThreshold getConditionThreshold()
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
getConditionThreshold in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setConditionThreshold(AlertPolicy.Condition.MetricThreshold value)
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
public AlertPolicy.Condition.Builder setConditionThreshold(AlertPolicy.Condition.MetricThreshold.Builder builderForValue)
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
public AlertPolicy.Condition.Builder mergeConditionThreshold(AlertPolicy.Condition.MetricThreshold value)
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
public AlertPolicy.Condition.Builder clearConditionThreshold()
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
public AlertPolicy.Condition.MetricThreshold.Builder getConditionThresholdBuilder()
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
public AlertPolicy.Condition.MetricThresholdOrBuilder getConditionThresholdOrBuilder()
A condition that compares a time series against a threshold.
.google.monitoring.v3.AlertPolicy.Condition.MetricThreshold condition_threshold = 1;
getConditionThresholdOrBuilder in interface AlertPolicy.ConditionOrBuilderpublic boolean hasConditionAbsent()
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
hasConditionAbsent in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.MetricAbsence getConditionAbsent()
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
getConditionAbsent in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setConditionAbsent(AlertPolicy.Condition.MetricAbsence value)
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
public AlertPolicy.Condition.Builder setConditionAbsent(AlertPolicy.Condition.MetricAbsence.Builder builderForValue)
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
public AlertPolicy.Condition.Builder mergeConditionAbsent(AlertPolicy.Condition.MetricAbsence value)
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
public AlertPolicy.Condition.Builder clearConditionAbsent()
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
public AlertPolicy.Condition.MetricAbsence.Builder getConditionAbsentBuilder()
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
public AlertPolicy.Condition.MetricAbsenceOrBuilder getConditionAbsentOrBuilder()
A condition that checks that a time series continues to receive new data points.
.google.monitoring.v3.AlertPolicy.Condition.MetricAbsence condition_absent = 2;
getConditionAbsentOrBuilder in interface AlertPolicy.ConditionOrBuilderpublic boolean hasConditionMatchedLog()
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
hasConditionMatchedLog in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.LogMatch getConditionMatchedLog()
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
getConditionMatchedLog in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setConditionMatchedLog(AlertPolicy.Condition.LogMatch value)
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
public AlertPolicy.Condition.Builder setConditionMatchedLog(AlertPolicy.Condition.LogMatch.Builder builderForValue)
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
public AlertPolicy.Condition.Builder mergeConditionMatchedLog(AlertPolicy.Condition.LogMatch value)
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
public AlertPolicy.Condition.Builder clearConditionMatchedLog()
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
public AlertPolicy.Condition.LogMatch.Builder getConditionMatchedLogBuilder()
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
public AlertPolicy.Condition.LogMatchOrBuilder getConditionMatchedLogOrBuilder()
A condition that checks for log messages matching given constraints. If set, no other conditions can be present.
.google.monitoring.v3.AlertPolicy.Condition.LogMatch condition_matched_log = 20;
getConditionMatchedLogOrBuilder in interface AlertPolicy.ConditionOrBuilderpublic boolean hasConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
hasConditionMonitoringQueryLanguage in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.MonitoringQueryLanguageCondition getConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
getConditionMonitoringQueryLanguage in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition value)
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
public AlertPolicy.Condition.Builder setConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder builderForValue)
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
public AlertPolicy.Condition.Builder mergeConditionMonitoringQueryLanguage(AlertPolicy.Condition.MonitoringQueryLanguageCondition value)
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
public AlertPolicy.Condition.Builder clearConditionMonitoringQueryLanguage()
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
public AlertPolicy.Condition.MonitoringQueryLanguageCondition.Builder getConditionMonitoringQueryLanguageBuilder()
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
public AlertPolicy.Condition.MonitoringQueryLanguageConditionOrBuilder getConditionMonitoringQueryLanguageOrBuilder()
A condition that uses the Monitoring Query Language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.MonitoringQueryLanguageCondition condition_monitoring_query_language = 19;
getConditionMonitoringQueryLanguageOrBuilder in interface AlertPolicy.ConditionOrBuilderpublic boolean hasConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
hasConditionPrometheusQueryLanguage in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.PrometheusQueryLanguageCondition getConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
getConditionPrometheusQueryLanguage in interface AlertPolicy.ConditionOrBuilderpublic AlertPolicy.Condition.Builder setConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition value)
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
public AlertPolicy.Condition.Builder setConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition.Builder builderForValue)
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
public AlertPolicy.Condition.Builder mergeConditionPrometheusQueryLanguage(AlertPolicy.Condition.PrometheusQueryLanguageCondition value)
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
public AlertPolicy.Condition.Builder clearConditionPrometheusQueryLanguage()
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
public AlertPolicy.Condition.PrometheusQueryLanguageCondition.Builder getConditionPrometheusQueryLanguageBuilder()
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
public AlertPolicy.Condition.PrometheusQueryLanguageConditionOrBuilder getConditionPrometheusQueryLanguageOrBuilder()
A condition that uses the Prometheus query language to define alerts.
.google.monitoring.v3.AlertPolicy.Condition.PrometheusQueryLanguageCondition condition_prometheus_query_language = 21;
getConditionPrometheusQueryLanguageOrBuilder in interface AlertPolicy.ConditionOrBuilderpublic final AlertPolicy.Condition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>public final AlertPolicy.Condition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.Condition.Builder>Copyright © 2023 Google LLC. All rights reserved.