Send feedback
  
   
 
  
    
      Class ListModelVersionsResponse (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ListModelVersionsResponse   extends   GeneratedMessageV3   implements   ListModelVersionsResponseOrBuilder  
   Response message for
 ModelService.ListModelVersions 
 Protobuf type google.cloud.aiplatform.v1.ListModelVersionsResponse
    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   MODELS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  NEXT_PAGE_TOKEN_FIELD_NUMBER 
  
    
public   static   final   int   NEXT_PAGE_TOKEN_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ListModelVersionsResponse   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ListModelVersionsResponse . Builder   newBuilder ()  
  
  
    
public   static   ListModelVersionsResponse . Builder   newBuilder ( ListModelVersionsResponse   prototype )  
  
  
  
    
public   static   ListModelVersionsResponse   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ListModelVersionsResponse   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ListModelVersionsResponse>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ListModelVersionsResponse   getDefaultInstanceForType ()  
  
  
    
public   Model   getModels ( int   index )  
   List of Model versions in the requested page.
 In the returned Model name field, version ID instead of regvision tag will
 be included.
 repeated .google.cloud.aiplatform.v1.Model models = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Model  
     
  
  
    
public   int   getModelsCount ()  
   List of Model versions in the requested page.
 In the returned Model name field, version ID instead of regvision tag will
 be included.
 repeated .google.cloud.aiplatform.v1.Model models = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<Model>   getModelsList ()  
   List of Model versions in the requested page.
 In the returned Model name field, version ID instead of regvision tag will
 be included.
 repeated .google.cloud.aiplatform.v1.Model models = 1;
    
public   ModelOrBuilder   getModelsOrBuilder ( int   index )  
   List of Model versions in the requested page.
 In the returned Model name field, version ID instead of regvision tag will
 be included.
 repeated .google.cloud.aiplatform.v1.Model models = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   ModelOrBuilder >  getModelsOrBuilderList ()  
   List of Model versions in the requested page.
 In the returned Model name field, version ID instead of regvision tag will
 be included.
 repeated .google.cloud.aiplatform.v1.Model models = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.aiplatform.v1.ModelOrBuilder > 
     
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   A token to retrieve the next page of results.
 Pass to
 ListModelVersionsRequest.page_token 
 to obtain that page.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   A token to retrieve the next page of results.
 Pass to
 ListModelVersionsRequest.page_token 
 to obtain that page.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  
    
public   Parser<ListModelVersionsResponse>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ListModelVersionsResponse . Builder   newBuilderForType ()  
  
  
    
protected   ListModelVersionsResponse . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ListModelVersionsResponse . 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-11 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-11 UTC."],[],[]]