public void MergeFrom(MysqlConfigSet5_7 other) { if (other == null) { return; } if (other.effectiveConfig_ != null) { if (effectiveConfig_ == null) { EffectiveConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } EffectiveConfig.MergeFrom(other.EffectiveConfig); } if (other.userConfig_ != null) { if (userConfig_ == null) { UserConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } UserConfig.MergeFrom(other.UserConfig); } if (other.defaultConfig_ != null) { if (defaultConfig_ == null) { DefaultConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } DefaultConfig.MergeFrom(other.DefaultConfig); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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 (effectiveConfig_ == null) { EffectiveConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } input.ReadMessage(EffectiveConfig); break; } case 18: { if (userConfig_ == null) { UserConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } input.ReadMessage(UserConfig); break; } case 26: { if (defaultConfig_ == null) { DefaultConfig = new global::Yandex.Cloud.Mdb.Mysql.V1Alpha.Config.MysqlConfig5_7(); } input.ReadMessage(DefaultConfig); break; } } } }