Send feedback
Class TunedModelRef (3.64.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class TunedModelRef extends GeneratedMessageV3 implements TunedModelRefOrBuilder
TunedModel Reference for legacy model migration.
Protobuf type google.cloud.aiplatform.v1.TunedModelRef
Inherited Members
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.emptyList(java.lang.Class)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PIPELINE_JOB_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TUNED_MODEL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TUNING_JOB_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static TunedModelRef getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static TunedModelRef . Builder newBuilder ()
public static TunedModelRef . Builder newBuilder ( TunedModelRef prototype )
public static TunedModelRef parseDelimitedFrom ( InputStream input )
public static TunedModelRef parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TunedModelRef parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static TunedModelRef parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static TunedModelRef parseFrom ( ByteString data )
public static TunedModelRef parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TunedModelRef parseFrom ( CodedInputStream input )
public static TunedModelRef parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TunedModelRef parseFrom ( InputStream input )
public static TunedModelRef parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static TunedModelRef parseFrom ( ByteBuffer data )
public static TunedModelRef parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public TunedModelRef getDefaultInstanceForType ()
public Parser getParserForType ()
Overrides
public String getPipelineJob ()
Support migration from tuning job list page, from bison model to gemini
model.
string pipeline_job = 3 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The pipelineJob.
public ByteString getPipelineJobBytes ()
Support migration from tuning job list page, from bison model to gemini
model.
string pipeline_job = 3 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for pipelineJob.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public String getTunedModel ()
Support migration from model registry.
string tuned_model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The tunedModel.
public ByteString getTunedModelBytes ()
Support migration from model registry.
string tuned_model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for tunedModel.
public TunedModelRef . TunedModelRefCase getTunedModelRefCase ()
public String getTuningJob ()
Support migration from tuning job list page, from gemini-1.0-pro-002
to 1.5 and above.
string tuning_job = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The tuningJob.
public ByteString getTuningJobBytes ()
Support migration from tuning job list page, from gemini-1.0-pro-002
to 1.5 and above.
string tuning_job = 2 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for tuningJob.
public boolean hasPipelineJob ()
Support migration from tuning job list page, from bison model to gemini
model.
string pipeline_job = 3 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
boolean
Whether the pipelineJob field is set.
public boolean hasTunedModel ()
Support migration from model registry.
string tuned_model = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
boolean
Whether the tunedModel field is set.
public boolean hasTuningJob ()
Support migration from tuning job list page, from gemini-1.0-pro-002
to 1.5 and above.
string tuning_job = 2 [(.google.api.resource_reference) = { ... }
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 TunedModelRef . Builder newBuilderForType ()
protected TunedModelRef . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public TunedModelRef . 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-06-12 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-06-12 UTC."],[],[]]