public static enum BigpipePBProtocol.BigpipeCommand.CommandType extends Enum<BigpipePBProtocol.BigpipeCommand.CommandType> implements com.google.protobuf.ProtocolMessageEnum
com.baidu.ub.bigpipe.protocol.BigpipeCommand.CommandType| 枚举常量和说明 |
|---|
BMQ_ACK
BMQ_ACK = 21;
acks
|
BMQ_CMDMESSAGE
BMQ_CMDMESSAGE = 11; |
BMQ_CMDSEND
BMQ_CMDSEND = 10; |
BMQ_CONNECT
BMQ_CONNECT = 4; |
BMQ_CONNECTED
BMQ_CONNECTED = 23; |
BMQ_DISCONNECT
BMQ_DISCONNECT = 5; |
BMQ_ERROR
BMQ_ERROR = 22; |
BMQ_GETTICKET
BMQ_GETTICKET = 12; |
BMQ_MESSAGE
BMQ_MESSAGE = 2; |
BMQ_MESSAGEPACK
BMQ_MESSAGEPACK = 3; |
BMQ_MIGRATE_PIPELET
BMQ_MIGRATE_PIPELET = 9; |
BMQ_RECEIPT
BMQ_RECEIPT = 24; |
BMQ_SEND
BMQ_SEND = 1;
this uses MessageCommand
|
BMQ_SUBSCRIBE
BMQ_SUBSCRIBE = 6; |
BMQ_SUBSCRIBEALL
BMQ_SUBSCRIBEALL = 7; |
BMQ_TICKET
BMQ_TICKET = 13; |
BMQ_UNDEFINED
BMQ_UNDEFINED = 0;
cmds
|
BMQ_UNSUBSCRIBE
BMQ_UNSUBSCRIBE = 8; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BMQ_ACK_VALUE
BMQ_ACK = 21;
acks
|
static int |
BMQ_CMDMESSAGE_VALUE
BMQ_CMDMESSAGE = 11; |
static int |
BMQ_CMDSEND_VALUE
BMQ_CMDSEND = 10; |
static int |
BMQ_CONNECT_VALUE
BMQ_CONNECT = 4; |
static int |
BMQ_CONNECTED_VALUE
BMQ_CONNECTED = 23; |
static int |
BMQ_DISCONNECT_VALUE
BMQ_DISCONNECT = 5; |
static int |
BMQ_ERROR_VALUE
BMQ_ERROR = 22; |
static int |
BMQ_GETTICKET_VALUE
BMQ_GETTICKET = 12; |
static int |
BMQ_MESSAGE_VALUE
BMQ_MESSAGE = 2; |
static int |
BMQ_MESSAGEPACK_VALUE
BMQ_MESSAGEPACK = 3; |
static int |
BMQ_MIGRATE_PIPELET_VALUE
BMQ_MIGRATE_PIPELET = 9; |
static int |
BMQ_RECEIPT_VALUE
BMQ_RECEIPT = 24; |
static int |
BMQ_SEND_VALUE
BMQ_SEND = 1;
this uses MessageCommand
|
static int |
BMQ_SUBSCRIBE_VALUE
BMQ_SUBSCRIBE = 6; |
static int |
BMQ_SUBSCRIBEALL_VALUE
BMQ_SUBSCRIBEALL = 7; |
static int |
BMQ_TICKET_VALUE
BMQ_TICKET = 13; |
static int |
BMQ_UNDEFINED_VALUE
BMQ_UNDEFINED = 0;
cmds
|
static int |
BMQ_UNSUBSCRIBE_VALUE
BMQ_UNSUBSCRIBE = 8; |
| 限定符和类型 | 方法和说明 |
|---|---|
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<BigpipePBProtocol.BigpipeCommand.CommandType> |
internalGetValueMap() |
static BigpipePBProtocol.BigpipeCommand.CommandType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BigpipePBProtocol.BigpipeCommand.CommandType |
valueOf(int value) |
static BigpipePBProtocol.BigpipeCommand.CommandType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BigpipePBProtocol.BigpipeCommand.CommandType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_UNDEFINED
BMQ_UNDEFINED = 0;
cmds
public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_SEND
BMQ_SEND = 1;
this uses MessageCommand
public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_MESSAGE
BMQ_MESSAGE = 2;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_MESSAGEPACK
BMQ_MESSAGEPACK = 3;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_CONNECT
BMQ_CONNECT = 4;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_DISCONNECT
BMQ_DISCONNECT = 5;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_SUBSCRIBE
BMQ_SUBSCRIBE = 6;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_SUBSCRIBEALL
BMQ_SUBSCRIBEALL = 7;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_UNSUBSCRIBE
BMQ_UNSUBSCRIBE = 8;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_MIGRATE_PIPELET
BMQ_MIGRATE_PIPELET = 9;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_CMDSEND
BMQ_CMDSEND = 10;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_CMDMESSAGE
BMQ_CMDMESSAGE = 11;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_GETTICKET
BMQ_GETTICKET = 12;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_TICKET
BMQ_TICKET = 13;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_ACK
BMQ_ACK = 21;
acks
public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_ERROR
BMQ_ERROR = 22;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_CONNECTED
BMQ_CONNECTED = 23;public static final BigpipePBProtocol.BigpipeCommand.CommandType BMQ_RECEIPT
BMQ_RECEIPT = 24;public static final int BMQ_UNDEFINED_VALUE
BMQ_UNDEFINED = 0;
cmds
public static final int BMQ_SEND_VALUE
BMQ_SEND = 1;
this uses MessageCommand
public static final int BMQ_MESSAGE_VALUE
BMQ_MESSAGE = 2;public static final int BMQ_MESSAGEPACK_VALUE
BMQ_MESSAGEPACK = 3;public static final int BMQ_CONNECT_VALUE
BMQ_CONNECT = 4;public static final int BMQ_DISCONNECT_VALUE
BMQ_DISCONNECT = 5;public static final int BMQ_SUBSCRIBE_VALUE
BMQ_SUBSCRIBE = 6;public static final int BMQ_SUBSCRIBEALL_VALUE
BMQ_SUBSCRIBEALL = 7;public static final int BMQ_UNSUBSCRIBE_VALUE
BMQ_UNSUBSCRIBE = 8;public static final int BMQ_MIGRATE_PIPELET_VALUE
BMQ_MIGRATE_PIPELET = 9;public static final int BMQ_CMDSEND_VALUE
BMQ_CMDSEND = 10;public static final int BMQ_CMDMESSAGE_VALUE
BMQ_CMDMESSAGE = 11;public static final int BMQ_GETTICKET_VALUE
BMQ_GETTICKET = 12;public static final int BMQ_TICKET_VALUE
BMQ_TICKET = 13;public static final int BMQ_ACK_VALUE
BMQ_ACK = 21;
acks
public static final int BMQ_ERROR_VALUE
BMQ_ERROR = 22;public static final int BMQ_CONNECTED_VALUE
BMQ_CONNECTED = 23;public static final int BMQ_RECEIPT_VALUE
BMQ_RECEIPT = 24;public static BigpipePBProtocol.BigpipeCommand.CommandType[] values()
for (BigpipePBProtocol.BigpipeCommand.CommandType c : BigpipePBProtocol.BigpipeCommand.CommandType.values()) System.out.println(c);
public static BigpipePBProtocol.BigpipeCommand.CommandType valueOf(String name)
name - 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentException如果参数为空值, - 则抛出 NullPointerExceptionpublic final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static BigpipePBProtocol.BigpipeCommand.CommandType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<BigpipePBProtocol.BigpipeCommand.CommandType> 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 BigpipePBProtocol.BigpipeCommand.CommandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2017. All rights reserved.