Class ListBackupOperationsResponse.Builder (6.77.0)

public static final class ListBackupOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupOperationsResponse.Builder> implements ListBackupOperationsResponseOrBuilder

The response for ListBackupOperations.

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

Static Methods

getDescriptor()

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

Methods

addAllOperations(Iterable<? extends Operation> values)

public ListBackupOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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
Name Description
values Iterable<? extends com.google.longrunning.Operation>
Returns
Type Description
ListBackupOperationsResponse.Builder

addOperations(Operation value)

public ListBackupOperationsResponse.Builder addOperations(Operation value)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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
Name Description
value Operation
Returns
Type Description
ListBackupOperationsResponse.Builder

addOperations(Operation.Builder builderForValue)

public ListBackupOperationsResponse.Builder addOperations(Operation.Builder builderForValue)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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
Name Description
builderForValue Builder
Returns
Type Description
ListBackupOperationsResponse.Builder

addOperations(int index, Operation value)

public ListBackupOperationsResponse.Builder addOperations(int index, Operation value)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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;

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

addOperations(int index, Operation.Builder builderForValue)

public ListBackupOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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;

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

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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
Type Description
Builder

addOperationsBuilder(int index)

public Operation.Builder addOperationsBuilder(int index)

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. 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
Name Description
index int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBackupOperationsResponse.Builder