Class CreateTableRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
com.google.bigtable.admin.v2.CreateTableRequest.Builder
All Implemented Interfaces:
CreateTableRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CreateTableRequest

public static final class CreateTableRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder> implements CreateTableRequestOrBuilder
 Request message for
 [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
 
Protobuf type google.bigtable.admin.v2.CreateTableRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • getDefaultInstanceForType

      public CreateTableRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CreateTableRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateTableRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • setField

      public CreateTableRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • clearField

      public CreateTableRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • clearOneof

      public CreateTableRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • setRepeatedField

      public CreateTableRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • addRepeatedField

      public CreateTableRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • mergeFrom

      public CreateTableRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • mergeFrom

      public CreateTableRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The unique name of the instance in which to create the table.
       Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateTableRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The unique name of the instance in which to create the table.
       Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateTableRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateTableRequest.Builder setParent(String value)
       Required. The unique name of the instance in which to create the table.
       Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateTableRequest.Builder clearParent()
       Required. The unique name of the instance in which to create the table.
       Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateTableRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The unique name of the instance in which to create the table.
       Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getTableId

      public String getTableId()
       Required. The name by which the new table should be referred to within the
       parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
       Maximum 50 characters.
       
      string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableId in interface CreateTableRequestOrBuilder
      Returns:
      The tableId.
    • getTableIdBytes

      public com.google.protobuf.ByteString getTableIdBytes()
       Required. The name by which the new table should be referred to within the
       parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
       Maximum 50 characters.
       
      string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableIdBytes in interface CreateTableRequestOrBuilder
      Returns:
      The bytes for tableId.
    • setTableId

      public CreateTableRequest.Builder setTableId(String value)
       Required. The name by which the new table should be referred to within the
       parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
       Maximum 50 characters.
       
      string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tableId to set.
      Returns:
      This builder for chaining.
    • clearTableId

      public CreateTableRequest.Builder clearTableId()
       Required. The name by which the new table should be referred to within the
       parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
       Maximum 50 characters.
       
      string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableIdBytes

      public CreateTableRequest.Builder setTableIdBytes(com.google.protobuf.ByteString value)
       Required. The name by which the new table should be referred to within the
       parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
       Maximum 50 characters.
       
      string table_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tableId to set.
      Returns:
      This builder for chaining.
    • hasTable

      public boolean hasTable()
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTable in interface CreateTableRequestOrBuilder
      Returns:
      Whether the table field is set.
    • getTable

      public Table getTable()
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTable in interface CreateTableRequestOrBuilder
      Returns:
      The table.
    • setTable

      public CreateTableRequest.Builder setTable(Table value)
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
    • setTable

      public CreateTableRequest.Builder setTable(Table.Builder builderForValue)
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeTable

      public CreateTableRequest.Builder mergeTable(Table value)
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearTable

      public CreateTableRequest.Builder clearTable()
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTableBuilder

      public Table.Builder getTableBuilder()
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
    • getTableOrBuilder

      public TableOrBuilder getTableOrBuilder()
       Required. The Table to create.
       
      .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableOrBuilder in interface CreateTableRequestOrBuilder
    • getInitialSplitsList

      public List<CreateTableRequest.Split> getInitialSplitsList()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      Specified by:
      getInitialSplitsList in interface CreateTableRequestOrBuilder
    • getInitialSplitsCount

      public int getInitialSplitsCount()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      Specified by:
      getInitialSplitsCount in interface CreateTableRequestOrBuilder
    • getInitialSplits

      public CreateTableRequest.Split getInitialSplits(int index)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      Specified by:
      getInitialSplits in interface CreateTableRequestOrBuilder
    • setInitialSplits

      public CreateTableRequest.Builder setInitialSplits(int index, CreateTableRequest.Split value)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • setInitialSplits

      public CreateTableRequest.Builder setInitialSplits(int index, CreateTableRequest.Split.Builder builderForValue)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addInitialSplits

      public CreateTableRequest.Builder addInitialSplits(CreateTableRequest.Split value)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addInitialSplits

      public CreateTableRequest.Builder addInitialSplits(int index, CreateTableRequest.Split value)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addInitialSplits

      public CreateTableRequest.Builder addInitialSplits(CreateTableRequest.Split.Builder builderForValue)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addInitialSplits

      public CreateTableRequest.Builder addInitialSplits(int index, CreateTableRequest.Split.Builder builderForValue)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addAllInitialSplits

      public CreateTableRequest.Builder addAllInitialSplits(Iterable<? extends CreateTableRequest.Split> values)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • clearInitialSplits

      public CreateTableRequest.Builder clearInitialSplits()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • removeInitialSplits

      public CreateTableRequest.Builder removeInitialSplits(int index)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • getInitialSplitsBuilder

      public CreateTableRequest.Split.Builder getInitialSplitsBuilder(int index)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • getInitialSplitsOrBuilder

      public CreateTableRequest.SplitOrBuilder getInitialSplitsOrBuilder(int index)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      Specified by:
      getInitialSplitsOrBuilder in interface CreateTableRequestOrBuilder
    • getInitialSplitsOrBuilderList

      public List<? extends CreateTableRequest.SplitOrBuilder> getInitialSplitsOrBuilderList()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      Specified by:
      getInitialSplitsOrBuilderList in interface CreateTableRequestOrBuilder
    • addInitialSplitsBuilder

      public CreateTableRequest.Split.Builder addInitialSplitsBuilder()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • addInitialSplitsBuilder

      public CreateTableRequest.Split.Builder addInitialSplitsBuilder(int index)
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • getInitialSplitsBuilderList

      public List<CreateTableRequest.Split.Builder> getInitialSplitsBuilderList()
       The optional list of row keys that will be used to initially split the
       table into several tablets (tablets are similar to HBase regions).
       Given two split keys, `s1` and `s2`, three tablets will be created,
       spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
      
       Example:
      
       * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
                      `"other", "zz"]`
       * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
       * Key assignment:
           - Tablet 1 `[, apple)                => {"a"}.`
           - Tablet 2 `[apple, customer_1)      => {"apple", "custom"}.`
           - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
           - Tablet 4 `[customer_2, other)      => {"customer_2"}.`
           - Tablet 5 `[other, )                => {"other", "zz"}.`
       
      repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    • setUnknownFields

      public final CreateTableRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
    • mergeUnknownFields

      public final CreateTableRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>