Class ListNpmPackagesResponse (1.16.0)

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
TypeDescription
int

NPM_PACKAGES_FIELD_NUMBER

public static final int NPM_PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNpmPackagesResponse getDefaultInstance()
Returns
TypeDescription
ListNpmPackagesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListNpmPackagesResponse.Builder newBuilder()
Returns
TypeDescription
ListNpmPackagesResponse.Builder

newBuilder(ListNpmPackagesResponse prototype)

public static ListNpmPackagesResponse.Builder newBuilder(ListNpmPackagesResponse prototype)
Parameter
NameDescription
prototypeListNpmPackagesResponse
Returns
TypeDescription
ListNpmPackagesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListNpmPackagesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListNpmPackagesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListNpmPackagesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListNpmPackagesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListNpmPackagesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListNpmPackagesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListNpmPackagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNpmPackagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListNpmPackagesResponse> parser()
Returns
TypeDescription
Parser<ListNpmPackagesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListNpmPackagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNpmPackagesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getNpmPackages(int index)

public NpmPackage getNpmPackages(int index)

The npm packages returned.

repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NpmPackage

getNpmPackagesCount()

public int getNpmPackagesCount()

The npm packages returned.

repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;

Returns
TypeDescription
int

getNpmPackagesList()

public List<NpmPackage> getNpmPackagesList()

The npm packages returned.

repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;

Returns
TypeDescription
List<NpmPackage>

getNpmPackagesOrBuilder(int index)

public NpmPackageOrBuilder getNpmPackagesOrBuilder(int index)

The npm packages returned.

repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NpmPackageOrBuilder

getNpmPackagesOrBuilderList()

public List<? extends NpmPackageOrBuilder> getNpmPackagesOrBuilderList()

The npm packages returned.

repeated .google.devtools.artifactregistry.v1.NpmPackage npm_packages = 1;

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.NpmPackageOrBuilder>

getParserForType()

public Parser<ListNpmPackagesResponse> getParserForType()
Returns
TypeDescription
Parser<ListNpmPackagesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListNpmPackagesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNpmPackagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListNpmPackagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListNpmPackagesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListNpmPackagesResponse.Builder toBuilder()
Returns
TypeDescription
ListNpmPackagesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException