Class GoogleMTv3Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.connectors.google.v3.GoogleMTv3Parameters
-
- All Implemented Interfaces:
Cloneable,net.sf.okapi.common.IParameters,net.sf.okapi.common.uidescription.IEditorDescriptionProvider
- Direct Known Subclasses:
BatchMtParameters
public class GoogleMTv3Parameters extends net.sf.okapi.common.StringParameters implements net.sf.okapi.common.uidescription.IEditorDescriptionProviderParameters for Google Cloud Translation API v3 connector.
-
-
Constructor Summary
Constructors Constructor Description GoogleMTv3Parameters()
-
Method Summary
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getInteger, getString, setBoolean, setInteger, setString, toString
-
-
-
-
Method Detail
-
getProjectLocation
public String getProjectLocation()
-
setProjectLocation
public void setProjectLocation(String projectLocation)
-
getApiKey
public String getApiKey()
-
setApiKey
public void setApiKey(String apiKey)
-
getCredentialsPath
public String getCredentialsPath()
-
setCredentialsPath
public void setCredentialsPath(String credentialsPath)
-
getGlossaryProjectId
public String getGlossaryProjectId()
-
setGlossaryProjectId
public void setGlossaryProjectId(String glossaryProjectId)
-
getGlossaryProjectLocation
public String getGlossaryProjectLocation()
-
setGlossaryProjectLocation
public void setGlossaryProjectLocation(String glossaryProjectLocation)
-
getGlossaryId
public String getGlossaryId()
-
setGlossaryId
public void setGlossaryId(String glossaryId)
-
getModelProjectId
public String getModelProjectId()
-
setModelProjectId
public void setModelProjectId(String modelProjectId)
-
getModelProjectLocation
public String getModelProjectLocation()
-
setModelProjectLocation
public void setModelProjectLocation(String modelProjectLocation)
-
getModelId
public String getModelId()
-
setModelId
public void setModelId(String modelId)
-
getRetryIntervalMs
public int getRetryIntervalMs()
-
setRetryIntervalMs
public void setRetryIntervalMs(int retryMs)
-
getRetryCount
public int getRetryCount()
-
setRetryCount
public void setRetryCount(int retryCount)
-
getFailuresBeforeAbort
public int getFailuresBeforeAbort()
-
setFailuresBeforeAbort
public void setFailuresBeforeAbort(int failuresBeforeAbort)
-
getMimeType
public String getMimeType()
-
setMimeType
public void setMimeType(String mimeType)
-
reset
public void reset()
- Specified by:
resetin interfacenet.sf.okapi.common.IParameters- Overrides:
resetin classnet.sf.okapi.common.StringParameters
-
getParametersDescription
public net.sf.okapi.common.ParametersDescription getParametersDescription()
- Specified by:
getParametersDescriptionin interfacenet.sf.okapi.common.IParameters- Overrides:
getParametersDescriptionin classnet.sf.okapi.common.BaseParameters
-
createEditorDescription
public net.sf.okapi.common.uidescription.EditorDescription createEditorDescription(net.sf.okapi.common.ParametersDescription paramsDesc)
- Specified by:
createEditorDescriptionin interfacenet.sf.okapi.common.uidescription.IEditorDescriptionProvider
-
-