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.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(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
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(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(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.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(CreateTableRequest other)
CreateTableRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 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
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
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 value)
Required.CreateTableRequest.Builder
setTable(Table.Builder builderForValue)
Required.CreateTableRequest.Builder
setTableId(String value)
Required.CreateTableRequest.Builder
setTableIdBytes(com.google.protobuf.ByteString value)
Required.CreateTableRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clear
public CreateTableRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
getDefaultInstanceForType
public CreateTableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateTableRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateTableRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateTableRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
setField
public CreateTableRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clearField
public CreateTableRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
clearOneof
public CreateTableRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
addRepeatedField
public CreateTableRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
mergeFrom
public CreateTableRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateTableRequest.Builder>
-
mergeFrom
public CreateTableRequest.Builder mergeFrom(CreateTableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getParent
in 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:
getParentBytes
in 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:
getTableId
in 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:
getTableIdBytes
in 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:
hasTable
in 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:
getTable
in 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:
getTableOrBuilder
in 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:
getInitialSplitsList
in 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:
getInitialSplitsCount
in 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:
getInitialSplits
in 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:
getInitialSplitsOrBuilder
in 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:
getInitialSplitsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
mergeUnknownFields
public final CreateTableRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateTableRequest.Builder>
-
-