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