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

    case DATABASE:
      return getDatabase();

    case TABLE:
      return getTable();

    case FILES:
      return getFiles();

    case PARTITION:
      return getPartition();

    case TABLE_OBJ:
      return getTableObj();

    case PARTITION_OBJ:
      return getPartitionObj();

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