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

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

    case TBL_NAME:
      if (value == null) {
        unsetTblName();
      } else {
        setTblName((java.lang.String)value);
      }
      break;

    case WITH_AUTH:
      if (value == null) {
        unsetWithAuth();
      } else {
        setWithAuth((java.lang.Boolean)value);
      }
      break;

    case USER:
      if (value == null) {
        unsetUser();
      } else {
        setUser((java.lang.String)value);
      }
      break;

    case GROUP_NAMES:
      if (value == null) {
        unsetGroupNames();
      } else {
        setGroupNames((java.util.List<java.lang.String>)value);
      }
      break;

    case PROJECTION_SPEC:
      if (value == null) {
        unsetProjectionSpec();
      } else {
        setProjectionSpec((GetProjectionsSpec)value);
      }
      break;

    case FILTER_SPEC:
      if (value == null) {
        unsetFilterSpec();
      } else {
        setFilterSpec((GetPartitionsFilterSpec)value);
      }
      break;

    case PROCESSOR_CAPABILITIES:
      if (value == null) {
        unsetProcessorCapabilities();
      } else {
        setProcessorCapabilities((java.util.List<java.lang.String>)value);
      }
      break;

    case PROCESSOR_IDENTIFIER:
      if (value == null) {
        unsetProcessorIdentifier();
      } else {
        setProcessorIdentifier((java.lang.String)value);
      }
      break;

    case VALID_WRITE_ID_LIST:
      if (value == null) {
        unsetValidWriteIdList();
      } else {
        setValidWriteIdList((java.lang.String)value);
      }
      break;

    }
  }
Returns true if field validWriteIdList 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/GetPartitionsRequest.java