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: { increaseCapacityStorePackProtoIds_.AddEntriesFrom(input, _repeated_increaseCapacityStorePackProtoIds_codec); break; } case 18: { Id = input.ReadString(); break; } case 24: { CapacityType = (global::WUProtos.Enums.CategoryCapacityType)input.ReadEnum(); break; } } } }
public void MergeFrom(VaultCategory other) { if (other == null) { return; } increaseCapacityStorePackProtoIds_.Add(other.increaseCapacityStorePackProtoIds_); if (other.Id.Length != 0) { Id = other.Id; } if (other.CapacityType != 0) { CapacityType = other.CapacityType; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }