Enum Class的使用
xyz.redtorch.pb.CoreEnum.PositionTypeEnum
-
xyz.redtorch.pb中CoreEnum.PositionTypeEnum的使用
修饰符和类型方法说明static CoreEnum.PositionTypeEnumCoreEnum.PositionTypeEnum.forNumber(int value) static CoreEnum.PositionTypeEnumCoreEnum.PositionTypeEnum.valueOf(int value) 已过时。static CoreEnum.PositionTypeEnumCoreEnum.PositionTypeEnum.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CoreEnum.PositionTypeEnumReturns the enum constant of this class with the specified name.static CoreEnum.PositionTypeEnum[]CoreEnum.PositionTypeEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.返回变量类型为CoreEnum.PositionTypeEnum的类型的xyz.redtorch.pb中的方法修饰符和类型方法说明static com.google.protobuf.Internal.EnumLiteMap<CoreEnum.PositionTypeEnum>CoreEnum.PositionTypeEnum.internalGetValueMap()