@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.mesos.v1.scheduler.Protos.Event.Subscribed)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Event.Subscribed other = (org.apache.mesos.v1.scheduler.Protos.Event.Subscribed) obj; boolean result = true; result = result && (hasFrameworkId() == other.hasFrameworkId()); if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId()); } result = result && (hasHeartbeatIntervalSeconds() == other.hasHeartbeatIntervalSeconds()); if (hasHeartbeatIntervalSeconds()) { result = result && ( java.lang.Double.doubleToLongBits(getHeartbeatIntervalSeconds()) == java.lang.Double.doubleToLongBits( other.getHeartbeatIntervalSeconds())); } result = result && (hasMasterInfo() == other.hasMasterInfo()); if (hasMasterInfo()) { result = result && getMasterInfo() .equals(other.getMasterInfo()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.mesos.v1.allocator.Protos.InverseOfferStatus)) { return super.equals(obj); } org.apache.mesos.v1.allocator.Protos.InverseOfferStatus other = (org.apache.mesos.v1.allocator.Protos.InverseOfferStatus) obj; boolean result = true; result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && status_ == other.status_; } result = result && (hasFrameworkId() == other.hasFrameworkId()); if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId()); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && getTimestamp() .equals(other.getTimestamp()); } result = result && unknownFields.equals(other.unknownFields); return result; }
if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId());
if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId());
if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId());
if (hasFrameworkId()) { result = result && getFrameworkId() .equals(other.getFrameworkId());