public static final class PreTunedModel.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreTunedModel.Builder> implements PreTunedModelOrBuilder
A pre-tuned model for continuous tuning.Protobuf type
google.cloud.aiplatform.v1.PreTunedModel| Modifier and Type | Method and Description |
|---|---|
PreTunedModel |
build() |
PreTunedModel |
buildPartial() |
PreTunedModel.Builder |
clear() |
PreTunedModel.Builder |
clearBaseModel()
Output only.
|
PreTunedModel.Builder |
clearCheckpointId()
Optional.
|
PreTunedModel.Builder |
clearTunedModelName()
The resource name of the Model.
|
String |
getBaseModel()
Output only.
|
com.google.protobuf.ByteString |
getBaseModelBytes()
Output only.
|
String |
getCheckpointId()
Optional.
|
com.google.protobuf.ByteString |
getCheckpointIdBytes()
Optional.
|
PreTunedModel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getTunedModelName()
The resource name of the Model.
|
com.google.protobuf.ByteString |
getTunedModelNameBytes()
The resource name of the Model.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PreTunedModel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PreTunedModel.Builder |
mergeFrom(com.google.protobuf.Message other) |
PreTunedModel.Builder |
mergeFrom(PreTunedModel other) |
PreTunedModel.Builder |
setBaseModel(String value)
Output only.
|
PreTunedModel.Builder |
setBaseModelBytes(com.google.protobuf.ByteString value)
Output only.
|
PreTunedModel.Builder |
setCheckpointId(String value)
Optional.
|
PreTunedModel.Builder |
setCheckpointIdBytes(com.google.protobuf.ByteString value)
Optional.
|
PreTunedModel.Builder |
setTunedModelName(String value)
The resource name of the Model.
|
PreTunedModel.Builder |
setTunedModelNameBytes(com.google.protobuf.ByteString value)
The resource name of the Model.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PreTunedModel.Builder>public PreTunedModel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<PreTunedModel.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PreTunedModel.Builder>public PreTunedModel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PreTunedModel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PreTunedModel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PreTunedModel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreTunedModel.Builder>public PreTunedModel.Builder mergeFrom(PreTunedModel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<PreTunedModel.Builder>public PreTunedModel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreTunedModel.Builder>IOExceptionpublic String getTunedModelName()
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}`
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }getTunedModelName in interface PreTunedModelOrBuilderpublic com.google.protobuf.ByteString getTunedModelNameBytes()
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}`
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }getTunedModelNameBytes in interface PreTunedModelOrBuilderpublic PreTunedModel.Builder setTunedModelName(String value)
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}`
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }value - The tunedModelName to set.public PreTunedModel.Builder clearTunedModelName()
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}`
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }public PreTunedModel.Builder setTunedModelNameBytes(com.google.protobuf.ByteString value)
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}`
string tuned_model_name = 1 [(.google.api.resource_reference) = { ... }value - The bytes for tunedModelName to set.public String getCheckpointId()
Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];getCheckpointId in interface PreTunedModelOrBuilderpublic com.google.protobuf.ByteString getCheckpointIdBytes()
Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];getCheckpointIdBytes in interface PreTunedModelOrBuilderpublic PreTunedModel.Builder setCheckpointId(String value)
Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];value - The checkpointId to set.public PreTunedModel.Builder clearCheckpointId()
Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];public PreTunedModel.Builder setCheckpointIdBytes(com.google.protobuf.ByteString value)
Optional. The source checkpoint id. If not specified, the default checkpoint will be used.
string checkpoint_id = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for checkpointId to set.public String getBaseModel()
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getBaseModel in interface PreTunedModelOrBuilderpublic com.google.protobuf.ByteString getBaseModelBytes()
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getBaseModelBytes in interface PreTunedModelOrBuilderpublic PreTunedModel.Builder setBaseModel(String value)
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The baseModel to set.public PreTunedModel.Builder clearBaseModel()
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public PreTunedModel.Builder setBaseModelBytes(com.google.protobuf.ByteString value)
Output only. The name of the base model this [PreTunedModel][google.cloud.aiplatform.v1.PreTunedModel] was tuned from.
string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for baseModel to set.Copyright © 2026 Google LLC. All rights reserved.