public static final class ListFoldersResponse.Builder extends GeneratedMessageV3.Builder<ListFoldersResponse.Builder> implements ListFoldersResponseOrBuilder
The ListFolders response message.
Protobuf type google.cloud.resourcemanager.v3.ListFoldersResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.resourcemanager.v3.Folder>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFoldersResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListFoldersResponse build()
Returns
buildPartial()
public ListFoldersResponse buildPartial()
Returns
clear()
public ListFoldersResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFoldersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFoldersResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListFoldersResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListFoldersResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListFoldersResponse other)
public ListFoldersResponse.Builder mergeFrom(ListFoldersResponse other)
Parameter
Returns
public ListFoldersResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListFoldersResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFoldersResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListFoldersResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFoldersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFoldersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides