Exemple #1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Operations.Attractions.AttractionCategoryIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

                case 26: {
                    attractions_.AddEntriesFrom(input, _repeated_attractions_codec);
                    break;
                }
                }
            }
        }
Exemple #2
0
 public void MergeFrom(Attraction other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.Attractions.AttractionIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.Information.Length != 0)
     {
         Information = other.Information;
     }
     if (other.CategoryName.Length != 0)
     {
         CategoryName = other.CategoryName;
     }
     if (other.category_ != null)
     {
         if (category_ == null)
         {
             category_ = new global::HOLMS.Types.Operations.Attractions.AttractionCategoryIndicator();
         }
         Category.MergeFrom(other.Category);
     }
 }
Exemple #3
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Operations.Attractions.AttractionIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }

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

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

                case 42: {
                    if (category_ == null)
                    {
                        category_ = new global::HOLMS.Types.Operations.Attractions.AttractionCategoryIndicator();
                    }
                    input.ReadMessage(category_);
                    break;
                }
                }
            }
        }
Exemple #4
0
 public void MergeFrom(AttractionCategory other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Operations.Attractions.AttractionCategoryIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     attractions_.Add(other.attractions_);
 }