- 6.102.0 (latest)
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class ListSessionsRequest.Builder extends GeneratedMessageV3.Builder<ListSessionsRequest.Builder> implements ListSessionsRequestOrBuilderThe request for ListSessions.
Protobuf type google.spanner.v1.ListSessionsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListSessionsRequest.BuilderImplements
ListSessionsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSessionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
build()
public ListSessionsRequest build()| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest |
|
buildPartial()
public ListSessionsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest |
|
clear()
public ListSessionsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
clearDatabase()
public ListSessionsRequest.Builder clearDatabase()Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ListSessionsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
clearFilter()
public ListSessionsRequest.Builder clearFilter()An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
labels.keywhere key is the name of a labelSome 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;
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSessionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
clearPageSize()
public ListSessionsRequest.Builder clearPageSize()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;
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListSessionsRequest.Builder clearPageToken() If non-empty, page_token should contain a
next_page_token
from a previous
ListSessionsResponse.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
clone()
public ListSessionsRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
getDatabase()
public String getDatabase()Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public ListSessionsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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.keywhere key is the name of a labelSome 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;
| Returns | |
|---|---|
| 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.keywhere key is the name of a labelSome 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListSessionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListSessionsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
mergeFrom(ListSessionsRequest other)
public ListSessionsRequest.Builder mergeFrom(ListSessionsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListSessionsRequest |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
setDatabase(String value)
public ListSessionsRequest.Builder setDatabase(String value)Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public ListSessionsRequest.Builder setDatabaseBytes(ByteString value)Required. The database in which to list sessions.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ListSessionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
setFilter(String value)
public ListSessionsRequest.Builder setFilter(String value)An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
labels.keywhere key is the name of a labelSome 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListSessionsRequest.Builder setFilterBytes(ByteString value)An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
labels.keywhere key is the name of a labelSome 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListSessionsRequest.Builder setPageSize(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListSessionsRequest.Builder setPageToken(String value) If non-empty, page_token should contain a
next_page_token
from a previous
ListSessionsResponse.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListSessionsRequest.Builder setPageTokenBytes(ByteString value) If non-empty, page_token should contain a
next_page_token
from a previous
ListSessionsResponse.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSessionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSessionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ListSessionsRequest.Builder |
|