propagate_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance(); } else { propagateBuilder_.clear();
public PropagateAction(MarshallerReaderContext context, ProtobufMessages.ActionQueue.Action _action) { this.node = (PropagationQueuingNode) context.sinks.get( _action.getPropagate().getNodeId() ); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, nodeId_); } getUnknownFields().writeTo(output); }
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
/** * <code>optional .org.drools.marshalling.ActionQueue.Propagate propagate = 5;</code> */ public Builder mergePropagate(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate value) { if (propagateBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && propagate_ != org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance()) { propagate_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.newBuilder(propagate_).mergeFrom(value).buildPartial(); } else { propagate_ = value; } onChanged(); } else { propagateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /**
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance(); }
public static Builder newBuilder(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder toBuilder() { return newBuilder(this); }
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 ProtobufMessages.ActionQueue.Action serialize( MarshallerWriteContext context ) { return ProtobufMessages.ActionQueue.Action.newBuilder() .setType( ProtobufMessages.ActionQueue.ActionType.PROPAGATE ) .setPropagate( ProtobufMessages.ActionQueue.Propagate.newBuilder() .setNodeId( node.getId() ) .build() ) .build(); }
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate build() { org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate prototype) {
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate other) { if (other == org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance()) return this; if (other.hasNodeId()) { setNodeId(other.getNodeId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .org.drools.marshalling.ActionQueue.Propagate propagate = 5;</code> */ public Builder clearPropagate() { if (propagateBuilder_ == null) { propagate_ = org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate.getDefaultInstance(); onChanged(); } else { propagateBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /**
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, nodeId_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate buildPartial() { org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate result = new org.drools.marshalling.impl.ProtobufMessages.ActionQueue.Propagate(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.nodeId_ = nodeId_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }