public void MergeFrom(Field other) { if (other == null) { return; } if (other.column_ != null) { if (column_ == null) { Column = new global::LukeKennedy.LSQL.Net.ColumnID(); } Column.MergeFrom(other.Column); } if (other.NegateComparator != false) { NegateComparator = other.NegateComparator; } if (other.Comparator != global::LukeKennedy.LSQL.Net.Comparator.UnknownComparator) { Comparator = other.Comparator; } switch (other.ValueCase) { case ValueOneofCase.StringValue: StringValue = other.StringValue; break; case ValueOneofCase.Int64Value: Int64Value = other.Int64Value; break; case ValueOneofCase.Uint64Value: Uint64Value = other.Uint64Value; break; case ValueOneofCase.DoubleValue: DoubleValue = other.DoubleValue; break; case ValueOneofCase.BoolValue: BoolValue = other.BoolValue; break; case ValueOneofCase.BytesValue: BytesValue = other.BytesValue; break; case ValueOneofCase.TimeValue: if (TimeValue == null) { TimeValue = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } TimeValue.MergeFrom(other.TimeValue); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }