Class ListDatabaseOperationsResponse.Builder (6.89.0)

publicstaticfinalclassListDatabaseOperationsResponse.BuilderextendsGeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>implementsListDatabaseOperationsResponseOrBuilder

The response for ListDatabaseOperations.

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

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllOperations(Iterable<? extends Operation> values)

publicListDatabaseOperationsResponse.BuilderaddAllOperations(Iterable<?extendsOperation>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)

publicListDatabaseOperationsResponse.BuilderaddOperations(Operationvalue)

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)

publicListDatabaseOperationsResponse.BuilderaddOperations(Operation.BuilderbuilderForValue)

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)

publicListDatabaseOperationsResponse.BuilderaddOperations(intindex,Operationvalue)

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)

publicListDatabaseOperationsResponse.BuilderaddOperations(intindex,Operation.BuilderbuilderForValue)

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()

publicOperation.BuilderaddOperationsBuilder()

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)

publicOperation.BuilderaddOperationsBuilder(intindex)

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)

publicListDatabaseOperationsResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

build()

publicListDatabaseOperationsResponsebuild()
Returns
TypeDescription
ListDatabaseOperationsResponse

buildPartial()

publicListDatabaseOperationsResponsebuildPartial()
Returns
TypeDescription
ListDatabaseOperationsResponse

clear()

publicListDatabaseOperationsResponse.Builderclear()
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListDatabaseOperationsResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

clearNextPageToken()

publicListDatabaseOperationsResponse.BuilderclearNextPageToken()

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)

publicListDatabaseOperationsResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

clearOperations()

publicListDatabaseOperationsResponse.BuilderclearOperations()

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()

publicListDatabaseOperationsResponse.Builderclone()
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

getDefaultInstanceForType()

publicListDatabaseOperationsResponsegetDefaultInstanceForType()
Returns
TypeDescription
ListDatabaseOperationsResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

publicStringgetNextPageToken()

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()

publicByteStringgetNextPageTokenBytes()

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)

publicOperationgetOperations(intindex)

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)

publicOperation.BuildergetOperationsBuilder(intindex)

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()

publicList<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()

publicintgetOperationsCount()

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()

publicList<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)

publicOperationOrBuildergetOperationsOrBuilder(intindex)

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()

publicList<?extendsOperationOrBuilder>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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListDatabaseOperationsResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicListDatabaseOperationsResponse.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

mergeFrom(ListDatabaseOperationsResponse other)

publicListDatabaseOperationsResponse.BuildermergeFrom(ListDatabaseOperationsResponseother)
Parameter
NameDescription
otherListDatabaseOperationsResponse
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListDatabaseOperationsResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

removeOperations(int index)

publicListDatabaseOperationsResponse.BuilderremoveOperations(intindex)

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)

publicListDatabaseOperationsResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

setNextPageToken(String value)

publicListDatabaseOperationsResponse.BuildersetNextPageToken(Stringvalue)

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)

publicListDatabaseOperationsResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

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)

publicListDatabaseOperationsResponse.BuildersetOperations(intindex,Operationvalue)

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)

publicListDatabaseOperationsResponse.BuildersetOperations(intindex,Operation.BuilderbuilderForValue)

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)

publicListDatabaseOperationsResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListDatabaseOperationsResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDatabaseOperationsResponse.Builder
Overrides