Enum Environment (2.13.0)

public enum Environment extends Enum<Environment> implements ProtocolMessageEnum

The environment the function is hosted on.

Protobuf enum google.cloud.functions.v2.Environment

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ENVIRONMENT_UNSPECIFIED

Unspecified

ENVIRONMENT_UNSPECIFIED = 0;

ENVIRONMENT_UNSPECIFIED_VALUE

Unspecified

ENVIRONMENT_UNSPECIFIED = 0;

GEN_1

Gen 1

GEN_1 = 1;

GEN_1_VALUE

Gen 1

GEN_1 = 1;

GEN_2

Gen 2

GEN_2 = 2;

GEN_2_VALUE

Gen 2

GEN_2 = 2;

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()