Skip navigation links
A B C D E F G H L M N P R S T V 

A

API_KEY_ENV_NAME - Static variable in class com.google.cloud.translate.TranslateOptions
 

B

build() - Method in class com.google.cloud.translate.TranslateOptions.Builder
 

C

com.google.cloud.translate - package com.google.cloud.translate
A client to Google Translation.
com.google.cloud.translate.spi - package com.google.cloud.translate.spi
 
com.google.cloud.translate.spi.v2 - package com.google.cloud.translate.spi.v2
 
com.google.cloud.translate.testing - package com.google.cloud.translate.testing
A testing helper for Google Translation.
create(String, InputStream) - Static method in class com.google.cloud.translate.testing.RemoteTranslateHelper
Creates a RemoteTranslateHelper object for the given project id and JSON key input stream.
create(String) - Static method in class com.google.cloud.translate.testing.RemoteTranslateHelper
Deprecated.
create() - Static method in class com.google.cloud.translate.testing.RemoteTranslateHelper
Creates a RemoteTranslateHelper object using default project id and authentication credentials.
create(TranslateOptions) - Method in class com.google.cloud.translate.TranslateOptions.DefaultTranslateFactory
 
create(TranslateOptions) - Method in class com.google.cloud.translate.TranslateOptions.DefaultTranslateRpcFactory
 

D

DefaultTranslateFactory() - Constructor for class com.google.cloud.translate.TranslateOptions.DefaultTranslateFactory
 
DefaultTranslateRpcFactory() - Constructor for class com.google.cloud.translate.TranslateOptions.DefaultTranslateRpcFactory
 
detect(List<String>) - Method in class com.google.cloud.translate.spi.v2.HttpTranslateRpc
 
detect(List<String>) - Method in interface com.google.cloud.translate.spi.v2.TranslateRpc
Detects the language of the provided texts.
detect(List<String>) - Method in interface com.google.cloud.translate.Translate
Detects the language of the provided texts.
detect(String...) - Method in interface com.google.cloud.translate.Translate
Detects the language of the provided texts.
detect(String) - Method in interface com.google.cloud.translate.Translate
Detects the language of the provided text.
Detection - Class in com.google.cloud.translate
Information about a language detection.

E

equals(Object) - Method in class com.google.cloud.translate.Detection
 
equals(Object) - Method in class com.google.cloud.translate.Language
 
equals(Object) - Method in class com.google.cloud.translate.TranslateOptions
 
equals(Object) - Method in class com.google.cloud.translate.Translation
 

F

format(String) - Static method in class com.google.cloud.translate.Translate.TranslateOption
Sets the format of the source text, in either HTML (default) or plain-text.

G

getApiKey() - Method in class com.google.cloud.translate.TranslateOptions
Returns the API key to be used to send requests.
getCode() - Method in class com.google.cloud.translate.Language
Returns the code of the language.
getConfidence() - Method in class com.google.cloud.translate.Detection
Returns an optional confidence value in the interval [0,1].
getCredentials() - Method in class com.google.cloud.translate.TranslateOptions.Builder
Returns the authentication credentials.
getDefaultApiKey() - Static method in class com.google.cloud.translate.TranslateOptions
 
getDefaultHost() - Method in class com.google.cloud.translate.TranslateOptions
 
getDefaultHttpTransportOptions() - Static method in class com.google.cloud.translate.TranslateOptions
 
getDefaultInstance() - Static method in class com.google.cloud.translate.TranslateOptions
Returns a default TranslateOptions instance.
getLanguage() - Method in class com.google.cloud.translate.Detection
Returns the code of the detected language.
getModel() - Method in class com.google.cloud.translate.Translation
Returns the translation model used to translate the text.
getName() - Method in class com.google.cloud.translate.Language
Returns the name of the language.
getOptions() - Method in class com.google.cloud.translate.testing.RemoteTranslateHelper
Returns a TranslateOptions object to be used for testing.
getScopes() - Method in class com.google.cloud.translate.TranslateOptions
 
getSourceLanguage() - Method in class com.google.cloud.translate.Translation
Returns the language code of the source text.
getTargetLanguage() - Method in class com.google.cloud.translate.TranslateOptions
Returns the code for the default target language.
getTranslatedText() - Method in class com.google.cloud.translate.Translation
Returns the translated text.
getTranslateRpcV2() - Method in class com.google.cloud.translate.TranslateOptions
 

H

hashCode() - Method in class com.google.cloud.translate.Detection
 
hashCode() - Method in class com.google.cloud.translate.Language
 
hashCode() - Method in class com.google.cloud.translate.TranslateOptions
 
hashCode() - Method in class com.google.cloud.translate.Translation
 
HttpTranslateRpc - Class in com.google.cloud.translate.spi.v2
 
HttpTranslateRpc(TranslateOptions) - Constructor for class com.google.cloud.translate.spi.v2.HttpTranslateRpc
 

