Ejemplo n.º 1
0
        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.CommandLineTool.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appInstanceId_);
                    break;
                }

                case 18: {
                    if (appConnectionId_ == null)
                    {
                        appConnectionId_ = new global::Plexus.Interop.CommandLineTool.Internal.Generated.UniqueId();
                    }
                    input.ReadMessage(appConnectionId_);
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
 public void MergeFrom(ActivateAppResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             appInstanceId_ = new global::Plexus.Interop.CommandLineTool.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.appConnectionId_ != null)
     {
         if (appConnectionId_ == null)
         {
             appConnectionId_ = new global::Plexus.Interop.CommandLineTool.Internal.Generated.UniqueId();
         }
         AppConnectionId.MergeFrom(other.AppConnectionId);
     }
 }