Пример #1
0
 public void MergeFrom(AppConnectionDescriptor other)
 {
     if (other == null)
     {
         return;
     }
     if (other.connectionId_ != null)
     {
         if (connectionId_ == null)
         {
             ConnectionId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         ConnectionId.MergeFrom(other.ConnectionId);
     }
     if (other.AppId.Length != 0)
     {
         AppId = other.AppId;
     }
     if (other.appInstanceId_ != null)
     {
         if (appInstanceId_ == null)
         {
             AppInstanceId = new global::Plexus.Interop.Apps.Internal.Generated.UniqueId();
         }
         AppInstanceId.MergeFrom(other.AppInstanceId);
     }
     if (other.TransportType != global::Plexus.Interop.Apps.Internal.Generated.TransportType.Unknown)
     {
         TransportType = other.TransportType;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }