public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, srcTaskIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getExecutorIdBytes()); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, srcTaskIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getExecutorIdBytes()); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, srcTaskIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getExecutorIdBytes()); } 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 .computeInt64Size(1, srcTaskIndex_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getExecutorIdBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage.getDefaultInstance()) return this; if (other.hasSrcTaskIndex()) { setSrcTaskIndex(other.getSrcTaskIndex()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000002; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasExecutorId()) { bitField0_ |= 0x00000004; executorId_ = other.executorId_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage.getDefaultInstance()) return this; if (other.hasSrcTaskIndex()) { setSrcTaskIndex(other.getSrcTaskIndex()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000002; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasExecutorId()) { bitField0_ |= 0x00000004; executorId_ = other.executorId_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }