Class ListBackupOperationsResponse

public final class ListBackupOperationsResponse extends GeneratedMessageV3 implements ListBackupOperationsResponseOrBuilder

The response for ListBackupOperations.

Protobuf type google.spanner.admin.database.v1.ListBackupOperationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListBackupOperationsResponse getDefaultInstance()
Returns
TypeDescription
ListBackupOperationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListBackupOperationsResponse prototype)

public static ListBackupOperationsResponse.Builder newBuilder(ListBackupOperationsResponse prototype)
Parameter
NameDescription
prototypeListBackupOperationsResponse
Returns
TypeDescription
ListBackupOperationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListBackupOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBackupOperationsResponse

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOperations(int index)

public Operation getOperations(int index)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name and the operation's metadata will be of type CreateBackupMetadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getOperationsCount()

public int getOperationsCount()

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name and the operation's metadata will be of type CreateBackupMetadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name and the operation's metadata will be of type CreateBackupMetadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name and the operation's metadata will be of type CreateBackupMetadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name and the operation's metadata will be of type CreateBackupMetadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<? extends com.google.longrunning.OperationOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ListBackupOperationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListBackupOperationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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