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; }
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(); }