public static final class InstancePartition.Builder extends GeneratedMessageV3.Builder<InstancePartition.Builder> implements InstancePartitionOrBuilder
An isolated set of Cloud Spanner resources that databases can define placements on.
Protobuf type google.spanner.admin.instance.v1.InstancePartition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InstancePartition.BuilderImplements
InstancePartitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllReferencingBackups(Iterable<String> values)
public InstancePartition.Builder addAllReferencingBackups(Iterable<String> values)
Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The referencingBackups to add. |
Returns | |
---|---|
Type | Description |
InstancePartition.Builder |
This builder for chaining. |
addAllReferencingDatabases(Iterable<String> values)
public InstancePartition.Builder addAllReferencingDatabases(Iterable<String> values)
Output only. The names of the databases that reference this instance partition. Referencing databases should share the parent instance. The existence of any referencing database prevents the instance partition from being deleted.
repeated string referencing_databases = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The referencingDatabases to add. |
Returns | |
---|---|
Type | Description |
InstancePartition.Builder |
This builder for chaining. |
addReferencingBackups(String value)
public InstancePartition.Builder addReferencingBackups(String value)
Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted.
repeated string referencing_backups = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The referencingBackups to add. |