Class ListNpmPackagesResponse (1.40.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.40.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ListNpmPackagesResponse   extends   GeneratedMessageV3   implements   ListNpmPackagesResponseOrBuilder  
   The response from listing npm packages.
 Protobuf type google.devtools.artifactregistry.v1.ListNpmPackagesResponse
    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
   
  NEXT_PAGE_TOKEN_FIELD_NUMBER 
  
    
public   static   final   int   NEXT_PAGE_TOKEN_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   NPM_PACKAGES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ListNpmPackagesResponse   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ListNpmPackagesResponse . Builder   newBuilder ()  
  
  
    
public   static   ListNpmPackagesResponse . Builder   newBuilder ( ListNpmPackagesResponse   prototype )  
  
  
  
    
public   static   ListNpmPackagesResponse   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ListNpmPackagesResponse   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ListNpmPackagesResponse>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ListNpmPackagesResponse   getDefaultInstanceForType ()  
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   The token to retrieve the next page of artifacts, or empty if there are no
 more artifacts to return.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   The token to retrieve the next page of artifacts, or empty if there are no
 more artifacts to return.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  
    
public   NpmPackage   getNpmPackages ( int   index )  
   The npm packages returned.
 repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   int   getNpmPackagesCount ()  
   The npm packages returned.
 repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<NpmPackage>   getNpmPackagesList ()  
   The npm packages returned.
 repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
    
public   NpmPackageOrBuilder   getNpmPackagesOrBuilder ( int   index )  
   The npm packages returned.
 repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   NpmPackageOrBuilder >  getNpmPackagesOrBuilderList ()  
   The npm packages returned.
 repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.devtools.artifactregistry.v1.NpmPackageOrBuilder > 
     
  
  
    
public   Parser<ListNpmPackagesResponse>   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   ListNpmPackagesResponse . Builder   newBuilderForType ()  
  
  
    
protected   ListNpmPackagesResponse . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ListNpmPackagesResponse . 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-28 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-28 UTC."],[],[]]