public static enum Condition.RevisionReason extends Enum<Condition.RevisionReason> implements com.google.protobuf.ProtocolMessageEnum
Reasons specific to Revision resource.Protobuf enum
google.cloud.run.v2.Condition.RevisionReason| Enum Constant and Description |
|---|
ACTIVE_REVISION_LIMIT_REACHED
The maximum allowed number of active revisions has been reached.
|
CUSTOMIZED_PATH_RESPONSE_PENDING
Health check failed due to user error from customized path of the
container.
|
HEALTH_CHECK_CONTAINER_ERROR
There was a health check error.
|
HEALTH_CHECK_SKIPPED
A revision's container has no port specified since the revision is of a
manually scaled service with 0 instance count
HEALTH_CHECK_SKIPPED = 11; |
MIN_INSTANCES_NOT_PROVISIONED
A revision with min_instance_count > 0 was created and is reserved, but
it was not configured to serve traffic, so it's not live.
|
MIN_INSTANCES_WARMING
A revision with min_instance_count > 0 was created and is waiting for
enough instances to begin a traffic migration.
|
NO_DEPLOYMENT
There was no deployment defined.
|
PENDING
Revision in Pending state.
|
RECREATING
Revision is being recreated.
|
RESERVE
Revision is in Reserve state.
|
RETIRED
Revision is Retired.
|
RETIRING
Revision is being retired.
|
REVISION_REASON_UNDEFINED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_REVISION_LIMIT_REACHED_VALUE
The maximum allowed number of active revisions has been reached.
|
static int |
CUSTOMIZED_PATH_RESPONSE_PENDING_VALUE
Health check failed due to user error from customized path of the
container.
|
static int |
HEALTH_CHECK_CONTAINER_ERROR_VALUE
There was a health check error.
|
static int |
HEALTH_CHECK_SKIPPED_VALUE
A revision's container has no port specified since the revision is of a
manually scaled service with 0 instance count
HEALTH_CHECK_SKIPPED = 11; |
static int |
MIN_INSTANCES_NOT_PROVISIONED_VALUE
A revision with min_instance_count > 0 was created and is reserved, but
it was not configured to serve traffic, so it's not live.
|
static int |
MIN_INSTANCES_WARMING_VALUE
A revision with min_instance_count > 0 was created and is waiting for
enough instances to begin a traffic migration.
|
static int |
NO_DEPLOYMENT_VALUE
There was no deployment defined.
|
static int |
PENDING_VALUE
Revision in Pending state.
|
static int |
RECREATING_VALUE
Revision is being recreated.
|
static int |
RESERVE_VALUE
Revision is in Reserve state.
|
static int |
RETIRED_VALUE
Revision is Retired.
|
static int |
RETIRING_VALUE
Revision is being retired.
|
static int |
REVISION_REASON_UNDEFINED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static Condition.RevisionReason |
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<Condition.RevisionReason> |
internalGetValueMap() |
static Condition.RevisionReason |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Condition.RevisionReason |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Condition.RevisionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.RevisionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.RevisionReason REVISION_REASON_UNDEFINED
Default value.
REVISION_REASON_UNDEFINED = 0;public static final Condition.RevisionReason PENDING
Revision in Pending state.
PENDING = 1;public static final Condition.RevisionReason RESERVE
Revision is in Reserve state.
RESERVE = 2;public static final Condition.RevisionReason RETIRED
Revision is Retired.
RETIRED = 3;public static final Condition.RevisionReason RETIRING
Revision is being retired.
RETIRING = 4;public static final Condition.RevisionReason RECREATING
Revision is being recreated.
RECREATING = 5;public static final Condition.RevisionReason HEALTH_CHECK_CONTAINER_ERROR
There was a health check error.
HEALTH_CHECK_CONTAINER_ERROR = 6;public static final Condition.RevisionReason CUSTOMIZED_PATH_RESPONSE_PENDING
Health check failed due to user error from customized path of the container. System will retry.
CUSTOMIZED_PATH_RESPONSE_PENDING = 7;public static final Condition.RevisionReason MIN_INSTANCES_NOT_PROVISIONED
A revision with min_instance_count > 0 was created and is reserved, but it was not configured to serve traffic, so it's not live. This can also happen momentarily during traffic migration.
MIN_INSTANCES_NOT_PROVISIONED = 8;public static final Condition.RevisionReason ACTIVE_REVISION_LIMIT_REACHED
The maximum allowed number of active revisions has been reached.
ACTIVE_REVISION_LIMIT_REACHED = 9;public static final Condition.RevisionReason NO_DEPLOYMENT
There was no deployment defined. This value is no longer used, but Services created in older versions of the API might contain this value.
NO_DEPLOYMENT = 10;public static final Condition.RevisionReason HEALTH_CHECK_SKIPPED
A revision's container has no port specified since the revision is of a manually scaled service with 0 instance count
HEALTH_CHECK_SKIPPED = 11;public static final Condition.RevisionReason MIN_INSTANCES_WARMING
A revision with min_instance_count > 0 was created and is waiting for enough instances to begin a traffic migration.
MIN_INSTANCES_WARMING = 12;public static final Condition.RevisionReason UNRECOGNIZED
public static final int REVISION_REASON_UNDEFINED_VALUE
Default value.
REVISION_REASON_UNDEFINED = 0;public static final int PENDING_VALUE
Revision in Pending state.
PENDING = 1;public static final int RESERVE_VALUE
Revision is in Reserve state.
RESERVE = 2;public static final int RETIRED_VALUE
Revision is Retired.
RETIRED = 3;public static final int RETIRING_VALUE
Revision is being retired.
RETIRING = 4;public static final int RECREATING_VALUE
Revision is being recreated.
RECREATING = 5;public static final int HEALTH_CHECK_CONTAINER_ERROR_VALUE
There was a health check error.
HEALTH_CHECK_CONTAINER_ERROR = 6;public static final int CUSTOMIZED_PATH_RESPONSE_PENDING_VALUE
Health check failed due to user error from customized path of the container. System will retry.
CUSTOMIZED_PATH_RESPONSE_PENDING = 7;public static final int MIN_INSTANCES_NOT_PROVISIONED_VALUE
A revision with min_instance_count > 0 was created and is reserved, but it was not configured to serve traffic, so it's not live. This can also happen momentarily during traffic migration.
MIN_INSTANCES_NOT_PROVISIONED = 8;public static final int ACTIVE_REVISION_LIMIT_REACHED_VALUE
The maximum allowed number of active revisions has been reached.
ACTIVE_REVISION_LIMIT_REACHED = 9;public static final int NO_DEPLOYMENT_VALUE
There was no deployment defined. This value is no longer used, but Services created in older versions of the API might contain this value.
NO_DEPLOYMENT = 10;public static final int HEALTH_CHECK_SKIPPED_VALUE
A revision's container has no port specified since the revision is of a manually scaled service with 0 instance count
HEALTH_CHECK_SKIPPED = 11;public static final int MIN_INSTANCES_WARMING_VALUE
A revision with min_instance_count > 0 was created and is waiting for enough instances to begin a traffic migration.
MIN_INSTANCES_WARMING = 12;public static Condition.RevisionReason[] values()
for (Condition.RevisionReason c : Condition.RevisionReason.values()) System.out.println(c);
public static Condition.RevisionReason 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 Condition.RevisionReason valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Condition.RevisionReason forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Condition.RevisionReason> 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 Condition.RevisionReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.