public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.ScheduleTaskMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.ScheduleTaskMsg.getDefaultInstance()) return this; if (other.hasTask()) { setTask(other.getTask()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional bytes broadcastVars = 2;</code> */ public Builder clearBroadcastVars() { bitField0_ = (bitField0_ & ~0x00000002); broadcastVars_ = getDefaultInstance().getBroadcastVars(); onChanged(); return this; }
/** * <code>required string blockId = 2;</code> */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000002); blockId_ = getDefaultInstance().getBlockId(); onChanged(); return this; } /**
/** * <code>required string blockId = 1;</code> */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000001); blockId_ = getDefaultInstance().getBlockId(); onChanged(); return this; } /**
/** * <code>required string metricType = 1;</code> */ public Builder clearMetricType() { bitField0_ = (bitField0_ & ~0x00000001); metricType_ = getDefaultInstance().getMetricType(); onChanged(); return this; } /**
public final boolean isInitialized() { if (!hasType()) { return false; } if (hasDataCollected()) { if (!getDataCollected().isInitialized()) { return false; } } return true; }
/** * <code>required string blockId = 2;</code> */ public Builder clearBlockId() { bitField0_ = (bitField0_ & ~0x00000002); blockId_ = getDefaultInstance().getBlockId(); onChanged(); return this; } /**
/** * <code>optional string ownerExecutorId = 4;</code> */ public Builder clearOwnerExecutorId() { bitField0_ = (bitField0_ & ~0x00000008); ownerExecutorId_ = getDefaultInstance().getOwnerExecutorId(); onChanged(); return this; } /**
/** * <code>optional string vertexPutOnHoldId = 4;</code> */ public Builder clearVertexPutOnHoldId() { bitField0_ = (bitField0_ & ~0x00000008); vertexPutOnHoldId_ = getDefaultInstance().getVertexPutOnHoldId(); onChanged(); return this; } /**
/** * <code>required string initiatorExecutorId = 1;</code> */ public Builder clearInitiatorExecutorId() { bitField0_ = (bitField0_ & ~0x00000001); initiatorExecutorId_ = getDefaultInstance().getInitiatorExecutorId(); onChanged(); return this; } /**
/** * <code>required string runtimeEdgeId = 3;</code> */ public Builder clearRuntimeEdgeId() { bitField0_ = (bitField0_ & ~0x00000004); runtimeEdgeId_ = getDefaultInstance().getRuntimeEdgeId(); onChanged(); return this; } /**
public org.apache.nemo.runtime.common.comm.ControlMessage.ClientToDriverMessage build() { org.apache.nemo.runtime.common.comm.ControlMessage.ClientToDriverMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg build() { org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg build() { org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.Metric build() { org.apache.nemo.runtime.common.comm.ControlMessage.Metric result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>required string executorId = 1;</code> */ public Builder clearExecutorId() { bitField0_ = (bitField0_ & ~0x00000001); executorId_ = getDefaultInstance().getExecutorId(); onChanged(); return this; } /**
public org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg build() { org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.ExecutorFailedMsg build() { org.apache.nemo.runtime.common.comm.ControlMessage.ExecutorFailedMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.InMasterBroadcastVariableMessage build() { org.apache.nemo.runtime.common.comm.ControlMessage.InMasterBroadcastVariableMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage buildPartial() { org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage result = new org.apache.nemo.runtime.common.comm.ControlMessage.DataCollectMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.data_ = data_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }