public static enum SignalServiceProtos.Envelope.Type extends java.lang.Enum<SignalServiceProtos.Envelope.Type> implements com.google.protobuf.ProtocolMessageEnum
signalservice.Envelope.Type| Enum Constant and Description |
|---|
CIPHERTEXT
CIPHERTEXT = 1; |
KEY_EXCHANGE
KEY_EXCHANGE = 2; |
PREKEY_BUNDLE
PREKEY_BUNDLE = 3; |
RECEIPT
RECEIPT = 5; |
UNKNOWN
UNKNOWN = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
CIPHERTEXT_VALUE
CIPHERTEXT = 1; |
static int |
KEY_EXCHANGE_VALUE
KEY_EXCHANGE = 2; |
static int |
PREKEY_BUNDLE_VALUE
PREKEY_BUNDLE = 3; |
static int |
RECEIPT_VALUE
RECEIPT = 5; |
static int |
UNKNOWN_VALUE
UNKNOWN = 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<SignalServiceProtos.Envelope.Type> |
internalGetValueMap() |
static SignalServiceProtos.Envelope.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SignalServiceProtos.Envelope.Type |
valueOf(int value) |
static SignalServiceProtos.Envelope.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignalServiceProtos.Envelope.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalServiceProtos.Envelope.Type UNKNOWN
UNKNOWN = 0;public static final SignalServiceProtos.Envelope.Type CIPHERTEXT
CIPHERTEXT = 1;public static final SignalServiceProtos.Envelope.Type KEY_EXCHANGE
KEY_EXCHANGE = 2;public static final SignalServiceProtos.Envelope.Type PREKEY_BUNDLE
PREKEY_BUNDLE = 3;public static final SignalServiceProtos.Envelope.Type RECEIPT
RECEIPT = 5;public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int CIPHERTEXT_VALUE
CIPHERTEXT = 1;public static final int KEY_EXCHANGE_VALUE
KEY_EXCHANGE = 2;public static final int PREKEY_BUNDLE_VALUE
PREKEY_BUNDLE = 3;public static final int RECEIPT_VALUE
RECEIPT = 5;public static SignalServiceProtos.Envelope.Type[] values()
for (SignalServiceProtos.Envelope.Type c : SignalServiceProtos.Envelope.Type.values()) System.out.println(c);
public static SignalServiceProtos.Envelope.Type 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.ProtocolMessageEnumpublic static SignalServiceProtos.Envelope.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SignalServiceProtos.Envelope.Type> 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 SignalServiceProtos.Envelope.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)