Class Model.Builder
- Enclosing class:
- Model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Modelbuild()checkpoints(Checkpoint... checkpoints) Setter for checkpoints.checkpoints(Checkpoint.Builder... checkpointsBuilders) Setter for checkpoints builder.abstract Model.Buildercheckpoints(List<Checkpoint> checkpoints) Setter for checkpoints.abstract Model.BuilderdefaultCheckpointId(String defaultCheckpointId) Setter for defaultCheckpointId.abstract Model.Builderdescription(String description) Setter for description.abstract Model.BuilderdisplayName(String displayName) Setter for displayName.Setter for endpoints.endpoints(Endpoint.Builder... endpointsBuilders) Setter for endpoints builder.abstract Model.BuilderSetter for endpoints.abstract Model.BuilderinputTokenLimit(Integer inputTokenLimit) Setter for inputTokenLimit.abstract Model.BuilderSetter for labels.abstract Model.BuilderSetter for name.abstract Model.BuilderoutputTokenLimit(Integer outputTokenLimit) Setter for outputTokenLimit.supportedActions(String... supportedActions) Setter for supportedActions.abstract Model.BuildersupportedActions(List<String> supportedActions) Setter for supportedActions.abstract Model.BuildertunedModelInfo(TunedModelInfo tunedModelInfo) Setter for tunedModelInfo.tunedModelInfo(TunedModelInfo.Builder tunedModelInfoBuilder) Setter for tunedModelInfo builder.abstract Model.BuilderSetter 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
-