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

    case DB_NAME:
      return getDbName();

    case OWNER:
      return getOwner();

    case CREATE_TIME:
      return getCreateTime();

    case LAST_ACCESS_TIME:
      return getLastAccessTime();

    case RETENTION:
      return getRetention();

    case SD:
      return getSd();

    case PARTITION_KEYS:
      return getPartitionKeys();

    case PARAMETERS:
      return getParameters();

    case VIEW_ORIGINAL_TEXT:
      return getViewOriginalText();

    case VIEW_EXPANDED_TEXT:
      return getViewExpandedText();

    case TABLE_TYPE:
      return getTableType();

    case PRIVILEGES:
      return getPrivileges();

    case TEMPORARY:
      return isTemporary();

    case REWRITE_ENABLED:
      return isRewriteEnabled();

    case CREATION_METADATA:
      return getCreationMetadata();

    case CAT_NAME:
      return getCatName();

    case OWNER_TYPE:
      return getOwnerType();

    case WRITE_ID:
      return getWriteId();

    case IS_STATS_COMPLIANT:
      return isIsStatsCompliant();

    case COL_STATS:
      return getColStats();

    case ACCESS_TYPE:
      return getAccessType();

    case REQUIRED_READ_CAPABILITIES:
      return getRequiredReadCapabilities();

    case REQUIRED_WRITE_CAPABILITIES:
      return getRequiredWriteCapabilities();

    case ID:
      return getId();

    case FILE_METADATA:
      return getFileMetadata();

    case DICTIONARY:
      return getDictionary();

    case TXN_ID:
      return getTxnId();

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