Package com.google.iam.admin.v1
Enum Role.RoleLaunchStage
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Role.RoleLaunchStage>
- Enclosing class:
- Role
public static enum Role.RoleLaunchStage
extends Enum<Role.RoleLaunchStage>
implements com.google.protobuf.ProtocolMessageEnum
A stage representing a role's lifecycle phase.Protobuf enum
google.iam.admin.v1.Role.RoleLaunchStage-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe user has indicated this role is currently in an Alpha phase.The user has indicated this role is currently in a Beta phase.The user has indicated this role is being deprecated.This role is disabled and will not contribute permissions to any principals it is granted to in policies.The user has indicated this role is currently in an EAP phase.The user has indicated this role is generally available. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe user has indicated this role is currently in an Alpha phase.static final intThe user has indicated this role is currently in a Beta phase.static final intThe user has indicated this role is being deprecated.static final intThis role is disabled and will not contribute permissions to any principals it is granted to in policies.static final intThe user has indicated this role is currently in an EAP phase.static final intThe user has indicated this role is generally available. -
Method Summary
Modifier and TypeMethodDescriptionstatic Role.RoleLaunchStageforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Role.RoleLaunchStage>static Role.RoleLaunchStagevalueOf(int value) Deprecated.static Role.RoleLaunchStagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Role.RoleLaunchStageReturns the enum constant of this type with the specified name.static Role.RoleLaunchStage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALPHA
The user has indicated this role is currently in an Alpha phase. If this launch stage is selected, the `stage` field will not be included when requesting the definition for a given role.
ALPHA = 0; -
BETA
The user has indicated this role is currently in a Beta phase.
BETA = 1; -
GA
The user has indicated this role is generally available.
GA = 2; -
DEPRECATED
The user has indicated this role is being deprecated.
DEPRECATED = 4; -
DISABLED
This role is disabled and will not contribute permissions to any principals it is granted to in policies.
DISABLED = 5; -
EAP
The user has indicated this role is currently in an EAP phase.
EAP = 6; -
UNRECOGNIZED
-
-
Field Details
-
ALPHA_VALUE
public static final int ALPHA_VALUEThe user has indicated this role is currently in an Alpha phase. If this launch stage is selected, the `stage` field will not be included when requesting the definition for a given role.
ALPHA = 0;- See Also:
-
BETA_VALUE
public static final int BETA_VALUEThe user has indicated this role is currently in a Beta phase.
BETA = 1;- See Also:
-
GA_VALUE
public static final int GA_VALUEThe user has indicated this role is generally available.
GA = 2;- See Also:
-
DEPRECATED_VALUE
public static final int DEPRECATED_VALUEThe user has indicated this role is being deprecated.
DEPRECATED = 4;- See Also:
-
DISABLED_VALUE
public static final int DISABLED_VALUEThis role is disabled and will not contribute permissions to any principals it is granted to in policies.
DISABLED = 5;- See Also:
-
EAP_VALUE
public static final int EAP_VALUEThe user has indicated this role is currently in an EAP phase.
EAP = 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
public static Role.RoleLaunchStage 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
-