public Builder clear() { super.clear(); if (activationBuilder_ == null) { activation_ = org.drools.marshalling.impl.ProtobufMessages.Activation.getDefaultInstance(); } else { activationBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (triggerBuilder_ == null) { trigger_ = org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance(); } else { triggerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; }
/** * <code>optional .org.drools.marshalling.Trigger trigger = 2;</code> */ public Builder clearTrigger() { if (triggerBuilder_ == null) { trigger_ = org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance(); onChanged(); } else { triggerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional .org.drools.marshalling.Trigger trigger = 2;</code> */ public Builder mergeTrigger(org.drools.marshalling.impl.ProtobufMessages.Trigger value) { if (triggerBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && trigger_ != org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance()) { trigger_ = org.drools.marshalling.impl.ProtobufMessages.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial(); } else { trigger_ = value; } onChanged(); } else { triggerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.Trigger other) { if (other == org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasCron()) { mergeCron(other.getCron()); } if (other.hasInterval()) { mergeInterval(other.getInterval()); } if (other.hasPit()) { mergePit(other.getPit()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.drools.marshalling.impl.ProtobufMessages.Trigger getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance(); }
private void initFields() { activation_ = org.drools.marshalling.impl.ProtobufMessages.Activation.getDefaultInstance(); trigger_ = org.drools.marshalling.impl.ProtobufMessages.Trigger.getDefaultInstance(); } private byte memoizedIsInitialized = -1;