/** * <code>repeated .org.drools.marshalling.Justification justification = 2;</code> */ public Builder clearJustification() { if (justificationBuilder_ == null) { justification_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { justificationBuilder_.clear(); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder clearKey() { if (keyBuilder_ == null) { key_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { keyBuilder_.clear(); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder addKey(org.drools.marshalling.impl.ProtobufMessages.EqualityKey value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeyIsMutable(); key_.add(value); onChanged(); } else { keyBuilder_.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; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder addKey( int index, org.drools.marshalling.impl.ProtobufMessages.EqualityKey value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeyIsMutable(); key_.add(index, value); onChanged(); } else { keyBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder setKey( int index, org.drools.marshalling.impl.ProtobufMessages.EqualityKey value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKeyIsMutable(); key_.set(index, value); onChanged(); } else { keyBuilder_.setMessage(index, value); } return this; } /**
/** * <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 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.EqualityKey key = 1;</code> */ public Builder addAllKey( java.lang.Iterable<? extends org.drools.marshalling.impl.ProtobufMessages.EqualityKey> values) { if (keyBuilder_ == null) { ensureKeyIsMutable(); super.addAll(values, key_); onChanged(); } else { keyBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder addKey( int index, org.drools.marshalling.impl.ProtobufMessages.EqualityKey.Builder builderForValue) { if (keyBuilder_ == null) { ensureKeyIsMutable(); key_.add(index, builderForValue.build()); onChanged(); } else { keyBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder addKey( org.drools.marshalling.impl.ProtobufMessages.EqualityKey.Builder builderForValue) { if (keyBuilder_ == null) { ensureKeyIsMutable(); key_.add(builderForValue.build()); onChanged(); } else { keyBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder setKey( int index, org.drools.marshalling.impl.ProtobufMessages.EqualityKey.Builder builderForValue) { if (keyBuilder_ == null) { ensureKeyIsMutable(); key_.set(index, builderForValue.build()); onChanged(); } else { keyBuilder_.setMessage(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; } /**
/** * <code>repeated .org.drools.marshalling.EqualityKey key = 1;</code> */ public Builder removeKey(int index) { if (keyBuilder_ == null) { ensureKeyIsMutable(); key_.remove(index); onChanged(); } else { keyBuilder_.remove(index); } return this; } /**