public static ShortCircuitShmSlotProto convert(SlotId slotId) { return ShortCircuitShmSlotProto.newBuilder(). setShmId(convert(slotId.getShmId())). setSlotIdx(slotId.getSlotIdx()). build(); }
public static SlotId convert(ShortCircuitShmSlotProto slotId) { return new SlotId(PBHelper.convert(slotId.getShmId()), slotId.getSlotIdx()); }
public static SlotId convert(ShortCircuitShmSlotProto slotId) { return new SlotId(convert(slotId.getShmId()), slotId.getSlotIdx()); }