Class CloudBackupResponse.Builder (6.74.1)

public static final class CloudBackupResponse.Builder extends GeneratedMessageV3.Builder<CloudBackupResponse.Builder> implements CloudBackupResponseOrBuilder

CloudBackupResponse contains results returned by cloud backup related actions.

Protobuf type google.spanner.executor.v1.CloudBackupResponse

Static Methods

getDescriptor()

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

Methods

addAllListedBackupOperations(Iterable<? extends Operation> values)

public CloudBackupResponse.Builder addAllListedBackupOperations(Iterable<? extends Operation> values)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
values Iterable<? extends com.google.longrunning.Operation>
Returns
Type Description
CloudBackupResponse.Builder

addAllListedBackups(Iterable<? extends Backup> values)

public CloudBackupResponse.Builder addAllListedBackups(Iterable<? extends Backup> values)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.admin.database.v1.Backup>
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupOperations(Operation value)

public CloudBackupResponse.Builder addListedBackupOperations(Operation value)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
value Operation
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupOperations(Operation.Builder builderForValue)

public CloudBackupResponse.Builder addListedBackupOperations(Operation.Builder builderForValue)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupOperations(int index, Operation value)

public CloudBackupResponse.Builder addListedBackupOperations(int index, Operation value)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameters
Name Description
index int
value Operation
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupOperations(int index, Operation.Builder builderForValue)

public CloudBackupResponse.Builder addListedBackupOperations(int index, Operation.Builder builderForValue)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupOperationsBuilder()

public Operation.Builder addListedBackupOperationsBuilder()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
Builder

addListedBackupOperationsBuilder(int index)

public Operation.Builder addListedBackupOperationsBuilder(int index)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
Builder

addListedBackups(Backup value)

public CloudBackupResponse.Builder addListedBackups(Backup value)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
value Backup
Returns
Type Description
CloudBackupResponse.Builder

addListedBackups(Backup.Builder builderForValue)

public CloudBackupResponse.Builder addListedBackups(Backup.Builder builderForValue)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
builderForValue Backup.Builder
Returns
Type Description
CloudBackupResponse.Builder

addListedBackups(int index, Backup value)

public CloudBackupResponse.Builder addListedBackups(int index, Backup value)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameters
Name Description
index int
value Backup
Returns
Type Description
CloudBackupResponse.Builder

addListedBackups(int index, Backup.Builder builderForValue)

public CloudBackupResponse.Builder addListedBackups(int index, Backup.Builder builderForValue)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameters
Name Description
index int
builderForValue Backup.Builder
Returns
Type Description
CloudBackupResponse.Builder

addListedBackupsBuilder()

public Backup.Builder addListedBackupsBuilder()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
Backup.Builder

addListedBackupsBuilder(int index)

public Backup.Builder addListedBackupsBuilder(int index)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
Backup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudBackupResponse build()
Returns
Type Description
CloudBackupResponse

buildPartial()

public CloudBackupResponse buildPartial()
Returns
Type Description
CloudBackupResponse

clear()

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

clearBackup()

public CloudBackupResponse.Builder clearBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Returns
Type Description
CloudBackupResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearListedBackupOperations()

public CloudBackupResponse.Builder clearListedBackupOperations()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
CloudBackupResponse.Builder

clearListedBackups()

public CloudBackupResponse.Builder clearListedBackups()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
CloudBackupResponse.Builder

clearNextPageToken()

public CloudBackupResponse.Builder clearNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Returns
Type Description
CloudBackupResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBackup()

public Backup getBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Returns
Type Description
Backup

The backup.

getBackupBuilder()

public Backup.Builder getBackupBuilder()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Returns
Type Description
Backup.Builder

getBackupOrBuilder()

public BackupOrBuilder getBackupOrBuilder()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Returns
Type Description
BackupOrBuilder

getDefaultInstanceForType()

public CloudBackupResponse getDefaultInstanceForType()
Returns
Type Description
CloudBackupResponse

getDescriptorForType()

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

getListedBackupOperations(int index)

public Operation getListedBackupOperations(int index)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
Operation

getListedBackupOperationsBuilder(int index)

