Package com.google.monitoring.v3
Class AlertPolicy.AlertStrategy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.Builder>
com.google.monitoring.v3.AlertPolicy.AlertStrategy.Builder
- All Implemented Interfaces:
AlertPolicy.AlertStrategyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AlertPolicy.AlertStrategy
public static final class AlertPolicy.AlertStrategy.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values) Control how notifications will be sent out, on a per-channel basis.addAllNotificationPrompts(Iterable<? extends AlertPolicy.AlertStrategy.NotificationPrompt> values) For log-based alert policies, the notification prompts is always [OPENED].For log-based alert policies, the notification prompts is always [OPENED].addNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value) Control how notifications will be sent out, on a per-channel basis.addNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue) Control how notifications will be sent out, on a per-channel basis.Control how notifications will be sent out, on a per-channel basis.addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue) Control how notifications will be sent out, on a per-channel basis.Control how notifications will be sent out, on a per-channel basis.addNotificationChannelStrategyBuilder(int index) Control how notifications will be sent out, on a per-channel basis.For log-based alert policies, the notification prompts is always [OPENED].addNotificationPromptsValue(int value) For log-based alert policies, the notification prompts is always [OPENED].build()clear()If an alerting policy that was active has no data for this long, any open incidents will closeControl how notifications will be sent out, on a per-channel basis.For log-based alert policies, the notification prompts is always [OPENED].Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.com.google.protobuf.DurationIf an alerting policy that was active has no data for this long, any open incidents will closecom.google.protobuf.Duration.BuilderIf an alerting policy that was active has no data for this long, any open incidents will closecom.google.protobuf.DurationOrBuilderIf an alerting policy that was active has no data for this long, any open incidents will closestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNotificationChannelStrategy(int index) Control how notifications will be sent out, on a per-channel basis.getNotificationChannelStrategyBuilder(int index) Control how notifications will be sent out, on a per-channel basis.Control how notifications will be sent out, on a per-channel basis.intControl how notifications will be sent out, on a per-channel basis.Control how notifications will be sent out, on a per-channel basis.getNotificationChannelStrategyOrBuilder(int index) Control how notifications will be sent out, on a per-channel basis.Control how notifications will be sent out, on a per-channel basis.getNotificationPrompts(int index) For log-based alert policies, the notification prompts is always [OPENED].intFor log-based alert policies, the notification prompts is always [OPENED].For log-based alert policies, the notification prompts is always [OPENED].intgetNotificationPromptsValue(int index) For log-based alert policies, the notification prompts is always [OPENED].For log-based alert policies, the notification prompts is always [OPENED].Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.booleanIf an alerting policy that was active has no data for this long, any open incidents will closebooleanRequired for log-based alerting policies, i.e. policies with a `LogMatch` condition.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAutoClose(com.google.protobuf.Duration value) If an alerting policy that was active has no data for this long, any open incidents will closemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.removeNotificationChannelStrategy(int index) Control how notifications will be sent out, on a per-channel basis.setAutoClose(com.google.protobuf.Duration value) If an alerting policy that was active has no data for this long, any open incidents will closesetAutoClose(com.google.protobuf.Duration.Builder builderForValue) If an alerting policy that was active has no data for this long, any open incidents will closesetNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value) Control how notifications will be sent out, on a per-channel basis.setNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue) Control how notifications will be sent out, on a per-channel basis.setNotificationPrompts(int index, AlertPolicy.AlertStrategy.NotificationPrompt value) For log-based alert policies, the notification prompts is always [OPENED].setNotificationPromptsValue(int index, int value) For log-based alert policies, the notification prompts is always [OPENED].Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.Required for log-based alerting policies, i.e. policies with a `LogMatch` condition.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.Builder>- Throws:
IOException
-
hasNotificationRateLimit
public 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;- Specified by:
hasNotificationRateLimitin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- Whether the notificationRateLimit field is set.
-
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;- Specified by:
getNotificationRateLimitin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- The notificationRateLimit.
-
setNotificationRateLimit
public 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; -
setNotificationRateLimit
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; -
mergeNotificationRateLimit
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; -
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; -
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; -
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;- Specified by:
getNotificationRateLimitOrBuilderin interfaceAlertPolicy.AlertStrategyOrBuilder
-
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;- Specified by:
getNotificationPromptsListin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- A list containing the notificationPrompts.
-
getNotificationPromptsCount
public 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;- Specified by:
getNotificationPromptsCountin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- The count of notificationPrompts.
-
getNotificationPrompts
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;- Specified by:
getNotificationPromptsin interfaceAlertPolicy.AlertStrategyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationPrompts at the given index.
-
setNotificationPrompts
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;- Parameters:
index- The index to set the value at.value- The notificationPrompts to set.- Returns:
- This builder for chaining.
-
addNotificationPrompts
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;- Parameters:
value- The notificationPrompts to add.- Returns:
- This builder for chaining.
-
addAllNotificationPrompts
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;- Parameters:
values- The notificationPrompts to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getNotificationPromptsValueListin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- A list containing the enum numeric values on the wire for notificationPrompts.
-
getNotificationPromptsValue
public 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;- Specified by:
getNotificationPromptsValuein interfaceAlertPolicy.AlertStrategyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of notificationPrompts at the given index.
-
setNotificationPromptsValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for notificationPrompts to set.- Returns:
- This builder for chaining.
-
addNotificationPromptsValue
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;- Parameters:
value- The enum numeric value on the wire for notificationPrompts to add.- Returns:
- This builder for chaining.
-
addAllNotificationPromptsValue
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;- Parameters:
values- The enum numeric values on the wire for notificationPrompts to add.- Returns:
- This builder for chaining.
-
hasAutoClose
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;- Specified by:
hasAutoClosein interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- Whether the autoClose field is set.
-
getAutoClose
public 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;- Specified by:
getAutoClosein interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- The autoClose.
-
setAutoClose
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3; -
setAutoClose
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; -
mergeAutoClose
If an alerting policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3; -
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; -
getAutoCloseBuilder
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; -
getAutoCloseOrBuilder
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;- Specified by:
getAutoCloseOrBuilderin interfaceAlertPolicy.AlertStrategyOrBuilder
-
getNotificationChannelStrategyList
public 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;- Specified by:
getNotificationChannelStrategyListin interfaceAlertPolicy.AlertStrategyOrBuilder
-
getNotificationChannelStrategyCount
public 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;- Specified by:
getNotificationChannelStrategyCountin interfaceAlertPolicy.AlertStrategyOrBuilder
-
getNotificationChannelStrategy
public 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;- Specified by:
getNotificationChannelStrategyin interfaceAlertPolicy.AlertStrategyOrBuilder
-
setNotificationChannelStrategy
public 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; -
setNotificationChannelStrategy
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; -
addNotificationChannelStrategy
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; -
addNotificationChannelStrategy
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; -
addNotificationChannelStrategy
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; -
addNotificationChannelStrategy
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; -
addAllNotificationChannelStrategy
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; -
clearNotificationChannelStrategy
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4; -
removeNotificationChannelStrategy
Control how notifications will be sent out, on a per-channel basis.
repeated .google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy notification_channel_strategy = 4; -
getNotificationChannelStrategyBuilder
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; -
getNotificationChannelStrategyOrBuilder
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;- Specified by:
getNotificationChannelStrategyOrBuilderin interfaceAlertPolicy.AlertStrategyOrBuilder
-
getNotificationChannelStrategyOrBuilderList
public 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;- Specified by:
getNotificationChannelStrategyOrBuilderListin interfaceAlertPolicy.AlertStrategyOrBuilder
-
addNotificationChannelStrategyBuilder
public 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; -
addNotificationChannelStrategyBuilder
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; -
getNotificationChannelStrategyBuilderList
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;
-