Interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder (3.44.0)

public static interface AlertPolicy.AlertStrategy.NotificationChannelStrategyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNotificationChannelNames(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The notificationChannelNames at the given index.

getNotificationChannelNamesBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the notificationChannelNames at the given index.

getNotificationChannelNamesCount()

public abstract 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
Type Description
int

The count of notificationChannelNames.

getNotificationChannelNamesList()

public abstract List<String> 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
Type Description
List<String>

A list containing the notificationChannelNames.

getRenotifyInterval()

public abstract Duration getRenotifyInterval()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
Type Description
Duration

The renotifyInterval.

getRenotifyIntervalOrBuilder()

public abstract DurationOrBuilder getRenotifyIntervalOrBuilder()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
Type Description
DurationOrBuilder

hasRenotifyInterval()

public abstract boolean hasRenotifyInterval()

The frequency at which to send reminder notifications for open incidents.

.google.protobuf.Duration renotify_interval = 2;

Returns
Type Description
boolean

Whether the renotifyInterval field is set.