@Override
  public java.lang.String toString() {
    java.lang.StringBuilder sb = new java.lang.StringBuilder("ShowCompactResponseElement(");
    boolean first = true;

    sb.append("dbname:");
    if (this.dbname == null) {
      sb.append("null");
    } else {
      sb.append(this.dbname);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("tablename:");
    if (this.tablename == null) {
      sb.append("null");
    } else {
      sb.append(this.tablename);
    }
    first = false;
    if (isSetPartitionname()) {
      if (!first) sb.append(", ");
      sb.append("partitionname:");
      if (this.partitionname == null) {
        sb.append("null");
      } else {
        sb.append(this.partitionname);
      }
      first = false;
    }
    if (!first) sb.append(", ");
    sb.append("type:");
    if (this.type == null) {
      sb.append("null");
    } else {
      sb.append(this.type);
    }
    first = false;
    if (!first) sb.append(", ");
    sb.append("state:");
    if (this.state == null) {
      sb.append("null");
    } else {
      sb.append(this.state);
    }
    first = false;
    if (isSetWorkerid()) {
      if (!first) sb.append(", ");
      sb.append("workerid:");
      if (this.workerid == null) {
        sb.append("null");
      } else {
        sb.append(this.workerid);
      }
      first = false;
    }
    if (isSetStart()) {
      if (!first) sb.append(", ");
      sb.append("start:");
      sb.append(this.start);
      first = false;
    }
    if (isSetRunAs()) {
      if (!first) sb.append(", ");
      sb.append("runAs:");
      if (this.runAs == null) {
        sb.append("null");
      } else {
        sb.append(this.runAs);
      }
      first = false;
    }
    if (isSetHightestTxnId()) {
      if (!first) sb.append(", ");
      sb.append("hightestTxnId:");
      sb.append(this.hightestTxnId);
      first = false;
    }
    if (isSetMetaInfo()) {
      if (!first) sb.append(", ");
      sb.append("metaInfo:");
      if (this.metaInfo == null) {
        sb.append("null");
      } else {
        sb.append(this.metaInfo);
      }
      first = false;
    }
    if (isSetEndTime()) {
      if (!first) sb.append(", ");
      sb.append("endTime:");
      sb.append(this.endTime);
      first = false;
    }
    if (isSetHadoopJobId()) {
      if (!first) sb.append(", ");
      sb.append("hadoopJobId:");
      if (this.hadoopJobId == null) {
        sb.append("null");
      } else {
        sb.append(this.hadoopJobId);
      }
      first = false;
    }
    if (isSetId()) {
      if (!first) sb.append(", ");
      sb.append("id:");
      sb.append(this.id);
      first = false;
    }
    if (isSetErrorMessage()) {
      if (!first) sb.append(", ");
      sb.append("errorMessage:");
      if (this.errorMessage == null) {
        sb.append("null");
      } else {
        sb.append(this.errorMessage);
      }
      first = false;
    }
    if (isSetEnqueueTime()) {
      if (!first) sb.append(", ");
      sb.append("enqueueTime:");
      sb.append(this.enqueueTime);
      first = false;
    }
    if (isSetWorkerVersion()) {
      if (!first) sb.append(", ");
      sb.append("workerVersion:");
      if (this.workerVersion == null) {
        sb.append("null");
      } else {
        sb.append(this.workerVersion);
      }
      first = false;
    }
    if (isSetInitiatorId()) {
      if (!first) sb.append(", ");
      sb.append("initiatorId:");
      if (this.initiatorId == null) {
        sb.append("null");
      } else {
        sb.append(this.initiatorId);
      }
      first = false;
    }
    if (isSetInitiatorVersion()) {
      if (!first) sb.append(", ");
      sb.append("initiatorVersion:");
      if (this.initiatorVersion == null) {
        sb.append("null");
      } else {
        sb.append(this.initiatorVersion);
      }
      first = false;
    }
    if (isSetCleanerStart()) {
      if (!first) sb.append(", ");
      sb.append("cleanerStart:");
      sb.append(this.cleanerStart);
      first = false;
    }
    if (isSetPoolName()) {
      if (!first) sb.append(", ");
      sb.append("poolName:");
      if (this.poolName == null) {
        sb.append("null");
      } else {
        sb.append(this.poolName);
      }
      first = false;
    }
    if (isSetNextTxnId()) {
      if (!first) sb.append(", ");
      sb.append("nextTxnId:");
      sb.append(this.nextTxnId);
      first = false;
    }
    if (isSetTxnId()) {
      if (!first) sb.append(", ");
      sb.append("txnId:");
      sb.append(this.txnId);
      first = false;
    }
    if (isSetCommitTime()) {
      if (!first) sb.append(", ");
      sb.append("commitTime:");
      sb.append(this.commitTime);
      first = false;
    }
    if (isSetHightestWriteId()) {
      if (!first) sb.append(", ");
      sb.append("hightestWriteId:");
      sb.append(this.hightestWriteId);
      first = false;
    }
    sb.append(")");
    return sb.toString();
  }
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