public static final class AlertPolicy.AlertStrategy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder> implements AlertPolicy.AlertStrategyOrBuilder
Control over how the notification channels in `notification_channels` are notified when this alert fires.Protobuf type
google.monitoring.v3.AlertPolicy.AlertStrategy| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.AlertStrategy.Builder |
addAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
addAllNotificationPrompts(Iterable<? extends AlertPolicy.AlertStrategy.NotificationPrompt> values)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
addAllNotificationPromptsValue(Iterable<Integer> values)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
addNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
addNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addNotificationChannelStrategyBuilder()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addNotificationChannelStrategyBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
addNotificationPrompts(AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
addNotificationPromptsValue(int value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy |
build() |
AlertPolicy.AlertStrategy |
buildPartial() |
AlertPolicy.AlertStrategy.Builder |
clear() |
AlertPolicy.AlertStrategy.Builder |
clearAutoClose()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlertPolicy.AlertStrategy.Builder |
clearNotificationChannelStrategy()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
clearNotificationPrompts()
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
clearNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlertPolicy.AlertStrategy.Builder |
clone() |
com.google.protobuf.Duration |
getAutoClose()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
com.google.protobuf.Duration.Builder |
getAutoCloseBuilder()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
com.google.protobuf.DurationOrBuilder |
getAutoCloseOrBuilder()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
getNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
getNotificationChannelStrategyBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
|
List<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder> |
getNotificationChannelStrategyBuilderList()
Control how notifications will be sent out, on a per-channel basis.
|
int |
getNotificationChannelStrategyCount()
Control how notifications will be sent out, on a per-channel basis.
|
List<AlertPolicy.AlertStrategy.NotificationChannelStrategy> |
getNotificationChannelStrategyList()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder |
getNotificationChannelStrategyOrBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
|
List<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder> |
getNotificationChannelStrategyOrBuilderList()
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.NotificationPrompt |
getNotificationPrompts(int index)
For log-based alert policies, the notification prompts is always
[OPENED].
|
int |
getNotificationPromptsCount()
For log-based alert policies, the notification prompts is always
[OPENED].
|
List<AlertPolicy.AlertStrategy.NotificationPrompt> |
getNotificationPromptsList()
For log-based alert policies, the notification prompts is always
[OPENED].
|
int |
getNotificationPromptsValue(int index)
For log-based alert policies, the notification prompts is always
[OPENED].
|
List<Integer> |
getNotificationPromptsValueList()
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.NotificationRateLimit |
getNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.NotificationRateLimit.Builder |
getNotificationRateLimitBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder |
getNotificationRateLimitOrBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
boolean |
hasAutoClose()
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
boolean |
hasNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AlertPolicy.AlertStrategy.Builder |
mergeAutoClose(com.google.protobuf.Duration value)
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy.Builder |
mergeFrom(AlertPolicy.AlertStrategy other) |
AlertPolicy.AlertStrategy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlertPolicy.AlertStrategy.Builder |
mergeFrom(com.google.protobuf.Message other) |
AlertPolicy.AlertStrategy.Builder |
mergeNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AlertPolicy.AlertStrategy.Builder |
removeNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
setAutoClose(com.google.protobuf.Duration.Builder builderForValue)
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy.Builder |
setAutoClose(com.google.protobuf.Duration value)
If an alerting policy that was active has no data for this long, any open
incidents will close
.google.protobuf.Duration auto_close = 3; |
AlertPolicy.AlertStrategy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy.Builder |
setNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
setNotificationChannelStrategy(int index,
AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
|
AlertPolicy.AlertStrategy.Builder |
setNotificationPrompts(int index,
AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
setNotificationPromptsValue(int index,
int value)
For log-based alert policies, the notification prompts is always
[OPENED].
|
AlertPolicy.AlertStrategy.Builder |
setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch`
condition.
|
AlertPolicy.AlertStrategy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlertPolicy.AlertStrategy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.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.AlertStrategy.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.AlertStrategy.Builder>public AlertPolicy.AlertStrategy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlertPolicy.AlertStrategy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.AlertStrategy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.AlertStrategy.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.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.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.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.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.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.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.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.Builder mergeFrom(AlertPolicy.AlertStrategy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>public AlertPolicy.AlertStrategy.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.AlertStrategy.Builder>IOExceptionpublic boolean hasNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
hasNotificationRateLimit in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
getNotificationRateLimit in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.Builder setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
public AlertPolicy.AlertStrategy.Builder setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
public AlertPolicy.AlertStrategy.Builder mergeNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
public AlertPolicy.AlertStrategy.Builder clearNotificationRateLimit()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder getNotificationRateLimitBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
public AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder()
Required for log-based alerting policies, i.e. policies with a `LogMatch` condition. This limit is not implemented for alerting policies that do not have a LogMatch condition.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
getNotificationRateLimitOrBuilder in interface AlertPolicy.AlertStrategyOrBuilderpublic List<AlertPolicy.AlertStrategy.NotificationPrompt> getNotificationPromptsList()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
getNotificationPromptsList in interface AlertPolicy.AlertStrategyOrBuilderpublic int getNotificationPromptsCount()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
getNotificationPromptsCount in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.NotificationPrompt getNotificationPrompts(int index)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
getNotificationPrompts in interface AlertPolicy.AlertStrategyOrBuilderindex - The index of the element to return.public AlertPolicy.AlertStrategy.Builder setNotificationPrompts(int index, AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
index - The index to set the value at.value - The notificationPrompts to set.public AlertPolicy.AlertStrategy.Builder addNotificationPrompts(AlertPolicy.AlertStrategy.NotificationPrompt value)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
value - The notificationPrompts to add.public AlertPolicy.AlertStrategy.Builder addAllNotificationPrompts(Iterable<? extends AlertPolicy.AlertStrategy.NotificationPrompt> values)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
values - The notificationPrompts to add.public AlertPolicy.AlertStrategy.Builder clearNotificationPrompts()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
public List<Integer> getNotificationPromptsValueList()
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
getNotificationPromptsValueList in interface AlertPolicy.AlertStrategyOrBuilderpublic int getNotificationPromptsValue(int index)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
getNotificationPromptsValue in interface AlertPolicy.AlertStrategyOrBuilderindex - The index of the value to return.public AlertPolicy.AlertStrategy.Builder setNotificationPromptsValue(int index, int value)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
index - The index to set the value at.value - The enum numeric value on the wire for notificationPrompts to set.public AlertPolicy.AlertStrategy.Builder addNotificationPromptsValue(int value)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
value - The enum numeric value on the wire for notificationPrompts to add.public AlertPolicy.AlertStrategy.Builder addAllNotificationPromptsValue(Iterable<Integer> values)
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED].
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationPrompt notification_prompts = 2;
values - The enum numeric values on the wire for notificationPrompts to add.public boolean hasAutoClose()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;hasAutoClose in interface AlertPolicy.AlertStrategyOrBuilderpublic com.google.protobuf.Duration getAutoClose()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;getAutoClose in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.Builder setAutoClose(com.google.protobuf.Duration value)
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;public AlertPolicy.AlertStrategy.Builder setAutoClose(com.google.protobuf.Duration.Builder builderForValue)
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;public AlertPolicy.AlertStrategy.Builder mergeAutoClose(com.google.protobuf.Duration value)
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;public AlertPolicy.AlertStrategy.Builder clearAutoClose()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;public com.google.protobuf.Duration.Builder getAutoCloseBuilder()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;public com.google.protobuf.DurationOrBuilder getAutoCloseOrBuilder()
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;getAutoCloseOrBuilder in interface AlertPolicy.AlertStrategyOrBuilderpublic List<AlertPolicy.AlertStrategy.NotificationChannelStrategy> getNotificationChannelStrategyList()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
getNotificationChannelStrategyList in interface AlertPolicy.AlertStrategyOrBuilderpublic int getNotificationChannelStrategyCount()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
getNotificationChannelStrategyCount in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy getNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
getNotificationChannelStrategy in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.Builder setNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder setNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder addNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder addNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder addAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder clearNotificationChannelStrategy()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.Builder removeNotificationChannelStrategy(int index)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder getNotificationChannelStrategyBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder getNotificationChannelStrategyOrBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
getNotificationChannelStrategyOrBuilder in interface AlertPolicy.AlertStrategyOrBuilderpublic List<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder> getNotificationChannelStrategyOrBuilderList()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
getNotificationChannelStrategyOrBuilderList in interface AlertPolicy.AlertStrategyOrBuilderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder addNotificationChannelStrategyBuilder()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder addNotificationChannelStrategyBuilder(int index)
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public List<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder> getNotificationChannelStrategyBuilderList()
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4;
public final AlertPolicy.AlertStrategy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>public final AlertPolicy.AlertStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>Copyright © 2025 Google LLC. All rights reserved.