final String blockIdWildcard = message.getRequestBlockLocationMsg().getBlockIdWildcard(); final long requestId = message.getId(); final Lock readLock = lock.readLock();
.setType(ControlMessage.MessageType.RequestBlockLocation) .setRequestBlockLocationMsg( ControlMessage.RequestBlockLocationMsg.newBuilder() .setExecutorId(executorId) .setBlockIdWildcard(blockIdWildcard)
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getExecutorIdBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, getBlockIdWildcardBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); } else { requestBlockLocationMsgBuilder_.clear();
requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); } else { requestBlockLocationMsgBuilder_.clear();
.setType(ControlMessage.MessageType.RequestBlockLocation) .setRequestBlockLocationMsg( ControlMessage.RequestBlockLocationMsg.newBuilder() .setExecutorId(executorId) .setBlockIdWildcard(blockIdWildcard)
final String blockIdWildcard = message.getRequestBlockLocationMsg().getBlockIdWildcard(); final long requestId = message.getId(); final Lock readLock = lock.readLock();
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder mergeRequestBlockLocationMsg(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg value) { if (requestBlockLocationMsgBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && requestBlockLocationMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) { requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.newBuilder(requestBlockLocationMsg_).mergeFrom(value).buildPartial(); } else { requestBlockLocationMsg_ = value; } onChanged(); } else { requestBlockLocationMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
private void initFields() { type_ = org.apache.nemo.runtime.common.comm.ControlMessage.MessageType.TaskStateChanged; id_ = 0L; listenerId_ = ""; taskStateChangedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg.getDefaultInstance(); scheduleTaskMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ScheduleTaskMsg.getDefaultInstance(); blockStateChangedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg.getDefaultInstance(); dataSizeMetricMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.DataSizeMetricMsg.getDefaultInstance(); requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); blockLocationInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.getDefaultInstance(); executorFailedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ExecutorFailedMsg.getDefaultInstance(); containerFailedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ContainerFailedMsg.getDefaultInstance(); metricMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.MetricMsg.getDefaultInstance(); dataCollected_ = org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage.getDefaultInstance(); requestbroadcastVariableMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBroadcastVariableMessage.getDefaultInstance(); broadcastVariableMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.InMasterBroadcastVariableMessage.getDefaultInstance(); pipeInitMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage.getDefaultInstance(); requestPipeLocMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestPipeLocationMessage.getDefaultInstance(); pipeLocInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.PipeLocationInfoMessage.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
private void initFields() { type_ = org.apache.nemo.runtime.common.comm.ControlMessage.MessageType.TaskStateChanged; id_ = 0L; listenerId_ = ""; taskStateChangedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg.getDefaultInstance(); scheduleTaskMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ScheduleTaskMsg.getDefaultInstance(); blockStateChangedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg.getDefaultInstance(); dataSizeMetricMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.DataSizeMetricMsg.getDefaultInstance(); requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); blockLocationInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.getDefaultInstance(); executorFailedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ExecutorFailedMsg.getDefaultInstance(); containerFailedMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.ContainerFailedMsg.getDefaultInstance(); metricMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.MetricMsg.getDefaultInstance(); dataCollected_ = org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage.getDefaultInstance(); requestbroadcastVariableMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBroadcastVariableMessage.getDefaultInstance(); broadcastVariableMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.InMasterBroadcastVariableMessage.getDefaultInstance(); pipeInitMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.PipeInitMessage.getDefaultInstance(); requestPipeLocMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestPipeLocationMessage.getDefaultInstance(); pipeLocInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.PipeLocationInfoMessage.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder mergeRequestBlockLocationMsg(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg value) { if (requestBlockLocationMsgBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && requestBlockLocationMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) { requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.newBuilder(requestBlockLocationMsg_).mergeFrom(value).buildPartial(); } else { requestBlockLocationMsg_ = value; } onChanged(); } else { requestBlockLocationMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
public org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg buildPartial() { org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg result = new org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.executorId_ = executorId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.blockIdWildcard_ = blockIdWildcard_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder toBuilder() { return newBuilder(this); }
public Builder toBuilder() { return newBuilder(this); }
public org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg buildPartial() { org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg result = new org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.executorId_ = executorId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.blockIdWildcard_ = blockIdWildcard_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg prototype) {
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder clearRequestBlockLocationMsg() { if (requestBlockLocationMsgBuilder_ == null) { requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); onChanged(); } else { requestBlockLocationMsgBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /**
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockIdWildcard()) { bitField0_ |= 0x00000002; blockIdWildcard_ = other.blockIdWildcard_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockIdWildcard()) { bitField0_ |= 0x00000002; blockIdWildcard_ = other.blockIdWildcard_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg getDefaultInstanceForType() { return org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance(); }