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 StageProtobuf enum
google.cloud.functions.v2alpha.Stage.Name-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArtifact Regsitry StageBuild StageNot specified.Service StageService Rollback StageTrigger StageTrigger Rollback Stage -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intArtifact Regsitry Stagestatic final intBuild Stagestatic final intNot specified.static final intService Rollback Stagestatic final intService Stagestatic final intTrigger Rollback Stagestatic final intTrigger Stage -
Method Summary
Modifier and TypeMethodDescriptionstatic Stage.NameforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Stage.Name>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.NameReturns 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 Details
-
NAME_UNSPECIFIED
Not specified. Invalid name.
NAME_UNSPECIFIED = 0; -
ARTIFACT_REGISTRY
Artifact Regsitry Stage
ARTIFACT_REGISTRY = 1; -
BUILD
Build Stage
BUILD = 2; -
SERVICE
Service Stage
SERVICE = 3; -
TRIGGER
Trigger Stage
TRIGGER = 4; -
SERVICE_ROLLBACK
Service Rollback Stage
SERVICE_ROLLBACK = 5; -
TRIGGER_ROLLBACK
Trigger Rollback Stage
TRIGGER_ROLLBACK = 6; -
UNRECOGNIZED
-
-
Field Details
-
NAME_UNSPECIFIED_VALUE
public static final int NAME_UNSPECIFIED_VALUENot specified. Invalid name.
NAME_UNSPECIFIED = 0;- See Also:
-
ARTIFACT_REGISTRY_VALUE
public static final int ARTIFACT_REGISTRY_VALUEArtifact Regsitry Stage
ARTIFACT_REGISTRY = 1;- See Also:
-
BUILD_VALUE
public static final int BUILD_VALUEBuild Stage
BUILD = 2;- See Also:
-
SERVICE_VALUE
public static final int SERVICE_VALUEService Stage
SERVICE = 3;- See Also:
-
TRIGGER_VALUE
public static final int TRIGGER_VALUETrigger Stage
TRIGGER = 4;- See Also:
-
SERVICE_ROLLBACK_VALUE
public static final int SERVICE_ROLLBACK_VALUEService Rollback Stage
SERVICE_ROLLBACK = 5;- See Also:
-
TRIGGER_ROLLBACK_VALUE
public static final int TRIGGER_ROLLBACK_VALUETrigger Rollback Stage
TRIGGER_ROLLBACK = 6;- See Also:
-
-
Method Details
-
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
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.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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-