Class ListManagedFoldersResponse.Builder (2.43.0)

public static final class ListManagedFoldersResponse.Builder extends GeneratedMessageV3.Builder<ListManagedFoldersResponse.Builder> implements ListManagedFoldersResponseOrBuilder

Response message for ListManagedFolders.

Protobuf type google.storage.control.v2.ListManagedFoldersResponse

Static Methods

getDescriptor()

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

Methods

addAllManagedFolders(Iterable<? extends ManagedFolder> values)

public ListManagedFoldersResponse.Builder addAllManagedFolders(Iterable<? extends ManagedFolder> values)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

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

addManagedFolders(ManagedFolder value)

public ListManagedFoldersResponse.Builder addManagedFolders(ManagedFolder value)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
value ManagedFolder
Returns
Type Description
ListManagedFoldersResponse.Builder

addManagedFolders(ManagedFolder.Builder builderForValue)

public ListManagedFoldersResponse.Builder addManagedFolders(ManagedFolder.Builder builderForValue)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
builderForValue ManagedFolder.Builder
Returns
Type Description
ListManagedFoldersResponse.Builder

addManagedFolders(int index, ManagedFolder value)

public ListManagedFoldersResponse.Builder addManagedFolders(int index, ManagedFolder value)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameters
Name Description
index int
value ManagedFolder
Returns
Type Description
ListManagedFoldersResponse.Builder

addManagedFolders(int index, ManagedFolder.Builder builderForValue)

public ListManagedFoldersResponse.Builder addManagedFolders(int index, ManagedFolder.Builder builderForValue)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameters
Name Description
index int
builderForValue ManagedFolder.Builder
Returns
Type Description
ListManagedFoldersResponse.Builder

addManagedFoldersBuilder()

public ManagedFolder.Builder addManagedFoldersBuilder()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Returns
Type Description
ManagedFolder.Builder

addManagedFoldersBuilder(int index)

public ManagedFolder.Builder addManagedFoldersBuilder(int index)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagedFolder.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListManagedFoldersResponse build()
Returns
Type Description
ListManagedFoldersResponse

buildPartial()

public ListManagedFoldersResponse buildPartial()
Returns
Type Description
ListManagedFoldersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearManagedFolders()

public ListManagedFoldersResponse.Builder clearManagedFolders()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Returns
Type Description
ListManagedFoldersResponse.Builder

clearNextPageToken()

public ListManagedFoldersResponse.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
ListManagedFoldersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListManagedFoldersResponse getDefaultInstanceForType()
Returns
Type Description
ListManagedFoldersResponse

getDescriptorForType()

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

getManagedFolders(int index)

public ManagedFolder getManagedFolders(int index)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagedFolder

getManagedFoldersBuilder(int index)

public ManagedFolder.Builder getManagedFoldersBuilder(int index)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagedFolder.Builder

getManagedFoldersBuilderList()

public List<ManagedFolder.Builder> getManagedFoldersBuilderList()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Returns
Type Description
List<Builder>

getManagedFoldersCount()

public int getManagedFoldersCount()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Returns
Type Description
int

getManagedFoldersList()

public List<ManagedFolder> getManagedFoldersList()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Returns
Type Description
List<ManagedFolder>

getManagedFoldersOrBuilder(int index)

public ManagedFolderOrBuilder getManagedFoldersOrBuilder(int index)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ManagedFolderOrBuilder

getManagedFoldersOrBuilderList()

public List<? extends ManagedFolderOrBuilder> getManagedFoldersOrBuilderList()

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

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

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 ListManagedFoldersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListManagedFoldersResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(ListManagedFoldersResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeManagedFolders(int index)

public ListManagedFoldersResponse.Builder removeManagedFolders(int index)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameter
Name Description
index int
Returns
Type Description
ListManagedFoldersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagedFolders(int index, ManagedFolder value)

public ListManagedFoldersResponse.Builder setManagedFolders(int index, ManagedFolder value)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameters
Name Description
index int
value ManagedFolder
Returns
Type Description
ListManagedFoldersResponse.Builder

setManagedFolders(int index, ManagedFolder.Builder builderForValue)

public ListManagedFoldersResponse.Builder setManagedFolders(int index, ManagedFolder.Builder builderForValue)

The list of matching managed folders

repeated .google.storage.control.v2.ManagedFolder managed_folders = 1;

Parameters
Name Description
index int
builderForValue ManagedFolder.Builder
Returns
Type Description
ListManagedFoldersResponse.Builder

setNextPageToken(String value)

public ListManagedFoldersResponse.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
ListManagedFoldersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListManagedFoldersResponse.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
ListManagedFoldersResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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