public final class ListNpmPackagesResponse extends GeneratedMessageV3 implements ListNpmPackagesResponseOrBuilder
The response from listing npm packages.
Protobuf type google.devtools.artifactregistry.v1.ListNpmPackagesResponse
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
public static final int NPM_PACKAGES_FIELD_NUMBER
Field Value
Static Methods
public static ListNpmPackagesResponse getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ListNpmPackagesResponse.Builder newBuilder()
Returns
public static ListNpmPackagesResponse.Builder newBuilder(ListNpmPackagesResponse prototype)
Parameter
Returns
public static ListNpmPackagesResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListNpmPackagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ListNpmPackagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ListNpmPackagesResponse> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ListNpmPackagesResponse getDefaultInstanceForType()
Returns
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
Returns
public int getNpmPackagesCount()
The npm packages returned.
repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
Returns
public List<NpmPackage> getNpmPackagesList()
The npm packages returned.
repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
Returns
public NpmPackageOrBuilder getNpmPackagesOrBuilder(int index)
The npm packages returned.
repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;
Parameter
Returns
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()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListNpmPackagesResponse.Builder newBuilderForType()
Returns
protected ListNpmPackagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ListNpmPackagesResponse.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions