bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeyIsMutable(); key_.addAll(other.key_); onChanged(); keyBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getKeyFieldBuilder() : null; } else { keyBuilder_.addAllMessages(other.key_); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJustificationIsMutable(); justification_.addAll(other.justification_); onChanged(); justificationBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getJustificationFieldBuilder() : null; } else { justificationBuilder_.addAllMessages(other.justification_); this.mergeUnknownFields(other.getUnknownFields()); return this;
subBuilder.mergeFrom(tms_); tms_ = subBuilder.buildPartial();
_tms.addKey(_key.build()); _justification.addActivation(_activation); _tms.addJustification(_justification.build()); _session.setTms(_tms.build());
/** * <code>optional .org.drools.marshalling.TruthMaintenanceSystem tms = 12;</code> */ public Builder mergeTms(org.drools.marshalling.impl.ProtobufMessages.TruthMaintenanceSystem value) { if (tmsBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && tms_ != org.drools.marshalling.impl.ProtobufMessages.TruthMaintenanceSystem.getDefaultInstance()) { tms_ = org.drools.marshalling.impl.ProtobufMessages.TruthMaintenanceSystem.newBuilder(tms_).mergeFrom(value).buildPartial(); } else { tms_ = value; } onChanged(); } else { tmsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; 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 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.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.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.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.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>optional .org.drools.marshalling.TruthMaintenanceSystem tms = 12;</code> */ public Builder setTms( org.drools.marshalling.impl.ProtobufMessages.TruthMaintenanceSystem.Builder builderForValue) { if (tmsBuilder_ == null) { tms_ = builderForValue.build(); onChanged(); } else { tmsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; 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 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.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.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; } /**