bitField0_ = (bitField0_ & ~0x00000001); if (behaviorExpireBuilder_ == null) { behaviorExpire_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance(); } else { behaviorExpireBuilder_.clear();
/** * <code>optional .org.drools.marshalling.ActionQueue.BehaviorExpire behavior_expire = 2;</code> * * <pre> * should only contain one of the following messages * </pre> */ public Builder clearBehaviorExpire() { if (behaviorExpireBuilder_ == null) { behaviorExpire_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance(); onChanged(); } else { behaviorExpireBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional .org.drools.marshalling.ActionQueue.BehaviorExpire behavior_expire = 2;</code> * * <pre> * should only contain one of the following messages * </pre> */ public Builder mergeBehaviorExpire(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire value) { if (behaviorExpireBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && behaviorExpire_ != org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance()) { behaviorExpire_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.newBuilder(behaviorExpire_).mergeFrom(value).buildPartial(); } else { behaviorExpire_ = value; } onChanged(); } else { behaviorExpireBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance(); }
private void initFields() { type_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.ActionType.BEHAVIOR_EXPIRE; behaviorExpire_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance(); deactivateCallback_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.DeactivateCallback.getDefaultInstance(); logicalRetract_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.LogicalRetract.getDefaultInstance(); propagate_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance(); assert_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Assert.getDefaultInstance(); expire_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Expire.getDefaultInstance(); signal_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Signal.getDefaultInstance(); signalProcessInstance_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.getDefaultInstance(); } private byte memoizedIsInitialized = -1;
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire other) { if (other == org.drools.marshalling.impl.ProtobufMessages.ActionQueue.BehaviorExpire.getDefaultInstance()) return this; if (other.hasNodeId()) { setNodeId(other.getNodeId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }