Interface ListPackagesResponseOrBuilder (1.18.0)

public interface ListPackagesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

The token to retrieve the next page of packages, or empty if there are no more packages to return.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The token to retrieve the next page of packages, or empty if there are no more packages to return.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getPackages(int index)

public abstract Package getPackages(int index)

The packages returned.

repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Package

getPackagesCount()

public abstract int getPackagesCount()

The packages returned.

repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;

Returns
TypeDescription
int

getPackagesList()

public abstract List<Package> getPackagesList()

The packages returned.

repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;

Returns
TypeDescription
List<Package>

getPackagesOrBuilder(int index)

public abstract PackageOrBuilder getPackagesOrBuilder(int index)

The packages returned.

repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PackageOrBuilder

getPackagesOrBuilderList()

public abstract List<? extends PackageOrBuilder> getPackagesOrBuilderList()

The packages returned.

repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>