Exemple #1
0
 public void MergeFrom(AppLaunchReferrer other)
 {
     if (other == null)
     {
         return;
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.connectionId_ != null)
     {
         if (connectionId_ == null)
         {
             connectionId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         ConnectionId.MergeFrom(other.ConnectionId);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #2
0
        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: {
                    if (appInstanceId_ == null)
                    {
                        AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(AppInstanceId);
                    break;
                }
                }
            }
    #endif
        }
 public void MergeFrom(ResolveAppResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.appConnectionId_ != null)
     {
         if (appConnectionId_ == null)
         {
             appConnectionId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppConnectionId.MergeFrom(other.AppConnectionId);
     }
     if (other.IsNewInstanceLaunched != false)
     {
         IsNewInstanceLaunched = other.IsNewInstanceLaunched;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #4
0
 public void MergeFrom(AppConnectionDescriptor other)
 {
     if (other == null)
     {
         return;
     }
     if (other.connectionId_ != null)
     {
         if (connectionId_ == null)
         {
             ConnectionId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         ConnectionId.MergeFrom(other.ConnectionId);
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.TransportType != global::Plexus.Interop.Apps.Internal.Generated.TransportType.Unknown)
     {
         TransportType = other.TransportType;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #5
0
 public void MergeFrom(AppLaunchedEvent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     appIds_.Add(other.appIds_);
     if (other.referrer_ != null)
     {
         if (referrer_ == null)
         {
             Referrer = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
         }
         Referrer.MergeFrom(other.Referrer);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (appInstanceId_ == null)
                    {
                        appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appInstanceId_);
                    break;
                }

                case 18: {
                    if (appConnectionId_ == null)
                    {
                        appConnectionId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appConnectionId_);
                    break;
                }
                }
            }
        }
Exemple #7
0
        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: {
                    AppId = input.ReadString();
                    break;
                }

                case 18: {
                    LaunchParamsJson = input.ReadString();
                    break;
                }

                case 24: {
                    LaunchMode = (global::Plexus.Interop.Apps.Internal.Generated.AppLaunchMode)input.ReadEnum();
                    break;
                }

                case 34: {
                    if (suggestedAppInstanceId_ == null)
                    {
                        SuggestedAppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(SuggestedAppInstanceId);
                    break;
                }

                case 42: {
                    if (referrer_ == null)
                    {
                        Referrer = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
                    }
                    input.ReadMessage(Referrer);
                    break;
                }
                }
            }
    #endif
        }
Exemple #8
0
 public void MergeFrom(AppLaunchResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
 }
Exemple #9
0
 public void MergeFrom(AppLaunchResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #10
0
        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: {
                    AppId = input.ReadString();
                    break;
                }

                case 18: {
                    LaunchParamsJson = input.ReadString();
                    break;
                }

                case 24: {
                    launchMode_ = (global::Plexus.Interop.Apps.Internal.Generated.AppLaunchMode)input.ReadEnum();
                    break;
                }

                case 34: {
                    if (suggestedAppInstanceId_ == null)
                    {
                        suggestedAppInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(suggestedAppInstanceId_);
                    break;
                }

                case 42: {
                    if (referrer_ == null)
                    {
                        referrer_ = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
                    }
                    input.ReadMessage(referrer_);
                    break;
                }
                }
            }
        }
Exemple #11
0
        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: {
                    AppId = input.ReadString();
                    break;
                }

                case 18: {
                    LaunchParamsJson = input.ReadString();
                    break;
                }

                case 24: {
                    LaunchMode = (global::Plexus.Interop.Apps.Internal.Generated.AppLaunchMode)input.ReadEnum();
                    break;
                }

                case 34: {
                    if (suggestedAppInstanceId_ == null)
                    {
                        SuggestedAppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(SuggestedAppInstanceId);
                    break;
                }

                case 42: {
                    if (referrer_ == null)
                    {
                        Referrer = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
                    }
                    input.ReadMessage(Referrer);
                    break;
                }
                }
            }
        }
Exemple #12
0
        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: {
                    if (connectionId_ == null)
                    {
                        ConnectionId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(ConnectionId);
                    break;
                }

                case 18: {
                    AppId = input.ReadString();
                    break;
                }

                case 26: {
                    if (appInstanceId_ == null)
                    {
                        AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(AppInstanceId);
                    break;
                }

                case 32: {
                    TransportType = (global::Plexus.Interop.Apps.Internal.Generated.TransportType)input.ReadEnum();
                    break;
                }
                }
            }
        }
Exemple #13
0
        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: {
                    if (appInstanceId_ == null)
                    {
                        appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appInstanceId_);
                    break;
                }
                }
            }
        }
Exemple #14
0
        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: {
                    if (appInstanceId_ == null)
                    {
                        AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(AppInstanceId);
                    break;
                }
                }
            }
        }
Exemple #15
0
        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: {
                    if (appInstanceId_ == null)
                    {
                        appInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appInstanceId_);
                    break;
                }

                case 18: {
                    appIds_.AddEntriesFrom(input, _repeated_appIds_codec);
                    break;
                }

                case 26: {
                    if (referrer_ == null)
                    {
                        referrer_ = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
                    }
                    input.ReadMessage(referrer_);
                    break;
                }
                }
            }
        }
Exemple #16
0
        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: {
                    if (appInstanceId_ == null)
                    {
                        AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(AppInstanceId);
                    break;
                }

                case 18: {
                    appIds_.AddEntriesFrom(ref input, _repeated_appIds_codec);
                    break;
                }

                case 26: {
                    if (referrer_ == null)
                    {
                        Referrer = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
                    }
                    input.ReadMessage(Referrer);
                    break;
                }
                }
            }
        }
Exemple #17
0
 public void MergeFrom(AppLaunchRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.LaunchParamsJson.Length != 0)
     {
         LaunchParamsJson = other.LaunchParamsJson;
     }
     if (other.LaunchMode != 0)
     {
         LaunchMode = other.LaunchMode;
     }
     if (other.suggestedAppInstanceId_ != null)
     {
         if (suggestedAppInstanceId_ == null)
         {
             suggestedAppInstanceId_ = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         SuggestedAppInstanceId.MergeFrom(other.SuggestedAppInstanceId);
     }
     if (other.referrer_ != null)
     {
         if (referrer_ == null)
         {
             referrer_ = new global::Plexus.Interop.Apps.Internal.Generated.AppLaunchReferrer();
         }
         Referrer.MergeFrom(other.Referrer);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }