public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Error = input.ReadString(); break; } case 18: { Hash = input.ReadString(); break; } case 26: { if (settings_ == null) { settings_ = new global::PokemonGoDesktop.API.Proto.GlobalSettings(); } input.ReadMessage(settings_); break; } } } }
public void MergeFrom(DownloadSettingsResponse other) { if (other == null) { return; } if (other.Error.Length != 0) { Error = other.Error; } if (other.Hash.Length != 0) { Hash = other.Hash; } if (other.settings_ != null) { if (settings_ == null) { settings_ = new global::PokemonGoDesktop.API.Proto.GlobalSettings(); } Settings.MergeFrom(other.Settings); } }