[Java] Update submit methods to require stream name
- Mark existing methods w/o stream name as deprecated.
- Update relevant tests.
- Add updated stream config for Android instruments using data contract in local json.
Note that the only API submit methods currently in use are MetricsClient::submitMetricsEvent()
and MetricsClient::submitInteraction()
. For backwards compatibility, previous submitMetricsEvent()
and submitInteraction()
methods without stream name as a parameter are marked as deprecated. For the MetricsClient::submitClick()
and MetricsClient::submitView()
methods, these have not yet been used in production so they are updated directly without the need to be marked deprecated.
Bug: T354819