void setFlag(Flags flag) {
    flags = (byte) (flags | (1 << flag.ordinal()));
  }
Sets the {@link Flags} for the {@link IndexValue}
@param flag the {@link Flags} that needs to be set in the {@link IndexValue}
ambry-store/src/main/java/com/github/ambry/store/IndexValue.java