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

    boolean this_present_primaryKeyCols = true && this.isSetPrimaryKeyCols();
    boolean that_present_primaryKeyCols = true && that.isSetPrimaryKeyCols();
    if (this_present_primaryKeyCols || that_present_primaryKeyCols) {
      if (!(this_present_primaryKeyCols && that_present_primaryKeyCols))
        return false;
      if (!this.primaryKeyCols.equals(that.primaryKeyCols))
        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/AddPrimaryKeyRequest.java