Class ListObjectsResponse (2.22.5)

public final class ListObjectsResponse extends GeneratedMessageV3 implements ListObjectsResponseOrBuilder

The result of a call to Objects.ListObjects

Protobuf type google.storage.v2.ListObjectsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OBJECTS_FIELD_NUMBER

public static final int OBJECTS_FIELD_NUMBER
Field Value
TypeDescription
int

PREFIXES_FIELD_NUMBER

public static final int PREFIXES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListObjectsResponse getDefaultInstance()
Returns
TypeDescription
ListObjectsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListObjectsResponse prototype)

public static ListObjectsResponse.Builder newBuilder(ListObjectsResponse prototype)
Parameter
NameDescription
prototypeListObjectsResponse
Returns
TypeDescription
ListObjectsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListObjectsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListObjectsResponse

getNextPageToken()

public 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 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 Object getObjects(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Object

getObjectsCount()

public int getObjectsCount()

The list of items.

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

Returns
TypeDescription
int

getObjectsList()

public List<Object> getObjectsList()

The list of items.

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

Returns
TypeDescription
List<Object>

getObjectsOrBuilder(int index)

public ObjectOrBuilder getObjectsOrBuilder(int index)

The list of items.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ObjectOrBuilder

getObjectsOrBuilderList()

public List<? extends ObjectOrBuilder> getObjectsOrBuilderList()

The list of items.

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

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

getParserForType()

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

getPrefixes(int index)

public 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 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 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 ProtocolStringList getPrefixesList()

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

repeated string prefixes = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the prefixes.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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