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

    boolean this_present_catName = true && this.isSetCatName();
    boolean that_present_catName = true && that.isSetCatName();
    if (this_present_catName || that_present_catName) {
      if (!(this_present_catName && that_present_catName))
        return false;
      if (!this.catName.equals(that.catName))
        return false;
    }

    boolean this_present_dbName = true && this.isSetDbName();
    boolean that_present_dbName = true && that.isSetDbName();
    if (this_present_dbName || that_present_dbName) {
      if (!(this_present_dbName && that_present_dbName))
        return false;
      if (!this.dbName.equals(that.dbName))
        return false;
    }

    boolean this_present_tblName = true && this.isSetTblName();
    boolean that_present_tblName = true && that.isSetTblName();
    if (this_present_tblName || that_present_tblName) {
      if (!(this_present_tblName && that_present_tblName))
        return false;
      if (!this.tblName.equals(that.tblName))
        return false;
    }

    boolean this_present_filter = true && this.isSetFilter();
    boolean that_present_filter = true && that.isSetFilter();
    if (this_present_filter || that_present_filter) {
      if (!(this_present_filter && that_present_filter))
        return false;
      if (!this.filter.equals(that.filter))
        return false;
    }

    boolean this_present_maxParts = true && this.isSetMaxParts();
    boolean that_present_maxParts = true && that.isSetMaxParts();
    if (this_present_maxParts || that_present_maxParts) {
      if (!(this_present_maxParts && that_present_maxParts))
        return false;
      if (this.maxParts != that.maxParts)
        return false;
    }

    boolean this_present_skipColumnSchemaForPartition = true && this.isSetSkipColumnSchemaForPartition();
    boolean that_present_skipColumnSchemaForPartition = true && that.isSetSkipColumnSchemaForPartition();
    if (this_present_skipColumnSchemaForPartition || that_present_skipColumnSchemaForPartition) {
      if (!(this_present_skipColumnSchemaForPartition && that_present_skipColumnSchemaForPartition))
        return false;
      if (this.skipColumnSchemaForPartition != that.skipColumnSchemaForPartition)
        return false;
    }

    boolean this_present_includeParamKeyPattern = true && this.isSetIncludeParamKeyPattern();
    boolean that_present_includeParamKeyPattern = true && that.isSetIncludeParamKeyPattern();
    if (this_present_includeParamKeyPattern || that_present_includeParamKeyPattern) {
      if (!(this_present_includeParamKeyPattern && that_present_includeParamKeyPattern))
        return false;
      if (!this.includeParamKeyPattern.equals(that.includeParamKeyPattern))
        return false;
    }

    boolean this_present_excludeParamKeyPattern = true && this.isSetExcludeParamKeyPattern();
    boolean that_present_excludeParamKeyPattern = true && that.isSetExcludeParamKeyPattern();
    if (this_present_excludeParamKeyPattern || that_present_excludeParamKeyPattern) {
      if (!(this_present_excludeParamKeyPattern && that_present_excludeParamKeyPattern))
        return false;
      if (!this.excludeParamKeyPattern.equals(that.excludeParamKeyPattern))
        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/GetPartitionsByFilterRequest.java