public static SubstringComparator parseFrom(final byte[] pbBytes)
    throws DeserializationException {
    ComparatorProtos.SubstringComparator proto;
    try {
      proto = ComparatorProtos.SubstringComparator.parseFrom(pbBytes);
    } catch (InvalidProtocolBufferException e) {
      throw new DeserializationException(e);
    }
    return new SubstringComparator(proto.getSubstr());
  }
Parse a serialized representation of {@link SubstringComparator}
@param pbBytes A pb serialized {@link SubstringComparator} instance
@return An instance of {@link SubstringComparator} made from <code>bytes</code>
@throws DeserializationException if an error occurred
@see #toByteArray
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/SubstringComparator.java