public void MergeFrom(Command other) { if (other == null) { return; } if (other.Argument.Length != 0) { Argument = other.Argument; } if (other.Type != 0) { Type = other.Type; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Argument = input.ReadString(); break; } case 16: { type_ = (global::Command.Types.Type)input.ReadEnum(); break; } } } }