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

    boolean this_present_partitionSpec = true && this.isSetPartitionSpec();
    boolean that_present_partitionSpec = true && that.isSetPartitionSpec();
    if (this_present_partitionSpec || that_present_partitionSpec) {
      if (!(this_present_partitionSpec && that_present_partitionSpec))
        return false;
      if (!this.partitionSpec.equals(that.partitionSpec))
        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/GetPartitionsResponse.java