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: { if (place_ == null) { place_ = new global::CyberLife.Protobuff.Place(); } input.ReadMessage(place_); break; } case 16: { Id = input.ReadInt64(); break; } case 26: { statesMetadata_.AddEntriesFrom(input, _repeated_statesMetadata_codec); break; } } } }
public void MergeFrom(PhenomenMetadata other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.place_ != null) { if (place_ == null) { place_ = new global::CyberLife.Protobuff.Place(); } Place.MergeFrom(other.Place); } if (other.TypeName.Length != 0) { TypeName = other.TypeName; } parameters_.Add(other.parameters_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
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: { Name = input.ReadString(); break; } case 18: { if (place_ == null) { place_ = new global::CyberLife.Protobuff.Place(); } input.ReadMessage(place_); break; } } } }
public void MergeFrom(LifeFormMetadata other) { if (other == null) { return; } if (other.place_ != null) { if (place_ == null) { place_ = new global::CyberLife.Protobuff.Place(); } Place.MergeFrom(other.Place); } if (other.Id != 0L) { Id = other.Id; } statesMetadata_.Add(other.statesMetadata_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }