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

    case STATUS:
      if (value == null) {
        unsetStatus();
      } else {
        setStatus((WMResourcePlanStatus)value);
      }
      break;

    case QUERY_PARALLELISM:
      if (value == null) {
        unsetQueryParallelism();
      } else {
        setQueryParallelism((java.lang.Integer)value);
      }
      break;

    case IS_SET_QUERY_PARALLELISM:
      if (value == null) {
        unsetIsSetQueryParallelism();
      } else {
        setIsSetQueryParallelism((java.lang.Boolean)value);
      }
      break;

    case DEFAULT_POOL_PATH:
      if (value == null) {
        unsetDefaultPoolPath();
      } else {
        setDefaultPoolPath((java.lang.String)value);
      }
      break;

    case IS_SET_DEFAULT_POOL_PATH:
      if (value == null) {
        unsetIsSetDefaultPoolPath();
      } else {
        setIsSetDefaultPoolPath((java.lang.Boolean)value);
      }
      break;

    case NS:
      if (value == null) {
        unsetNs();
      } else {
        setNs((java.lang.String)value);
      }
      break;

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