public enum LevelFormat extends Enum<LevelFormat> implements ProtocolMessageEnum
The format used in an `AccessLevel`.Protobuf enum
google.identity.accesscontextmanager.v1.LevelFormat| Enum Constant and Description |
|---|
AS_DEFINED
Uses the format the resource was defined in.
|
CEL
Use Cloud Common Expression Language when returning the resource.
|
LEVEL_FORMAT_UNSPECIFIED
The format was not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AS_DEFINED_VALUE
Uses the format the resource was defined in.
|
static int |
CEL_VALUE
Use Cloud Common Expression Language when returning the resource.
|
static int |
LEVEL_FORMAT_UNSPECIFIED_VALUE
The format was not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static LevelFormat |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<LevelFormat> |
internalGetValueMap() |
static LevelFormat |
valueOf(Descriptors.EnumValueDescriptor desc) |
static LevelFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LevelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LevelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LevelFormat LEVEL_FORMAT_UNSPECIFIED
The format was not specified.
LEVEL_FORMAT_UNSPECIFIED = 0;public static final LevelFormat AS_DEFINED
Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.
AS_DEFINED = 1;public static final LevelFormat CEL
Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels.
CEL = 2;public static final LevelFormat UNRECOGNIZED
public static final int LEVEL_FORMAT_UNSPECIFIED_VALUE
The format was not specified.
LEVEL_FORMAT_UNSPECIFIED = 0;public static final int AS_DEFINED_VALUE
Uses the format the resource was defined in. BasicLevels are returned as BasicLevels, CustomLevels are returned as CustomLevels.
AS_DEFINED = 1;public static final int CEL_VALUE
Use Cloud Common Expression Language when returning the resource. Both BasicLevels and CustomLevels are returned as CustomLevels.
CEL = 2;public static LevelFormat[] values()
for (LevelFormat c : LevelFormat.values()) System.out.println(c);
public static LevelFormat 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 Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static LevelFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LevelFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<LevelFormat> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static LevelFormat valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.