public void MergeFrom(RequestEnvelope other) { if (other == null) { return; } if (other.ApplicationMessageId.Length != 0) { ApplicationMessageId = other.ApplicationMessageId; } if (other.ApplicationMessageSeqNo != 0L) { ApplicationMessageSeqNo = other.ApplicationMessageSeqNo; } if (other.TechnicalMessageType.Length != 0) { TechnicalMessageType = other.TechnicalMessageType; } if (other.TeamSetContextId.Length != 0) { TeamSetContextId = other.TeamSetContextId; } if (other.Mode != global::Agrirouter.Request.RequestEnvelope.Types.Mode.Direct) { Mode = other.Mode; } recipients_.Add(other.recipients_); if (other.chunkInfo_ != null) { if (chunkInfo_ == null) { ChunkInfo = new global::Agrirouter.Commons.ChunkComponent(); } ChunkInfo.MergeFrom(other.ChunkInfo); } if (other.timestamp_ != null) { if (timestamp_ == null) { Timestamp = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } Timestamp.MergeFrom(other.Timestamp); } if (other.metadata_ != null) { if (metadata_ == null) { Metadata = new global::Agrirouter.Commons.Metadata(); } Metadata.MergeFrom(other.Metadata); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }