Class ListManagedFoldersRequest.Builder (2.46.0)

public static final class ListManagedFoldersRequest.Builder extends GeneratedMessageV3.Builder<ListManagedFoldersRequest.Builder> implements ListManagedFoldersRequestOrBuilder

Request message for ListManagedFolders.

Protobuf type google.storage.control.v2.ListManagedFoldersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListManagedFoldersRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

build()

public ListManagedFoldersRequest build()
Returns
Type Description
ListManagedFoldersRequest

buildPartial()

public ListManagedFoldersRequest buildPartial()
Returns
Type Description
ListManagedFoldersRequest

clear()

public ListManagedFoldersRequest.Builder clear()
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListManagedFoldersRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListManagedFoldersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

clearPageSize()

public ListManagedFoldersRequest.Builder clearPageSize()

Optional. Maximum number of managed folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

clearPageToken()

public ListManagedFoldersRequest.Builder clearPageToken()

Optional. A previously-returned page token representing part of the larger set of results to view.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

clearParent()

public ListManagedFoldersRequest.Builder clearParent()

Required. Name of the bucket this managed folder belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

clearPrefix()

public ListManagedFoldersRequest.Builder clearPrefix()

Optional. Filter results to match managed folders with name starting with this prefix.

string prefix = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

clearRequestId()

public ListManagedFoldersRequest.Builder clearRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

clone()

public ListManagedFoldersRequest.Builder clone()
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

getDefaultInstanceForType()

public ListManagedFoldersRequest getDefaultInstanceForType()
Returns
Type Description
ListManagedFoldersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. Maximum number of managed folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A previously-returned page token representing part of the larger set of results to view.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A previously-returned page token representing part of the larger set of results to view.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of the bucket this managed folder belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of the bucket this managed folder belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getPrefix()

public String getPrefix()

Optional. Filter results to match managed folders with name starting with this prefix.

string prefix = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The prefix.

getPrefixBytes()

public ByteString getPrefixBytes()

Optional. Filter results to match managed folders with name starting with this prefix.

string prefix = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for prefix.

getRequestId()

public String getRequestId()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListManagedFoldersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListManagedFoldersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

mergeFrom(ListManagedFoldersRequest other)

public ListManagedFoldersRequest.Builder mergeFrom(ListManagedFoldersRequest other)
Parameter
Name Description
other ListManagedFoldersRequest
Returns
Type Description
ListManagedFoldersRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListManagedFoldersRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListManagedFoldersRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

setPageSize(int value)

public ListManagedFoldersRequest.Builder setPageSize(int value)

Optional. Maximum number of managed folders to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListManagedFoldersRequest.Builder setPageToken(String value)

Optional. A previously-returned page token representing part of the larger set of results to view.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListManagedFoldersRequest.Builder setPageTokenBytes(ByteString value)

Optional. A previously-returned page token representing part of the larger set of results to view.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setParent(String value)

public ListManagedFoldersRequest.Builder setParent(String value)

Required. Name of the bucket this managed folder belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListManagedFoldersRequest.Builder setParentBytes(ByteString value)

Required. Name of the bucket this managed folder belongs to.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setPrefix(String value)

public ListManagedFoldersRequest.Builder setPrefix(String value)

Optional. Filter results to match managed folders with name starting with this prefix.

string prefix = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The prefix to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setPrefixBytes(ByteString value)

public ListManagedFoldersRequest.Builder setPrefixBytes(ByteString value)

Optional. Filter results to match managed folders with name starting with this prefix.

string prefix = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for prefix to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

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

public ListManagedFoldersRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides

setRequestId(String value)

public ListManagedFoldersRequest.Builder setRequestId(String value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ListManagedFoldersRequest.Builder setRequestIdBytes(ByteString value)

Optional. A unique identifier for this request. UUID is the recommended format, but other formats are still accepted.

string request_id = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ListManagedFoldersRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListManagedFoldersRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListManagedFoldersRequest.Builder
Overrides