public static enum Organization.State extends Enum<Organization.State> implements ProtocolMessageEnum
Organization lifecycle states.Protobuf enum
google.cloud.resourcemanager.v3.Organization.State
Enum Constant and Description |
---|
ACTIVE
The normal and active state.
|
DELETE_REQUESTED
The organization has been marked for deletion by the user.
|
STATE_UNSPECIFIED
Unspecified state.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_VALUE
The normal and active state.
|
static int |
DELETE_REQUESTED_VALUE
The organization has been marked for deletion by the user.
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified state.
|
Modifier and Type | Method and Description |
---|---|
static Organization.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Organization.State> |
internalGetValueMap() |
static Organization.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Organization.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Organization.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Organization.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Organization.State STATE_UNSPECIFIED
Unspecified state. This is only useful for distinguishing unset values.
STATE_UNSPECIFIED = 0;
public static final Organization.State ACTIVE
The normal and active state.
ACTIVE = 1;
public static final Organization.State DELETE_REQUESTED
The organization has been marked for deletion by the user.
DELETE_REQUESTED = 2;
public static final Organization.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state. This is only useful for distinguishing unset values.
STATE_UNSPECIFIED = 0;
public static final int ACTIVE_VALUE
The normal and active state.
ACTIVE = 1;
public static final int DELETE_REQUESTED_VALUE
The organization has been marked for deletion by the user.
DELETE_REQUESTED = 2;
public static Organization.State[] values()
for (Organization.State c : Organization.State.values()) System.out.println(c);
public static Organization.State 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Organization.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Organization.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Organization.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Organization.State valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.