Class ListFoldersResponse.Builder (2.40.1)

public static final class ListFoldersResponse.Builder extends GeneratedMessageV3.Builder<ListFoldersResponse.Builder> implements ListFoldersResponseOrBuilder

Response message for ListFolders.

Protobuf type google.storage.control.v2.ListFoldersResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFolders(Iterable<? extends Folder> values)

public ListFoldersResponse.Builder addAllFolders(Iterable<? extends Folder> values)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
values Iterable<? extends com.google.storage.control.v2.Folder>
Returns
Type Description
ListFoldersResponse.Builder

addFolders(Folder value)

public ListFoldersResponse.Builder addFolders(Folder value)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
value Folder
Returns
Type Description
ListFoldersResponse.Builder

addFolders(Folder.Builder builderForValue)

public ListFoldersResponse.Builder addFolders(Folder.Builder builderForValue)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
builderForValue Folder.Builder
Returns
Type Description
ListFoldersResponse.Builder

addFolders(int index, Folder value)

public ListFoldersResponse.Builder addFolders(int index, Folder value)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameters
Name Description
index int
value Folder
Returns
Type Description
ListFoldersResponse.Builder

addFolders(int index, Folder.Builder builderForValue)

public ListFoldersResponse.Builder addFolders(int index, Folder.Builder builderForValue)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameters
Name Description
index int
builderForValue Folder.Builder
Returns
Type Description
ListFoldersResponse.Builder

addFoldersBuilder()

public Folder.Builder addFoldersBuilder()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
Folder.Builder

addFoldersBuilder(int index)

public Folder.Builder addFoldersBuilder(int index)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
index int
Returns
Type Description
Folder.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFoldersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFoldersResponse.Builder
Overrides

build()

public ListFoldersResponse build()
Returns
Type Description
ListFoldersResponse

buildPartial()

public ListFoldersResponse buildPartial()
Returns
Type Description
ListFoldersResponse

clear()

public ListFoldersResponse.Builder clear()
Returns
Type Description
ListFoldersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFoldersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFoldersResponse.Builder
Overrides

clearFolders()

public ListFoldersResponse.Builder clearFolders()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
ListFoldersResponse.Builder

clearNextPageToken()

public ListFoldersResponse.Builder clearNextPageToken()

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 = 2;

Returns
Type Description
ListFoldersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFoldersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFoldersResponse.Builder
Overrides

clone()

public ListFoldersResponse.Builder clone()
Returns
Type Description
ListFoldersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFoldersResponse getDefaultInstanceForType()
Returns
Type Description
ListFoldersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFolders(int index)

public Folder getFolders(int index)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
index int
Returns
Type Description
Folder

getFoldersBuilder(int index)

public Folder.Builder getFoldersBuilder(int index)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
index int
Returns
Type Description
Folder.Builder

getFoldersBuilderList()

public List<Folder.Builder> getFoldersBuilderList()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
List<Builder>

getFoldersCount()

public int getFoldersCount()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
int

getFoldersList()

public List<Folder> getFoldersList()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
List<Folder>

getFoldersOrBuilder(int index)

public FolderOrBuilder getFoldersOrBuilder(int index)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
index int
Returns
Type Description
FolderOrBuilder

getFoldersOrBuilderList()

public List<? extends FolderOrBuilder> getFoldersOrBuilderList()

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Returns
Type Description
List<? extends com.google.storage.control.v2.FolderOrBuilder>

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 = 2;

Returns
Type Description
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 = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFoldersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFoldersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFoldersResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFoldersResponse.Builder
Overrides

mergeFrom(ListFoldersResponse other)

public ListFoldersResponse.Builder mergeFrom(ListFoldersResponse other)
Parameter
Name Description
other ListFoldersResponse
Returns
Type Description
ListFoldersResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFoldersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFoldersResponse.Builder
Overrides

removeFolders(int index)

public ListFoldersResponse.Builder removeFolders(int index)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFoldersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFoldersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFoldersResponse.Builder
Overrides

setFolders(int index, Folder value)

public ListFoldersResponse.Builder setFolders(int index, Folder value)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameters
Name Description
index int
value Folder
Returns
Type Description
ListFoldersResponse.Builder

setFolders(int index, Folder.Builder builderForValue)

public ListFoldersResponse.Builder setFolders(int index, Folder.Builder builderForValue)

The list of child folders

repeated .google.storage.control.v2.Folder folders = 1;

Parameters
Name Description
index int
builderForValue Folder.Builder
Returns
Type Description
ListFoldersResponse.Builder

setNextPageToken(String value)

public ListFoldersResponse.Builder setNextPageToken(String value)

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 = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFoldersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFoldersResponse.Builder setNextPageTokenBytes(ByteString value)

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 = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFoldersResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFoldersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFoldersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFoldersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFoldersResponse.Builder
Overrides