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

    case FILES_ADDED:
      return getFilesAdded();

    case FILES_ADDED_CHECKSUM:
      return getFilesAddedChecksum();

    case SUB_DIRECTORY_LIST:
      return getSubDirectoryList();

    case PARTITION_VAL:
      return getPartitionVal();

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