Esempio n. 1
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 (drawPoint_ == null)
                    {
                        DrawPoint = new global::gRPCServer.DrawPoint();
                    }
                    input.ReadMessage(DrawPoint);
                    break;
                }

                case 16: {
                    Id = input.ReadInt64();
                    break;
                }
                }
            }
        }
Esempio n. 2
0
 public void MergeFrom(DrawPointRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.drawPoint_ != null)
     {
         if (drawPoint_ == null)
         {
             DrawPoint = new global::gRPCServer.DrawPoint();
         }
         DrawPoint.MergeFrom(other.DrawPoint);
     }
     if (other.Id != 0L)
     {
         Id = other.Id;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }