public static enum Operation.Importance extends java.lang.Enum<Operation.Importance> implements com.google.protobuf.ProtocolMessageEnum
Defines the importance of the data contained in the operation.Protobuf enum
google.api.servicecontrol.v1.Operation.Importance| Enum Constant and Description |
|---|
HIGH
The API implementation doesn't cache and aggregate the data.
|
LOW
The API implementation may cache and aggregate the data.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HIGH_VALUE
The API implementation doesn't cache and aggregate the data.
|
static int |
LOW_VALUE
The API implementation may cache and aggregate the data.
|
| Modifier and Type | Method and Description |
|---|---|
static Operation.Importance |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Operation.Importance> |
internalGetValueMap() |
static Operation.Importance |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Operation.Importance |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Operation.Importance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Operation.Importance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operation.Importance LOW
The API implementation may cache and aggregate the data. The data may be lost when rare and unexpected system failures occur.
LOW = 0;public static final Operation.Importance HIGH
The API implementation doesn't cache and aggregate the data. If the method returns successfully, it's guaranteed that the data has been persisted in durable storage.
HIGH = 1;public static final Operation.Importance UNRECOGNIZED
public static final int LOW_VALUE
The API implementation may cache and aggregate the data. The data may be lost when rare and unexpected system failures occur.
LOW = 0;public static final int HIGH_VALUE
The API implementation doesn't cache and aggregate the data. If the method returns successfully, it's guaranteed that the data has been persisted in durable storage.
HIGH = 1;public static Operation.Importance[] values()
for (Operation.Importance c : Operation.Importance.values()) System.out.println(c);
public static Operation.Importance valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Operation.Importance valueOf(int value)
forNumber(int) instead.public static Operation.Importance forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Operation.Importance> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Operation.Importance valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)