net.named_data.jndn.sync
public static enum SyncStateProto.SyncState.ActionType extends Enum<SyncStateProto.SyncState.ActionType> implements com.google.protobuf.ProtocolMessageEnum
net.named_data.jndn.sync.SyncState.ActionType
Enum Constant and Description |
---|
DELETE
DELETE = 1; |
OTHER
OTHER = 2; |
UPDATE
UPDATE = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_VALUE
DELETE = 1; |
static int |
OTHER_VALUE
OTHER = 2; |
static int |
UPDATE_VALUE
UPDATE = 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<SyncStateProto.SyncState.ActionType> |
internalGetValueMap() |
static SyncStateProto.SyncState.ActionType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SyncStateProto.SyncState.ActionType |
valueOf(int value) |
static SyncStateProto.SyncState.ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncStateProto.SyncState.ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncStateProto.SyncState.ActionType UPDATE
UPDATE = 0;
public static final SyncStateProto.SyncState.ActionType DELETE
DELETE = 1;
public static final SyncStateProto.SyncState.ActionType OTHER
OTHER = 2;
public static final int UPDATE_VALUE
UPDATE = 0;
public static final int DELETE_VALUE
DELETE = 1;
public static final int OTHER_VALUE
OTHER = 2;
public static SyncStateProto.SyncState.ActionType[] values()
for (SyncStateProto.SyncState.ActionType c : SyncStateProto.SyncState.ActionType.values()) System.out.println(c);
public static SyncStateProto.SyncState.ActionType 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 SyncStateProto.SyncState.ActionType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SyncStateProto.SyncState.ActionType> 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 SyncStateProto.SyncState.ActionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016. All rights reserved.