public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case DBNAME:
      return isSetDbname();
    case TABLENAME:
      return isSetTablename();
    case PARTITIONNAME:
      return isSetPartitionname();
    case TYPE:
      return isSetType();
    case STATE:
      return isSetState();
    case WORKERID:
      return isSetWorkerid();
    case START:
      return isSetStart();
    case RUN_AS:
      return isSetRunAs();
    case HIGHTEST_TXN_ID:
      return isSetHightestTxnId();
    case META_INFO:
      return isSetMetaInfo();
    case END_TIME:
      return isSetEndTime();
    case HADOOP_JOB_ID:
      return isSetHadoopJobId();
    case ID:
      return isSetId();
    case ERROR_MESSAGE:
      return isSetErrorMessage();
    case ENQUEUE_TIME:
      return isSetEnqueueTime();
    case WORKER_VERSION:
      return isSetWorkerVersion();
    case INITIATOR_ID:
      return isSetInitiatorId();
    case INITIATOR_VERSION:
      return isSetInitiatorVersion();
    case CLEANER_START:
      return isSetCleanerStart();
    case POOL_NAME:
      return isSetPoolName();
    case NEXT_TXN_ID:
      return isSetNextTxnId();
    case TXN_ID:
      return isSetTxnId();
    case COMMIT_TIME:
      return isSetCommitTime();
    case HIGHTEST_WRITE_ID:
      return isSetHightestWriteId();
    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field corresponding to fieldID 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