Class ListCloudDatabasesAction.Builder (6.71.0)

public static final class ListCloudDatabasesAction.Builder extends GeneratedMessageV3.Builder<ListCloudDatabasesAction.Builder> implements ListCloudDatabasesActionOrBuilder

Action that lists Cloud Spanner databases.

Protobuf type google.spanner.executor.v1.ListCloudDatabasesAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloudDatabasesAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

build()

public ListCloudDatabasesAction build()
Returns
Type Description
ListCloudDatabasesAction

buildPartial()

public ListCloudDatabasesAction buildPartial()
Returns
Type Description
ListCloudDatabasesAction

clear()

public ListCloudDatabasesAction.Builder clear()
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListCloudDatabasesAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

clearInstanceId()

public ListCloudDatabasesAction.Builder clearInstanceId()

Cloud instance ID (not path) to list databases from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudDatabasesAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

clearPageSize()

public ListCloudDatabasesAction.Builder clearPageSize()

Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

int32 page_size = 3;

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

clearPageToken()

public ListCloudDatabasesAction.Builder clearPageToken()

If non-empty, "page_token" should contain a next_page_token from a previous ListDatabasesResponse to the same "parent" and with the same "filter".

string page_token = 4;

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

clearProjectId()

public ListCloudDatabasesAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

clone()

public ListCloudDatabasesAction.Builder clone()
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

getDefaultInstanceForType()

public ListCloudDatabasesAction getDefaultInstanceForType()
Returns
Type Description
ListCloudDatabasesAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path) to list databases from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Cloud instance ID (not path) to list databases from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
ByteString

The bytes for instanceId.

getPageSize()

public int getPageSize()

Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

If non-empty, "page_token" should contain a next_page_token from a previous ListDatabasesResponse to the same "parent" and with the same "filter".

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

If non-empty, "page_token" should contain a next_page_token from a previous ListDatabasesResponse to the same "parent" and with the same "filter".

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getProjectId()

public String getProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCloudDatabasesAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListCloudDatabasesAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

mergeFrom(ListCloudDatabasesAction other)

public ListCloudDatabasesAction.Builder mergeFrom(ListCloudDatabasesAction other)
Parameter
Name Description
other ListCloudDatabasesAction
Returns
Type Description
ListCloudDatabasesAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudDatabasesAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListCloudDatabasesAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

setInstanceId(String value)

public ListCloudDatabasesAction.Builder setInstanceId(String value)

Cloud instance ID (not path) to list databases from, e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public ListCloudDatabasesAction.Builder setInstanceIdBytes(ByteString value)

Cloud instance ID (not path) to list databases from, e.g. "test-instance".

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setPageSize(int value)

public ListCloudDatabasesAction.Builder setPageSize(int value)

Number of databases to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setPageToken(String value)

public ListCloudDatabasesAction.Builder setPageToken(String value)

If non-empty, "page_token" should contain a next_page_token from a previous ListDatabasesResponse to the same "parent" and with the same "filter".

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCloudDatabasesAction.Builder setPageTokenBytes(ByteString value)

If non-empty, "page_token" should contain a next_page_token from a previous ListDatabasesResponse to the same "parent" and with the same "filter".

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setProjectId(String value)

public ListCloudDatabasesAction.Builder setProjectId(String value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListCloudDatabasesAction.Builder setProjectIdBytes(ByteString value)

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
ListCloudDatabasesAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListCloudDatabasesAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudDatabasesAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListCloudDatabasesAction.Builder
Overrides