public boolean equals(WMNullablePool that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_resourcePlanName = true && this.isSetResourcePlanName();
    boolean that_present_resourcePlanName = true && that.isSetResourcePlanName();
    if (this_present_resourcePlanName || that_present_resourcePlanName) {
      if (!(this_present_resourcePlanName && that_present_resourcePlanName))
        return false;
      if (!this.resourcePlanName.equals(that.resourcePlanName))
        return false;
    }

    boolean this_present_poolPath = true && this.isSetPoolPath();
    boolean that_present_poolPath = true && that.isSetPoolPath();
    if (this_present_poolPath || that_present_poolPath) {
      if (!(this_present_poolPath && that_present_poolPath))
        return false;
      if (!this.poolPath.equals(that.poolPath))
        return false;
    }

    boolean this_present_allocFraction = true && this.isSetAllocFraction();
    boolean that_present_allocFraction = true && that.isSetAllocFraction();
    if (this_present_allocFraction || that_present_allocFraction) {
      if (!(this_present_allocFraction && that_present_allocFraction))
        return false;
      if (this.allocFraction != that.allocFraction)
        return false;
    }

    boolean this_present_queryParallelism = true && this.isSetQueryParallelism();
    boolean that_present_queryParallelism = true && that.isSetQueryParallelism();
    if (this_present_queryParallelism || that_present_queryParallelism) {
      if (!(this_present_queryParallelism && that_present_queryParallelism))
        return false;
      if (this.queryParallelism != that.queryParallelism)
        return false;
    }

    boolean this_present_schedulingPolicy = true && this.isSetSchedulingPolicy();
    boolean that_present_schedulingPolicy = true && that.isSetSchedulingPolicy();
    if (this_present_schedulingPolicy || that_present_schedulingPolicy) {
      if (!(this_present_schedulingPolicy && that_present_schedulingPolicy))
        return false;
      if (!this.schedulingPolicy.equals(that.schedulingPolicy))
        return false;
    }

    boolean this_present_isSetSchedulingPolicy = true && this.isSetIsSetSchedulingPolicy();
    boolean that_present_isSetSchedulingPolicy = true && that.isSetIsSetSchedulingPolicy();
    if (this_present_isSetSchedulingPolicy || that_present_isSetSchedulingPolicy) {
      if (!(this_present_isSetSchedulingPolicy && that_present_isSetSchedulingPolicy))
        return false;
      if (this.isSetSchedulingPolicy != that.isSetSchedulingPolicy)
        return false;
    }

    boolean this_present_ns = true && this.isSetNs();
    boolean that_present_ns = true && that.isSetNs();
    if (this_present_ns || that_present_ns) {
      if (!(this_present_ns && that_present_ns))
        return false;
      if (!this.ns.equals(that.ns))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID 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