Class ListVersionsResponse (1.8.0)

public final class ListVersionsResponse extends GeneratedMessageV3 implements ListVersionsResponseOrBuilder

The response from listing versions.

Protobuf type google.devtools.artifactregistry.v1.ListVersionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

VERSIONS_FIELD_NUMBER

public static final int VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListVersionsResponse getDefaultInstance()
Returns
TypeDescription
ListVersionsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListVersionsResponse prototype)

public static ListVersionsResponse.Builder newBuilder(ListVersionsResponse prototype)
Parameter
NameDescription
prototypeListVersionsResponse
Returns
TypeDescription
ListVersionsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListVersionsResponse

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersions(int index)

public Version getVersions(int index)

The versions returned.

repeated .google.devtools.artifactregistry.v1.Version versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Version

getVersionsCount()

public int getVersionsCount()

The versions returned.

repeated .google.devtools.artifactregistry.v1.Version versions = 1;

Returns
TypeDescription
int

getVersionsList()

public List<Version> getVersionsList()

The versions returned.

repeated .google.devtools.artifactregistry.v1.Version versions = 1;

Returns
TypeDescription
List<Version>

getVersionsOrBuilder(int index)

public VersionOrBuilder getVersionsOrBuilder(int index)

The versions returned.

repeated .google.devtools.artifactregistry.v1.Version versions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VersionOrBuilder

getVersionsOrBuilderList()

public List<? extends VersionOrBuilder> getVersionsOrBuilderList()

The versions returned.

repeated .google.devtools.artifactregistry.v1.Version versions = 1;

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

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 ListVersionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListVersionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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