public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 18: { if (station_ == null) { station_ = new global::Loko.Metro.Api.Station(); } input.ReadMessage(station_); break; } case 26: { UserID = input.ReadString(); break; } case 34: { Message = input.ReadString(); break; } } } }
public void MergeFrom(StartRequest other) { if (other == null) { return; } if (other.station_ != null) { if (station_ == null) { station_ = new global::Loko.Metro.Api.Station(); } Station.MergeFrom(other.Station); } if (other.UserID.Length != 0) { UserID = other.UserID; } if (other.Message.Length != 0) { Message = other.Message; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }