public static WorkerIdentity fromProto(alluxio.grpc.WorkerIdentity proto)
      throws ProtoParsingException {
    return Parsers.fromProto(proto);
  }
@Test
  public void legacyMissingFields() {
    alluxio.grpc.WorkerIdentity missingId = alluxio.grpc.WorkerIdentity.newBuilder()
        .setVersion(1)
        .build();
    assertThrows(MissingRequiredFieldsParsingException.class,
        () -> WorkerIdentity.ParserV1.INSTANCE.fromProto(missingId));

    alluxio.grpc.WorkerIdentity missingVersion = alluxio.grpc.WorkerIdentity.newBuilder()
        .setIdentifier(ByteString.copyFrom("id", Charset.defaultCharset()))
        .build();
    assertThrows(MissingRequiredFieldsParsingException.class,
        () -> WorkerIdentity.ParserV0.INSTANCE.fromProto(missingVersion));
  }