agenda_ = org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance(); } else { agendaBuilder_.clear();
private void initFields() { lastId_ = 0; lastRecency_ = 0L; initialFact_ = org.drools.marshalling.impl.ProtobufMessages.FactHandle.getDefaultInstance(); agenda_ = org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance(); nodeMemory_ = java.util.Collections.emptyList(); entryPoint_ = java.util.Collections.emptyList(); actionQueue_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.getDefaultInstance(); tms_ = org.drools.marshalling.impl.ProtobufMessages.TruthMaintenanceSystem.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
/** * <code>optional .org.drools.marshalling.Agenda agenda = 8;</code> */ public Builder clearAgenda() { if (agendaBuilder_ == null) { agenda_ = org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance(); onChanged(); } else { agendaBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Agenda other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance()) return this; if (other.hasDormantActivations()) { setDormantActivations(other.getDormantActivations());
/** * <code>optional .org.drools.marshalling.Agenda agenda = 8;</code> */ public Builder mergeAgenda(org.drools.marshalling.impl.ProtobufMessages.Agenda value) { if (agendaBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && agenda_ != org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance()) { agenda_ = org.drools.marshalling.impl.ProtobufMessages.Agenda.newBuilder(agenda_).mergeFrom(value).buildPartial(); } else { agenda_ = value; } onChanged(); } else { agendaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.Agenda getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.Agenda.getDefaultInstance(); }