hash = (53 * hash) + getError().hashCode(); if (hasOutstandingContainerRequests()) { hash = (37 * hash) + OUTSTANDING_CONTAINER_REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getOutstandingContainerRequests();
public Builder mergeFrom(com.microsoft.reef.proto.DriverRuntimeProtocol.RuntimeStatusProto other) { if (other == com.microsoft.reef.proto.DriverRuntimeProtocol.RuntimeStatusProto.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasError()) { mergeError(other.getError()); } if (other.hasOutstandingContainerRequests()) { setOutstandingContainerRequests(other.getOutstandingContainerRequests()); } if (!other.containerAllocation_.isEmpty()) { if (containerAllocation_.isEmpty()) { containerAllocation_ = other.containerAllocation_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureContainerAllocationIsMutable(); containerAllocation_.addAll(other.containerAllocation_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
.equals(other.getError()); result = result && (hasOutstandingContainerRequests() == other.hasOutstandingContainerRequests()); if (hasOutstandingContainerRequests()) { result = result && (getOutstandingContainerRequests() == other.getOutstandingContainerRequests());