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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder> implements AlertPolicy.AlertStrategyOrBuilder
Control over how the notification channels in `notification_channels` are notified when this alert fires.
Protobuf typegoogle.monitoring.v3.AlertPolicy.AlertStrategy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertPolicy.AlertStrategy.BuilderaddAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderaddNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderaddNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderaddNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy value)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderaddNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.NotificationChannelStrategy.BuilderaddNotificationChannelStrategyBuilder()Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.NotificationChannelStrategy.BuilderaddNotificationChannelStrategyBuilder(int index)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlertPolicy.AlertStrategybuild()AlertPolicy.AlertStrategybuildPartial()AlertPolicy.AlertStrategy.Builderclear()AlertPolicy.AlertStrategy.BuilderclearAutoClose()If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.AlertStrategy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AlertPolicy.AlertStrategy.BuilderclearNotificationChannelStrategy()Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuilderclearNotificationRateLimit()Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AlertPolicy.AlertStrategy.Builderclone()com.google.protobuf.DurationgetAutoClose()If an alert policy that was active has no data for this long, any open incidents will closecom.google.protobuf.Duration.BuildergetAutoCloseBuilder()If an alert policy that was active has no data for this long, any open incidents will closecom.google.protobuf.DurationOrBuildergetAutoCloseOrBuilder()If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.AlertStrategygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AlertPolicy.AlertStrategy.NotificationChannelStrategygetNotificationChannelStrategy(int index)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.NotificationChannelStrategy.BuildergetNotificationChannelStrategyBuilder(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.intgetNotificationChannelStrategyCount()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.NotificationChannelStrategyOrBuildergetNotificationChannelStrategyOrBuilder(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.NotificationRateLimitgetNotificationRateLimit()Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.NotificationRateLimit.BuildergetNotificationRateLimitBuilder()Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuildergetNotificationRateLimitOrBuilder()Required for alert policies with a `LogMatch` condition.booleanhasAutoClose()If an alert policy that was active has no data for this long, any open incidents will closebooleanhasNotificationRateLimit()Required for alert policies with a `LogMatch` condition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AlertPolicy.AlertStrategy.BuildermergeAutoClose(com.google.protobuf.Duration value)If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.AlertStrategy.BuildermergeFrom(AlertPolicy.AlertStrategy other)AlertPolicy.AlertStrategy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AlertPolicy.AlertStrategy.BuildermergeFrom(com.google.protobuf.Message other)AlertPolicy.AlertStrategy.BuildermergeNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AlertPolicy.AlertStrategy.BuilderremoveNotificationChannelStrategy(int index)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuildersetAutoClose(com.google.protobuf.Duration value)If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.AlertStrategy.BuildersetAutoClose(com.google.protobuf.Duration.Builder builderForValue)If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.AlertStrategy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlertPolicy.AlertStrategy.BuildersetNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy value)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuildersetNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.BuildersetNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.BuildersetNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AlertPolicy.AlertStrategy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
getDefaultInstanceForType
public AlertPolicy.AlertStrategy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlertPolicy.AlertStrategy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlertPolicy.AlertStrategy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlertPolicy.AlertStrategy.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
setField
public AlertPolicy.AlertStrategy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clearField
public AlertPolicy.AlertStrategy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clearOneof
public AlertPolicy.AlertStrategy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
setRepeatedField
public AlertPolicy.AlertStrategy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
addRepeatedField
public AlertPolicy.AlertStrategy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.Builder mergeFrom(AlertPolicy.AlertStrategy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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 alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;- Specified by:
hasNotificationRateLimitin interfaceAlertPolicy.AlertStrategyOrBuilder- Returns:
- Whether the notificationRateLimit field is set.
-
getNotificationRateLimit
public AlertPolicy.AlertStrategy.NotificationRateLimit getNotificationRateLimit()
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.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 alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
-
setNotificationRateLimit
public AlertPolicy.AlertStrategy.Builder setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
-
mergeNotificationRateLimit
public AlertPolicy.AlertStrategy.Builder mergeNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
-
clearNotificationRateLimit
public AlertPolicy.AlertStrategy.Builder clearNotificationRateLimit()
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
-
getNotificationRateLimitBuilder
public AlertPolicy.AlertStrategy.NotificationRateLimit.Builder getNotificationRateLimitBuilder()
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;
-
getNotificationRateLimitOrBuilder
public AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder getNotificationRateLimitOrBuilder()
Required for alert policies with a `LogMatch` condition. This limit is not implemented for alert policies that are not log-based.
.google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationRateLimit notification_rate_limit = 1;- Specified by:
getNotificationRateLimitOrBuilderin interfaceAlertPolicy.AlertStrategyOrBuilder
-
hasAutoClose
public boolean hasAutoClose()
If an alert 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 alert 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
public AlertPolicy.AlertStrategy.Builder setAutoClose(com.google.protobuf.Duration value)
If an alert 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 alert policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;
-
mergeAutoClose
public AlertPolicy.AlertStrategy.Builder mergeAutoClose(com.google.protobuf.Duration value)
If an alert policy that was active has no data for this long, any open incidents will close
.google.protobuf.Duration auto_close = 3;
-
clearAutoClose
public AlertPolicy.AlertStrategy.Builder clearAutoClose()
If an alert 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 alert 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 alert 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
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;
-
removeNotificationChannelStrategy
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;
-
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;
-
setUnknownFields
public final AlertPolicy.AlertStrategy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeUnknownFields
public final AlertPolicy.AlertStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
-