Class ListDatabaseOperationsResponse.Builder

public static final class ListDatabaseOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder> implements ListDatabaseOperationsResponseOrBuilder

The response for ListDatabaseOperations.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOperations(Iterable<? extends Operation> values)

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

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

addOperations(Operation value)

public ListDatabaseOperationsResponse.Builder addOperations(Operation value)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
valueOperation
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

addOperations(Operation.Builder builderForValue)

public ListDatabaseOperationsResponse.Builder addOperations(Operation.Builder builderForValue)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

addOperations(int index, Operation value)

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

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

addOperations(int index, Operation.Builder builderForValue)

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

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
Builder

addOperationsBuilder(int index)

public Operation.Builder addOperationsBuilder(int index)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDatabaseOperationsResponse build()
Returns
TypeDescription
ListDatabaseOperationsResponse

buildPartial()

public ListDatabaseOperationsResponse buildPartial()
Returns
TypeDescription
ListDatabaseOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDatabaseOperationsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperations()

public ListDatabaseOperationsResponse.Builder clearOperations()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListDatabaseOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDatabaseOperationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListDatabaseOperations 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 ListDatabaseOperations 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 database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

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

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Builder>

getOperationsCount()

public int getOperationsCount()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

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 ListDatabaseOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(ListDatabaseOperationsResponse other)

public ListDatabaseOperationsResponse.Builder mergeFrom(ListDatabaseOperationsResponse other)
Parameter
NameDescription
otherListDatabaseOperationsResponse
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDatabaseOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

removeOperations(int index)

public ListDatabaseOperationsResponse.Builder removeOperations(int index)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDatabaseOperationsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDatabaseOperationsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

This builder for chaining.

setOperations(int index, Operation value)

public ListDatabaseOperationsResponse.Builder setOperations(int index, Operation value)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

setOperations(int index, Operation.Builder builderForValue)

public ListDatabaseOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)

The list of matching database long-running operations. Each operation's name will be prefixed by the database's name. The operation's metadata field type metadata.type_url describes the type of the metadata.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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