public void MergeFrom(Request other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.RequestCase)
            {
            case RequestOneofCase.Status:
                if (Status == null)
                {
                    Status = new global::BlazingPizza.OrderStatusUpdates.StatusUpdate();
                }
                Status.MergeFrom(other.Status);
                break;

            case RequestOneofCase.Req:
                if (Req == null)
                {
                    Req = new global::BlazingPizza.OrderStatusUpdates.GenericRequest();
                }
                Req.MergeFrom(other.Req);
                break;

            case RequestOneofCase.Ack:
                if (Ack == null)
                {
                    Ack = new global::BlazingPizza.OrderStatusUpdates.Ack();
                }
                Ack.MergeFrom(other.Ack);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    global::BlazingPizza.OrderStatusUpdates.StatusUpdate subBuilder = new global::BlazingPizza.OrderStatusUpdates.StatusUpdate();
                    if (requestCase_ == RequestOneofCase.Status)
                    {
                        subBuilder.MergeFrom(Status);
                    }
                    input.ReadMessage(subBuilder);
                    Status = subBuilder;
                    break;
                }

                case 18: {
                    global::BlazingPizza.OrderStatusUpdates.GenericRequest subBuilder = new global::BlazingPizza.OrderStatusUpdates.GenericRequest();
                    if (requestCase_ == RequestOneofCase.Req)
                    {
                        subBuilder.MergeFrom(Req);
                    }
                    input.ReadMessage(subBuilder);
                    Req = subBuilder;
                    break;
                }

                case 26: {
                    global::BlazingPizza.OrderStatusUpdates.Ack subBuilder = new global::BlazingPizza.OrderStatusUpdates.Ack();
                    if (requestCase_ == RequestOneofCase.Ack)
                    {
                        subBuilder.MergeFrom(Ack);
                    }
                    input.ReadMessage(subBuilder);
                    Ack = subBuilder;
                    break;
                }
                }
            }
    #endif
        }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    global::BlazingPizza.OrderStatusUpdates.StatusUpdate subBuilder = new global::BlazingPizza.OrderStatusUpdates.StatusUpdate();
                    if (requestCase_ == RequestOneofCase.Status)
                    {
                        subBuilder.MergeFrom(Status);
                    }
                    input.ReadMessage(subBuilder);
                    Status = subBuilder;
                    break;
                }

                case 18: {
                    global::BlazingPizza.OrderStatusUpdates.GenericRequest subBuilder = new global::BlazingPizza.OrderStatusUpdates.GenericRequest();
                    if (requestCase_ == RequestOneofCase.Req)
                    {
                        subBuilder.MergeFrom(Req);
                    }
                    input.ReadMessage(subBuilder);
                    Req = subBuilder;
                    break;
                }

                case 26: {
                    global::BlazingPizza.OrderStatusUpdates.Ack subBuilder = new global::BlazingPizza.OrderStatusUpdates.Ack();
                    if (requestCase_ == RequestOneofCase.Ack)
                    {
                        subBuilder.MergeFrom(Ack);
                    }
                    input.ReadMessage(subBuilder);
                    Ack = subBuilder;
                    break;
                }
                }
            }
        }