Package com.google.bigtable.admin.v2
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 typegoogle.bigtable.admin.v2.CreateTableRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTableRequest.BuilderaddAllInitialSplits(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).CreateTableRequest.BuilderaddInitialSplits(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).CreateTableRequest.BuilderaddInitialSplits(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).CreateTableRequest.BuilderaddInitialSplits(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).CreateTableRequest.BuilderaddInitialSplits(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).CreateTableRequest.Split.BuilderaddInitialSplitsBuilder()The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions).CreateTableRequest.Split.BuilderaddInitialSplitsBuilder(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).CreateTableRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CreateTableRequestbuild()CreateTableRequestbuildPartial()CreateTableRequest.Builderclear()CreateTableRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CreateTableRequest.BuilderclearInitialSplits()The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions).CreateTableRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CreateTableRequest.BuilderclearParent()Required.CreateTableRequest.BuilderclearTable()Required.CreateTableRequest.BuilderclearTableId()Required.CreateTableRequest.Builderclone()CreateTableRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CreateTableRequest.SplitgetInitialSplits(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).CreateTableRequest.Split.BuildergetInitialSplitsBuilder(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).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).intgetInitialSplitsCount()The optional list of row keys that will be used to initially split the table into several tablets (tablets are similar to HBase regions).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).CreateTableRequest.SplitOrBuildergetInitialSplitsOrBuilder(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).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).StringgetParent()Required.com.google.protobuf.ByteStringgetParentBytes()Required.TablegetTable()Required.Table.BuildergetTableBuilder()Required.StringgetTableId()Required.com.google.protobuf.ByteStringgetTableIdBytes()Required.TableOrBuildergetTableOrBuilder()Required.booleanhasTable()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CreateTableRequest.BuildermergeFrom(CreateTableRequest other)CreateTableRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CreateTableRequest.BuildermergeFrom(com.google.protobuf.Message other)CreateTableRequest.BuildermergeTable(Table value)Required.CreateTableRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CreateTableRequest.BuilderremoveInitialSplits(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).CreateTableRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CreateTableRequest.BuildersetInitialSplits(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).CreateTableRequest.BuildersetInitialSplits(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).CreateTableRequest.BuildersetParent(String value)Required.CreateTableRequest.BuildersetParentBytes(com.google.protobuf.ByteString value)Required.CreateTableRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CreateTableRequest.BuildersetTable(Table value)Required.CreateTableRequest.BuildersetTable(Table.Builder builderForValue)Required.CreateTableRequest.BuildersetTableId(String value)Required.CreateTableRequest.BuildersetTableIdBytes(com.google.protobuf.ByteString value)Required.CreateTableRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clear
public CreateTableRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
getDefaultInstanceForType
public CreateTableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateTableRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateTableRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateTableRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
setField
public CreateTableRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clearField
public CreateTableRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clearOneof
public CreateTableRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
setRepeatedField
public CreateTableRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
addRepeatedField
public CreateTableRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
mergeFrom
public CreateTableRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>
-
mergeFrom
public CreateTableRequest.Builder mergeFrom(CreateTableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getParentin interfaceCreateTableRequestOrBuilder- 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:
getParentBytesin interfaceCreateTableRequestOrBuilder- 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:
getTableIdin interfaceCreateTableRequestOrBuilder- 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:
getTableIdBytesin interfaceCreateTableRequestOrBuilder- 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:
hasTablein interfaceCreateTableRequestOrBuilder- 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:
getTablein interfaceCreateTableRequestOrBuilder- 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:
getTableOrBuilderin interfaceCreateTableRequestOrBuilder
-
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:
getInitialSplitsListin interfaceCreateTableRequestOrBuilder
-
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:
getInitialSplitsCountin interfaceCreateTableRequestOrBuilder
-
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:
getInitialSplitsin interfaceCreateTableRequestOrBuilder
-
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:
getInitialSplitsOrBuilderin interfaceCreateTableRequestOrBuilder
-
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:
getInitialSplitsOrBuilderListin interfaceCreateTableRequestOrBuilder
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
mergeUnknownFields
public final CreateTableRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
-