Class CreateTableRequest.Builder (2.17.1)

public static final class CreateTableRequest.Builder extends GeneratedMessageV3.Builder<CreateTableRequest.Builder> implements CreateTableRequestOrBuilder

Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable

Protobuf type google.bigtable.admin.v2.CreateTableRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllInitialSplits(Iterable<? extends CreateTableRequest.Split> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.admin.v2.CreateTableRequest.Split>
Returns
TypeDescription
CreateTableRequest.Builder

addInitialSplits(CreateTableRequest.Split value)

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;

Parameter
NameDescription
valueCreateTableRequest.Split
Returns
TypeDescription
CreateTableRequest.Builder

addInitialSplits(CreateTableRequest.Split.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueCreateTableRequest.Split.Builder
Returns
TypeDescription
CreateTableRequest.Builder

addInitialSplits(int index, CreateTableRequest.Split value)

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;

Parameters
NameDescription
indexint
valueCreateTableRequest.Split
Returns
TypeDescription
CreateTableRequest.Builder

addInitialSplits(int index, CreateTableRequest.Split.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCreateTableRequest.Split.Builder
Returns
TypeDescription
CreateTableRequest.Builder

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;

Returns
TypeDescription
CreateTableRequest.Split.Builder

addInitialSplitsBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTableRequest.Split.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

build()

public CreateTableRequest build()
Returns
TypeDescription
CreateTableRequest

buildPartial()

public CreateTableRequest buildPartial()
Returns
TypeDescription
CreateTableRequest

clear()

public CreateTableRequest.Builder clear()
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateTableRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

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;

Returns
TypeDescription
CreateTableRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateTableRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

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
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

clearTable()

public CreateTableRequest.Builder clearTable()

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CreateTableRequest.Builder

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
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

clone()

public CreateTableRequest.Builder clone()
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateTableRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateTableRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInitialSplits(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTableRequest.Split

getInitialSplitsBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTableRequest.Split.Builder

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;

Returns
TypeDescription
List<Builder>

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
List<Split>

getInitialSplitsOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTableRequest.SplitOrBuilder

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;

Returns
TypeDescription
List<? extends com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>

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) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getTable()

public Table getTable()

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Table

The table.

getTableBuilder()

public Table.Builder getTableBuilder()

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Table.Builder

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];

Returns
TypeDescription
String

The tableId.

getTableIdBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for tableId.

getTableOrBuilder()

public TableOrBuilder getTableOrBuilder()

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TableOrBuilder

hasTable()

public boolean hasTable()

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateTableRequest other)

public CreateTableRequest.Builder mergeFrom(CreateTableRequest other)
Parameter
NameDescription
otherCreateTableRequest
Returns
TypeDescription
CreateTableRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateTableRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateTableRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateTableRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

mergeTable(Table value)

public CreateTableRequest.Builder mergeTable(Table value)

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTable
Returns
TypeDescription
CreateTableRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

removeInitialSplits(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
CreateTableRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateTableRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

setInitialSplits(int index, CreateTableRequest.Split value)

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;

Parameters
NameDescription
indexint
valueCreateTableRequest.Split
Returns
TypeDescription
CreateTableRequest.Builder

setInitialSplits(int index, CreateTableRequest.Split.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCreateTableRequest.Split.Builder
Returns
TypeDescription
CreateTableRequest.Builder

setParent(String value)

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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateTableRequest.Builder setParentBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateTableRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateTableRequest.Builder
Overrides

setTable(Table value)

public CreateTableRequest.Builder setTable(Table value)

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueTable
Returns
TypeDescription
CreateTableRequest.Builder

setTable(Table.Builder builderForValue)

public CreateTableRequest.Builder setTable(Table.Builder builderForValue)

Required. The Table to create.

.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueTable.Builder
Returns
TypeDescription
CreateTableRequest.Builder

setTableId(String value)

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];

Parameter
NameDescription
valueString

The tableId to set.

Returns
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public CreateTableRequest.Builder setTableIdBytes(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];

Parameter
NameDescription
valueByteString

The bytes for tableId to set.

Returns
TypeDescription
CreateTableRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateTableRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateTableRequest.Builder
Overrides