Class ListFoldersResponse.Builder (1.3.2)

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

The ListFolders response message.

Protobuf type google.cloud.resourcemanager.v3.ListFoldersResponse

Static Methods

getDescriptor()

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

Methods

addAllFolders(Iterable<? extends Folder> values)

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

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.resourcemanager.v3.Folder>
Returns
TypeDescription
ListFoldersResponse.Builder

addFolders(Folder value)

public ListFoldersResponse.Builder addFolders(Folder value)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
valueFolder
Returns
TypeDescription
ListFoldersResponse.Builder

addFolders(Folder.Builder builderForValue)

public ListFoldersResponse.Builder addFolders(Folder.Builder builderForValue)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
builderForValueFolder.Builder
Returns
TypeDescription
ListFoldersResponse.Builder

addFolders(int index, Folder value)

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

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameters
NameDescription
indexint
valueFolder
Returns
TypeDescription
ListFoldersResponse.Builder

addFolders(int index, Folder.Builder builderForValue)

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

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameters
NameDescription
indexint
builderForValueFolder.Builder
Returns
TypeDescription
ListFoldersResponse.Builder

addFoldersBuilder()

public Folder.Builder addFoldersBuilder()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
Folder.Builder

addFoldersBuilder(int index)

public Folder.Builder addFoldersBuilder(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Folder.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFoldersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

build()

public ListFoldersResponse build()
Returns
TypeDescription
ListFoldersResponse

buildPartial()

public ListFoldersResponse buildPartial()
Returns
TypeDescription
ListFoldersResponse

clear()

public ListFoldersResponse.Builder clear()
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFoldersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

clearFolders()

public ListFoldersResponse.Builder clearFolders()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
ListFoldersResponse.Builder

clearNextPageToken()

public ListFoldersResponse.Builder clearNextPageToken()

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
ListFoldersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFoldersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

clone()

public ListFoldersResponse.Builder clone()
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFoldersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFoldersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFolders(int index)

public Folder getFolders(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Folder

getFoldersBuilder(int index)

public Folder.Builder getFoldersBuilder(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Folder.Builder

getFoldersBuilderList()

public List<Folder.Builder> getFoldersBuilderList()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
List<Builder>

getFoldersCount()

public int getFoldersCount()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
int

getFoldersList()

public List<Folder> getFoldersList()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
List<Folder>

getFoldersOrBuilder(int index)

public FolderOrBuilder getFoldersOrBuilder(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FolderOrBuilder

getFoldersOrBuilderList()

public List<? extends FolderOrBuilder> getFoldersOrBuilderList()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.FolderOrBuilder>

getNextPageToken()

public String getNextPageToken()

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFoldersResponse other)

public ListFoldersResponse.Builder mergeFrom(ListFoldersResponse other)
Parameter
NameDescription
otherListFoldersResponse
Returns
TypeDescription
ListFoldersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFoldersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListFoldersResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFoldersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

removeFolders(int index)

public ListFoldersResponse.Builder removeFolders(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFoldersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFoldersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

setFolders(int index, Folder value)

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

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameters
NameDescription
indexint
valueFolder
Returns
TypeDescription
ListFoldersResponse.Builder

setFolders(int index, Folder.Builder builderForValue)

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

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameters
NameDescription
indexint
builderForValueFolder.Builder
Returns
TypeDescription
ListFoldersResponse.Builder

setNextPageToken(String value)

public ListFoldersResponse.Builder setNextPageToken(String value)

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListFoldersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFoldersResponse.Builder setNextPageTokenBytes(ByteString value)

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFoldersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides