Environment

enum Environment : ProtocolMessageEnum
Enumerates application environment types.
Protobuf enum elide.app.Environment

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val DEV_VALUE: Int = 0
Development environments which are considered ephemeral.
DEV = 0;
Link copied to clipboard
val LIVE_VALUE: Int = 3
Live deployments which serve production traffic.
LIVE = 3;
Link copied to clipboard
val SPARE_VALUE: Int = 2
Spare live environments which are considered production but not live.
SPARE = 2;
Link copied to clipboard
val STAGE_VALUE: Int = 1
Staging environments which test live deployments.
STAGE = 1;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Environment
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Environment>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Environment
open fun valueOf(value: Int): Environment

open fun valueOf(name: String): Environment

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<Environment>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.