
This check is already present in `DataSpec.Builder.build()` but there are many public constructors which bypass the builder (only some of which are deprecated), so this adds an additional check. PiperOrigin-RevId: 613908358
This check is already present in `DataSpec.Builder.build()` but there are many public constructors which bypass the builder (only some of which are deprecated), so this adds an additional check. PiperOrigin-RevId: 613908358