Пример #1
0
        public void MergeFrom(Qualifier other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.GuidOrNameCase)
            {
            case GuidOrNameOneofCase.Anonymous:
                if (Anonymous == null)
                {
                    Anonymous = new global::Bitub.Dto.GlobalUniqueId();
                }
                Anonymous.MergeFrom(other.Anonymous);
                break;

            case GuidOrNameOneofCase.Named:
                if (Named == null)
                {
                    Named = new global::Bitub.Dto.Name();
                }
                Named.MergeFrom(other.Named);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }