Class ListCloudBackupsAction (6.62.0)

public final class ListCloudBackupsAction extends GeneratedMessageV3 implements ListCloudBackupsActionOrBuilder

Action that lists Cloud Spanner database backups.

Protobuf type google.spanner.executor.v1.ListCloudBackupsAction

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

INSTANCE_ID_FIELD_NUMBER

public static final int INSTANCE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListCloudBackupsAction getDefaultInstance()
Returns
TypeDescription
ListCloudBackupsAction

getDescriptor()

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

newBuilder()

public static ListCloudBackupsAction.Builder newBuilder()
Returns
TypeDescription
ListCloudBackupsAction.Builder

newBuilder(ListCloudBackupsAction prototype)

public static ListCloudBackupsAction.Builder newBuilder(ListCloudBackupsAction prototype)
Parameter
NameDescription
prototypeListCloudBackupsAction
Returns
TypeDescription
ListCloudBackupsAction.Builder

parseDelimitedFrom(InputStream input)

public static ListCloudBackupsAction parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListCloudBackupsAction parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListCloudBackupsAction parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListCloudBackupsAction parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListCloudBackupsAction parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListCloudBackupsAction parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListCloudBackupsAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCloudBackupsAction
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListCloudBackupsAction> parser()
Returns
TypeDescription
Parser<ListCloudBackupsAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListCloudBackupsAction getDefaultInstanceForType()
Returns
TypeDescription
ListCloudBackupsAction

getFilter()

public String getFilter()

A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.

string filter = 3;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

A filter expression that filters backups listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer backup.proto.ListBackupsRequest for detail.

string filter = 3;

Returns
TypeDescription
ByteString

The bytes for filter.

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path) to list backups 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 backups from, e.g. "test-instance".

string instance_id = 2;

Returns
TypeDescription
ByteString

The bytes for instanceId.

getPageSize()

public int getPageSize()

Number of backups 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 ListBackupsResponse 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 ListBackupsResponse to the same "parent" and with the same "filter".

string page_token = 5;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParserForType()

public Parser<ListCloudBackupsAction> getParserForType()
Returns
TypeDescription
Parser<ListCloudBackupsAction>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListCloudBackupsAction.Builder newBuilderForType()
Returns
TypeDescription
ListCloudBackupsAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListCloudBackupsAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListCloudBackupsAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListCloudBackupsAction.Builder toBuilder()
Returns
TypeDescription
ListCloudBackupsAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException