/** * * * <pre> * 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"}.` * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() { return getInitialSplitsFieldBuilder() .addBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * * * <pre> * 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"}.` * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder( int index) { return getInitialSplitsFieldBuilder() .addBuilder( index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * <pre> * 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"}. * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() { return getInitialSplitsFieldBuilder().addBuilder( com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * * * <pre> * 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"}.` * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder( int index) { return getInitialSplitsFieldBuilder() .addBuilder( index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * * * <pre> * 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"}.` * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() { return getInitialSplitsFieldBuilder() .addBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * <pre> * 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"}. * </pre> * * <code>repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;</code> */ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder( int index) { return getInitialSplitsFieldBuilder().addBuilder( index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()); } /**
/** * * * <pre> * Row key to use as an initial tablet boundary. * </pre> * * <code>bytes key = 1;</code> */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; }
public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance(); }
/** * <pre> * Row key to use as an initial tablet boundary. * </pre> * * <code>bytes key = 1;</code> */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; } public final Builder setUnknownFields(
@java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance(); }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } onChanged(); return this; }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * Row key to use as an initial tablet boundary. * </pre> * * <code>bytes key = 1;</code> */ public Builder clearKey() { key_ = getDefaultInstance().getKey(); onChanged(); return this; }
@java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance(); }
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }