Class ListWorkspacesResponse.Builder (0.41.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.area120.tables.v1alpha1.Workspace>
Returns
TypeDescription
ListWorkspacesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListWorkspacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWorkspace
Returns
TypeDescription
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
NameDescription
builderForValueWorkspace.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueWorkspace
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkspace.Builder
Returns
TypeDescription
ListWorkspacesResponse.Builder

addWorkspacesBuilder()

public Workspace.Builder addWorkspacesBuilder()

The list of workspaces.

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

Returns
TypeDescription
Workspace.Builder

addWorkspacesBuilder(int index)

public Workspace.Builder addWorkspacesBuilder(int index)

The list of workspaces.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Workspace.Builder

build()

public ListWorkspacesResponse build()
Returns
TypeDescription
ListWorkspacesResponse

buildPartial()

public ListWorkspacesResponse buildPartial()
Returns
TypeDescription
ListWorkspacesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListWorkspacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListWorkspacesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListWorkspacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListWorkspacesResponse.Builder
Overrides

clearWorkspaces()

public ListWorkspacesResponse.Builder clearWorkspaces()

The list of workspaces.

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

Returns
TypeDescription
ListWorkspacesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListWorkspacesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkspacesResponse

getDescriptorForType()

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

getWorkspacesBuilder(int index)

public Workspace.Builder getWorkspacesBuilder(int index)

The list of workspaces.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Workspace.Builder

getWorkspacesBuilderList()

public List<Workspace.Builder> getWorkspacesBuilderList()

The list of workspaces.

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

Returns
TypeDescription
List<Builder>

getWorkspacesCount()

public int getWorkspacesCount()

The list of workspaces.

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

Returns
TypeDescription
int

getWorkspacesList()

public List<Workspace> getWorkspacesList()

The list of workspaces.

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

Returns
TypeDescription
List<Workspace>

getWorkspacesOrBuilder(int index)

public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)

The list of workspaces.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkspaceOrBuilder

getWorkspacesOrBuilderList()

public List<? extends WorkspaceOrBuilder> getWorkspacesOrBuilderList()

The list of workspaces.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListWorkspacesResponse other)

public ListWorkspacesResponse.Builder mergeFrom(ListWorkspacesResponse other)
Parameter
NameDescription
otherListWorkspacesResponse
Returns
TypeDescription
ListWorkspacesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListWorkspacesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListWorkspacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueWorkspace
Returns
TypeDescription
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
NameDescription
indexint
builderForValueWorkspace.Builder
Returns
TypeDescription
ListWorkspacesResponse.Builder