- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.5
- 2.2.0
- 2.1.13
public class TranslateOptions extends ServiceOptions<Translate,TranslateOptions>
Inherited Members
com.google.cloud.ServiceOptions.<B>toBuilder()
com.google.cloud.ServiceOptions.<T>getFromServiceLoader(java.lang.Class<? extends T>,T)
com.google.cloud.ServiceOptions.<T>newInstance(java.lang.String)
com.google.cloud.ServiceOptions.baseEquals(com.google.cloud.ServiceOptions<?,?>)
com.google.cloud.ServiceOptions.baseHashCode()
com.google.cloud.ServiceOptions.defaultRetrySettings()
com.google.cloud.ServiceOptions.getApiTracerFactory()
com.google.cloud.ServiceOptions.getAppEngineAppId()
com.google.cloud.ServiceOptions.getAppEngineProjectId()
com.google.cloud.ServiceOptions.getAppEngineProjectIdFromAppId()
com.google.cloud.ServiceOptions.getApplicationName()
com.google.cloud.ServiceOptions.getClientLibToken()
com.google.cloud.ServiceOptions.getClock()
com.google.cloud.ServiceOptions.getCredentials()
com.google.cloud.ServiceOptions.getDefaultHost()
com.google.cloud.ServiceOptions.getDefaultProject()
com.google.cloud.ServiceOptions.getDefaultProjectId()
com.google.cloud.ServiceOptions.getDefaultRetrySettings()
com.google.cloud.ServiceOptions.getGoogApiClientLibName()
com.google.cloud.ServiceOptions.getGoogleCloudProjectId()
com.google.cloud.ServiceOptions.getHost()
com.google.cloud.ServiceOptions.getLibraryName()
com.google.cloud.ServiceOptions.getLibraryVersion()
com.google.cloud.ServiceOptions.getMergedHeaderProvider(com.google.api.gax.rpc.HeaderProvider)
com.google.cloud.ServiceOptions.getNoRetrySettings()
com.google.cloud.ServiceOptions.getProjectId()
com.google.cloud.ServiceOptions.getQuotaProjectId()
com.google.cloud.ServiceOptions.getResolvedApiaryHost(java.lang.String)
com.google.cloud.ServiceOptions.getResolvedHost(java.lang.String)
com.google.cloud.ServiceOptions.getRetrySettings()
com.google.cloud.ServiceOptions.getRpc()
com.google.cloud.ServiceOptions.getScopedCredentials()
com.google.cloud.ServiceOptions.getScopes()
com.google.cloud.ServiceOptions.getService()
com.google.cloud.ServiceOptions.getServiceAccountProjectId()
com.google.cloud.ServiceOptions.getTransportOptions()
com.google.cloud.ServiceOptions.getUniverseDomain()
com.google.cloud.ServiceOptions.getUserAgent()
com.google.cloud.ServiceOptions.hasValidUniverseDomain()
com.google.cloud.ServiceOptions.projectIdRequired()
com.google.cloud.ServiceOptions.shouldRefreshRpc(com.google.cloud.ServiceRpc)
com.google.cloud.ServiceOptions.shouldRefreshService(ServiceT)
Static Fields
API_KEY_ENV_NAME
public static final String API_KEY_ENV_NAME
Field Value | |
---|---|
Type | Description |
String |
Static Methods
getDefaultApiKey()
public static String getDefaultApiKey()
Returns | |
---|---|
Type | Description |
String |
getDefaultHttpTransportOptions()
public static HttpTransportOptions getDefaultHttpTransportOptions()
Returns | |
---|---|
Type | Description |
com.google.cloud.http.HttpTransportOptions |
getDefaultInstance()
public static TranslateOptions getDefaultInstance()
Returns a default TranslateOptions
instance.
Returns | |
---|---|
Type | Description |
TranslateOptions |
newBuilder()
public static TranslateOptions.Builder newBuilder()
Returns a builder for TranslateOptions
objects.
Returns | |
---|---|
Type | Description |
TranslateOptions.Builder |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getApiKey()
public String getApiKey()
Returns the API key to be used to send requests.
Returns | |
---|---|
Type | Description |
String |
getDefaultHost()
protected String getDefaultHost()
Returns | |
---|---|
Type | Description |
String |
com.google.cloud.ServiceOptions.getDefaultHost()
getScopes()
protected Set<String> getScopes()
com.google.cloud.ServiceOptions.getScopes()
getTargetLanguage()
public String getTargetLanguage()
Returns the code for the default target language.
Returns | |
---|---|
Type | Description |
String |
getTranslateRpcV2()
protected TranslateRpc getTranslateRpcV2()
Returns | |
---|---|
Type | Description |
TranslateRpc |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
projectIdRequired()
protected boolean projectIdRequired()
Returns | |
---|---|
Type | Description |
boolean |
com.google.cloud.ServiceOptions.projectIdRequired()
toBuilder()
public TranslateOptions.Builder toBuilder()
Returns | |
---|---|
Type | Description |
TranslateOptions.Builder |
com.google.cloud.ServiceOptions.<B>toBuilder()