Exemple #1
0
 public void MergeFrom(ClientTelemetryProfileButtonLens other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PressedButtonId.Length != 0)
     {
         PressedButtonId = other.PressedButtonId;
     }
     if (other.LensCategory != 0)
     {
         LensCategory = other.LensCategory;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Exemple #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: {
                    PressedButtonId = input.ReadString();
                    break;
                }

                case 16: {
                    LensCategory = (global::WUProtos.Enums.CategoryLens)input.ReadEnum();
                    break;
                }
                }
            }
        }