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.ProcessData process_data = 4;</code> */ public Builder clearProcessData() { if (processDataBuilder_ == null) { processData_ = org.drools.marshalling.impl.ProtobufMessages.ProcessData.getDefaultInstance(); onChanged(); } else { processDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
/** * <code>optional .org.drools.marshalling.ProcessData process_data = 4;</code> */ public Builder mergeProcessData(org.drools.marshalling.impl.ProtobufMessages.ProcessData value) { if (processDataBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && processData_ != org.drools.marshalling.impl.ProtobufMessages.ProcessData.getDefaultInstance()) { processData_ = org.drools.marshalling.impl.ProtobufMessages.ProcessData.newBuilder(processData_).mergeFrom(value).buildPartial(); } else { processData_ = value; } onChanged(); } else { processDataBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.ProcessData getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.ProcessData.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;
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.ProcessData other) { if (other == org.drools.marshalling.impl.ProtobufMessages.ProcessData.getDefaultInstance()) return this; this.mergeExtensionFields(other); this.mergeUnknownFields(other.getUnknownFields()); return this; }