public void MergeFrom(ListMatcher other) { if (other == null) { return; } switch (other.MatchPatternCase) { case MatchPatternOneofCase.OneOf: if (OneOf == null) { OneOf = new global::Envoy.Type.Matcher.ValueMatcher(); } OneOf.MergeFrom(other.OneOf); break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }