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()
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 |
---|
Name | Description |
values | Iterable<? extends com.google.longrunning.Operation>
|
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;
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 |
---|
Name | Description |
builderForValue | 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;
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 |
---|
Name | Description |
index | int
|
builderForValue | 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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListDatabaseOperationsResponse build()
buildPartial()
public ListDatabaseOperationsResponse buildPartial()
clear()
public ListDatabaseOperationsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListDatabaseOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDatabaseOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ListDatabaseOperationsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListDatabaseOperationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.longrunning.OperationOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ListDatabaseOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListDatabaseOperationsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ListDatabaseOperationsResponse other)
public ListDatabaseOperationsResponse.Builder mergeFrom(ListDatabaseOperationsResponse other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
---|
Name | Description |
value | String
The nextPageToken to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
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;
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 |
---|
Name | Description |
index | int
|
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatabaseOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides