Send feedback
  
   
 
  
    
      Class PreTunedModel (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  PreTunedModel   extends   GeneratedMessageV3   implements   PreTunedModelOrBuilder  
   A pre-tuned model for continuous tuning.
 Protobuf type google.cloud.aiplatform.v1beta1.PreTunedModel
    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   BASE_MODEL_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   CHECKPOINT_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   TUNED_MODEL_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   PreTunedModel   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   PreTunedModel . Builder   newBuilder ()  
  
  
    
public   static   PreTunedModel . Builder   newBuilder ( PreTunedModel   prototype )  
  
  
  
    
public   static   PreTunedModel   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PreTunedModel   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   PreTunedModel   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<PreTunedModel>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   String   getBaseModel ()  
   Output only. The name of the base model this
 PreTunedModel  was tuned
 from.
 string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The baseModel.
 
     
  
  
    
public   ByteString   getBaseModelBytes ()  
   Output only. The name of the base model this
 PreTunedModel  was tuned
 from.
 string base_model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for baseModel.
 
     
  
  
    
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];
    
      
        Returns  
      
        Type Description  
      
        String The checkpointId.
 
     
  
  
    
public   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];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for checkpointId.
 
     
  
  
    
public   PreTunedModel   getDefaultInstanceForType ()  
  
  
    
public   Parser<PreTunedModel>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   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) = { ... }
    
      
        Returns  
      
        Type Description  
      
        String The tunedModelName.
 
     
  
  
    
public   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) = { ... }
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for tunedModelName.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   PreTunedModel . Builder   newBuilderForType ()  
  
  
    
protected   PreTunedModel . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   PreTunedModel . 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-10-29 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-10-29 UTC."],[],[]]