Enum Function.State (2.17.0)

public enum Function.State extends Enum<Function.State> implements ProtocolMessageEnum

Describes the current state of the function.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()