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 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.
      • hasPagerDuty

        boolean hasPagerDuty()
        .flyteidl.admin.PagerDutyNotification pager_duty = 3;
        Returns:
        Whether the pagerDuty field is set.
      • hasSlack

        boolean hasSlack()
        .flyteidl.admin.SlackNotification slack = 4;
        Returns:
        Whether the slack field is set.