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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTablesBuilder()

public Table.Builder addTablesBuilder()

The list of tables in the workspace.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.Builder

build()

public Workspace build()
Returns
TypeDescription
Workspace

buildPartial()

public Workspace buildPartial()
Returns
TypeDescription
Workspace

clear()

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

clearDisplayName()

public Workspace.Builder clearDisplayName()

The human readable title of the workspace.

string display_name = 2;

Returns
TypeDescription
Workspace.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTables()

public Workspace.Builder clearTables()

The list of tables in the workspace.

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

Returns
TypeDescription
Workspace.Builder

clone()

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

getDefaultInstanceForType()

public Workspace getDefaultInstanceForType()
Returns
TypeDescription
Workspace

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The human readable title of the workspace.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The human readable title of the workspace.

string display_name = 2;

Returns
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Table.Builder

getTablesBuilderList()

public List<Table.Builder> getTablesBuilderList()

The list of tables in the workspace.

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

Returns
TypeDescription
List<Builder>

getTablesCount()

public int getTablesCount()

The list of tables in the workspace.

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

Returns
TypeDescription
int

getTablesList()

public List<Table> getTablesList()

The list of tables in the workspace.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TableOrBuilder

getTablesOrBuilderList()

public List<? extends TableOrBuilder> getTablesOrBuilderList()

The list of tables in the workspace.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Workspace other)

public Workspace.Builder mergeFrom(Workspace other)
Parameter
NameDescription
otherWorkspace
Returns
TypeDescription
Workspace.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public Workspace.Builder setDisplayName(String value)

The human readable title of the workspace.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
Workspace.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTable.Builder
Returns
TypeDescription
Workspace.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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