@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetPlan()) ? 131071 : 524287);
    if (isSetPlan())
      hashCode = hashCode * 8191 + plan.hashCode();

    hashCode = hashCode * 8191 + ((isSetPools()) ? 131071 : 524287);
    if (isSetPools())
      hashCode = hashCode * 8191 + pools.hashCode();

    hashCode = hashCode * 8191 + ((isSetMappings()) ? 131071 : 524287);
    if (isSetMappings())
      hashCode = hashCode * 8191 + mappings.hashCode();

    hashCode = hashCode * 8191 + ((isSetTriggers()) ? 131071 : 524287);
    if (isSetTriggers())
      hashCode = hashCode * 8191 + triggers.hashCode();

    hashCode = hashCode * 8191 + ((isSetPoolTriggers()) ? 131071 : 524287);
    if (isSetPoolTriggers())
      hashCode = hashCode * 8191 + poolTriggers.hashCode();

    return hashCode;
  }
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/WMFullResourcePlan.java