public void MergeFrom(pb::CodedInputStream input) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE input.ReadRawMessage(this); #else uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { IssuanceToken = input.ReadBytes(); break; } case 18: { if (issuingAttributes_ == null) { IssuingAttributes = new global::Yoti.Auth.ProtoBuf.Share.IssuingAttributes(); } input.ReadMessage(IssuingAttributes); break; } } } #endif }
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { IssuanceToken = input.ReadBytes(); break; } case 18: { if (issuingAttributes_ == null) { IssuingAttributes = new global::Yoti.Auth.ProtoBuf.Share.IssuingAttributes(); } input.ReadMessage(IssuingAttributes); break; } } } }
public void MergeFrom(ThirdPartyAttribute other) { if (other == null) { return; } if (other.IssuanceToken.Length != 0) { IssuanceToken = other.IssuanceToken; } if (other.issuingAttributes_ != null) { if (issuingAttributes_ == null) { IssuingAttributes = new global::Yoti.Auth.ProtoBuf.Share.IssuingAttributes(); } IssuingAttributes.MergeFrom(other.IssuingAttributes); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }