Enum Stage.Name

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Stage.Name>
    Enclosing class:
    Stage

    public static enum Stage.Name
    extends Enum<Stage.Name>
    implements com.google.protobuf.ProtocolMessageEnum
     Possible names for a Stage
     
    Protobuf enum google.cloud.functions.v2.Stage.Name
    • Enum Constant Detail

      • NAME_UNSPECIFIED

        public static final Stage.Name NAME_UNSPECIFIED
         Not specified. Invalid name.
         
        NAME_UNSPECIFIED = 0;
      • ARTIFACT_REGISTRY

        public static final Stage.Name ARTIFACT_REGISTRY
         Artifact Regsitry Stage
         
        ARTIFACT_REGISTRY = 1;
      • BUILD

        public static final Stage.Name BUILD
         Build Stage
         
        BUILD = 2;
      • SERVICE

        public static final Stage.Name SERVICE
         Service Stage
         
        SERVICE = 3;
      • TRIGGER

        public static final Stage.Name TRIGGER
         Trigger Stage
         
        TRIGGER = 4;
      • SERVICE_ROLLBACK

        public static final Stage.Name SERVICE_ROLLBACK
         Service Rollback Stage
         
        SERVICE_ROLLBACK = 5;
      • TRIGGER_ROLLBACK

        public static final Stage.Name TRIGGER_ROLLBACK
         Trigger Rollback Stage
         
        TRIGGER_ROLLBACK = 6;
      • UNRECOGNIZED

        public static final Stage.Name UNRECOGNIZED
    • Field Detail

      • NAME_UNSPECIFIED_VALUE

        public static final int NAME_UNSPECIFIED_VALUE
         Not specified. Invalid name.
         
        NAME_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • ARTIFACT_REGISTRY_VALUE

        public static final int ARTIFACT_REGISTRY_VALUE
         Artifact Regsitry Stage
         
        ARTIFACT_REGISTRY = 1;
        See Also:
        Constant Field Values
      • BUILD_VALUE

        public static final int BUILD_VALUE
         Build Stage
         
        BUILD = 2;
        See Also:
        Constant Field Values
      • SERVICE_VALUE

        public static final int SERVICE_VALUE
         Service Stage
         
        SERVICE = 3;
        See Also:
        Constant Field Values
      • TRIGGER_VALUE

        public static final int TRIGGER_VALUE
         Trigger Stage
         
        TRIGGER = 4;
        See Also:
        Constant Field Values
      • SERVICE_ROLLBACK_VALUE

        public static final int SERVICE_ROLLBACK_VALUE
         Service Rollback Stage
         
        SERVICE_ROLLBACK = 5;
        See Also:
        Constant Field Values
      • TRIGGER_ROLLBACK_VALUE

        public static final int TRIGGER_ROLLBACK_VALUE
         Trigger Rollback Stage
         
        TRIGGER_ROLLBACK = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Stage.Name[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Stage.Name c : Stage.Name.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Stage.Name valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Stage.Name valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static Stage.Name forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<Stage.Name> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Stage.Name valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null