stopTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance(); } else { stopTaskBuilder_.clear();
/** * <code>optional .StopTaskProto stop_task = 8;</code> */ public Builder clearStopTask() { if (stopTaskBuilder_ == null) { stopTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance(); onChanged(); } else { stopTaskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /**
/** * <code>optional .StopTaskProto stop_task = 8;</code> */ public Builder mergeStopTask(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto value) { if (stopTaskBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && stopTask_ != com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance()) { stopTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.newBuilder(stopTask_).mergeFrom(value).buildPartial(); } else { stopTask_ = value; } onChanged(); } else { stopTaskBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /**
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto getDefaultInstanceForType() { return com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance(); }
public Builder mergeFrom(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto other) { if (other == com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; }
private void initFields() { taskMessage_ = com.google.protobuf.ByteString.EMPTY; contextMessage_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.ContextMessageProto.getDefaultInstance(); addContext_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.AddContextProto.getDefaultInstance(); removeContext_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.RemoveContextProto.getDefaultInstance(); startTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StartTaskProto.getDefaultInstance(); stopTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.StopTaskProto.getDefaultInstance(); suspendTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance(); } private byte memoizedIsInitialized = -1;