Enum Function.State (2.51.0)

publicenumFunction.StateextendsEnum<Function.State>implementsProtocolMessageEnum

Describes the current state of the function.

Protobuf enum google.cloud.functions.v2alpha.Function.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

Function has been successfully deployed and is serving.

ACTIVE = 1;

ACTIVE_VALUE

Function has been successfully deployed and is serving.

ACTIVE = 1;

DELETING

Function is being deleted.

DELETING = 4;

DELETING_VALUE

Function is being deleted.

DELETING = 4;

DEPLOYING

Function is being created or updated.

DEPLOYING = 3;

DEPLOYING_VALUE

Function is being created or updated.

DEPLOYING = 3;

FAILED

Function deployment failed and the function is not serving.

FAILED = 2;

FAILED_VALUE

Function deployment failed and the function is not serving.

FAILED = 2;

STATE_UNSPECIFIED

Not specified. Invalid state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Not specified. Invalid state.

STATE_UNSPECIFIED = 0;

UNKNOWN

Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.

UNKNOWN = 5;

UNKNOWN_VALUE

Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.

UNKNOWN = 5;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.