public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case TABLE_NAME:
      if (value == null) {
        unsetTableName();
      } else {
        setTableName((java.lang.String)value);
      }
      break;

    case DB_NAME:
      if (value == null) {
        unsetDbName();
      } else {
        setDbName((java.lang.String)value);
      }
      break;

    case OWNER:
      if (value == null) {
        unsetOwner();
      } else {
        setOwner((java.lang.String)value);
      }
      break;

    case CREATE_TIME:
      if (value == null) {
        unsetCreateTime();
      } else {
        setCreateTime((java.lang.Integer)value);
      }
      break;

    case LAST_ACCESS_TIME:
      if (value == null) {
        unsetLastAccessTime();
      } else {
        setLastAccessTime((java.lang.Integer)value);
      }
      break;

    case RETENTION:
      if (value == null) {
        unsetRetention();
      } else {
        setRetention((java.lang.Integer)value);
      }
      break;

    case SD:
      if (value == null) {
        unsetSd();
      } else {
        setSd((StorageDescriptor)value);
      }
      break;

    case PARTITION_KEYS:
      if (value == null) {
        unsetPartitionKeys();
      } else {
        setPartitionKeys((java.util.List<FieldSchema>)value);
      }
      break;

    case PARAMETERS:
      if (value == null) {
        unsetParameters();
      } else {
        setParameters((java.util.Map<java.lang.String,java.lang.String>)value);
      }
      break;

    case VIEW_ORIGINAL_TEXT:
      if (value == null) {
        unsetViewOriginalText();
      } else {
        setViewOriginalText((java.lang.String)value);
      }
      break;

    case VIEW_EXPANDED_TEXT:
      if (value == null) {
        unsetViewExpandedText();
      } else {
        setViewExpandedText((java.lang.String)value);
      }
      break;

    case TABLE_TYPE:
      if (value == null) {
        unsetTableType();
      } else {
        setTableType((java.lang.String)value);
      }
      break;

    case PRIVILEGES:
      if (value == null) {
        unsetPrivileges();
      } else {
        setPrivileges((PrincipalPrivilegeSet)value);
      }
      break;

    case TEMPORARY:
      if (value == null) {
        unsetTemporary();
      } else {
        setTemporary((java.lang.Boolean)value);
      }
      break;

    case REWRITE_ENABLED:
      if (value == null) {
        unsetRewriteEnabled();
      } else {
        setRewriteEnabled((java.lang.Boolean)value);
      }
      break;

    case CREATION_METADATA:
      if (value == null) {
        unsetCreationMetadata();
      } else {
        setCreationMetadata((CreationMetadata)value);
      }
      break;

    case CAT_NAME:
      if (value == null) {
        unsetCatName();
      } else {
        setCatName((java.lang.String)value);
      }
      break;

    case OWNER_TYPE:
      if (value == null) {
        unsetOwnerType();
      } else {
        setOwnerType((PrincipalType)value);
      }
      break;

    case WRITE_ID:
      if (value == null) {
        unsetWriteId();
      } else {
        setWriteId((java.lang.Long)value);
      }
      break;

    case IS_STATS_COMPLIANT:
      if (value == null) {
        unsetIsStatsCompliant();
      } else {
        setIsStatsCompliant((java.lang.Boolean)value);
      }
      break;

    case COL_STATS:
      if (value == null) {
        unsetColStats();
      } else {
        setColStats((ColumnStatistics)value);
      }
      break;

    case ACCESS_TYPE:
      if (value == null) {
        unsetAccessType();
      } else {
        setAccessType((java.lang.Byte)value);
      }
      break;

    case REQUIRED_READ_CAPABILITIES:
      if (value == null) {
        unsetRequiredReadCapabilities();
      } else {
        setRequiredReadCapabilities((java.util.List<java.lang.String>)value);
      }
      break;

    case REQUIRED_WRITE_CAPABILITIES:
      if (value == null) {
        unsetRequiredWriteCapabilities();
      } else {
        setRequiredWriteCapabilities((java.util.List<java.lang.String>)value);
      }
      break;

    case ID:
      if (value == null) {
        unsetId();
      } else {
        setId((java.lang.Long)value);
      }
      break;

    case FILE_METADATA:
      if (value == null) {
        unsetFileMetadata();
      } else {
        setFileMetadata((FileMetadata)value);
      }
      break;

    case DICTIONARY:
      if (value == null) {
        unsetDictionary();
      } else {
        setDictionary((ObjectDictionary)value);
      }
      break;

    case TXN_ID:
      if (value == null) {
        unsetTxnId();
      } else {
        setTxnId((java.lang.Long)value);
      }
      break;

    }
  }
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