@Override
  public ProtobufMessageHandler getObjectFromMessage(CodedInputStream cis) throws IOException {
    Version.Builder builder = Version.newBuilder();
    RestUtil.mergeFrom(builder, cis);
    if (builder.hasRestVersion()) {
      restVersion = builder.getRestVersion();
    }
    if (builder.hasJvmVersion()) {
      jvmVersion = builder.getJvmVersion();
    }
    if (builder.hasOsVersion()) {
      osVersion = builder.getOsVersion();
    }
    if (builder.hasServerVersion()) {
      serverVersion = builder.getServerVersion();
    }
    if (builder.hasJerseyVersion()) {
      jerseyVersion = builder.getJerseyVersion();
    }
    if (builder.hasVersion()) {
      version = builder.getVersion();
    }
    if (builder.hasRevision()) {
      revision = builder.getRevision();
    }
    return this;
  }
@param revision the REST server component source control revision string
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/VersionModel.java