Class Workspace.Builder (0.46.0)

public static final class Workspace.Builder extends GeneratedMessageV3.Builder<Workspace.Builder> implements WorkspaceOrBuilder

A single workspace.

Protobuf type google.area120.tables.v1alpha1.Workspace

Implements

WorkspaceOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllTables(Iterable<? extends Table> values)

public Workspace.Builder addAllTables(Iterable<? extends Table> values)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTables(Table value)

public Workspace.Builder addTables(Table value)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
value Table
Returns
Type Description
Workspace.Builder

addTables(Table.Builder builderForValue)

public Workspace.Builder addTables(Table.Builder builderForValue)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

addTables(int index, Table value)

public Workspace.Builder addTables(int index, Table value)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

addTables(int index, Table.Builder builderForValue)

public Workspace.Builder addTables(int index, Table.Builder builderForValue)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

addTablesBuilder()

public Table.Builder addTablesBuilder()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Returns
Type Description
Table.Builder

addTablesBuilder(int index)

public Table.Builder addTablesBuilder(int index)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
index int
Returns
Type Description
Table.Builder

build()

public Workspace build()
Returns
Type Description
Workspace

buildPartial()

public Workspace buildPartial()
Returns
Type Description
Workspace

clear()

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

clearDisplayName()

public Workspace.Builder clearDisplayName()

The human readable title of the workspace.

string display_name = 2;

Returns
Type Description
Workspace.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Workspace.Builder clearName()

The resource name of the workspace. Workspace names have the form workspaces/{workspace}.

string name = 1;

Returns
Type Description
Workspace.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTables()

public Workspace.Builder clearTables()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Returns
Type Description
Workspace.Builder

clone()

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

getDefaultInstanceForType()

public Workspace getDefaultInstanceForType()
Returns
Type Description
Workspace

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The human readable title of the workspace.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human readable title of the workspace.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

The resource name of the workspace. Workspace names have the form workspaces/{workspace}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the workspace. Workspace names have the form workspaces/{workspace}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getTables(int index)

public Table getTables(int index)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
index int
Returns
Type Description
Table

getTablesBuilder(int index)

public Table.Builder getTablesBuilder(int index)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
index int
Returns
Type Description
Table.Builder

getTablesBuilderList()

public List<Table.Builder> getTablesBuilderList()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Returns
Type Description
List<Builder>

getTablesCount()

public int getTablesCount()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Returns
Type Description
int

getTablesList()

public List<Table> getTablesList()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Returns
Type Description
List<Table>

getTablesOrBuilder(int index)

public TableOrBuilder getTablesOrBuilder(int index)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
index int
Returns
Type Description
TableOrBuilder

getTablesOrBuilderList()

public List<? extends TableOrBuilder> getTablesOrBuilderList()

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Workspace other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTables(int index)

public Workspace.Builder removeTables(int index)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

Parameter
Name Description
index int
Returns
Type Description
Workspace.Builder

setDisplayName(String value)

public Workspace.Builder setDisplayName(String value)

The human readable title of the workspace.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Workspace.Builder setDisplayNameBytes(ByteString value)

The human readable title of the workspace.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Workspace.Builder setName(String value)

The resource name of the workspace. Workspace names have the form workspaces/{workspace}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Workspace.Builder setNameBytes(ByteString value)

The resource name of the workspace. Workspace names have the form workspaces/{workspace}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Workspace.Builder

This builder for chaining.

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

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

setTables(int index, Table value)

public Workspace.Builder setTables(int index, Table value)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

setTables(int index, Table.Builder builderForValue)

public Workspace.Builder setTables(int index, Table.Builder builderForValue)

The list of tables in the workspace.

repeated .google.area120.tables.v1alpha1.Table tables = 3;

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

setUnknownFields(UnknownFieldSet unknownFields)

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