Class TunedModel.Builder

  • All Implemented Interfaces:

    
    public abstract class TunedModel.Builder
    
                        

    Builder for TunedModel.

    • Constructor Detail

      • TunedModel.Builder

        TunedModel.Builder()
    • Method Detail

      • model

         abstract TunedModel.Builder model(String model)

        Setter for model.

        model: Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`

      • endpoint

         abstract TunedModel.Builder endpoint(String endpoint)

        Setter for endpoint.

        endpoint: Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.

      • checkpoints

        @CanIgnoreReturnValue() TunedModel.Builder checkpoints(Array<TunedModelCheckpoint> checkpoints)

        Setter for checkpoints.

        checkpoints: The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints.