@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.Call.Reconcile.Task)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.Reconcile.Task other = (org.apache.mesos.v1.scheduler.Protos.Call.Reconcile.Task) obj; boolean result = true; result = result && (hasTaskId() == other.hasTaskId()); if (hasTaskId()) { result = result && getTaskId() .equals(other.getTaskId()); } result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } 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.scheduler.Protos.Call.Shutdown)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.Shutdown other = (org.apache.mesos.v1.scheduler.Protos.Call.Shutdown) obj; boolean result = true; result = result && (hasExecutorId() == other.hasExecutorId()); if (hasExecutorId()) { result = result && getExecutorId() .equals(other.getExecutorId()); } result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } 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.scheduler.Protos.Call.Acknowledge)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.Acknowledge other = (org.apache.mesos.v1.scheduler.Protos.Call.Acknowledge) obj; boolean result = true; result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasTaskId() == other.hasTaskId()); if (hasTaskId()) { result = result && getTaskId() .equals(other.getTaskId()); } result = result && (hasUuid() == other.hasUuid()); if (hasUuid()) { result = result && getUuid() .equals(other.getUuid()); } result = result && unknownFields.equals(other.unknownFields); return result; }
if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId());
@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.Call.Message)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.Message other = (org.apache.mesos.v1.scheduler.Protos.Call.Message) obj; boolean result = true; result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasExecutorId() == other.hasExecutorId()); if (hasExecutorId()) { result = result && getExecutorId() .equals(other.getExecutorId()); } result = result && (hasData() == other.hasData()); if (hasData()) { result = result && getData() .equals(other.getData()); } 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.scheduler.Protos.Event.Message)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Event.Message other = (org.apache.mesos.v1.scheduler.Protos.Event.Message) obj; boolean result = true; result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasExecutorId() == other.hasExecutorId()); if (hasExecutorId()) { result = result && getExecutorId() .equals(other.getExecutorId()); } result = result && (hasData() == other.hasData()); if (hasData()) { result = result && getData() .equals(other.getData()); } 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.scheduler.Protos.Call.Kill)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.Kill other = (org.apache.mesos.v1.scheduler.Protos.Call.Kill) obj; boolean result = true; result = result && (hasTaskId() == other.hasTaskId()); if (hasTaskId()) { result = result && getTaskId() .equals(other.getTaskId()); } result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasKillPolicy() == other.hasKillPolicy()); if (hasKillPolicy()) { result = result && getKillPolicy() .equals(other.getKillPolicy()); } 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.scheduler.Protos.Call.ReconcileOperations.Operation)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Call.ReconcileOperations.Operation other = (org.apache.mesos.v1.scheduler.Protos.Call.ReconcileOperations.Operation) obj; boolean result = true; result = result && (hasOperationId() == other.hasOperationId()); if (hasOperationId()) { result = result && getOperationId() .equals(other.getOperationId()); } result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasResourceProviderId() == other.hasResourceProviderId()); if (hasResourceProviderId()) { result = result && getResourceProviderId() .equals(other.getResourceProviderId()); } 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.scheduler.Protos.Event.Failure)) { return super.equals(obj); } org.apache.mesos.v1.scheduler.Protos.Event.Failure other = (org.apache.mesos.v1.scheduler.Protos.Event.Failure) obj; boolean result = true; result = result && (hasAgentId() == other.hasAgentId()); if (hasAgentId()) { result = result && getAgentId() .equals(other.getAgentId()); } result = result && (hasExecutorId() == other.hasExecutorId()); if (hasExecutorId()) { result = result && getExecutorId() .equals(other.getExecutorId()); } result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && (getStatus() == other.getStatus()); } result = result && unknownFields.equals(other.unknownFields); return result; }