Class ListWorkspacesResponse (0.11.0)

public final class ListWorkspacesResponse extends GeneratedMessageV3 implements ListWorkspacesResponseOrBuilder

Response message for TablesService.ListWorkspaces.

Protobuf type google.area120.tables.v1alpha1.ListWorkspacesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

WORKSPACES_FIELD_NUMBER

public static final int WORKSPACES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListWorkspacesResponse getDefaultInstance()
Returns
TypeDescription
ListWorkspacesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListWorkspacesResponse prototype)

public static ListWorkspacesResponse.Builder newBuilder(ListWorkspacesResponse prototype)
Parameter
NameDescription
prototypeListWorkspacesResponse
Returns
TypeDescription
ListWorkspacesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListWorkspacesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListWorkspacesResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWorkspaces(int index)

public Workspace getWorkspaces(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Workspace

getWorkspacesCount()

public int getWorkspacesCount()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
TypeDescription
int

getWorkspacesList()

public List<Workspace> getWorkspacesList()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Returns
TypeDescription
List<Workspace>

getWorkspacesOrBuilder(int index)

public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkspaceOrBuilder

getWorkspacesOrBuilderList()

public List<? extends WorkspaceOrBuilder> getWorkspacesOrBuilderList()

The list of workspaces.

repeated .google.area120.tables.v1alpha1.Workspace workspaces = 1;

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

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 ListWorkspacesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListWorkspacesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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