public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Timers other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance()) return this; if (timerBuilder_ == null) { if (!other.timer_.isEmpty()) {
/** * <code>optional .org.drools.marshalling.Timers timers = 5;</code> */ public Builder clearTimers() { if (timersBuilder_ == null) { timers_ = org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance(); onChanged(); } else { timersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /**
public Builder clear() { super.clear(); multithread_ = false; bitField0_ = (bitField0_ & ~0x00000001); time_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (ruleDataBuilder_ == null) { ruleData_ = org.drools.marshalling.impl.ProtobufMessages.RuleData.getDefaultInstance(); } else { ruleDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (processDataBuilder_ == null) { processData_ = org.drools.marshalling.impl.ProtobufMessages.ProcessData.getDefaultInstance(); } else { processDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (timersBuilder_ == null) { timers_ = org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance(); } else { timersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; }
/** * <code>optional .org.drools.marshalling.Timers timers = 5;</code> */ public Builder mergeTimers(org.drools.marshalling.impl.ProtobufMessages.Timers value) { if (timersBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && timers_ != org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance()) { timers_ = org.drools.marshalling.impl.ProtobufMessages.Timers.newBuilder(timers_).mergeFrom(value).buildPartial(); } else { timers_ = value; } onChanged(); } else { timersBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.Timers getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance(); }
private void initFields() { multithread_ = false; time_ = 0L; ruleData_ = org.drools.marshalling.impl.ProtobufMessages.RuleData.getDefaultInstance(); processData_ = org.drools.marshalling.impl.ProtobufMessages.ProcessData.getDefaultInstance(); timers_ = org.drools.marshalling.impl.ProtobufMessages.Timers.getDefaultInstance(); } private byte memoizedIsInitialized = -1;