public static final class ListFoldersRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder> implements ListFoldersRequestOrBuilder
The ListFolders request message.Protobuf type
google.cloud.resourcemanager.v3.ListFoldersRequest| Modifier and Type | Method and Description |
|---|---|
ListFoldersRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListFoldersRequest |
build() |
ListFoldersRequest |
buildPartial() |
ListFoldersRequest.Builder |
clear() |
ListFoldersRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListFoldersRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListFoldersRequest.Builder |
clearPageSize()
Optional.
|
ListFoldersRequest.Builder |
clearPageToken()
Optional.
|
ListFoldersRequest.Builder |
clearParent()
Required.
|
ListFoldersRequest.Builder |
clearShowDeleted()
Optional.
|
ListFoldersRequest.Builder |
clone() |
ListFoldersRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
getShowDeleted()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListFoldersRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListFoldersRequest.Builder |
mergeFrom(ListFoldersRequest other) |
ListFoldersRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListFoldersRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListFoldersRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListFoldersRequest.Builder |
setPageSize(int value)
Optional.
|
ListFoldersRequest.Builder |
setPageToken(String value)
Optional.
|
ListFoldersRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListFoldersRequest.Builder |
setParent(String value)
Required.
|
ListFoldersRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListFoldersRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListFoldersRequest.Builder |
setShowDeleted(boolean value)
Optional.
|
ListFoldersRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListFoldersRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListFoldersRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListFoldersRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder mergeFrom(ListFoldersRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public ListFoldersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListFoldersRequest.Builder>IOExceptionpublic String getParent()
Required. The name of the parent resource whose folders are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the value `folders/{folder_id}`. If the
parent is an organization, use the value `organizations/{org_id}`.
Access to this method is controlled by checking the
`resourcemanager.folders.list` permission on the `parent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListFoldersRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The name of the parent resource whose folders are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the value `folders/{folder_id}`. If the
parent is an organization, use the value `organizations/{org_id}`.
Access to this method is controlled by checking the
`resourcemanager.folders.list` permission on the `parent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListFoldersRequestOrBuilderpublic ListFoldersRequest.Builder setParent(String value)
Required. The name of the parent resource whose folders are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the value `folders/{folder_id}`. If the
parent is an organization, use the value `organizations/{org_id}`.
Access to this method is controlled by checking the
`resourcemanager.folders.list` permission on the `parent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListFoldersRequest.Builder clearParent()
Required. The name of the parent resource whose folders are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the value `folders/{folder_id}`. If the
parent is an organization, use the value `organizations/{org_id}`.
Access to this method is controlled by checking the
`resourcemanager.folders.list` permission on the `parent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListFoldersRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The name of the parent resource whose folders are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the value `folders/{folder_id}`. If the
parent is an organization, use the value `organizations/{org_id}`.
Access to this method is controlled by checking the
`resourcemanager.folders.list` permission on the `parent`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListFoldersRequestOrBuilderpublic ListFoldersRequest.Builder setPageSize(int value)
Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListFoldersRequest.Builder clearPageSize()
Optional. The maximum number of folders to return in the response. The server can return fewer folders than requested. If unspecified, server picks an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListFoldersRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListFoldersRequestOrBuilderpublic ListFoldersRequest.Builder setPageToken(String value)
Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListFoldersRequest.Builder clearPageToken()
Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];public ListFoldersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. A pagination token returned from a previous call to `ListFolders` that indicates where this listing should continue from.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public boolean getShowDeleted()
Optional. Controls whether folders in the [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] state should be returned. Defaults to false.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];getShowDeleted in interface ListFoldersRequestOrBuilderpublic ListFoldersRequest.Builder setShowDeleted(boolean value)
Optional. Controls whether folders in the [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] state should be returned. Defaults to false.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];value - The showDeleted to set.public ListFoldersRequest.Builder clearShowDeleted()
Optional. Controls whether folders in the [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] state should be returned. Defaults to false.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];public final ListFoldersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>public final ListFoldersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListFoldersRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.