public static final class Workspace.Builder extends GeneratedMessage.Builder<Workspace.Builder> implements WorkspaceOrBuilderA single workspace.
Protobuf type google.area120.tables.v1alpha1.Workspace
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Workspace.BuilderImplements
WorkspaceOrBuilderStatic 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 |
|
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 |
|
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. |
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. |
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 |
|
getDefaultInstanceForType()
public Workspace getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Workspace |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Workspace.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Workspace.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Workspace.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Workspace.Builder |
This builder for chaining. |
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 |
|