public void MergeFrom(TEKSignature other) { if (other == null) { return; } if (other.signatureInfo_ != null) { if (signatureInfo_ == null) { SignatureInfo = new global::NL.Rijksoverheid.ExposureNotification.BackEnd.GeneratedGaenFormat.SignatureInfo(); } SignatureInfo.MergeFrom(other.SignatureInfo); } if (other.HasBatchNum) { BatchNum = other.BatchNum; } if (other.HasBatchSize) { BatchSize = other.BatchSize; } if (other.HasSignature) { Signature = other.Signature; } _unknownFields = UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (signatureInfo_ == null) { SignatureInfo = new global::NL.Rijksoverheid.ExposureNotification.BackEnd.GeneratedGaenFormat.SignatureInfo(); } input.ReadMessage(SignatureInfo); break; } case 16: { BatchNum = input.ReadInt32(); break; } case 24: { BatchSize = input.ReadInt32(); break; } case 34: { Signature = input.ReadBytes(); break; } } } }