public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { ClassName = input.ReadString(); break; } case 18: { if (config_ == null) { config_ = new global::Apollo.Cyber.Proto.TimerComponentConfig(); } input.ReadMessage(config_); break; } } } }
public void MergeFrom(TimerComponentInfo other) { if (other == null) { return; } if (other.ClassName.Length != 0) { ClassName = other.ClassName; } if (other.config_ != null) { if (config_ == null) { config_ = new global::Apollo.Cyber.Proto.TimerComponentConfig(); } Config.MergeFrom(other.Config); } }