public static final class AlertPolicy.AlertStrategy.NotificationChannelStrategy extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder
Control over how the notification channels in `notification_channels`
are notified when this alert fires, on a per-channel basis.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NOTIFICATION_CHANNEL_NAMES_FIELD_NUMBER |
static int |
RENOTIFY_INTERVAL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
getDefaultInstance() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.Parser<AlertPolicy.AlertStrategy.NotificationChannelStrategy> |
getParserForType() |
com.google.protobuf.Duration |
getRenotifyInterval()
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.
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasRenotifyInterval()
The frequency at which to send reminder notifications for open
incidents.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
newBuilder() |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
newBuilder(AlertPolicy.AlertStrategy.NotificationChannelStrategy prototype) |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
newBuilderForType() |
protected AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseDelimitedFrom(InputStream input) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(byte[] data) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(ByteBuffer data) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(com.google.protobuf.ByteString data) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(InputStream input) |
static AlertPolicy.AlertStrategy.NotificationChannelStrategy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AlertPolicy.AlertStrategy.NotificationChannelStrategy> |
parser() |
AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NOTIFICATION_CHANNEL_NAMES_FIELD_NUMBER
public static final int RENOTIFY_INTERVAL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(InputStream input) throws IOException
IOExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder newBuilder()
public static AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder newBuilder(AlertPolicy.AlertStrategy.NotificationChannelStrategy prototype)
public AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AlertPolicy.AlertStrategy.NotificationChannelStrategy getDefaultInstance()
public static com.google.protobuf.Parser<AlertPolicy.AlertStrategy.NotificationChannelStrategy> parser()
public com.google.protobuf.Parser<AlertPolicy.AlertStrategy.NotificationChannelStrategy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AlertPolicy.AlertStrategy.NotificationChannelStrategy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.