public static enum DownloadFileMessageEntity.DataType extends Enum<DownloadFileMessageEntity.DataType> implements com.google.protobuf.ProtocolMessageEnum
DataType| 枚举常量和说明 |
|---|
MsgTypeGetFileCheckReq
MsgTypeGetFileCheckReq = 5; |
MsgTypeGetFileCheckResp
MsgTypeGetFileCheckResp = 6; |
MsgTypeGetFileChunkReq
MsgTypeGetFileChunkReq = 3; |
MsgTypeGetFileChunkResp
MsgTypeGetFileChunkResp = 4; |
MsgTypeGetFileReq
MsgTypeGetFileReq = 0; |
MsgTypeGetFileResp
MsgTypeGetFileResp = 1; |
MsgTypeGetFileRespNotify
MsgTypeGetFileRespNotify = 2; |
MsgTypeNotifyGetFileReq
MsgTypeNotifyGetFileReq = 7; |
MsgTypeNotifyGetFileResp
MsgTypeNotifyGetFileResp = 8; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MsgTypeGetFileCheckReq_VALUE
MsgTypeGetFileCheckReq = 5; |
static int |
MsgTypeGetFileCheckResp_VALUE
MsgTypeGetFileCheckResp = 6; |
static int |
MsgTypeGetFileChunkReq_VALUE
MsgTypeGetFileChunkReq = 3; |
static int |
MsgTypeGetFileChunkResp_VALUE
MsgTypeGetFileChunkResp = 4; |
static int |
MsgTypeGetFileReq_VALUE
MsgTypeGetFileReq = 0; |
static int |
MsgTypeGetFileResp_VALUE
MsgTypeGetFileResp = 1; |
static int |
MsgTypeGetFileRespNotify_VALUE
MsgTypeGetFileRespNotify = 2; |
static int |
MsgTypeNotifyGetFileReq_VALUE
MsgTypeNotifyGetFileReq = 7; |
static int |
MsgTypeNotifyGetFileResp_VALUE
MsgTypeNotifyGetFileResp = 8; |
| 限定符和类型 | 方法和说明 |
|---|---|
static DownloadFileMessageEntity.DataType |
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<DownloadFileMessageEntity.DataType> |
internalGetValueMap() |
static DownloadFileMessageEntity.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DownloadFileMessageEntity.DataType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static DownloadFileMessageEntity.DataType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DownloadFileMessageEntity.DataType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DownloadFileMessageEntity.DataType MsgTypeGetFileReq
MsgTypeGetFileReq = 0;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileResp
MsgTypeGetFileResp = 1;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileRespNotify
MsgTypeGetFileRespNotify = 2;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileChunkReq
MsgTypeGetFileChunkReq = 3;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileChunkResp
MsgTypeGetFileChunkResp = 4;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileCheckReq
MsgTypeGetFileCheckReq = 5;public static final DownloadFileMessageEntity.DataType MsgTypeGetFileCheckResp
MsgTypeGetFileCheckResp = 6;public static final DownloadFileMessageEntity.DataType MsgTypeNotifyGetFileReq
MsgTypeNotifyGetFileReq = 7;public static final DownloadFileMessageEntity.DataType MsgTypeNotifyGetFileResp
MsgTypeNotifyGetFileResp = 8;public static final DownloadFileMessageEntity.DataType UNRECOGNIZED
public static final int MsgTypeGetFileReq_VALUE
MsgTypeGetFileReq = 0;public static final int MsgTypeGetFileResp_VALUE
MsgTypeGetFileResp = 1;public static final int MsgTypeGetFileRespNotify_VALUE
MsgTypeGetFileRespNotify = 2;public static final int MsgTypeGetFileChunkReq_VALUE
MsgTypeGetFileChunkReq = 3;public static final int MsgTypeGetFileChunkResp_VALUE
MsgTypeGetFileChunkResp = 4;public static final int MsgTypeGetFileCheckReq_VALUE
MsgTypeGetFileCheckReq = 5;public static final int MsgTypeGetFileCheckResp_VALUE
MsgTypeGetFileCheckResp = 6;public static final int MsgTypeNotifyGetFileReq_VALUE
MsgTypeNotifyGetFileReq = 7;public static final int MsgTypeNotifyGetFileResp_VALUE
MsgTypeNotifyGetFileResp = 8;public static DownloadFileMessageEntity.DataType[] values()
for (DownloadFileMessageEntity.DataType c : DownloadFileMessageEntity.DataType.values()) System.out.println(c);
public static DownloadFileMessageEntity.DataType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static DownloadFileMessageEntity.DataType valueOf(int value)
forNumber(int) instead.public static DownloadFileMessageEntity.DataType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DownloadFileMessageEntity.DataType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DownloadFileMessageEntity.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.