예제 #1
0
 public void MergeFrom(AddZodiacRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.zodiac_ != null)
     {
         if (zodiac_ == null)
         {
             Zodiac = new global::ZodiacService.Zodiac();
         }
         Zodiac.MergeFrom(other.Zodiac);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
예제 #2
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 (zodiac_ == null)
                    {
                        Zodiac = new global::ZodiacService.Zodiac();
                    }
                    input.ReadMessage(Zodiac);
                    break;
                }
                }
            }
        }