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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.resourcemanager.v3.Folder>
|
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 |
Name |
Description |
value |
Folder
|
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;
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 |
Name |
Description |
index |
int
|
value |
Folder
|
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;
addFoldersBuilder()
public Folder.Builder addFoldersBuilder()
A possibly paginated folder search results.
the specified parent resource.
repeated .google.cloud.resourcemanager.v3.Folder folders = 1;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchFoldersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchFoldersResponse build()
buildPartial()
public SearchFoldersResponse buildPartial()
clear()
public SearchFoldersResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchFoldersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFolders()
public SearchFoldersResponse.Builder clearFolders()
A possibly paginated folder search results.
the specified parent resource.
repeated .google.cloud.resourcemanager.v3.Folder folders = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchFoldersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SearchFoldersResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchFoldersResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
|
getFoldersBuilderList()
public List<Folder.Builder> getFoldersBuilderList()
A possibly paginated folder search results.
the specified parent resource.
repeated .google.cloud.resourcemanager.v3.Folder folders = 1;
getFoldersCount()
public int getFoldersCount()
A possibly paginated folder search results.
the specified parent resource.
repeated .google.cloud.resourcemanager.v3.Folder folders = 1;
Returns |
Type |
Description |
int |
|
getFoldersList()
public List<Folder> getFoldersList()
A possibly paginated folder search results.
the specified parent resource.
repeated .google.cloud.resourcemanager.v3.Folder folders = 1;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchFoldersResponse other)
public SearchFoldersResponse.Builder mergeFrom(SearchFoldersResponse other)
public SearchFoldersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchFoldersResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchFoldersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchFoldersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
index |
int
|
value |
Folder
|
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;
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 |
Name |
Description |
value |
String
The nextPageToken to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchFoldersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchFoldersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides