Interface ListObjectsResponseOrBuilder (2.20.0)

public interface ListObjectsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

string next_page_token = 3;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getObjects(int index)

public abstract Object getObjects(int index)

The list of items.

repeated .google.storage.v2.Object objects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Object

getObjectsCount()

public abstract int getObjectsCount()

The list of items.

repeated .google.storage.v2.Object objects = 1;

Returns
TypeDescription
int

getObjectsList()

public abstract List<Object> getObjectsList()

The list of items.

repeated .google.storage.v2.Object objects = 1;

Returns
TypeDescription
List<Object>

getObjectsOrBuilder(int index)

public abstract ObjectOrBuilder getObjectsOrBuilder(int index)

The list of items.

repeated .google.storage.v2.Object objects = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectOrBuilder

getObjectsOrBuilderList()

public abstract List<? extends ObjectOrBuilder> getObjectsOrBuilderList()

The list of items.

repeated .google.storage.v2.Object objects = 1;

Returns
TypeDescription
List<? extends com.google.storage.v2.ObjectOrBuilder>

getPrefixes(int index)

public abstract String getPrefixes(int index)

The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

repeated string prefixes = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The prefixes at the given index.

getPrefixesBytes(int index)

public abstract ByteString getPrefixesBytes(int index)

The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

repeated string prefixes = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the prefixes at the given index.

getPrefixesCount()

public abstract int getPrefixesCount()

The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

repeated string prefixes = 2;

Returns
TypeDescription
int

The count of prefixes.

getPrefixesList()

public abstract List<String> getPrefixesList()

The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

repeated string prefixes = 2;

Returns
TypeDescription
List<String>

A list containing the prefixes.