@org.apache.thrift.annotation.Nullable
  public java.lang.Object getFieldValue(_Fields field) {
    switch (field) {
    case ID:
      return getId();

    case STATE:
      return getState();

    case ACCEPTED:
      return isAccepted();

    case ERRORMESSAGE:
      return getErrormessage();

    }
    throw new java.lang.IllegalStateException();
  }
Returns true if field errormessage 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/CompactionResponse.java