public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case TXN_HIGH_WATER_MARK:
      if (value == null) {
        unsetTxn_high_water_mark();
      } else {
        setTxn_high_water_mark((java.lang.Long)value);
      }
      break;

    case OPEN_TXNS:
      if (value == null) {
        unsetOpen_txns();
      } else {
        setOpen_txns((java.util.List<java.lang.Long>)value);
      }
      break;

    case MIN_OPEN_TXN:
      if (value == null) {
        unsetMin_open_txn();
      } else {
        setMin_open_txn((java.lang.Long)value);
      }
      break;

    case ABORTED_BITS:
      if (value == null) {
        unsetAbortedBits();
      } else {
        if (value instanceof byte[]) {
          setAbortedBits((byte[])value);
        } else {
          setAbortedBits((java.nio.ByteBuffer)value);
        }
      }
      break;

    }
  }
Returns true if field abortedBits is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java