Class Model.Builder
- Enclosing class:
- Model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Model
build()
checkpoints
(Checkpoint... checkpoints) Setter for checkpoints.checkpoints
(Checkpoint.Builder... checkpointsBuilders) Setter for checkpoints builder.abstract Model.Builder
checkpoints
(List<Checkpoint> checkpoints) Setter for checkpoints.abstract Model.Builder
defaultCheckpointId
(String defaultCheckpointId) Setter for defaultCheckpointId.abstract Model.Builder
description
(String description) Setter for description.abstract Model.Builder
displayName
(String displayName) Setter for displayName.Setter for endpoints.endpoints
(Endpoint.Builder... endpointsBuilders) Setter for endpoints builder.abstract Model.Builder
Setter for endpoints.abstract Model.Builder
inputTokenLimit
(Integer inputTokenLimit) Setter for inputTokenLimit.abstract Model.Builder
Setter for labels.abstract Model.Builder
Setter for name.abstract Model.Builder
outputTokenLimit
(Integer outputTokenLimit) Setter for outputTokenLimit.supportedActions
(String... supportedActions) Setter for supportedActions.abstract Model.Builder
supportedActions
(List<String> supportedActions) Setter for supportedActions.abstract Model.Builder
tunedModelInfo
(TunedModelInfo tunedModelInfo) Setter for tunedModelInfo.tunedModelInfo
(TunedModelInfo.Builder tunedModelInfoBuilder) Setter for tunedModelInfo builder.abstract Model.Builder
Setter for version.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Setter for name.name: Resource name of the model.
-
displayName
Setter for displayName.displayName: Display name of the model.
-
description
Setter for description.description: Description of the model.
-
version
Setter for version.version: Version ID of the model. A new version is committed when a new model version is uploaded or trained under an existing model ID. The version ID is an auto-incrementing decimal number in string representation.
-
endpoints
Setter for endpoints.endpoints: List of deployed models created from this base model. Note that a model could have been deployed to endpoints in different locations.
-
endpoints
Setter for endpoints.endpoints: List of deployed models created from this base model. Note that a model could have been deployed to endpoints in different locations.
-
endpoints
Setter for endpoints builder.endpoints: List of deployed models created from this base model. Note that a model could have been deployed to endpoints in different locations.
-
labels
Setter for labels.labels: Labels with user-defined metadata to organize your models.
-
tunedModelInfo
Setter for tunedModelInfo.tunedModelInfo: Information about the tuned model from the base model.
-
tunedModelInfo
Setter for tunedModelInfo builder.tunedModelInfo: Information about the tuned model from the base model.
-
inputTokenLimit
Setter for inputTokenLimit.inputTokenLimit: The maximum number of input tokens that the model can handle.
-
outputTokenLimit
Setter for outputTokenLimit.outputTokenLimit: The maximum number of output tokens that the model can generate.
-
supportedActions
Setter for supportedActions.supportedActions: List of actions that are supported by the model.
-
supportedActions
Setter for supportedActions.supportedActions: List of actions that are supported by the model.
-
defaultCheckpointId
Setter for defaultCheckpointId.defaultCheckpointId: The default checkpoint id of a model version.
-
checkpoints
Setter for checkpoints.checkpoints: The checkpoints of the model.
-
checkpoints
Setter for checkpoints.checkpoints: The checkpoints of the model.
-
checkpoints
Setter for checkpoints builder.checkpoints: The checkpoints of the model.
-
build
-