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_REGISTRYArtifact Regsitry StageBUILDBuild StageNAME_UNSPECIFIEDNot specified.SERVICEService StageSERVICE_ROLLBACKService Rollback StageTRIGGERTrigger StageTRIGGER_ROLLBACKTrigger Rollback StageUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intARTIFACT_REGISTRY_VALUEArtifact Regsitry Stagestatic intBUILD_VALUEBuild Stagestatic intNAME_UNSPECIFIED_VALUENot specified.static intSERVICE_ROLLBACK_VALUEService Rollback Stagestatic intSERVICE_VALUEService Stagestatic intTRIGGER_ROLLBACK_VALUETrigger Rollback Stagestatic intTRIGGER_VALUETrigger Stage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Stage.NameforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Stage.Name>internalGetValueMap()static Stage.NamevalueOf(int value)Deprecated.static Stage.NamevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Stage.NamevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-