Enum Stage.Name
- java.lang.Object
-
- java.lang.Enum<Stage.Name>
-
- com.google.cloud.functions.v2alpha.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 enumgoogle.cloud.functions.v2alpha.Stage.Name
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARTIFACT_REGISTRY
Artifact Regsitry StageBUILD
Build StageNAME_UNSPECIFIED
Not specified.SERVICE
Service StageSERVICE_ROLLBACK
Service Rollback StageTRIGGER
Trigger StageTRIGGER_ROLLBACK
Trigger Rollback StageUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ARTIFACT_REGISTRY_VALUE
Artifact Regsitry Stagestatic int
BUILD_VALUE
Build Stagestatic int
NAME_UNSPECIFIED_VALUE
Not specified.static int
SERVICE_ROLLBACK_VALUE
Service Rollback Stagestatic int
SERVICE_VALUE
Service Stagestatic int
TRIGGER_ROLLBACK_VALUE
Trigger Rollback Stagestatic int
TRIGGER_VALUE
Trigger Stage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Stage.Name
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Stage.Name>
internalGetValueMap()
static Stage.Name
valueOf(int value)
Deprecated.static Stage.Name
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Stage.Name
valueOf(String name)
Returns the enum constant of this type with the specified name.static Stage.Name[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.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 nameNullPointerException
- if the argument is null
-
-