Interface CreateInstancePartitionRequestOrBuilder (6.82.0)

public interface CreateInstancePartitionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstancePartition()

public abstract InstancePartition getInstancePartition()

Required. The instance partition to create. The instance_partition.name may be omitted, but if specified must be <parent>/instancePartitions/<instance_partition_id>.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstancePartition

The instancePartition.

getInstancePartitionId()

public abstract String getInstancePartitionId()

Required. The ID of the instance partition to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.

string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instancePartitionId.

getInstancePartitionIdBytes()

public abstract ByteString getInstancePartitionIdBytes()

Required. The ID of the instance partition to create. Valid identifiers are of the form a-z*[a-z0-9] and must be between 2 and 64 characters in length.

string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instancePartitionId.

getInstancePartitionOrBuilder()

public abstract InstancePartitionOrBuilder getInstancePartitionOrBuilder()

Required. The instance partition to create. The instance_partition.name may be omitted, but if specified must be <parent>/instancePartitions/<instance_partition_id>.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstancePartitionOrBuilder

getParent()

public abstract String getParent()

Required. The name of the instance in which to create the instance partition. Values are of the form projects/<project>/instances/<instance>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the instance in which to create the instance partition. Values are of the form projects/<project>/instances/<instance>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasInstancePartition()

public abstract boolean hasInstancePartition()

Required. The instance partition to create. The instance_partition.name may be omitted, but if specified must be <parent>/instancePartitions/<instance_partition_id>.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instancePartition field is set.