Interface ListObjectsResponseOrBuilder (2.34.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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Object

getObjectsCount()

public abstract int getObjectsCount()

The list of items.

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

Returns
Type Description
int

getObjectsList()

public abstract List<Object> getObjectsList()

The list of items.

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

Returns
Type Description
List<Object>

getObjectsOrBuilder(int index)

public abstract ObjectOrBuilder getObjectsOrBuilder(int index)

The list of items.

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

Parameter
Name Description
index int
Returns
Type Description
ObjectOrBuilder

getObjectsOrBuilderList()

public abstract List<? extends ObjectOrBuilder> getObjectsOrBuilderList()

The list of items.

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the prefixes.