Class ListCloudDatabaseOperationsAction.Builder (6.58.0)

public static final class ListCloudDatabaseOperationsAction.Builder extends GeneratedMessageV3.Builder<ListCloudDatabaseOperationsAction.Builder> implements ListCloudDatabaseOperationsActionOrBuilder

Action that lists Cloud Spanner database operations.

Protobuf type google.spanner.executor.v1.ListCloudDatabaseOperationsAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCloudDatabaseOperationsAction build()
Returns
TypeDescription
ListCloudDatabaseOperationsAction

buildPartial()

public ListCloudDatabaseOperationsAction buildPartial()
Returns
TypeDescription
ListCloudDatabaseOperationsAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListCloudDatabaseOperationsAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder
Overrides

clearFilter()

public ListCloudDatabaseOperationsAction.Builder clearFilter()

A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_database_admin.proto.ListDatabaseOperationsRequest for detail.

string filter = 3;

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

clearInstanceId()

public ListCloudDatabaseOperationsAction.Builder clearInstanceId()

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

string instance_id = 2;

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCloudDatabaseOperationsAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder
Overrides

clearPageSize()

public ListCloudDatabaseOperationsAction.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 = 4;

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

clearPageToken()

public ListCloudDatabaseOperationsAction.Builder clearPageToken()

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

string page_token = 5;

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

clearProjectId()

public ListCloudDatabaseOperationsAction.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListCloudDatabaseOperationsAction getDefaultInstanceForType()
Returns
TypeDescription
ListCloudDatabaseOperationsAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_database_admin.proto.ListDatabaseOperationsRequest for detail.

string filter = 3;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_database_admin.proto.ListDatabaseOperationsRequest for detail.

string filter = 3;

Returns
TypeDescription
ByteString

The bytes for filter.

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path) to list database operations 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 database operations 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 = 4;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

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

string page_token = 5;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 5;

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 ListCloudDatabaseOperationsAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(ListCloudDatabaseOperationsAction other)

public ListCloudDatabaseOperationsAction.Builder mergeFrom(ListCloudDatabaseOperationsAction other)
Parameter
NameDescription
otherListCloudDatabaseOperationsAction
Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListCloudDatabaseOperationsAction.Builder setFilter(String value)

A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_database_admin.proto.ListDatabaseOperationsRequest for detail.

string filter = 3;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListCloudDatabaseOperationsAction.Builder setFilterBytes(ByteString value)

A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_database_admin.proto.ListDatabaseOperationsRequest for detail.

string filter = 3;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setInstanceId(String value)

public ListCloudDatabaseOperationsAction.Builder setInstanceId(String value)

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

string instance_id = 2;

Parameter
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public ListCloudDatabaseOperationsAction.Builder setInstanceIdBytes(ByteString value)

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

string instance_id = 2;

Parameter
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setPageSize(int value)

public ListCloudDatabaseOperationsAction.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 = 4;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setPageToken(String value)

public ListCloudDatabaseOperationsAction.Builder setPageToken(String value)

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

string page_token = 5;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCloudDatabaseOperationsAction.Builder setPageTokenBytes(ByteString value)

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

string page_token = 5;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setProjectId(String value)

public ListCloudDatabaseOperationsAction.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
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public ListCloudDatabaseOperationsAction.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
ListCloudDatabaseOperationsAction.Builder

This builder for chaining.

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

public ListCloudDatabaseOperationsAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCloudDatabaseOperationsAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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