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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListWorkspacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addWorkspaces(Workspace value)
public ListWorkspacesResponse.Builder addWorkspaces(Workspace value)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
addWorkspaces(Workspace.Builder builderForValue)
public ListWorkspacesResponse.Builder addWorkspaces(Workspace.Builder builderForValue)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
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
Returns
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
Returns
addWorkspacesBuilder()
public Workspace.Builder addWorkspacesBuilder()
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Returns
addWorkspacesBuilder(int index)
public Workspace.Builder addWorkspacesBuilder(int index)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
build()
public ListWorkspacesResponse build()
Returns
buildPartial()
public ListWorkspacesResponse buildPartial()
Returns
clear()
public ListWorkspacesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListWorkspacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListWorkspacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWorkspaces()
public ListWorkspacesResponse.Builder clearWorkspaces()
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Returns
clone()
public ListWorkspacesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListWorkspacesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getWorkspacesBuilder(int index)
public Workspace.Builder getWorkspacesBuilder(int index)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
getWorkspacesBuilderList()
public List<Workspace.Builder> getWorkspacesBuilderList()
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Returns
getWorkspacesCount()
public int getWorkspacesCount()
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Returns
getWorkspacesList()
public List<Workspace> getWorkspacesList()
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Returns
getWorkspacesOrBuilder(int index)
public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListWorkspacesResponse other)
public ListWorkspacesResponse.Builder mergeFrom(ListWorkspacesResponse other)
Parameter
Returns
public ListWorkspacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListWorkspacesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkspacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeWorkspaces(int index)
public ListWorkspacesResponse.Builder removeWorkspaces(int index)
The list of workspaces.
repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListWorkspacesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListWorkspacesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListWorkspacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns