public void MergeFrom(AppLifecycleEvent other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.EventCase)
            {
            case EventOneofCase.Connected:
                if (Connected == null)
                {
                    Connected = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectedEvent();
                }
                Connected.MergeFrom(other.Connected);
                break;

            case EventOneofCase.Disconnected:
                if (Disconnected == null)
                {
                    Disconnected = new global::Plexus.Interop.Apps.Internal.Generated.AppDisconnectedEvent();
                }
                Disconnected.MergeFrom(other.Disconnected);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    global::Plexus.Interop.Apps.Internal.Generated.AppConnectedEvent subBuilder = new global::Plexus.Interop.Apps.Internal.Generated.AppConnectedEvent();
                    if (eventCase_ == EventOneofCase.Connected)
                    {
                        subBuilder.MergeFrom(Connected);
                    }
                    input.ReadMessage(subBuilder);
                    Connected = subBuilder;
                    break;
                }

                case 18: {
                    global::Plexus.Interop.Apps.Internal.Generated.AppDisconnectedEvent subBuilder = new global::Plexus.Interop.Apps.Internal.Generated.AppDisconnectedEvent();
                    if (eventCase_ == EventOneofCase.Disconnected)
                    {
                        subBuilder.MergeFrom(Disconnected);
                    }
                    input.ReadMessage(subBuilder);
                    Disconnected = subBuilder;
                    break;
                }
                }
            }
        }