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: { Key = input.ReadString(); break; } case 18: { if (val_ == null) { Val = new global::LeanCloud.Play.Protocol.GenericCollectionValue(); } input.ReadMessage(Val); break; } } } }
public void MergeFrom(MapEntry other) { if (other == null) { return; } if (other.Key.Length != 0) { Key = other.Key; } if (other.val_ != null) { if (val_ == null) { Val = new global::LeanCloud.Play.Protocol.GenericCollectionValue(); } Val.MergeFrom(other.Val); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }