Package com.google.monitoring.v3
Interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlertPolicy.AlertStrategy.NotificationChannelStrategy,AlertPolicy.AlertStrategy.NotificationChannelStrategy.Builder
- Enclosing class:
- AlertPolicy.AlertStrategy
public static interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetNotificationChannelNames(int index) The full REST resource name for the notification channels that these settings apply to.com.google.protobuf.ByteStringgetNotificationChannelNamesBytes(int index) The full REST resource name for the notification channels that these settings apply to.intThe full REST resource name for the notification channels that these settings apply to.The full REST resource name for the notification channels that these settings apply to.com.google.protobuf.DurationThe frequency at which to send reminder notifications for open incidents.com.google.protobuf.DurationOrBuilderThe frequency at which to send reminder notifications for open incidents.booleanThe frequency at which to send reminder notifications for open incidents.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;- Returns:
- A list containing the notificationChannelNames.
-
getNotificationChannelNamesCount
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;- Returns:
- The count of notificationChannelNames.
-
getNotificationChannelNames
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;- Parameters:
index- The index of the element to return.- Returns:
- The notificationChannelNames at the given index.
-
getNotificationChannelNamesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationChannelNames at the given index.
-
hasRenotifyInterval
boolean hasRenotifyInterval()The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;- Returns:
- Whether the renotifyInterval field is set.
-
getRenotifyInterval
com.google.protobuf.Duration getRenotifyInterval()The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;- Returns:
- The renotifyInterval.
-
getRenotifyIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getRenotifyIntervalOrBuilder()The frequency at which to send reminder notifications for open incidents.
.google.protobuf.Duration renotify_interval = 2;
-