/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder setContext( int index, org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextIsMutable(); context_.set(index, value); onChanged(); } else { contextBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder addContext(org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextIsMutable(); context_.add(value); onChanged(); } else { contextBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder addContext( int index, org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext value) { if (contextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureContextIsMutable(); context_.add(index, value); onChanged(); } else { contextBuilder_.addMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureContextIsMutable(); context_.addAll(other.context_);
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder addAllContext( java.lang.Iterable<? extends org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext> values) { if (contextBuilder_ == null) { ensureContextIsMutable(); super.addAll(values, context_); onChanged(); } else { contextBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder setContext( int index, org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext.Builder builderForValue) { if (contextBuilder_ == null) { ensureContextIsMutable(); context_.set(index, builderForValue.build()); onChanged(); } else { contextBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder addContext( org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext.Builder builderForValue) { if (contextBuilder_ == null) { ensureContextIsMutable(); context_.add(builderForValue.build()); onChanged(); } else { contextBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder addContext( int index, org.drools.marshalling.impl.ProtobufMessages.NodeMemory.RIANodeMemory.RIAContext.Builder builderForValue) { if (contextBuilder_ == null) { ensureContextIsMutable(); context_.add(index, builderForValue.build()); onChanged(); } else { contextBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.NodeMemory.RIANodeMemory.RIAContext context = 1;</code> */ public Builder removeContext(int index) { if (contextBuilder_ == null) { ensureContextIsMutable(); context_.remove(index); onChanged(); } else { contextBuilder_.remove(index); } return this; } /**