Class SearchFoldersResponse.Builder (1.15.0)

public static final class SearchFoldersResponse.Builder extends GeneratedMessageV3.Builder<SearchFoldersResponse.Builder> implements SearchFoldersResponseOrBuilder

The response message for searching folders.

Protobuf type google.cloud.resourcemanager.v3.SearchFoldersResponse

Static Methods

getDescriptor()

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

Methods

addAllFolders(Iterable<? extends Folder> values)

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

A possibly paginated folder search results. the specified parent resource.

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

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

addFolders(Folder value)

public SearchFoldersResponse.Builder addFolders(Folder value)

A possibly paginated folder search results. the specified parent resource.

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

Parameter
NameDescription
valueFolder
Returns
TypeDescription
SearchFoldersResponse.Builder

addFolders(Folder.Builder builderForValue)

public SearchFoldersResponse.Builder addFolders(Folder.Builder builderForValue)

A possibly paginated folder search results. the specified parent resource.

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

Parameter
NameDescription
builderForValueFolder.Builder
Returns
TypeDescription
SearchFoldersResponse.Builder

addFolders(int index, Folder value)

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

A possibly paginated folder search results. the specified parent resource.

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

Parameters
NameDescription
indexint
valueFolder
Returns
TypeDescription
SearchFoldersResponse.Builder

addFolders(int index, Folder.Builder builderForValue)

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

A possibly paginated folder search results. the specified parent resource.

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

Parameters
NameDescription
indexint
builderForValueFolder.Builder
Returns
TypeDescription
SearchFoldersResponse.Builder

addFoldersBuilder()

public Folder.Builder addFoldersBuilder()

A possibly paginated folder search results. 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 folder search results. 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 SearchFoldersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchFoldersResponse.Builder
Overrides

build()

public SearchFoldersResponse build()
Returns
TypeDescription
SearchFoldersResponse

buildPartial()

public SearchFoldersResponse buildPartial()
Returns
TypeDescription
SearchFoldersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFolders()

public SearchFoldersResponse.Builder clearFolders()

A possibly paginated folder search results. the specified parent resource.

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

Returns
TypeDescription
SearchFoldersResponse.Builder

clearNextPageToken()

public SearchFoldersResponse.Builder clearNextPageToken()

A pagination token returned from a previous call to SearchFolders that indicates from where searching should continue.

string next_page_token = 2;

Returns
TypeDescription
SearchFoldersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SearchFoldersResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchFoldersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFolders(int index)

public Folder getFolders(int index)

A possibly paginated folder search results. 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 folder search results. 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 folder search results. the specified parent resource.

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

Returns
TypeDescription
List<Builder>

getFoldersCount()

public int getFoldersCount()

A possibly paginated folder search results. the specified parent resource.

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

Returns
TypeDescription
int

getFoldersList()

public List<Folder> getFoldersList()

A possibly paginated folder search results. 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 folder search results. 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 folder search results. 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 SearchFolders that indicates from where searching 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 SearchFolders that indicates from where searching 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(SearchFoldersResponse other)

public SearchFoldersResponse.Builder mergeFrom(SearchFoldersResponse other)
Parameter
NameDescription
otherSearchFoldersResponse
Returns
TypeDescription
SearchFoldersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFolders(int index)

public SearchFoldersResponse.Builder removeFolders(int index)

A possibly paginated folder search results. the specified parent resource.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SearchFoldersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFolders(int index, Folder value)

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

A possibly paginated folder search results. the specified parent resource.

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

Parameters
NameDescription
indexint
valueFolder
Returns
TypeDescription
SearchFoldersResponse.Builder

setFolders(int index, Folder.Builder builderForValue)

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

A possibly paginated folder search results. the specified parent resource.

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

Parameters
NameDescription
indexint
builderForValueFolder.Builder
Returns
TypeDescription
SearchFoldersResponse.Builder

setNextPageToken(String value)

public SearchFoldersResponse.Builder setNextPageToken(String value)

A pagination token returned from a previous call to SearchFolders that indicates from where searching should continue.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
SearchFoldersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchFoldersResponse.Builder setNextPageTokenBytes(ByteString value)

A pagination token returned from a previous call to SearchFolders that indicates from where searching should continue.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
SearchFoldersResponse.Builder

This builder for chaining.

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

public SearchFoldersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchFoldersResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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