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

    case USER:
      return getUser();

    case HOST_NAME:
      return getHostName();

    case DB_NAME:
      return getDbName();

    case TABLE_NAME:
      return getTableName();

    case PART_NAMES:
      return getPartNames();

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