public static SnapshotProtos.SnapshotDescription.Type
    createProtosSnapShotDescType(String snapshotDesc) {
    return SnapshotProtos.SnapshotDescription.Type.valueOf(snapshotDesc.toUpperCase(Locale.ROOT));
  }
Creates {@link SnapshotProtos.SnapshotDescription.Type} from the type of SnapshotDescription
string
@param snapshotDesc string representing the snapshot description type
@return the protobuf SnapshotDescription type
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java