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.Builder
addAllNotificationChannelStrategy(Iterable<? extends AlertPolicy.AlertStrategy.NotificationChannelStrategy> values)
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.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(AlertPolicy.AlertStrategy.NotificationChannelStrategy value)
Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.Builder
addNotificationChannelStrategy(AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
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
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 alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.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
clearNotificationRateLimit()
Required for alert 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 alert policy that was active has no data for this long, any open incidents will closecom.google.protobuf.Duration.Builder
getAutoCloseBuilder()
If an alert policy that was active has no data for this long, any open incidents will closecom.google.protobuf.DurationOrBuilder
getAutoCloseOrBuilder()
If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.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.NotificationRateLimit
getNotificationRateLimit()
Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.NotificationRateLimit.Builder
getNotificationRateLimitBuilder()
Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.NotificationRateLimitOrBuilder
getNotificationRateLimitOrBuilder()
Required for alert policies with a `LogMatch` condition.boolean
hasAutoClose()
If an alert policy that was active has no data for this long, any open incidents will closeboolean
hasNotificationRateLimit()
Required for alert 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 alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.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 alert 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 value)
If an alert policy that was active has no data for this long, any open incidents will closeAlertPolicy.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 closeAlertPolicy.AlertStrategy.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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
setNotificationChannelStrategy(int index, AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder builderForValue)
Control how notifications will be sent out, on a per-channel basis.AlertPolicy.AlertStrategy.Builder
setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit value)
Required for alert policies with a `LogMatch` condition.AlertPolicy.AlertStrategy.Builder
setNotificationRateLimit(AlertPolicy.AlertStrategy.NotificationRateLimit.Builder builderForValue)
Required for alert 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)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clear
public AlertPolicy.AlertStrategy.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
getDefaultInstanceForType
public AlertPolicy.AlertStrategy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlertPolicy.AlertStrategy build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlertPolicy.AlertStrategy buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlertPolicy.AlertStrategy.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
setField
public AlertPolicy.AlertStrategy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clearField
public AlertPolicy.AlertStrategy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
clearOneof
public AlertPolicy.AlertStrategy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
addRepeatedField
public AlertPolicy.AlertStrategy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeFrom
public AlertPolicy.AlertStrategy.Builder mergeFrom(AlertPolicy.AlertStrategy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasNotificationRateLimit
in 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:
getNotificationRateLimit
in 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:
getNotificationRateLimitOrBuilder
in 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:
hasAutoClose
in 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:
getAutoClose
in 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:
getAutoCloseOrBuilder
in 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:
getNotificationChannelStrategyList
in 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:
getNotificationChannelStrategyCount
in 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:
getNotificationChannelStrategy
in 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:
getNotificationChannelStrategyOrBuilder
in 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:
getNotificationChannelStrategyOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
mergeUnknownFields
public final AlertPolicy.AlertStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.Builder>
-
-