public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
/** * <code>repeated .hadoop.mapreduce.TaskAttemptCompletionEventProto completion_events = 1;</code> */ public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto.Builder addCompletionEventsBuilder( int index) { return getCompletionEventsFieldBuilder().addBuilder( index, org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto.getDefaultInstance()); } /**
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, status_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMapOutputServerAddressBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, attemptRunTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, eventId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
result = result && (hasAttemptId() == other.hasAttemptId()); if (hasAttemptId()) { result = result && getAttemptId() .equals(other.getAttemptId()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && (getStatus() == other.getStatus()); result = result && (hasMapOutputServerAddress() == other.hasMapOutputServerAddress()); if (hasMapOutputServerAddress()) { result = result && getMapOutputServerAddress() .equals(other.getMapOutputServerAddress()); result = result && (hasAttemptRunTime() == other.hasAttemptRunTime()); if (hasAttemptRunTime()) { result = result && (getAttemptRunTime() == other.getAttemptRunTime()); result = result && (hasEventId() == other.hasEventId()); if (hasEventId()) { result = result && (getEventId() == other.getEventId()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasAttemptId() == other.hasAttemptId()); if (hasAttemptId()) { result = result && getAttemptId() .equals(other.getAttemptId()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && (getStatus() == other.getStatus()); result = result && (hasMapOutputServerAddress() == other.hasMapOutputServerAddress()); if (hasMapOutputServerAddress()) { result = result && getMapOutputServerAddress() .equals(other.getMapOutputServerAddress()); result = result && (hasAttemptRunTime() == other.hasAttemptRunTime()); if (hasAttemptRunTime()) { result = result && (getAttemptRunTime() == other.getAttemptRunTime()); result = result && (hasEventId() == other.hasEventId()); if (hasEventId()) { result = result && (getEventId() == other.getEventId()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasAttemptId() == other.hasAttemptId()); if (hasAttemptId()) { result = result && getAttemptId() .equals(other.getAttemptId()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && (getStatus() == other.getStatus()); result = result && (hasMapOutputServerAddress() == other.hasMapOutputServerAddress()); if (hasMapOutputServerAddress()) { result = result && getMapOutputServerAddress() .equals(other.getMapOutputServerAddress()); result = result && (hasAttemptRunTime() == other.hasAttemptRunTime()); if (hasAttemptRunTime()) { result = result && (getAttemptRunTime() == other.getAttemptRunTime()); result = result && (hasEventId() == other.hasEventId()); if (hasEventId()) { result = result && (getEventId() == other.getEventId()); getUnknownFields().equals(other.getUnknownFields()); return result;
result = result && (hasAttemptId() == other.hasAttemptId()); if (hasAttemptId()) { result = result && getAttemptId() .equals(other.getAttemptId()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && (getStatus() == other.getStatus()); result = result && (hasMapOutputServerAddress() == other.hasMapOutputServerAddress()); if (hasMapOutputServerAddress()) { result = result && getMapOutputServerAddress() .equals(other.getMapOutputServerAddress()); result = result && (hasAttemptRunTime() == other.hasAttemptRunTime()); if (hasAttemptRunTime()) { result = result && (getAttemptRunTime() == other.getAttemptRunTime()); result = result && (hasEventId() == other.hasEventId()); if (hasEventId()) { result = result && (getEventId() == other.getEventId()); getUnknownFields().equals(other.getUnknownFields()); return result;
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto buildPartial() { org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto result = new org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0;
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, status_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMapOutputServerAddressBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, attemptRunTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, eventId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, status_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMapOutputServerAddressBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, attemptRunTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, eventId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, status_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMapOutputServerAddressBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, attemptRunTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(5, eventId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAttemptId()) { hash = (37 * hash) + ATTEMPT_ID_FIELD_NUMBER; hash = (53 * hash) + getAttemptId().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getStatus()); if (hasMapOutputServerAddress()) { hash = (37 * hash) + MAP_OUTPUT_SERVER_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getMapOutputServerAddress().hashCode(); if (hasAttemptRunTime()) { hash = (37 * hash) + ATTEMPT_RUN_TIME_FIELD_NUMBER; hash = (53 * hash) + getAttemptRunTime(); if (hasEventId()) { hash = (37 * hash) + EVENT_ID_FIELD_NUMBER; hash = (53 * hash) + getEventId(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAttemptId()) { hash = (37 * hash) + ATTEMPT_ID_FIELD_NUMBER; hash = (53 * hash) + getAttemptId().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getStatus()); if (hasMapOutputServerAddress()) { hash = (37 * hash) + MAP_OUTPUT_SERVER_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getMapOutputServerAddress().hashCode(); if (hasAttemptRunTime()) { hash = (37 * hash) + ATTEMPT_RUN_TIME_FIELD_NUMBER; hash = (53 * hash) + getAttemptRunTime(); if (hasEventId()) { hash = (37 * hash) + EVENT_ID_FIELD_NUMBER; hash = (53 * hash) + getEventId(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAttemptId()) { hash = (37 * hash) + ATTEMPT_ID_FIELD_NUMBER; hash = (53 * hash) + getAttemptId().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getStatus()); if (hasMapOutputServerAddress()) { hash = (37 * hash) + MAP_OUTPUT_SERVER_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getMapOutputServerAddress().hashCode(); if (hasAttemptRunTime()) { hash = (37 * hash) + ATTEMPT_RUN_TIME_FIELD_NUMBER; hash = (53 * hash) + getAttemptRunTime(); if (hasEventId()) { hash = (37 * hash) + EVENT_ID_FIELD_NUMBER; hash = (53 * hash) + getEventId(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAttemptId()) { hash = (37 * hash) + ATTEMPT_ID_FIELD_NUMBER; hash = (53 * hash) + getAttemptId().hashCode(); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + hashEnum(getStatus()); if (hasMapOutputServerAddress()) { hash = (37 * hash) + MAP_OUTPUT_SERVER_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getMapOutputServerAddress().hashCode(); if (hasAttemptRunTime()) { hash = (37 * hash) + ATTEMPT_RUN_TIME_FIELD_NUMBER; hash = (53 * hash) + getAttemptRunTime(); if (hasEventId()) { hash = (37 * hash) + EVENT_ID_FIELD_NUMBER; hash = (53 * hash) + getEventId(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash;
public Builder mergeFrom(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto other) { if (other == org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto.getDefaultInstance()) return this; if (other.hasAttemptId()) { mergeAttemptId(other.getAttemptId()); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasMapOutputServerAddress()) { bitField0_ |= 0x00000004; mapOutputServerAddress_ = other.mapOutputServerAddress_; onChanged(); } if (other.hasAttemptRunTime()) { setAttemptRunTime(other.getAttemptRunTime()); } if (other.hasEventId()) { setEventId(other.getEventId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto other) { if (other == org.apache.hadoop.mapreduce.v2.proto.MRProtos.TaskAttemptCompletionEventProto.getDefaultInstance()) return this; if (other.hasAttemptId()) { mergeAttemptId(other.getAttemptId()); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasMapOutputServerAddress()) { bitField0_ |= 0x00000004; mapOutputServerAddress_ = other.mapOutputServerAddress_; onChanged(); } if (other.hasAttemptRunTime()) { setAttemptRunTime(other.getAttemptRunTime()); } if (other.hasEventId()) { setEventId(other.getEventId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, attemptId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, status_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getMapOutputServerAddressBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, attemptRunTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeInt32(5, eventId_); } getUnknownFields().writeTo(output); }