getResourceBytes

abstract fun getResourceBytes(): ByteString
Resource type, "BANDWIDTH" or "ENERGY", data type is string
string resource = 2;

Return

The bytes for resource.