public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { list_.AddEntriesFrom(input, _repeated_list_codec); break; } case 16: { Timestamp = input.ReadUInt32(); break; } case 24: { Environment = (global::SensorsAndEngines.ProtobufModels.Environment)input.ReadEnum(); break; } } } }
public void MergeFrom(Sensors other) { if (other == null) { return; } list_.Add(other.list_); if (other.Timestamp != 0) { Timestamp = other.Timestamp; } if (other.Environment != global::SensorsAndEngines.ProtobufModels.Environment.Production) { Environment = other.Environment; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }