Class ListWorkspacesRequest.Builder (0.43.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

build()

public ListWorkspacesRequest build()
Returns
TypeDescription
ListWorkspacesRequest

buildPartial()

public ListWorkspacesRequest buildPartial()
Returns
TypeDescription
ListWorkspacesRequest

clear()

public ListWorkspacesRequest.Builder clear()
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListWorkspacesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWorkspacesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListWorkspacesRequest.Builder

This builder for chaining.

clone()

public ListWorkspacesRequest.Builder clone()
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListWorkspacesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListWorkspacesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkspacesRequest other)

public ListWorkspacesRequest.Builder mergeFrom(ListWorkspacesRequest other)
Parameter
NameDescription
otherListWorkspacesRequest
Returns
TypeDescription
ListWorkspacesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListWorkspacesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListWorkspacesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListWorkspacesRequest.Builder
Overrides