public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getBlockIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, blockStore_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, keyRange_); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getBlockIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, blockStore_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, keyRange_); } 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 .computeBytesSize(1, getBlockIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStore_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, keyRange_); } 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 .computeBytesSize(1, getBlockIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, blockStore_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getRuntimeEdgeIdBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, keyRange_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor.getDefaultInstance()) return this; if (other.hasBlockId()) { bitField0_ |= 0x00000001; blockId_ = other.blockId_; onChanged(); } if (other.hasBlockStore()) { setBlockStore(other.getBlockStore()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000004; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasKeyRange()) { setKeyRange(other.getKeyRange()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor.getDefaultInstance()) return this; if (other.hasBlockId()) { bitField0_ |= 0x00000001; blockId_ = other.blockId_; onChanged(); } if (other.hasBlockStore()) { setBlockStore(other.getBlockStore()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000004; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasKeyRange()) { setKeyRange(other.getKeyRange()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }