Class TrainModelRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaInflectorServerCodegen",
               comments="Generator version: 7.15.0")
    public class TrainModelRequest
    extends Object
    • Constructor Detail

      • TrainModelRequest

        public TrainModelRequest()
    • Method Detail

      • trainingJobId

        public TrainModelRequest trainingJobId​(UUID trainingJobId)
        UUID assigned by the caller to identify the training job.
      • getTrainingJobId

        public UUID getTrainingJobId()
      • setTrainingJobId

        public void setTrainingJobId​(UUID trainingJobId)
      • getModelName

        public String getModelName()
      • setModelName

        public void setModelName​(String modelName)
      • srcLang

        public TrainModelRequest srcLang​(String srcLang)
        Source language ISO code (e.g., \"en\", \"fr\", \"de\").
      • getSrcLang

        public String getSrcLang()
      • setSrcLang

        public void setSrcLang​(String srcLang)
      • trgLang

        public TrainModelRequest trgLang​(String trgLang)
        Target language ISO code (e.g., \"es\", \"fr\", \"de\").
      • getTrgLang

        public String getTrgLang()
      • setTrgLang

        public void setTrgLang​(String trgLang)
      • gcsBuckets

        public TrainModelRequest gcsBuckets​(List<URI> gcsBuckets)
        List of GCS bucket URIs to scan for training files. Supports TMX, TSV, CSV, and TXT files. Example: [\"gs://my-bucket\", \"gs://shared-bucket/subfolder\"]
      • getGcsBuckets

        public List<URI> getGcsBuckets()
      • setGcsBuckets

        public void setGcsBuckets​(List<URI> gcsBuckets)
      • projectId

        public TrainModelRequest projectId​(String projectId)
        Google Cloud project ID where the AutoML dataset and model will be created.
      • getProjectId

        public String getProjectId()
      • setProjectId

        public void setProjectId​(String projectId)
      • location

        public TrainModelRequest location​(String location)
        Google Cloud region for AutoML resources (e.g., \"us-central1\", \"europe-west4\").
      • getLocation

        public String getLocation()
      • setLocation

        public void setLocation​(String location)
      • getUserId

        public UUID getUserId()
      • setUserId

        public void setUserId​(UUID userId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object