public static final class CloudDatabaseResponse.Builder extends GeneratedMessageV3.Builder<CloudDatabaseResponse.Builder> implements CloudDatabaseResponseOrBuilder
CloudDatabaseResponse contains results returned by cloud database related actions.
Protobuf type google.spanner.executor.v1.CloudDatabaseResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudDatabaseResponse.BuilderImplements
CloudDatabaseResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllListedDatabaseOperations(Iterable<? extends Operation> values)
public CloudDatabaseResponse.Builder addAllListedDatabaseOperations(Iterable<? extends Operation> values)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.longrunning.Operation> |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addAllListedDatabases(Iterable<? extends Database> values)
public CloudDatabaseResponse.Builder addAllListedDatabases(Iterable<? extends Database> values)
List of databases returned by ListCloudDatabasesAction.
repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.spanner.admin.database.v1.Database> |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addListedDatabaseOperations(Operation value)
public CloudDatabaseResponse.Builder addListedDatabaseOperations(Operation value)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameter | |
---|---|
Name | Description |
value |
Operation |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addListedDatabaseOperations(Operation.Builder builderForValue)
public CloudDatabaseResponse.Builder addListedDatabaseOperations(Operation.Builder builderForValue)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addListedDatabaseOperations(int index, Operation value)
public CloudDatabaseResponse.Builder addListedDatabaseOperations(int index, Operation value)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Operation |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addListedDatabaseOperations(int index, Operation.Builder builderForValue)
public CloudDatabaseResponse.Builder addListedDatabaseOperations(int index, Operation.Builder builderForValue)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
CloudDatabaseResponse.Builder |
addListedDatabaseOperationsBuilder()
public Operation.Builder addListedDatabaseOperationsBuilder()
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Returns | |
---|---|
Type | Description |
Builder |
addListedDatabaseOperationsBuilder(int index)
public Operation.Builder addListedDatabaseOperationsBuilder(int index)
List of operations returned by ListCloudDatabaseOperationsAction.
repeated .google.longrunning.Operation listed_database_operations = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Builder |
addListedDatabases(Database value)
public CloudDatabaseResponse.Builder addListedDatabases(Database value)
List of databases returned by ListCloudDatabasesAction.
repeated .google.spanner.admin.database.v1.Database listed_databases