You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unclear in docs if config can be reused and relevant classes are thread safe. #3191
E.g.: Can I reuse parts spanding more requests like the response of the getServcie() and have that injected in another class? Are these classes thread safe or should a developer always create a new Translate object?
@Inject
private Translate translate;
// Somewhere else defined and injected like
// Translate translate = TranslateOptions.newBuilder().setApiKey(googleApiKey).build().getService();
...
public void doTranslation(){
Translation translation = translate.translate(
"Some text here",
Translate.TranslateOption.sourceLanguage(sourceLanguage),
Translate.TranslateOption.targetLanguage(targetLanguage));
}
Activity
translate: document concurrent use (#3243)
Sync to master head (#3698)
chore(main): release 2.38.2 (#3191)
deps: update dependency com.google.auto.value:auto-value-annotations …
samples(feat): add storage_move_object sample (#3191)