Exemple #1
0
 public void MergeFrom(RealtyListRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
 }
        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 16: {
                    type_ = (global::DowntownRealty.RealtyType)input.ReadEnum();
                    break;
                }

                case 26: {
                    Topic = input.ReadString();
                    break;
                }

                case 34: {
                    Message = input.ReadString();
                    break;
                }

                case 42: {
                    if (address_ == null)
                    {
                        address_ = new global::DowntownRealty.NullableString();
                    }
                    input.ReadMessage(address_);
                    break;
                }

                case 50: {
                    Photo = input.ReadString();
                    break;
                }
                }
            }
        }
Exemple #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 8: {
                    type_ = (global::DowntownRealty.RealtyType)input.ReadEnum();
                    break;
                }
                }
            }
        }