fun getId(): Int
The resource ID (0xPPTTEEEE) of the resource being referred. This is optional.
uint32 id = 2;
Return Int: The id.