L

Language - Class in com.google.cloud.translate
Information about a language supported by Google Translation.
listSupportedLanguages(Map<TranslateRpc.Option, ?>) - Method in class com.google.cloud.translate.spi.v2.HttpTranslateRpc
 
listSupportedLanguages(Map<TranslateRpc.Option, ?>) - Method in interface com.google.cloud.translate.spi.v2.TranslateRpc
Returns a list of the languages supported by Google Translation.
listSupportedLanguages(Translate.LanguageListOption...) - Method in interface com.google.cloud.translate.Translate
Returns the list of languages supported by Google Translation.

M

model(String) - Static method in class com.google.cloud.translate.Translate.TranslateOption
Sets the language translation model.

N

newBuilder() - Static method in class com.google.cloud.translate.TranslateOptions
Returns a builder for TranslateOptions objects.

P

projectIdRequired() - Method in class com.google.cloud.translate.TranslateOptions
 

R

RemoteTranslateHelper - Class in com.google.cloud.translate.testing
Utility to create a remote translate configuration for testing.
RemoteTranslateHelper.TranslateHelperException - Exception in com.google.cloud.translate.testing
 

S

setApiKey(String) - Method in class com.google.cloud.translate.TranslateOptions.Builder
Deprecated.
setProjectId(String) - Method in class com.google.cloud.translate.TranslateOptions.Builder
Sets the project ID.
setTargetLanguage(String) - Method in class com.google.cloud.translate.TranslateOptions.Builder
Sets the code for the default target language.
setTransportOptions(TransportOptions) - Method in class com.google.cloud.translate.TranslateOptions.Builder
 
sourceLanguage(String) - Static method in class com.google.cloud.translate.Translate.TranslateOption
Returns an option for setting the source language.

T

targetLanguage(String) - Static method in class com.google.cloud.translate.Translate.LanguageListOption
Returns an option for setting the target language.
targetLanguage(String) - Static method in class com.google.cloud.translate.Translate.TranslateOption
Returns an option for setting the target language.
toBuilder() - Method in class com.google.cloud.translate.TranslateOptions
 
toString() - Method in class com.google.cloud.translate.Detection
 
toString() - Method in class com.google.cloud.translate.Language
 
toString() - Method in class com.google.cloud.translate.Translation
 
translate(List<String>, Map<TranslateRpc.Option, ?>) - Method in class com.google.cloud.translate.spi.v2.HttpTranslateRpc
 
translate(List<String>, Map<TranslateRpc.Option, ?>) - Method in interface com.google.cloud.translate.spi.v2.TranslateRpc
Translates the provided texts.
translate(Exception) - Static method in exception com.google.cloud.translate.testing.RemoteTranslateHelper.TranslateHelperException
 
Translate - Interface in com.google.cloud.translate
An interface for Google Translation.
translate(List<String>, Translate.TranslateOption...) - Method in interface com.google.cloud.translate.Translate
Translates the provided texts.
translate(String, Translate.TranslateOption...) - Method in interface com.google.cloud.translate.Translate
Translates the provided texts.
Translate.LanguageListOption - Class in com.google.cloud.translate
Class for specifying supported language listing options.
Translate.TranslateOption - Class in com.google.cloud.translate
Class for specifying translate options.
TranslateException - Exception in com.google.cloud.translate
Google Translation service exception.
TranslateException(IOException) - Constructor for exception com.google.cloud.translate.TranslateException
 
TranslateFactory - Interface in com.google.cloud.translate
An interface for Translates factories.
TranslateHelperException(String) - Constructor for exception com.google.cloud.translate.testing.RemoteTranslateHelper.TranslateHelperException
 
TranslateHelperException(String, Throwable) - Constructor for exception com.google.cloud.translate.testing.RemoteTranslateHelper.TranslateHelperException
 
TranslateOptions - Class in com.google.cloud.translate
 
TranslateOptions.Builder - Class in com.google.cloud.translate
 
TranslateOptions.DefaultTranslateFactory - Class in com.google.cloud.translate
 
TranslateOptions.DefaultTranslateRpcFactory - Class in com.google.cloud.translate
 
TranslateRpc - Interface in com.google.cloud.translate.spi.v2
 
TranslateRpc.Option - Enum in com.google.cloud.translate.spi.v2
 
TranslateRpcFactory - Interface in com.google.cloud.translate.spi
An interface for Translation RPC factory.
Translation - Class in com.google.cloud.translate
Information about a translation.

V

value() - Method in enum com.google.cloud.translate.spi.v2.TranslateRpc.Option
 
valueOf(String) - Static method in enum com.google.cloud.translate.spi.v2.TranslateRpc.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.translate.spi.v2.TranslateRpc.Option
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H L M N P R S T V 
Skip navigation links

Copyright © 2017 Google. All rights reserved.