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.RuleData rule_data = 3;</code> */ public Builder clearRuleData() { if (ruleDataBuilder_ == null) { ruleData_ = org.drools.marshalling.impl.ProtobufMessages.RuleData.getDefaultInstance(); onChanged(); } else { ruleDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /**
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.RuleData other) { if (other == org.drools.marshalling.impl.ProtobufMessages.RuleData.getDefaultInstance()) return this; if (other.hasLastId()) { setLastId(other.getLastId());
/** * <code>optional .org.drools.marshalling.RuleData rule_data = 3;</code> */ public Builder mergeRuleData(org.drools.marshalling.impl.ProtobufMessages.RuleData value) { if (ruleDataBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && ruleData_ != org.drools.marshalling.impl.ProtobufMessages.RuleData.getDefaultInstance()) { ruleData_ = org.drools.marshalling.impl.ProtobufMessages.RuleData.newBuilder(ruleData_).mergeFrom(value).buildPartial(); } else { ruleData_ = value; } onChanged(); } else { ruleDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.RuleData getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.RuleData.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;