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 (conditions_ == null) { Conditions = new global::WUProtos.Data.Conditions(); } input.ReadMessage(Conditions); break; } case 18: { modifiers_.AddEntriesFrom(input, _map_modifiers_codec); break; } } } }
public void MergeFrom(ConditionalModifiers other) { if (other == null) { return; } if (other.conditions_ != null) { if (conditions_ == null) { Conditions = new global::WUProtos.Data.Conditions(); } Conditions.MergeFrom(other.Conditions); } modifiers_.Add(other.modifiers_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }