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

    case TABLENAME:
      if (value == null) {
        unsetTablename();
      } else {
        setTablename((java.lang.String)value);
      }
      break;

    case PARTITIONNAME:
      if (value == null) {
        unsetPartitionname();
      } else {
        setPartitionname((java.lang.String)value);
      }
      break;

    case TYPE:
      if (value == null) {
        unsetType();
      } else {
        setType((CompactionType)value);
      }
      break;

    case STATE:
      if (value == null) {
        unsetState();
      } else {
        setState((java.lang.String)value);
      }
      break;

    case WORKERID:
      if (value == null) {
        unsetWorkerid();
      } else {
        setWorkerid((java.lang.String)value);
      }
      break;

    case START:
      if (value == null) {
        unsetStart();
      } else {
        setStart((java.lang.Long)value);
      }
      break;

    case RUN_AS:
      if (value == null) {
        unsetRunAs();
      } else {
        setRunAs((java.lang.String)value);
      }
      break;

    case HIGHTEST_TXN_ID:
      if (value == null) {
        unsetHightestTxnId();
      } else {
        setHightestTxnId((java.lang.Long)value);
      }
      break;

    case META_INFO:
      if (value == null) {
        unsetMetaInfo();
      } else {
        setMetaInfo((java.lang.String)value);
      }
      break;

    case END_TIME:
      if (value == null) {
        unsetEndTime();
      } else {
        setEndTime((java.lang.Long)value);
      }
      break;

    case HADOOP_JOB_ID:
      if (value == null) {
        unsetHadoopJobId();
      } else {
        setHadoopJobId((java.lang.String)value);
      }
      break;

    case ID:
      if (value == null) {
        unsetId();
      } else {
        setId((java.lang.Long)value);
      }
      break;

    case ERROR_MESSAGE:
      if (value == null) {
        unsetErrorMessage();
      } else {
        setErrorMessage((java.lang.String)value);
      }
      break;

    case ENQUEUE_TIME:
      if (value == null) {
        unsetEnqueueTime();
      } else {
        setEnqueueTime((java.lang.Long)value);
      }
      break;

    case WORKER_VERSION:
      if (value == null) {
        unsetWorkerVersion();
      } else {
        setWorkerVersion((java.lang.String)value);
      }
      break;

    case INITIATOR_ID:
      if (value == null) {
        unsetInitiatorId();
      } else {
        setInitiatorId((java.lang.String)value);
      }
      break;

    case INITIATOR_VERSION:
      if (value == null) {
        unsetInitiatorVersion();
      } else {
        setInitiatorVersion((java.lang.String)value);
      }
      break;

    case CLEANER_START:
      if (value == null) {
        unsetCleanerStart();
      } else {
        setCleanerStart((java.lang.Long)value);
      }
      break;

    case POOL_NAME:
      if (value == null) {
        unsetPoolName();
      } else {
        setPoolName((java.lang.String)value);
      }
      break;

    case NEXT_TXN_ID:
      if (value == null) {
        unsetNextTxnId();
      } else {
        setNextTxnId((java.lang.Long)value);
      }
      break;

    case TXN_ID:
      if (value == null) {
        unsetTxnId();
      } else {
        setTxnId((java.lang.Long)value);
      }
      break;

    case COMMIT_TIME:
      if (value == null) {
        unsetCommitTime();
      } else {
        setCommitTime((java.lang.Long)value);
      }
      break;

    case HIGHTEST_WRITE_ID:
      if (value == null) {
        unsetHightestWriteId();
      } else {
        setHightestWriteId((java.lang.Long)value);
      }
      break;

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