Enum Class的使用
org.apache.pulsar.common.api.proto.ProtocolVersion
使用ProtocolVersion的程序包
-
org.apache.pulsar.common.api.proto中ProtocolVersion的使用
修饰符和类型方法说明static ProtocolVersionProtocolVersion.valueOf(int n) Returns the enum constant of this class with the specified name.static ProtocolVersionReturns the enum constant of this class with the specified name.static ProtocolVersion[]ProtocolVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.