public static final class AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder> implements AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder
Control over how the notification channels in `notification_channels` are notified when this alert fires, on a per-channel basis.Protobuf type
google.monitoring.v3.AlertPolicy.AlertStrategy.NotificationChannelStrategy| Modifier and Type | Method and Description |
|---|---|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addAllNotificationChannelNames(Iterable<String> values)
The full REST resource name for the notification channels that these
settings apply to.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addNotificationChannelNames(String value)
The full REST resource name for the notification channels that these
settings apply to.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addNotificationChannelNamesBytes(com.google.protobuf.ByteString value)
The full REST resource name for the notification channels that these
settings apply to.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
build() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
buildPartial() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clear() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clearNotificationChannelNames()
The full REST resource name for the notification channels that these
settings apply to.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clearRenotifyInterval()
The frequency at which to send reminder notifications for open
incidents.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
clone() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNotificationChannelNames(int index)
The full REST resource name for the notification channels that these
settings apply to.
|
com.google.protobuf.ByteString |
getNotificationChannelNamesBytes(int index)
The full REST resource name for the notification channels that these
settings apply to.
|
int |
getNotificationChannelNamesCount()
The full REST resource name for the notification channels that these
settings apply to.
|
com.google.protobuf.ProtocolStringList |
getNotificationChannelNamesList()
The full REST resource name for the notification channels that these
settings apply to.
|
com.google.protobuf.Duration |
getRenotifyInterval()
The frequency at which to send reminder notifications for open
incidents.
|
com.google.protobuf.Duration.Builder |
getRenotifyIntervalBuilder()
The frequency at which to send reminder notifications for open
incidents.
|
com.google.protobuf.DurationOrBuilder |
getRenotifyIntervalOrBuilder()
The frequency at which to send reminder notifications for open
incidents.
|
boolean |
hasRenotifyInterval()
The frequency at which to send reminder notifications for open
incidents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
mergeFrom(AlertPolicy.AlertStrategy.NotificationChannelStrategy other) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
mergeFrom(com.google.protobuf.Message other) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
mergeRenotifyInterval(com.google.protobuf.Duration value)
The frequency at which to send reminder notifications for open
incidents.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
setNotificationChannelNames(int index,
String value)
The full REST resource name for the notification channels that these
settings apply to.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
setRenotifyInterval(com.google.protobuf.Duration.Builder builderForValue)
The frequency at which to send reminder notifications for open
incidents.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
setRenotifyInterval(com.google.protobuf.Duration value)
The frequency at which to send reminder notifications for open
incidents.
|
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder mergeFrom(AlertPolicy.AlertStrategy.NotificationChannelStrategy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder>public AlertPolicy.AlertStrategy.NotificationChannelStrategy.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.NotificationChannelStrategy.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getNotificationChannelNamesList()
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;getNotificationChannelNamesList in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderpublic int getNotificationChannelNamesCount()
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;getNotificationChannelNamesCount in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderpublic String getNotificationChannelNames(int index)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;getNotificationChannelNames in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNotificationChannelNamesBytes(int index)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;getNotificationChannelNamesBytes in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderindex - The index of the value to return.public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder setNotificationChannelNames(int index, String value)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;index - The index to set the value at.value - The notificationChannelNames to set.public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder addNotificationChannelNames(String value)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;value - The notificationChannelNames to add.public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder addAllNotificationChannelNames(Iterable<String> values)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;values - The notificationChannelNames to add.public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder clearNotificationChannelNames()
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder addNotificationChannelNamesBytes(com.google.protobuf.ByteString value)
The full REST resource name for the notification channels that these
settings apply to. Each of these correspond to the name field in one
of the NotificationChannel objects referenced in the
notification_channels field of this AlertPolicy.
The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]
repeated string notification_channel_names = 1;value - The bytes of the notificationChannelNames to add.public boolean hasRenotifyInterval()
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;hasRenotifyInterval in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderpublic com.google.protobuf.Duration getRenotifyInterval()
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;getRenotifyInterval in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder setRenotifyInterval(com.google.protobuf.Duration value)
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder setRenotifyInterval(com.google.protobuf.Duration.Builder builderForValue)
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder mergeRenotifyInterval(com.google.protobuf.Duration value)
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder clearRenotifyInterval()
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;public com.google.protobuf.Duration.Builder getRenotifyIntervalBuilder()
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;public com.google.protobuf.DurationOrBuilder getRenotifyIntervalOrBuilder()
The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;getRenotifyIntervalOrBuilder in interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilderpublic final AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder>public final AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder>Copyright © 2025 Google LLC. All rights reserved.