Class TunedModelRef (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  TunedModelRef   extends   GeneratedMessageV3   implements   TunedModelRefOrBuilder  
   TunedModel Reference for legacy model migration.
 Protobuf type google.cloud.aiplatform.v1beta1.TunedModelRef
    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   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  
      
        databyte [] 
     
  
  
  
  
    
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<TunedModelRef>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   TunedModelRef   getDefaultInstanceForType ()  
  
  
    
public   Parser<TunedModelRef>   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 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]