public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case REPLACE:
      if (value == null) {
        unsetReplace();
      } else {
        setReplace((java.lang.Boolean)value);
      }
      break;

    case FILES_ADDED:
      if (value == null) {
        unsetFilesAdded();
      } else {
        setFilesAdded((java.util.List<java.lang.String>)value);
      }
      break;

    case FILES_ADDED_CHECKSUM:
      if (value == null) {
        unsetFilesAddedChecksum();
      } else {
        setFilesAddedChecksum((java.util.List<java.lang.String>)value);
      }
      break;

    case SUB_DIRECTORY_LIST:
      if (value == null) {
        unsetSubDirectoryList();
      } else {
        setSubDirectoryList((java.util.List<java.lang.String>)value);
      }
      break;

    case PARTITION_VAL:
      if (value == null) {
        unsetPartitionVal();
      } else {
        setPartitionVal((java.util.List<java.lang.String>)value);
      }
      break;

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