Class ListCloudDatabasesAction.Builder (6.57.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCloudDatabasesAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

build()

public ListCloudDatabasesAction build()
Returns
TypeDescription
ListCloudDatabasesAction

buildPartial()

public ListCloudDatabasesAction buildPartial()
Returns
TypeDescription
ListCloudDatabasesAction

clear()

public ListCloudDatabasesAction.Builder clear()
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListCloudDatabasesAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListCloudDatabasesAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudDatabasesAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListCloudDatabasesAction.Builder

This builder for chaining.

clearProjectId()

public ListCloudDatabasesAction.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
ListCloudDatabasesAction.Builder

This builder for chaining.

clone()

public ListCloudDatabasesAction.Builder clone()
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

getDefaultInstanceForType()

public ListCloudDatabasesAction getDefaultInstanceForType()
Returns
TypeDescription
ListCloudDatabasesAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

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

string instance_id = 2;

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

The bytes for pageToken.

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCloudDatabasesAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListCloudDatabasesAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

mergeFrom(ListCloudDatabasesAction other)

public ListCloudDatabasesAction.Builder mergeFrom(ListCloudDatabasesAction other)
Parameter
NameDescription
otherListCloudDatabasesAction
Returns
TypeDescription
ListCloudDatabasesAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudDatabasesAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListCloudDatabasesAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCloudDatabasesAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCloudDatabasesAction.Builder
Overrides