public final class ListPackagesResponse extends GeneratedMessage implements ListPackagesResponseOrBuilderThe response from listing packages.
Protobuf type google.devtools.artifactregistry.v1beta2.ListPackagesResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ListPackagesResponseImplements
ListPackagesResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PACKAGES_FIELD_NUMBER
public static final int PACKAGES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ListPackagesResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ListPackagesResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse.Builder |
|
newBuilder(ListPackagesResponse prototype)
public static ListPackagesResponse.Builder newBuilder(ListPackagesResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ListPackagesResponse |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static ListPackagesResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ListPackagesResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ListPackagesResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ListPackagesResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ListPackagesResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ListPackagesResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPackagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ListPackagesResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ListPackagesResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ListPackagesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse |
|
getNextPageToken()
public 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 | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getPackages(int index)
public Package getPackages(int index)The packages returned.
repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Package |
|
getPackagesCount()
public int getPackagesCount()The packages returned.
repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPackagesList()
public List<Package> getPackagesList()The packages returned.
repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;
| Returns | |
|---|---|
| Type | Description |
List<Package> |
|
getPackagesOrBuilder(int index)
public PackageOrBuilder getPackagesOrBuilder(int index)The packages returned.
repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PackageOrBuilder |
|
getPackagesOrBuilderList()
public List<? extends PackageOrBuilder> getPackagesOrBuilderList()The packages returned.
repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> |
|
getParserForType()
public Parser<ListPackagesResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ListPackagesResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ListPackagesResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ListPackagesResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse.Builder |
|
toBuilder()
public ListPackagesResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ListPackagesResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|