signalProcessInstance_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.getDefaultInstance(); } else { signalProcessInstanceBuilder_.clear();
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, event_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, processInstanceId_); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, event_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, processInstanceId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance buildPartial() { org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance result = new org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.event_ = event_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.processInstanceId_ = processInstanceId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
/** * <code>optional .org.drools.marshalling.ActionQueue.SignalProcessInstance signal_process_instance = 9;</code> */ public Builder mergeSignalProcessInstance(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance value) { if (signalProcessInstanceBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && signalProcessInstance_ != org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.getDefaultInstance()) { signalProcessInstance_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.newBuilder(signalProcessInstance_).mergeFrom(value).buildPartial(); } else { signalProcessInstance_ = value; } onChanged(); } else { signalProcessInstanceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /**
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance other) { if (other == org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } if (other.hasEvent()) { setEvent(other.getEvent()); } if (other.hasProcessInstanceId()) { setProcessInstanceId(other.getProcessInstanceId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .org.drools.marshalling.ActionQueue.SignalProcessInstance signal_process_instance = 9;</code> */ public Builder clearSignalProcessInstance() { if (signalProcessInstanceBuilder_ == null) { signalProcessInstance_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.getDefaultInstance(); onChanged(); } else { signalProcessInstanceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.ActionQueue.SignalProcessInstance.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;
/** * <code>optional string type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /**
/** * <code>optional bytes event = 2;</code> */ public Builder clearEvent() { bitField0_ = (bitField0_ & ~0x00000002); event_ = getDefaultInstance().getEvent(); onChanged(); return this; }