Class 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.IEditorDescriptionProvider
    Parameters for Google Cloud Translation API v3 connector.
    • Constructor Detail

      • GoogleMTv3Parameters

        public GoogleMTv3Parameters()
    • 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:
        reset in interface net.sf.okapi.common.IParameters
        Overrides:
        reset in class net.sf.okapi.common.StringParameters
      • getParametersDescription

        public net.sf.okapi.common.ParametersDescription getParametersDescription()
        Specified by:
        getParametersDescription in interface net.sf.okapi.common.IParameters
        Overrides:
        getParametersDescription in class net.sf.okapi.common.BaseParameters
      • createEditorDescription

        public net.sf.okapi.common.uidescription.EditorDescription createEditorDescription​(net.sf.okapi.common.ParametersDescription paramsDesc)
        Specified by:
        createEditorDescription in interface net.sf.okapi.common.uidescription.IEditorDescriptionProvider