public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case DB_NAME:
      if (value == null) {
        unsetDbName();
      } else {
        setDbName((java.lang.String)value);
      }
      break;

    case TABLE_NAME:
      if (value == null) {
        unsetTableName();
      } else {
        setTableName((java.lang.String)value);
      }
      break;

    case TXN_IDS:
      if (value == null) {
        unsetTxnIds();
      } else {
        setTxnIds((java.util.List<java.lang.Long>)value);
      }
      break;

    case REPL_POLICY:
      if (value == null) {
        unsetReplPolicy();
      } else {
        setReplPolicy((java.lang.String)value);
      }
      break;

    case SRC_TXN_TO_WRITE_ID_LIST:
      if (value == null) {
        unsetSrcTxnToWriteIdList();
      } else {
        setSrcTxnToWriteIdList((java.util.List<TxnToWriteId>)value);
      }
      break;

    case REALLOCATE:
      if (value == null) {
        unsetReallocate();
      } else {
        setReallocate((java.lang.Boolean)value);
      }
      break;

    }
  }
Returns true if field reallocate 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/AllocateTableWriteIdsRequest.java