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

    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 RUNAS:
      if (value == null) {
        unsetRunas();
      } else {
        setRunas((java.lang.String)value);
      }
      break;

    case PROPERTIES:
      if (value == null) {
        unsetProperties();
      } else {
        setProperties((java.lang.String)value);
      }
      break;

    case TOOMANYABORTS:
      if (value == null) {
        unsetToomanyaborts();
      } else {
        setToomanyaborts((java.lang.Boolean)value);
      }
      break;

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

    case WORKER_ID:
      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 HIGHEST_WRITE_ID:
      if (value == null) {
        unsetHighestWriteId();
      } else {
        setHighestWriteId((java.lang.Long)value);
      }
      break;

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

    case HASOLDABORT:
      if (value == null) {
        unsetHasoldabort();
      } else {
        setHasoldabort((java.lang.Boolean)value);
      }
      break;

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

    case RETRY_RETENTION:
      if (value == null) {
        unsetRetryRetention();
      } else {
        setRetryRetention((java.lang.Long)value);
      }
      break;

    case POOLNAME:
      if (value == null) {
        unsetPoolname();
      } else {
        setPoolname((java.lang.String)value);
      }
      break;

    case NUMBER_OF_BUCKETS:
      if (value == null) {
        unsetNumberOfBuckets();
      } else {
        setNumberOfBuckets((java.lang.Integer)value);
      }
      break;

    case ORDER_BY_CLAUSE:
      if (value == null) {
        unsetOrderByClause();
      } else {
        setOrderByClause((java.lang.String)value);
      }
      break;

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