Package flyteidl.admin
Interface Common.NotificationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Common.Notification,Common.Notification.Builder
- Enclosing class:
- Common
public static interface Common.NotificationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Common.EmailNotificationgetEmail().flyteidl.admin.EmailNotification email = 2;Common.EmailNotificationOrBuildergetEmailOrBuilder().flyteidl.admin.EmailNotification email = 2;Common.PagerDutyNotificationgetPagerDuty().flyteidl.admin.PagerDutyNotification pager_duty = 3;Common.PagerDutyNotificationOrBuildergetPagerDutyOrBuilder().flyteidl.admin.PagerDutyNotification pager_duty = 3;Execution.WorkflowExecution.PhasegetPhases(int index)A list of phases to which users can associate the notifications to.intgetPhasesCount()A list of phases to which users can associate the notifications to.List<Execution.WorkflowExecution.Phase>getPhasesList()A list of phases to which users can associate the notifications to.intgetPhasesValue(int index)A list of phases to which users can associate the notifications to.List<Integer>getPhasesValueList()A list of phases to which users can associate the notifications to.Common.SlackNotificationgetSlack().flyteidl.admin.SlackNotification slack = 4;Common.SlackNotificationOrBuildergetSlackOrBuilder().flyteidl.admin.SlackNotification slack = 4;Common.Notification.TypeCasegetTypeCase()booleanhasEmail().flyteidl.admin.EmailNotification email = 2;booleanhasPagerDuty().flyteidl.admin.PagerDutyNotification pager_duty = 3;booleanhasSlack().flyteidl.admin.SlackNotification slack = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPhasesList
List<Execution.WorkflowExecution.Phase> getPhasesList()
A list of phases to which users can associate the notifications to. +required
repeated .flyteidl.core.WorkflowExecution.Phase phases = 1;- Returns:
- A list containing the phases.
-
getPhasesCount
int getPhasesCount()
A list of phases to which users can associate the notifications to. +required
repeated .flyteidl.core.WorkflowExecution.Phase phases = 1;- Returns:
- The count of phases.
-
getPhases
Execution.WorkflowExecution.Phase getPhases(int index)
A list of phases to which users can associate the notifications to. +required
repeated .flyteidl.core.WorkflowExecution.Phase phases = 1;- Parameters:
index- The index of the element to return.- Returns:
- The phases at the given index.
-
getPhasesValueList
List<Integer> getPhasesValueList()
A list of phases to which users can associate the notifications to. +required
repeated .flyteidl.core.WorkflowExecution.Phase phases = 1;- Returns:
- A list containing the enum numeric values on the wire for phases.
-
getPhasesValue
int getPhasesValue(int index)
A list of phases to which users can associate the notifications to. +required
repeated .flyteidl.core.WorkflowExecution.Phase phases = 1;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of phases at the given index.
-
hasEmail
boolean hasEmail()
.flyteidl.admin.EmailNotification email = 2;- Returns:
- Whether the email field is set.
-
getEmail
Common.EmailNotification getEmail()
.flyteidl.admin.EmailNotification email = 2;- Returns:
- The email.
-
getEmailOrBuilder
Common.EmailNotificationOrBuilder getEmailOrBuilder()
.flyteidl.admin.EmailNotification email = 2;
-
hasPagerDuty
boolean hasPagerDuty()
.flyteidl.admin.PagerDutyNotification pager_duty = 3;- Returns:
- Whether the pagerDuty field is set.
-
getPagerDuty
Common.PagerDutyNotification getPagerDuty()
.flyteidl.admin.PagerDutyNotification pager_duty = 3;- Returns:
- The pagerDuty.
-
getPagerDutyOrBuilder
Common.PagerDutyNotificationOrBuilder getPagerDutyOrBuilder()
.flyteidl.admin.PagerDutyNotification pager_duty = 3;
-
hasSlack
boolean hasSlack()
.flyteidl.admin.SlackNotification slack = 4;- Returns:
- Whether the slack field is set.
-
getSlack
Common.SlackNotification getSlack()
.flyteidl.admin.SlackNotification slack = 4;- Returns:
- The slack.
-
getSlackOrBuilder
Common.SlackNotificationOrBuilder getSlackOrBuilder()
.flyteidl.admin.SlackNotification slack = 4;
-
getTypeCase
Common.Notification.TypeCase getTypeCase()
-
-