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
Copy file name to clipboardExpand all lines: google-cloud-translate/src/main/java/com/google/cloud/translate/Detection.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,8 @@
26
26
* Information about a language detection. Objects of this class contain the detected language and
27
27
* possibly a confidence level.
28
28
*
29
-
* <a href="https://cloud.google.com/translate/v2/detecting-language-with-rest">Detecting Language
* {@code GOOGLE_API_KEY} environment variable. For instructions on how to get an API key, see
118
+
* the <a href="https://cloud.google.com/translate/v2/quickstart">Translate Quickstart</a>.
119
119
*/
120
120
@Deprecated
121
121
publicBuildersetApiKey(StringapiKey) {
@@ -125,11 +125,10 @@ public Builder setApiKey(String apiKey) {
125
125
126
126
127
127
/**
128
-
* Sets the code for the default target language. If not set, English ({@code en}) is used.
129
-
* {@link Translate#translate(List, TranslateOption...)} and
130
-
* {@link Translate#translate(String, TranslateOption...)} calls will use this
131
-
* value unless a {@link TranslateOption#targetLanguage(String)} option is explicitly
132
-
* provided.
128
+
* Sets the code for the default target language. If not set, English ({@code en}) is
129
+
* used. Calls to {@link Translate#translate(List, TranslateOption...)} and
130
+
* {@link Translate#translate(String, TranslateOption...)} will use this value unless an option
131
+
* from {@link TranslateOption#targetLanguage(String)} is explicitly provided.
0 commit comments