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
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;
ParameterName | Description |
values | Iterable<? extends com.google.longrunning.Operation>
|
ReturnsaddOperations(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;
ParameterReturnsaddOperations(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;
ParameterName | Description |
builderForValue | Builder
|
ReturnsaddOperations(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;
ParametersReturnsaddOperations(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;
ParametersReturnsaddOperationsBuilder()
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;
ReturnsaddOperationsBuilder(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;
ParameterReturnsaddRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridesbuild()
public ListDatabaseOperationsResponse build()
ReturnsbuildPartial()
public ListDatabaseOperationsResponse buildPartial()
Returnsclear()
public ListDatabaseOperationsResponse.Builder clear()
ReturnsOverridesclearField(Descriptors.FieldDescriptor field)
public ListDatabaseOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
ParameterReturnsOverridesclearNextPageToken()
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;
ReturnsclearOneof(Descriptors.OneofDescriptor oneof)
public ListDatabaseOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
ParameterReturnsOverridesclearOperations()
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;
Returnsclone()
public ListDatabaseOperationsResponse.Builder clone()
ReturnsOverridesgetDefaultInstanceForType()
public ListDatabaseOperationsResponse getDefaultInstanceForType()
ReturnsgetDescriptor()
public static final Descriptors.Descriptor getDescriptor()
ReturnsgetDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
ReturnsOverridesgetNextPageToken()
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;
ReturnsType | 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;
ReturnsType | 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;
ParameterReturnsgetOperationsBuilder(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;
ParameterReturnsgetOperationsBuilderList()
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;
ReturnsgetOperationsCount()
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;
ReturnsgetOperationsList()
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;
ReturnsgetOperationsOrBuilder(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;
ParameterReturnsgetOperationsOrBuilderList()
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;
ReturnsType | Description |
List<? extends com.google.longrunning.OperationOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridesisInitialized()
public final boolean isInitialized()
ReturnsOverridespublic ListDatabaseOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsOverridesExceptionsmergeFrom(Message other)
public ListDatabaseOperationsResponse.Builder mergeFrom(Message other)
ParameterReturnsOverridesmergeFrom(ListDatabaseOperationsResponse other)
public ListDatabaseOperationsResponse.Builder mergeFrom(ListDatabaseOperationsResponse other)
ParameterReturnsmergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverridesremoveOperations(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;
ParameterReturnssetField(Descriptors.FieldDescriptor field, Object value)
public ListDatabaseOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridessetNextPageToken(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;
ParameterName | Description |
value | String
The nextPageToken to set. |
ReturnssetNextPageTokenBytes(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;
ParameterName | Description |
value | ByteString
The bytes for nextPageToken to set. |
ReturnssetOperations(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;
ParametersReturnssetOperations(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;
ParametersReturnssetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDatabaseOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
ParametersReturnsOverridessetUnknownFields(UnknownFieldSet unknownFields)
public final ListDatabaseOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverrides