public boolean equals(GetPartitionsRequest 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_withAuth = true && this.isSetWithAuth();
    boolean that_present_withAuth = true && that.isSetWithAuth();
    if (this_present_withAuth || that_present_withAuth) {
      if (!(this_present_withAuth && that_present_withAuth))
        return false;
      if (this.withAuth != that.withAuth)
        return false;
    }

    boolean this_present_user = true && this.isSetUser();
    boolean that_present_user = true && that.isSetUser();
    if (this_present_user || that_present_user) {
      if (!(this_present_user && that_present_user))
        return false;
      if (!this.user.equals(that.user))
        return false;
    }

    boolean this_present_groupNames = true && this.isSetGroupNames();
    boolean that_present_groupNames = true && that.isSetGroupNames();
    if (this_present_groupNames || that_present_groupNames) {
      if (!(this_present_groupNames && that_present_groupNames))
        return false;
      if (!this.groupNames.equals(that.groupNames))
        return false;
    }

    boolean this_present_projectionSpec = true && this.isSetProjectionSpec();
    boolean that_present_projectionSpec = true && that.isSetProjectionSpec();
    if (this_present_projectionSpec || that_present_projectionSpec) {
      if (!(this_present_projectionSpec && that_present_projectionSpec))
        return false;
      if (!this.projectionSpec.equals(that.projectionSpec))
        return false;
    }

    boolean this_present_filterSpec = true && this.isSetFilterSpec();
    boolean that_present_filterSpec = true && that.isSetFilterSpec();
    if (this_present_filterSpec || that_present_filterSpec) {
      if (!(this_present_filterSpec && that_present_filterSpec))
        return false;
      if (!this.filterSpec.equals(that.filterSpec))
        return false;
    }

    boolean this_present_processorCapabilities = true && this.isSetProcessorCapabilities();
    boolean that_present_processorCapabilities = true && that.isSetProcessorCapabilities();
    if (this_present_processorCapabilities || that_present_processorCapabilities) {
      if (!(this_present_processorCapabilities && that_present_processorCapabilities))
        return false;
      if (!this.processorCapabilities.equals(that.processorCapabilities))
        return false;
    }

    boolean this_present_processorIdentifier = true && this.isSetProcessorIdentifier();
    boolean that_present_processorIdentifier = true && that.isSetProcessorIdentifier();
    if (this_present_processorIdentifier || that_present_processorIdentifier) {
      if (!(this_present_processorIdentifier && that_present_processorIdentifier))
        return false;
      if (!this.processorIdentifier.equals(that.processorIdentifier))
        return false;
    }

    boolean this_present_validWriteIdList = true && this.isSetValidWriteIdList();
    boolean that_present_validWriteIdList = true && that.isSetValidWriteIdList();
    if (this_present_validWriteIdList || that_present_validWriteIdList) {
      if (!(this_present_validWriteIdList && that_present_validWriteIdList))
        return false;
      if (!this.validWriteIdList.equals(that.validWriteIdList))
        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/GetPartitionsRequest.java