public static final class RebaseTunedModelRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RebaseTunedModelRequest.Builder> implements RebaseTunedModelRequestOrBuilder
Request message for [GenAiTuningService.RebaseTunedModel][google.cloud.aiplatform.v1.GenAiTuningService.RebaseTunedModel].Protobuf type
google.cloud.aiplatform.v1.RebaseTunedModelRequestaddRepeatedField, 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<RebaseTunedModelRequest.Builder>public RebaseTunedModelRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RebaseTunedModelRequest.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<RebaseTunedModelRequest.Builder>public RebaseTunedModelRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RebaseTunedModelRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RebaseTunedModelRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RebaseTunedModelRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RebaseTunedModelRequest.Builder>public RebaseTunedModelRequest.Builder mergeFrom(RebaseTunedModelRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RebaseTunedModelRequest.Builder>public RebaseTunedModelRequest.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<RebaseTunedModelRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Location into which to rebase the Model.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface RebaseTunedModelRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the Location into which to rebase the Model.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface RebaseTunedModelRequestOrBuilderpublic RebaseTunedModelRequest.Builder setParent(String value)
Required. The resource name of the Location into which to rebase the Model.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public RebaseTunedModelRequest.Builder clearParent()
Required. The resource name of the Location into which to rebase the Model.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public RebaseTunedModelRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Location into which to rebase the Model.
Format: `projects/{project}/locations/{location}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public boolean hasTunedModelRef()
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
hasTunedModelRef in interface RebaseTunedModelRequestOrBuilderpublic TunedModelRef getTunedModelRef()
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
getTunedModelRef in interface RebaseTunedModelRequestOrBuilderpublic RebaseTunedModelRequest.Builder setTunedModelRef(TunedModelRef value)
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
public RebaseTunedModelRequest.Builder setTunedModelRef(TunedModelRef.Builder builderForValue)
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
public RebaseTunedModelRequest.Builder mergeTunedModelRef(TunedModelRef value)
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
public RebaseTunedModelRequest.Builder clearTunedModelRef()
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
public TunedModelRef.Builder getTunedModelRefBuilder()
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
public TunedModelRefOrBuilder getTunedModelRefOrBuilder()
Required. TunedModel reference to retrieve the legacy model information.
.google.cloud.aiplatform.v1.TunedModelRef tuned_model_ref = 2 [(.google.api.field_behavior) = REQUIRED];
getTunedModelRefOrBuilder in interface RebaseTunedModelRequestOrBuilderpublic boolean hasTuningJob()
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
hasTuningJob in interface RebaseTunedModelRequestOrBuilderpublic TuningJob getTuningJob()
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
getTuningJob in interface RebaseTunedModelRequestOrBuilderpublic RebaseTunedModelRequest.Builder setTuningJob(TuningJob value)
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder setTuningJob(TuningJob.Builder builderForValue)
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder mergeTuningJob(TuningJob value)
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder clearTuningJob()
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
public TuningJob.Builder getTuningJobBuilder()
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
public TuningJobOrBuilder getTuningJobOrBuilder()
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
.google.cloud.aiplatform.v1.TuningJob tuning_job = 3 [(.google.api.field_behavior) = OPTIONAL];
getTuningJobOrBuilder in interface RebaseTunedModelRequestOrBuilderpublic boolean hasArtifactDestination()
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
hasArtifactDestination in interface RebaseTunedModelRequestOrBuilderpublic GcsDestination getArtifactDestination()
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
getArtifactDestination in interface RebaseTunedModelRequestOrBuilderpublic RebaseTunedModelRequest.Builder setArtifactDestination(GcsDestination value)
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder setArtifactDestination(GcsDestination.Builder builderForValue)
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder mergeArtifactDestination(GcsDestination value)
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
public RebaseTunedModelRequest.Builder clearArtifactDestination()
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
public GcsDestination.Builder getArtifactDestinationBuilder()
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
public GcsDestinationOrBuilder getArtifactDestinationOrBuilder()
Optional. The Google Cloud Storage location to write the artifacts.
.google.cloud.aiplatform.v1.GcsDestination artifact_destination = 4 [(.google.api.field_behavior) = OPTIONAL];
getArtifactDestinationOrBuilder in interface RebaseTunedModelRequestOrBuilderpublic boolean getDeployToSameEndpoint()
Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.
bool deploy_to_same_endpoint = 5 [(.google.api.field_behavior) = OPTIONAL];getDeployToSameEndpoint in interface RebaseTunedModelRequestOrBuilderpublic RebaseTunedModelRequest.Builder setDeployToSameEndpoint(boolean value)
Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.
bool deploy_to_same_endpoint = 5 [(.google.api.field_behavior) = OPTIONAL];value - The deployToSameEndpoint to set.public RebaseTunedModelRequest.Builder clearDeployToSameEndpoint()
Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.
bool deploy_to_same_endpoint = 5 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.