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| Modifier and Type | Method and Description |
|---|---|
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).
|
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).
|
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).
|
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).
|
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).
|
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).
|
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).
|
CreateTableRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateTableRequest |
build() |
CreateTableRequest |
buildPartial() |
CreateTableRequest.Builder |
clear() |
CreateTableRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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).
|
CreateTableRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateTableRequest.Builder |
clearParent()
Required.
|
CreateTableRequest.Builder |
clearTable()
Required.
|
CreateTableRequest.Builder |
clearTableId()
Required.
|
CreateTableRequest.Builder |
clone() |
CreateTableRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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).
|
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).
|
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).
|
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).
|
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.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).
|
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).
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
Table |
getTable()
Required.
|
Table.Builder |
getTableBuilder()
Required.
|
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
TableOrBuilder |
getTableOrBuilder()
Required.
|
boolean |
hasTable()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateTableRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateTableRequest.Builder |
mergeFrom(CreateTableRequest other) |
CreateTableRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateTableRequest.Builder |
mergeTable(Table value)
Required.
|
CreateTableRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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).
|
CreateTableRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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).
|
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).
|
CreateTableRequest.Builder |
setParent(String value)
Required.
|
CreateTableRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateTableRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateTableRequest.Builder |
setTable(Table.Builder builderForValue)
Required.
|
CreateTableRequest.Builder |
setTable(Table value)
Required.
|
CreateTableRequest.Builder |
setTableId(String value)
Required.
|
CreateTableRequest.Builder |
setTableIdBytes(com.google.protobuf.ByteString value)
Required.
|
CreateTableRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateTableRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateTableRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateTableRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder mergeFrom(CreateTableRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public CreateTableRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface CreateTableRequestOrBuilderpublic 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) = { ... }
getParentBytes in interface CreateTableRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
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) = { ... }
value - The bytes for parent to set.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];getTableId in interface CreateTableRequestOrBuilderpublic 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];getTableIdBytes in interface CreateTableRequestOrBuilderpublic 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];value - The tableId to set.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];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];value - The bytes for tableId to set.public boolean hasTable()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
hasTable in interface CreateTableRequestOrBuilderpublic Table getTable()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
getTable in interface CreateTableRequestOrBuilderpublic CreateTableRequest.Builder setTable(Table value)
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateTableRequest.Builder setTable(Table.Builder builderForValue)
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateTableRequest.Builder mergeTable(Table value)
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateTableRequest.Builder clearTable()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
public Table.Builder getTableBuilder()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
public TableOrBuilder getTableOrBuilder()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
getTableOrBuilder in interface CreateTableRequestOrBuilderpublic 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;getInitialSplitsList in interface CreateTableRequestOrBuilderpublic 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;getInitialSplitsCount in interface CreateTableRequestOrBuilderpublic 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;getInitialSplits in interface CreateTableRequestOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getInitialSplitsOrBuilder in interface CreateTableRequestOrBuilderpublic 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;getInitialSplitsOrBuilderList in interface CreateTableRequestOrBuilderpublic 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;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;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;public final CreateTableRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>public final CreateTableRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.