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

    case POOL_PATH:
      if (value == null) {
        unsetPoolPath();
      } else {
        setPoolPath((java.lang.String)value);
      }
      break;

    case ALLOC_FRACTION:
      if (value == null) {
        unsetAllocFraction();
      } else {
        setAllocFraction((java.lang.Double)value);
      }
      break;

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

    case SCHEDULING_POLICY:
      if (value == null) {
        unsetSchedulingPolicy();
      } else {
        setSchedulingPolicy((java.lang.String)value);
      }
      break;

    case IS_SET_SCHEDULING_POLICY:
      if (value == null) {
        unsetIsSetSchedulingPolicy();
      } else {
        setIsSetSchedulingPolicy((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/WMNullablePool.java