public static enum ClientProtos.MutationProto.Durability extends Enum<ClientProtos.MutationProto.Durability> implements com.google.protobuf.ProtocolMessageEnum
MutationProto.Durability
Enum Constant and Description |
---|
ASYNC_WAL
ASYNC_WAL = 2; |
FSYNC_WAL
FSYNC_WAL = 4; |
SKIP_WAL
SKIP_WAL = 1; |
SYNC_WAL
SYNC_WAL = 3; |
USE_DEFAULT
USE_DEFAULT = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
ASYNC_WAL_VALUE
ASYNC_WAL = 2; |
static int |
FSYNC_WAL_VALUE
FSYNC_WAL = 4; |
static int |
SKIP_WAL_VALUE
SKIP_WAL = 1; |
static int |
SYNC_WAL_VALUE
SYNC_WAL = 3; |
static int |
USE_DEFAULT_VALUE
USE_DEFAULT = 0; |
Modifier and Type | Method and Description |
---|---|
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<ClientProtos.MutationProto.Durability> |
internalGetValueMap() |
static ClientProtos.MutationProto.Durability |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClientProtos.MutationProto.Durability |
valueOf(int value) |
static ClientProtos.MutationProto.Durability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientProtos.MutationProto.Durability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientProtos.MutationProto.Durability USE_DEFAULT
USE_DEFAULT = 0;
public static final ClientProtos.MutationProto.Durability SKIP_WAL
SKIP_WAL = 1;
public static final ClientProtos.MutationProto.Durability ASYNC_WAL
ASYNC_WAL = 2;
public static final ClientProtos.MutationProto.Durability SYNC_WAL
SYNC_WAL = 3;
public static final ClientProtos.MutationProto.Durability FSYNC_WAL
FSYNC_WAL = 4;
public static final int USE_DEFAULT_VALUE
USE_DEFAULT = 0;
public static final int SKIP_WAL_VALUE
SKIP_WAL = 1;
public static final int ASYNC_WAL_VALUE
ASYNC_WAL = 2;
public static final int SYNC_WAL_VALUE
SYNC_WAL = 3;
public static final int FSYNC_WAL_VALUE
FSYNC_WAL = 4;
public static ClientProtos.MutationProto.Durability[] values()
for (ClientProtos.MutationProto.Durability c : ClientProtos.MutationProto.Durability.values()) System.out.println(c);
public static ClientProtos.MutationProto.Durability 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 com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static ClientProtos.MutationProto.Durability valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ClientProtos.MutationProto.Durability> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClientProtos.MutationProto.Durability valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.