public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, executionBlockId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, id_); } 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, executionBlockId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, id_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, executionBlockId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, id_); } getUnknownFields().writeTo(output); }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.TajoIdProtos.TaskIdProto)) { return super.equals(obj); } org.apache.tajo.TajoIdProtos.TaskIdProto other = (org.apache.tajo.TajoIdProtos.TaskIdProto) obj; boolean result = true; result = result && (hasExecutionBlockId() == other.hasExecutionBlockId()); if (hasExecutionBlockId()) { result = result && getExecutionBlockId() .equals(other.getExecutionBlockId()); } 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.tajo.TajoIdProtos.TaskIdProto)) { return super.equals(obj); } org.apache.tajo.TajoIdProtos.TaskIdProto other = (org.apache.tajo.TajoIdProtos.TaskIdProto) obj; boolean result = true; result = result && (hasExecutionBlockId() == other.hasExecutionBlockId()); if (hasExecutionBlockId()) { result = result && getExecutionBlockId() .equals(other.getExecutionBlockId()); } result = result && (hasId() == other.hasId()); if (hasId()) { result = result && (getId() == other.getId()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExecutionBlockId()) { hash = (37 * hash) + EXECUTION_BLOCK_ID_FIELD_NUMBER; hash = (53 * hash) + getExecutionBlockId().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExecutionBlockId()) { hash = (37 * hash) + EXECUTIONBLOCKID_FIELD_NUMBER; hash = (53 * hash) + getExecutionBlockId().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.tajo.TajoIdProtos.TaskIdProto other) { if (other == org.apache.tajo.TajoIdProtos.TaskIdProto.getDefaultInstance()) return this; if (other.hasExecutionBlockId()) { mergeExecutionBlockId(other.getExecutionBlockId()); } if (other.hasId()) { setId(other.getId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.TajoIdProtos.TaskIdProto other) { if (other == org.apache.tajo.TajoIdProtos.TaskIdProto.getDefaultInstance()) return this; if (other.hasExecutionBlockId()) { mergeExecutionBlockId(other.getExecutionBlockId()); } if (other.hasId()) { setId(other.getId()); } 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, executionBlockId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, id_); } getUnknownFields().writeTo(output); }