Class Workspace (0.28.0)

public final class Workspace extends GeneratedMessageV3 implements WorkspaceOrBuilder

A single workspace.

Protobuf type google.area120.tables.v1alpha1.Workspace

Implements

WorkspaceOrBuilder

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TABLES_FIELD_NUMBER

public static final int TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Workspace getDefaultInstance()
Returns
TypeDescription
Workspace

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Workspace.Builder newBuilder()
Returns
TypeDescription
Workspace.Builder

newBuilder(Workspace prototype)

public static Workspace.Builder newBuilder(Workspace prototype)
Parameter
NameDescription
prototypeWorkspace
Returns
TypeDescription
Workspace.Builder

parseDelimitedFrom(InputStream input)

public static Workspace parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Workspace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Workspace parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Workspace parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Workspace parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Workspace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Workspace parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Workspace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Workspace parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Workspace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Workspace parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Workspace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Workspace
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Workspace> parser()
Returns
TypeDescription
Parser<Workspace>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Workspace getDefaultInstanceForType()
Returns
TypeDescription
Workspace

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.

getParserForType()

public Parser<Workspace> getParserForType()
Returns
TypeDescription
Parser<Workspace>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Workspace.Builder newBuilderForType()
Returns
TypeDescription
Workspace.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Workspace.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Workspace.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Workspace.Builder toBuilder()
Returns
TypeDescription
Workspace.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException