getCapacity

abstract fun getCapacity(): Int
Capacity rating for this device; for storage, this is expressed as a count of gigabytes. For network devices, this
is expressed as a count of megabits per second. For accelerators, this is expressed as a count of compute units.
uint32 capacity = 5;

Return

The capacity.