Send feedback
Class RebaseTunedModelRequest (3.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.53.0 keyboard_arrow_down
public final class RebaseTunedModelRequest extends GeneratedMessageV3 implements RebaseTunedModelRequestOrBuilder
Request message for
GenAiTuningService.RebaseTunedModel .
Protobuf type google.cloud.aiplatform.v1.RebaseTunedModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ARTIFACT_DESTINATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DEPLOY_TO_SAME_ENDPOINT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PARENT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TUNED_MODEL_REF_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TUNING_JOB_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static RebaseTunedModelRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static RebaseTunedModelRequest . Builder newBuilder ()
public static RebaseTunedModelRequest . Builder newBuilder ( RebaseTunedModelRequest prototype )
public static RebaseTunedModelRequest parseDelimitedFrom ( InputStream input )
public static RebaseTunedModelRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RebaseTunedModelRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static RebaseTunedModelRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static RebaseTunedModelRequest parseFrom ( ByteString data )
public static RebaseTunedModelRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RebaseTunedModelRequest parseFrom ( CodedInputStream input )
public static RebaseTunedModelRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RebaseTunedModelRequest parseFrom ( InputStream input )
public static RebaseTunedModelRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static RebaseTunedModelRequest parseFrom ( ByteBuffer data )
public static RebaseTunedModelRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<RebaseTunedModelRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public 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];
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];
public RebaseTunedModelRequest getDefaultInstanceForType ()
public 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];
Returns
Type
Description
boolean
The deployToSameEndpoint.
public 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) = { ... }
Returns
Type
Description
String
The parent.
public 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) = { ... }
Returns
Type
Description
ByteString
The bytes for parent.
public Parser<RebaseTunedModelRequest> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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];
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];
public 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];
Returns
Type
Description
TuningJob
The tuningJob.
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];
public 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];
Returns
Type
Description
boolean
Whether the artifactDestination field is 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];
Returns
Type
Description
boolean
Whether the tunedModelRef field is set.
public 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];
Returns
Type
Description
boolean
Whether the tuningJob field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public RebaseTunedModelRequest . Builder newBuilderForType ()
protected RebaseTunedModelRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public RebaseTunedModelRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]