Class ModelGardenSource (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ModelGardenSource   extends   GeneratedMessageV3   implements   ModelGardenSourceOrBuilder  
   Contains information about the source of the models generated from Model
 Garden.
 Protobuf type google.cloud.aiplatform.v1.ModelGardenSource
    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   PUBLIC_MODEL_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SKIP_HF_MODEL_CACHE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   VERSION_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ModelGardenSource   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ModelGardenSource . Builder   newBuilder ()  
  
  
    
public   static   ModelGardenSource . Builder   newBuilder ( ModelGardenSource   prototype )  
  
  
  
    
public   static   ModelGardenSource   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ModelGardenSource   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ModelGardenSource   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ModelGardenSource>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ModelGardenSource   getDefaultInstanceForType ()  
  
  
    
public   Parser<ModelGardenSource>   getParserForType ()  
  
  Overrides 
  
  
    
public   String   getPublicModelName ()  
   Required. The model garden source model resource name.
 string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The publicModelName.
 
     
  
  
    
public   ByteString   getPublicModelNameBytes ()  
   Required. The model garden source model resource name.
 string public_model_name = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for publicModelName.
 
     
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   boolean   getSkipHfModelCache ()  
   Optional. Whether to avoid pulling the model from the HF cache.
 bool skip_hf_model_cache = 4 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The skipHfModelCache.
 
     
  
  
    
public   String   getVersionId ()  
   Optional. The model garden source model version ID.
 string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The versionId.
 
     
  
  
    
public   ByteString   getVersionIdBytes ()  
   Optional. The model garden source model version ID.
 string version_id = 3 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for versionId.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ModelGardenSource . Builder   newBuilderForType ()  
  
  
    
protected   ModelGardenSource . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ModelGardenSource . 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."],[],[]]