Interface CreateInstancePartitionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateInstancePartitionRequest, CreateInstancePartitionRequest.Builder

public interface CreateInstancePartitionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • getInstancePartitionId

      String getInstancePartitionId()
       Required. The ID of the instance partition to create. Valid identifiers are
       of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
       characters in length.
       
      string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instancePartitionId.
    • getInstancePartitionIdBytes

      com.google.protobuf.ByteString getInstancePartitionIdBytes()
       Required. The ID of the instance partition to create. Valid identifiers are
       of the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64
       characters in length.
       
      string instance_partition_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for instancePartitionId.
    • hasInstancePartition

      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:
      Whether the instancePartition field is set.
    • getInstancePartition

      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:
      The instancePartition.
    • getInstancePartitionOrBuilder

      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];