public static SnapshotProtos.SnapshotDescription.Type
    createProtosSnapShotDescType(SnapshotType type) {
    return SnapshotProtos.SnapshotDescription.Type.valueOf(type.name());
  }
Creates {@link SnapshotProtos.SnapshotDescription.Type} from {@link SnapshotType}
@param type the SnapshotDescription type
@return the protobuf SnapshotDescription type
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java