Class ListWorkspacesRequest.Builder (0.48.0)

public static final class ListWorkspacesRequest.Builder extends GeneratedMessageV3.Builder<ListWorkspacesRequest.Builder> implements ListWorkspacesRequestOrBuilder

Request message for TablesService.ListWorkspaces.

Protobuf type google.area120.tables.v1alpha1.ListWorkspacesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListWorkspacesRequest build()
Returns
Type Description
ListWorkspacesRequest

buildPartial()

public ListWorkspacesRequest buildPartial()
Returns
Type Description
ListWorkspacesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListWorkspacesRequest.Builder clearPageSize()

The maximum number of workspaces to return. The service may return fewer than this value.

If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25.

int32 page_size = 1;

Returns
Type Description
ListWorkspacesRequest.Builder

This builder for chaining.

clearPageToken()

public ListWorkspacesRequest.Builder clearPageToken()

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ListWorkspacesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListWorkspacesRequest getDefaultInstanceForType()
Returns
Type Description
ListWorkspacesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of workspaces to return. The service may return fewer than this value.

If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25.

int32 page_size = 1;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkspacesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListWorkspacesRequest.Builder setPageSize(int value)

The maximum number of workspaces to return. The service may return fewer than this value.

If unspecified, at most 10 workspaces are returned. The maximum value is 25; values above 25 are coerced to 25.

int32 page_size = 1;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListWorkspacesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListWorkspacesRequest.Builder setPageToken(String value)

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListWorkspacesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListWorkspacesRequest.Builder setPageTokenBytes(ByteString value)

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListWorkspacesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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