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

    case PROPERTIES:
      if (value == null) {
        unsetProperties();
      } else {
        setProperties((java.util.Map<java.lang.String,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 POOL_NAME:
      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/CompactionRequest.java