public static enum Project.State extends Enum<Project.State> implements com.google.protobuf.ProtocolMessageEnum
Project lifecycle states.Protobuf enum
google.cloud.resourcemanager.v3.Project.State| Enum Constant and Description |
|---|
ACTIVE
The normal and active state.
|
DELETE_REQUESTED
The project has been marked for deletion by the user
(by invoking
[DeleteProject][google.cloud.resourcemanager.v3.Projects.DeleteProject])
or by the system (Google Cloud Platform).
|
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 project has been marked for deletion by the user
(by invoking
[DeleteProject][google.cloud.resourcemanager.v3.Projects.DeleteProject])
or by the system (Google Cloud Platform).
|
static int |
STATE_UNSPECIFIED_VALUE
Unspecified state.
|
| Modifier and Type | Method and Description |
|---|---|
static Project.State |
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<Project.State> |
internalGetValueMap() |
static Project.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Project.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Project.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.State STATE_UNSPECIFIED
Unspecified state. This is only used/useful for distinguishing unset values.
STATE_UNSPECIFIED = 0;public static final Project.State ACTIVE
The normal and active state.
ACTIVE = 1;public static final Project.State DELETE_REQUESTED
The project has been marked for deletion by the user (by invoking [DeleteProject][google.cloud.resourcemanager.v3.Projects.DeleteProject]) or by the system (Google Cloud Platform). This can generally be reversed by invoking [UndeleteProject] [google.cloud.resourcemanager.v3.Projects.UndeleteProject].
DELETE_REQUESTED = 2;public static final Project.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Unspecified state. This is only used/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 project has been marked for deletion by the user (by invoking [DeleteProject][google.cloud.resourcemanager.v3.Projects.DeleteProject]) or by the system (Google Cloud Platform). This can generally be reversed by invoking [UndeleteProject] [google.cloud.resourcemanager.v3.Projects.UndeleteProject].
DELETE_REQUESTED = 2;public static Project.State[] values()
for (Project.State c : Project.State.values()) System.out.println(c);
public static Project.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Project.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Project.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Project.State> 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 Project.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.