@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && type_ == other.type_; } result = result && (hasTimedQuota() == other.hasTimedQuota()); if (hasTimedQuota()) { result = result && getTimedQuota() .equals(other.getTimedQuota()); } result = result && unknownFields.equals(other.unknownFields); return result; }
if (hasReqNum()) { result = result && getReqNum() .equals(other.getReqNum()); .equals(other.getReqSize()); .equals(other.getWriteNum()); .equals(other.getWriteSize()); .equals(other.getReadNum()); .equals(other.getReadSize()); .equals(other.getReqCapacityUnit()); .equals(other.getWriteCapacityUnit()); .equals(other.getReadCapacityUnit());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.ThrottleRequest) obj; boolean result = true; result = result && (hasType() == other.hasType()); if (hasType()) { result = result && type_ == other.type_; } result = result && (hasTimedQuota() == other.hasTimedQuota()); if (hasTimedQuota()) { result = result && getTimedQuota() .equals(other.getTimedQuota()); } result = result && unknownFields.equals(other.unknownFields); return result; }