public Operation.Builder getListedBackupOperationsBuilder(int index)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
Builder

getListedBackupOperationsBuilderList()

public List<Operation.Builder> getListedBackupOperationsBuilderList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
List<Builder>

getListedBackupOperationsCount()

public int getListedBackupOperationsCount()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
int

getListedBackupOperationsList()

public List<Operation> getListedBackupOperationsList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
List<Operation>

getListedBackupOperationsOrBuilder(int index)

public OperationOrBuilder getListedBackupOperationsOrBuilder(int index)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getListedBackupOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getListedBackupOperationsOrBuilderList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
Type Description
List<? extends com.google.longrunning.OperationOrBuilder>

getListedBackups(int index)

public Backup getListedBackups(int index)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
Backup

getListedBackupsBuilder(int index)

public Backup.Builder getListedBackupsBuilder(int index)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
Backup.Builder

getListedBackupsBuilderList()

public List<Backup.Builder> getListedBackupsBuilderList()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
List<Builder>

getListedBackupsCount()

public int getListedBackupsCount()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
int

getListedBackupsList()

public List<Backup> getListedBackupsList()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
List<Backup>

getListedBackupsOrBuilder(int index)

public BackupOrBuilder getListedBackupsOrBuilder(int index)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupOrBuilder

getListedBackupsOrBuilderList()

public List<? extends BackupOrBuilder> getListedBackupsOrBuilderList()

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Returns
Type Description
List<? extends com.google.spanner.admin.database.v1.BackupOrBuilder>

getNextPageToken()

public String getNextPageToken()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

hasBackup()

public boolean hasBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Returns
Type Description
boolean

Whether the backup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBackup(Backup value)

public CloudBackupResponse.Builder mergeBackup(Backup value)

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Parameter
Name Description
value Backup
Returns
Type Description
CloudBackupResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CloudBackupResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeListedBackupOperations(int index)

public CloudBackupResponse.Builder removeListedBackupOperations(int index)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameter
Name Description
index int
Returns
Type Description
CloudBackupResponse.Builder

removeListedBackups(int index)

public CloudBackupResponse.Builder removeListedBackups(int index)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameter
Name Description
index int
Returns
Type Description
CloudBackupResponse.Builder

setBackup(Backup value)

public CloudBackupResponse.Builder setBackup(Backup value)

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Parameter
Name Description
value Backup
Returns
Type Description
CloudBackupResponse.Builder

setBackup(Backup.Builder builderForValue)

public CloudBackupResponse.Builder setBackup(Backup.Builder builderForValue)

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

.google.spanner.admin.database.v1.Backup backup = 4;

Parameter
Name Description
builderForValue Backup.Builder
Returns
Type Description
CloudBackupResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setListedBackupOperations(int index, Operation value)

public CloudBackupResponse.Builder setListedBackupOperations(int index, Operation value)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameters
Name Description
index int
value Operation
Returns
Type Description
CloudBackupResponse.Builder

setListedBackupOperations(int index, Operation.Builder builderForValue)

public CloudBackupResponse.Builder setListedBackupOperations(int index, Operation.Builder builderForValue)

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
CloudBackupResponse.Builder

setListedBackups(int index, Backup value)

public CloudBackupResponse.Builder setListedBackups(int index, Backup value)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameters
Name Description
index int
value Backup
Returns
Type Description
CloudBackupResponse.Builder

setListedBackups(int index, Backup.Builder builderForValue)

public CloudBackupResponse.Builder setListedBackups(int index, Backup.Builder builderForValue)

List of backups returned by ListCloudBackupsAction.

repeated .google.spanner.admin.database.v1.Backup listed_backups = 1;

Parameters
Name Description
index int
builderForValue Backup.Builder
Returns
Type Description
CloudBackupResponse.Builder

setNextPageToken(String value)

public CloudBackupResponse.Builder setNextPageToken(String value)

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
CloudBackupResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public CloudBackupResponse.Builder setNextPageTokenBytes(ByteString value)

"next_page_token" can be sent in a subsequent list action to fetch more of the matching data.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
CloudBackupResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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