Class PreTunedModel.Builder

    • Constructor Detail

      • PreTunedModel.Builder

        PreTunedModel.Builder()
    • Method Detail

      • checkpointId

         abstract PreTunedModel.Builder checkpointId(String checkpointId)

        Setter for checkpointId.

        checkpointId: Optional. The source checkpoint id. If not specified, the default checkpoint will be used.

      • tunedModelName

         abstract PreTunedModel.Builder tunedModelName(String tunedModelName)

        Setter for tunedModelName.

        tunedModelName: The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}`