/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder addJustification( int index, org.drools.marshalling.impl.ProtobufMessages.Justification value) { if (justificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJustificationIsMutable(); justification_.add(index, value); onChanged(); } else { justificationBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder addJustification(org.drools.marshalling.impl.ProtobufMessages.Justification value) { if (justificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJustificationIsMutable(); justification_.add(value); onChanged(); } else { justificationBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder setJustification( int index, org.drools.marshalling.impl.ProtobufMessages.Justification value) { if (justificationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJustificationIsMutable(); justification_.set(index, value); onChanged(); } else { justificationBuilder_.setMessage(index, value); } return this; } /**
bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJustificationIsMutable(); justification_.addAll(other.justification_);
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder addJustification( org.drools.marshalling.impl.ProtobufMessages.Justification.Builder builderForValue) { if (justificationBuilder_ == null) { ensureJustificationIsMutable(); justification_.add(builderForValue.build()); onChanged(); } else { justificationBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder setJustification( int index, org.drools.marshalling.impl.ProtobufMessages.Justification.Builder builderForValue) { if (justificationBuilder_ == null) { ensureJustificationIsMutable(); justification_.set(index, builderForValue.build()); onChanged(); } else { justificationBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder addAllJustification( java.lang.Iterable<? extends org.drools.marshalling.impl.ProtobufMessages.Justification> values) { if (justificationBuilder_ == null) { ensureJustificationIsMutable(); super.addAll(values, justification_); onChanged(); } else { justificationBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder addJustification( int index, org.drools.marshalling.impl.ProtobufMessages.Justification.Builder builderForValue) { if (justificationBuilder_ == null) { ensureJustificationIsMutable(); justification_.add(index, builderForValue.build()); onChanged(); } else { justificationBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder removeJustification(int index) { if (justificationBuilder_ == null) { ensureJustificationIsMutable(); justification_.remove(index); onChanged(); } else { justificationBuilder_.remove(index); } return this; } /**