how is tertiary structure maintained?

1) via hydrogen bonding between R groups
2) via ionic bonding between R groups
3) via covalent bonding between R groups
4) all of the above