Class CloudBackupResponse.Builder (6.60.0)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.spanner.admin.database.v1.Backup>
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
CloudBackupResponse.Builder

addListedBackupOperationsBuilder()

public Operation.Builder addListedBackupOperationsBuilder()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueBackup
Returns
TypeDescription
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
NameDescription
builderForValueBackup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBackup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackup.Builder
Returns
TypeDescription
CloudBackupResponse.Builder

addListedBackupsBuilder()

public Backup.Builder addListedBackupsBuilder()

List of backups returned by ListCloudBackupsAction.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Backup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudBackupResponse build()
Returns
TypeDescription
CloudBackupResponse

buildPartial()

public CloudBackupResponse buildPartial()
Returns
TypeDescription
CloudBackupResponse

clear()

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

clearBackup()

public CloudBackupResponse.Builder clearBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

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

Returns
TypeDescription
CloudBackupResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearListedBackupOperations()

public CloudBackupResponse.Builder clearListedBackupOperations()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
CloudBackupResponse.Builder

clearListedBackups()

public CloudBackupResponse.Builder clearListedBackups()

List of backups returned by ListCloudBackupsAction.

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

Returns
TypeDescription
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
TypeDescription
CloudBackupResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBackup()

public Backup getBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

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

Returns
TypeDescription
Backup

The backup.

getBackupBuilder()

public Backup.Builder getBackupBuilder()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

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

Returns
TypeDescription
Backup.Builder

getBackupOrBuilder()

public BackupOrBuilder getBackupOrBuilder()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

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

Returns
TypeDescription
BackupOrBuilder

getDefaultInstanceForType()

public CloudBackupResponse getDefaultInstanceForType()
Returns
TypeDescription
CloudBackupResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Builder

getListedBackupOperationsBuilderList()

public List<Operation.Builder> getListedBackupOperationsBuilderList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
List<Builder>

getListedBackupOperationsCount()

public int getListedBackupOperationsCount()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
int

getListedBackupOperationsList()

public List<Operation> getListedBackupOperationsList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getListedBackupOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getListedBackupOperationsOrBuilderList()

List of operations returned by ListCloudBackupOperationsAction.

repeated .google.longrunning.Operation listed_backup_operations = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getListedBackupsCount()

public int getListedBackupsCount()

List of backups returned by ListCloudBackupsAction.

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

Returns
TypeDescription
int

getListedBackupsList()

public List<Backup> getListedBackupsList()

List of backups returned by ListCloudBackupsAction.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BackupOrBuilder

getListedBackupsOrBuilderList()

public List<? extends BackupOrBuilder> getListedBackupsOrBuilderList()

List of backups returned by ListCloudBackupsAction.

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

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

The bytes for nextPageToken.

hasBackup()

public boolean hasBackup()

Backup returned by GetCloudBackupAction/UpdateCloudBackupAction.

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

Returns
TypeDescription
boolean

Whether the backup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBackup
Returns
TypeDescription
CloudBackupResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CloudBackupResponse other)

public CloudBackupResponse.Builder mergeFrom(CloudBackupResponse other)
Parameter
NameDescription
otherCloudBackupResponse
Returns
TypeDescription
CloudBackupResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudBackupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueBackup
Returns
TypeDescription
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
NameDescription
builderForValueBackup.Builder
Returns
TypeDescription
CloudBackupResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CloudBackupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueBackup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackup.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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