Enum Stage.Name

java.lang.Object
java.lang.Enum<Stage.Name>
com.google.cloud.functions.v2.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 Details

    • 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 Registry 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 Details

    • NAME_UNSPECIFIED_VALUE

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

      public static final int ARTIFACT_REGISTRY_VALUE
       Artifact Registry Stage
       
      ARTIFACT_REGISTRY = 1;
      See Also:
    • BUILD_VALUE

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

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

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

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

      public static final int TRIGGER_ROLLBACK_VALUE
       Trigger Rollback Stage
       
      TRIGGER_ROLLBACK = 6;
      See Also:
  • Method Details

    • values

      public static Stage.Name[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 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