public final class ListSessionsRequest extends GeneratedMessageV3 implements ListSessionsRequestOrBuilder
The request for ListSessions.
Protobuf type google.spanner.v1.ListSessionsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListSessionsRequestImplements
ListSessionsRequestOrBuilderFields
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
Type | Description |
int |
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Type | Description |
int |
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Type | Description |
int |
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDatabase()
public String getDatabase()
Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()
Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for database. |
getDefaultInstance()
public static ListSessionsRequest getDefaultInstance()
Type | Description |
ListSessionsRequest |
getDefaultInstanceForType()
public ListSessionsRequest getDefaultInstanceForType()
Type | Description |
ListSessionsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getFilter()
public String getFilter()
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
labels.key
where key is the name of a label Some examples of using filters are:labels.env:*
--> The session has the label "env".labels.env:dev
--> The session has the label "env" and the value of the label contains the string "dev".
string filter = 4;
Type | Description |
String | The filter. |
getFilterBytes()
public ByteString getFilterBytes()
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
labels.key
where key is the name of a label Some examples of using filters are:labels.env:*
--> The session has the label "env".labels.env:dev
--> The session has the label "env" and the value of the label contains the string "dev".
string filter = 4;
Type | Description |
ByteString | The bytes for filter. |
getPageSize()
public int getPageSize()
Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
If non-empty, page_token
should contain a
next_page_token from a previous
ListSessionsResponse.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
If non-empty, page_token
should contain a
next_page_token from a previous
ListSessionsResponse.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParserForType()
public Parser<ListSessionsRequest> getParserForType()
Type | Description |
Parser<ListSessionsRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ListSessionsRequest.Builder newBuilder()
Type | Description |
ListSessionsRequest.Builder |
newBuilder(ListSessionsRequest prototype)
public static ListSessionsRequest.Builder newBuilder(ListSessionsRequest prototype)
Name | Description |
prototype | ListSessionsRequest |
Type | Description |
ListSessionsRequest.Builder |
newBuilderForType()
public ListSessionsRequest.Builder newBuilderForType()
Type | Description |
ListSessionsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListSessionsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListSessionsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ListSessionsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListSessionsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListSessionsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListSessionsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListSessionsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListSessionsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListSessionsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListSessionsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListSessionsRequest> parser()
Type | Description |
Parser<ListSessionsRequest> |
toBuilder()
public ListSessionsRequest.Builder toBuilder()
Type | Description |
ListSessionsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |