Esempio 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 (filter_ == null)
                    {
                        filter_ = new global::Grpc.Store.StoreService.Base.Company();
                    }
                    input.ReadMessage(filter_);
                    break;
                }

                case 18: {
                    if (projection_ == null)
                    {
                        projection_ = new global::Grpc.Store.StoreService.Base.Company();
                    }
                    input.ReadMessage(projection_);
                    break;
                }
                }
            }
        }
Esempio n. 2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    Id = input.ReadInt32();
                    break;
                }

                case 18: {
                    if (org_ == null)
                    {
                        org_ = new global::Grpc.Store.StoreService.Base.Company();
                    }
                    input.ReadMessage(org_);
                    break;
                }

                case 24: {
                    period_ = (global::Grpc.Store.StoreService.Base.Trimestr)input.ReadEnum();
                    break;
                }

                case 34: {
                    data_.AddEntriesFrom(input, _repeated_data_codec);
                    break;
                }
                }
            }
        }
Esempio n. 3
0
 public void MergeFrom(CompanySearch other)
 {
     if (other == null)
     {
         return;
     }
     if (other.filter_ != null)
     {
         if (filter_ == null)
         {
             filter_ = new global::Grpc.Store.StoreService.Base.Company();
         }
         Filter.MergeFrom(other.Filter);
     }
     if (other.projection_ != null)
     {
         if (projection_ == null)
         {
             projection_ = new global::Grpc.Store.StoreService.Base.Company();
         }
         Projection.MergeFrom(other.Projection);
     }
 }
Esempio n. 4
0
 public void MergeFrom(Document other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Id != 0)
     {
         Id = other.Id;
     }
     if (other.org_ != null)
     {
         if (org_ == null)
         {
             org_ = new global::Grpc.Store.StoreService.Base.Company();
         }
         Org.MergeFrom(other.Org);
     }
     if (other.Period != 0)
     {
         Period = other.Period;
     }
     data_.Add(other.data_);
 }