public alluxio.grpc.WorkerIdentity toProto() {
    return Parsers.toProto(this);
  }
@Test
  public void parserToProto() throws Exception {
    byte[] idBytes = BufferUtils.getIncreasingByteArray(16);
    WorkerIdentity identity = new WorkerIdentity(idBytes, 1);
    alluxio.grpc.WorkerIdentity proto = WorkerIdentity.Parsers.toProto(identity);
    assertEquals(1, proto.getVersion());
    assertArrayEquals(idBytes, proto.getIdentifier().toByteArray());
  }