Enum AppProfile.Priority
- All Implemented Interfaces:
Serializable
,Comparable<AppProfile.Priority>
- Enclosing class:
- AppProfile
The possible priorities for an app profile. Note that higher priority writes can sometimes
queue behind lower priority writes to the same tablet, as writes must be strictly sequenced in
the durability log.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AppProfile.Priority
fromProto
(AppProfile.Priority proto) Wraps the protobuf.toProto()
Creates the request protobuf.static AppProfile.Priority
Returns the enum constant of this type with the specified name.static AppProfile.Priority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOW
-
MEDIUM
-
HIGH
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromProto
Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications. -
toProto
Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
-