public static enum Rollout.ApprovalState extends Enum<Rollout.ApprovalState> implements com.google.protobuf.ProtocolMessageEnum
Valid approval states of a `Rollout`.Protobuf enum
google.cloud.deploy.v1.Rollout.ApprovalState| Enum Constant and Description |
|---|
APPROVAL_STATE_UNSPECIFIED
The `Rollout` has an unspecified approval state.
|
APPROVED
The `Rollout` has been approved.
|
DOES_NOT_NEED_APPROVAL
The `Rollout` does not require approval.
|
NEEDS_APPROVAL
The `Rollout` requires approval.
|
REJECTED
The `Rollout` has been rejected.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPROVAL_STATE_UNSPECIFIED_VALUE
The `Rollout` has an unspecified approval state.
|
static int |
APPROVED_VALUE
The `Rollout` has been approved.
|
static int |
DOES_NOT_NEED_APPROVAL_VALUE
The `Rollout` does not require approval.
|
static int |
NEEDS_APPROVAL_VALUE
The `Rollout` requires approval.
|
static int |
REJECTED_VALUE
The `Rollout` has been rejected.
|
| Modifier and Type | Method and Description |
|---|---|
static Rollout.ApprovalState |
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<Rollout.ApprovalState> |
internalGetValueMap() |
static Rollout.ApprovalState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Rollout.ApprovalState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Rollout.ApprovalState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rollout.ApprovalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rollout.ApprovalState APPROVAL_STATE_UNSPECIFIED
The `Rollout` has an unspecified approval state.
APPROVAL_STATE_UNSPECIFIED = 0;public static final Rollout.ApprovalState NEEDS_APPROVAL
The `Rollout` requires approval.
NEEDS_APPROVAL = 1;public static final Rollout.ApprovalState DOES_NOT_NEED_APPROVAL
The `Rollout` does not require approval.
DOES_NOT_NEED_APPROVAL = 2;public static final Rollout.ApprovalState APPROVED
The `Rollout` has been approved.
APPROVED = 3;public static final Rollout.ApprovalState REJECTED
The `Rollout` has been rejected.
REJECTED = 4;public static final Rollout.ApprovalState UNRECOGNIZED
public static final int APPROVAL_STATE_UNSPECIFIED_VALUE
The `Rollout` has an unspecified approval state.
APPROVAL_STATE_UNSPECIFIED = 0;public static final int NEEDS_APPROVAL_VALUE
The `Rollout` requires approval.
NEEDS_APPROVAL = 1;public static final int DOES_NOT_NEED_APPROVAL_VALUE
The `Rollout` does not require approval.
DOES_NOT_NEED_APPROVAL = 2;public static final int APPROVED_VALUE
The `Rollout` has been approved.
APPROVED = 3;public static final int REJECTED_VALUE
The `Rollout` has been rejected.
REJECTED = 4;public static Rollout.ApprovalState[] values()
for (Rollout.ApprovalState c : Rollout.ApprovalState.values()) System.out.println(c);
public static Rollout.ApprovalState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Rollout.ApprovalState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Rollout.ApprovalState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Rollout.ApprovalState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Rollout.ApprovalState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.