Exemplo 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 (pid_ == null)
                    {
                        pid_ = new global::ProtoActorDemo.Messages.PID();
                    }
                    input.ReadMessage(pid_);
                    break;
                }

                case 24: {
                    Data = input.ReadInt32();
                    break;
                }
                }
            }
        }
Exemplo n.º 2
0
 public void MergeFrom(RequestWork other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::ProtoActorDemo.Messages.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
 }
Exemplo n.º 3
0
 public void MergeFrom(SubmitWork other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::ProtoActorDemo.Messages.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
     if (other.Data != 0)
     {
         Data = other.Data;
     }
 }