Class ListWorkspacesResponse.Builder (0.57.0)

public static final class ListWorkspacesResponse.Builder extends GeneratedMessageV3.Builder<ListWorkspacesResponse.Builder> implements ListWorkspacesResponseOrBuilder

Response message for TablesService.ListWorkspaces.

Protobuf type google.area120.tables.v1alpha1.ListWorkspacesResponse

Static Methods

getDescriptor()

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

Methods

addAllWorkspaces(Iterable<? extends Workspace> values)

public ListWorkspacesResponse.Builder addAllWorkspaces(Iterable<? extends Workspace> values)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
values Iterable<? extends com.google.area120.tables.v1alpha1.Workspace>
Returns
Type Description
ListWorkspacesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWorkspaces(Workspace value)

public ListWorkspacesResponse.Builder addWorkspaces(Workspace value)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder addWorkspaces(Workspace.Builder builderForValue)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(int index, Workspace value)

public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace value)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameters
Name Description
index int
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspaces(int index, Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace.Builder builderForValue)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameters
Name Description
index int
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder

addWorkspacesBuilder()

public Workspace.Builder addWorkspacesBuilder()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
Workspace.Builder

addWorkspacesBuilder(int index)

public Workspace.Builder addWorkspacesBuilder(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace.Builder

build()

public ListWorkspacesResponse build()
Returns
Type Description
ListWorkspacesResponse

buildPartial()

public ListWorkspacesResponse buildPartial()
Returns
Type Description
ListWorkspacesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListWorkspacesResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWorkspaces()

public ListWorkspacesResponse.Builder clearWorkspaces()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
ListWorkspacesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkspacesResponse getDefaultInstanceForType()
Returns
Type Description
ListWorkspacesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getWorkspaces(int index)

public Workspace getWorkspaces(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace

getWorkspacesBuilder(int index)

public Workspace.Builder getWorkspacesBuilder(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
Workspace.Builder

getWorkspacesBuilderList()

public List<Workspace.Builder> getWorkspacesBuilderList()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
List<Builder>

getWorkspacesCount()

public int getWorkspacesCount()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
int

getWorkspacesList()

public List<Workspace> getWorkspacesList()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
List<Workspace>

getWorkspacesOrBuilder(int index)

public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
WorkspaceOrBuilder

getWorkspacesOrBuilderList()

public List<? extends WorkspaceOrBuilder> getWorkspacesOrBuilderList()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
Type Description
List<? extends com.google.area120.tables.v1alpha1.WorkspaceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListWorkspacesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWorkspaces(int index)

public ListWorkspacesResponse.Builder removeWorkspaces(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
Name Description
index int
Returns
Type Description
ListWorkspacesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListWorkspacesResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListWorkspacesResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListWorkspacesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspaces(int index, Workspace value)

public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace value)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameters
Name Description
index int
value Workspace
Returns
Type Description
ListWorkspacesResponse.Builder

setWorkspaces(int index, Workspace.Builder builderForValue)

public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace.Builder builderForValue)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameters
Name Description
index int
builderForValue Workspace.Builder
Returns
Type Description
ListWorkspacesResponse.Builder