public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { NotifierType = input.ReadString(); break; } case 18: { if (shmLocator_ == null) { shmLocator_ = new global::Apollo.Cyber.Proto.ShmMulticastLocator(); } input.ReadMessage(shmLocator_); break; } } } }
public void MergeFrom(ShmConf other) { if (other == null) { return; } if (other.NotifierType.Length != 0) { NotifierType = other.NotifierType; } if (other.shmLocator_ != null) { if (shmLocator_ == null) { shmLocator_ = new global::Apollo.Cyber.Proto.ShmMulticastLocator(); } ShmLocator.MergeFrom(other.ShmLocator); } }