Class ListBackupOperationsResponse.Builder (6.74.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 addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBackupOperationsResponse.Builder
Overrides

build()

public ListBackupOperationsResponse build()
Returns
Type Description
ListBackupOperationsResponse

buildPartial()

public ListBackupOperationsResponse buildPartial()
Returns
Type Description
ListBackupOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBackupOperationsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListBackupOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperations()

public ListBackupOperationsResponse.Builder clearOperations()

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
ListBackupOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListBackupOperationsResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupOperationsResponse

getDescriptorForType()

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

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
Type Description
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
Type Description
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. 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
Operation

getOperationsBuilder(int index)

public Operation.Builder getOperationsBuilder(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

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

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
List<Builder>

getOperationsCount()

public int getOperationsCount()

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
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. 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
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. 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
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. 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
List<? extends com.google.longrunning.OperationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListBackupOperationsResponse other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOperations(int index)

public ListBackupOperationsResponse.Builder removeOperations(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
ListBackupOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBackupOperationsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListBackupOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupOperationsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListBackupOperationsResponse.Builder

This builder for chaining.

setOperations(int index, Operation value)

public ListBackupOperationsResponse.Builder setOperations(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

setOperations(int index, Operation.Builder builderForValue)

public ListBackupOperationsResponse.Builder setOperations(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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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