Class ListBackupOperationsResponse.Builder (6.52.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
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
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListBackupOperationsResponse build()
Returns
TypeDescription
ListBackupOperationsResponse

buildPartial()

public ListBackupOperationsResponse buildPartial()
Returns
TypeDescription
ListBackupOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListBackupOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListBackupOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBackupOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListBackupOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListBackupOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBackupOperationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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. 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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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. 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
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. 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
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. 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
TypeDescription
List<? extends com.google.longrunning.OperationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListBackupOperationsResponse other)

public ListBackupOperationsResponse.Builder mergeFrom(ListBackupOperationsResponse other)
Parameter
NameDescription
otherListBackupOperationsResponse
Returns
TypeDescription
ListBackupOperationsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListBackupOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ListBackupOperationsResponse.Builder

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

public ListBackupOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBackupOperationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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