public org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (appIdBuilder_ == null) { result.appId_ = appId_; } else { result.appId_ = appIdBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.id_ = id_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
/** * <code>optional .hadoop.mapreduce.JobIdProto job_id = 1;</code> */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto.getDefaultInstance(); onChanged(); } else { jobIdBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, appId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, id_); } getUnknownFields().writeTo(output); }
if (hasJobId()) { result = result && getJobId() .equals(other.getJobId());
if (hasJobId()) { result = result && getJobId() .equals(other.getJobId());
if (hasJobId()) { result = result && getJobId() .equals(other.getJobId());
if (hasJobId()) { result = result && getJobId() .equals(other.getJobId());
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasFromEventId() == other.hasFromEventId()); if (hasFromEventId()) { result = result && (getFromEventId() == other.getFromEventId()); } result = result && (hasMaxEvents() == other.hasMaxEvents()); if (hasMaxEvents()) { result = result && (getMaxEvents() == other.getMaxEvents()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto other = (org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasFromEventId() == other.hasFromEventId()); if (hasFromEventId()) { result = result && (getFromEventId() == other.getFromEventId()); } result = result && (hasMaxEvents() == other.hasMaxEvents()); if (hasMaxEvents()) { result = result && (getMaxEvents() == other.getMaxEvents()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto other = (org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto other = (org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto other = (org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskIdProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasFromEventId() == other.hasFromEventId()); if (hasFromEventId()) { result = result && (getFromEventId() == other.getFromEventId()); } result = result && (hasMaxEvents() == other.hasMaxEvents()); if (hasMaxEvents()) { result = result && (getMaxEvents() == other.getMaxEvents()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskAttemptCompletionEventsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasFromEventId() == other.hasFromEventId()); if (hasFromEventId()) { result = result && (getFromEventId() == other.getFromEventId()); } result = result && (hasMaxEvents() == other.hasMaxEvents()); if (hasMaxEvents()) { result = result && (getMaxEvents() == other.getMaxEvents()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto other = (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsRequestProto) obj; boolean result = true; result = result && (hasJobId() == other.hasJobId()); if (hasJobId()) { result = result && getJobId() .equals(other.getJobId()); } result = result && (hasTaskType() == other.hasTaskType()); if (hasTaskType()) { result = result && (getTaskType() == other.getTaskType()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto)) { return super.equals(obj); } org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto other = (org.apache.hadoop.mapreduce.v2.proto.MRProtos.JobIdProto) obj; boolean result = true; result = result && (hasAppId() == other.hasAppId()); if (hasAppId()) { result = result && getAppId() .equals(other.getAppId()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }