suspendTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance(); } else { suspendTaskBuilder_.clear();
/** * <code>optional .SuspendTaskProto suspend_task = 9;</code> */ public Builder clearSuspendTask() { if (suspendTaskBuilder_ == null) { suspendTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance(); onChanged(); } else { suspendTaskBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /**
/** * <code>optional .SuspendTaskProto suspend_task = 9;</code> */ public Builder mergeSuspendTask(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto value) { if (suspendTaskBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && suspendTask_ != com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance()) { suspendTask_ = com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.newBuilder(suspendTask_).mergeFrom(value).buildPartial(); } else { suspendTask_ = value; } onChanged(); } else { suspendTaskBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /**
public com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto getDefaultInstanceForType() { return com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.getDefaultInstance(); }
public Builder mergeFrom(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto other) { if (other == com.microsoft.reef.proto.EvaluatorRuntimeProtocol.SuspendTaskProto.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;