Class ListBucketOperationsRequest.Builder (0.25.0)

public static final class ListBucketOperationsRequest.Builder extends GeneratedMessage.Builder<ListBucketOperationsRequest.Builder> implements ListBucketOperationsRequestOrBuilder

Message for request to list BucketOperations

Protobuf type google.cloud.storagebatchoperations.v1.ListBucketOperationsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListBucketOperationsRequest build()
Returns
Type Description
ListBucketOperationsRequest

buildPartial()

public ListBucketOperationsRequest buildPartial()
Returns
Type Description
ListBucketOperationsRequest

clear()

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

clearFilter()

public ListBucketOperationsRequest.Builder clearFilter()

Optional. Filters results as defined by https://google.aip.dev/160.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

clearOrderBy()

public ListBucketOperationsRequest.Builder clearOrderBy()

Optional. Field to sort by. Supported fields are name, create_time.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

clearPageSize()

public ListBucketOperationsRequest.Builder clearPageSize()

Optional. The list page size. Default page size is 100.

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

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

clearPageToken()

public ListBucketOperationsRequest.Builder clearPageToken()

Optional. The list page token.

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

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

clearParent()

public ListBucketOperationsRequest.Builder clearParent()

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListBucketOperationsRequest getDefaultInstanceForType()
Returns
Type Description
ListBucketOperationsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filters results as defined by https://google.aip.dev/160.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filters results as defined by https://google.aip.dev/160.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. Field to sort by. Supported fields are name, create_time.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. Field to sort by. Supported fields are name, create_time.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. The list page size. Default page size is 100.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The list page token.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The list page token.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBucketOperationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListBucketOperationsRequest.Builder setFilter(String value)

Optional. Filters results as defined by https://google.aip.dev/160.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListBucketOperationsRequest.Builder setFilterBytes(ByteString value)

Optional. Filters results as defined by https://google.aip.dev/160.

string filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListBucketOperationsRequest.Builder setOrderBy(String value)

Optional. Field to sort by. Supported fields are name, create_time.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListBucketOperationsRequest.Builder setOrderByBytes(ByteString value)

Optional. Field to sort by. Supported fields are name, create_time.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListBucketOperationsRequest.Builder setPageSize(int value)

Optional. The list page size. Default page size is 100.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListBucketOperationsRequest.Builder setPageToken(String value)

Optional. The list page token.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListBucketOperationsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The list page token.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListBucketOperationsRequest.Builder setParent(String value)

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListBucketOperationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListBucketOperationsRequest.Builder setParentBytes(ByteString value)

Required. Format: projects/{project_id}/locations/global/jobs/{job_id}.

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
ListBucketOperationsRequest.Builder

This builder for chaining.