public final class CreateTableRequest extends GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
CreateTableRequest.Builder
Request message for
[google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
|
static class |
CreateTableRequest.Split
An initial split point for a newly created table.
|
static interface |
CreateTableRequest.SplitOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_SPLITS_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
TABLE_FIELD_NUMBER |
static int |
TABLE_ID_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static CreateTableRequest |
getDefaultInstance() |
CreateTableRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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).
|
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).
|
java.util.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).
|
java.util.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).
|
java.lang.String |
getParent()
The unique name of the instance in which to create the table.
|
ByteString |
getParentBytes()
The unique name of the instance in which to create the table.
|
Parser<CreateTableRequest> |
getParserForType() |
int |
getSerializedSize() |
Table |
getTable()
The Table to create.
|
java.lang.String |
getTableId()
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
ByteString |
getTableIdBytes()
The name by which the new table should be referred to within the parent
instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
TableOrBuilder |
getTableOrBuilder()
The Table to create.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTable()
The Table to create.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateTableRequest.Builder |
newBuilder() |
static CreateTableRequest.Builder |
newBuilder(CreateTableRequest prototype) |
CreateTableRequest.Builder |
newBuilderForType() |
protected CreateTableRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static CreateTableRequest |
parseDelimitedFrom(java.io.InputStream input) |
static CreateTableRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(byte[] data) |
static CreateTableRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(java.nio.ByteBuffer data) |
static CreateTableRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(ByteString data) |
static CreateTableRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(CodedInputStream input) |
static CreateTableRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(java.io.InputStream input) |
static CreateTableRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<CreateTableRequest> |
parser() |
CreateTableRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int TABLE_ID_FIELD_NUMBER
public static final int TABLE_FIELD_NUMBER
public static final int INITIAL_SPLITS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getParent()
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;getParent in interface CreateTableRequestOrBuilderpublic ByteString getParentBytes()
The unique name of the instance in which to create the table. Values are of the form `projects/<project>/instances/<instance>`.
string parent = 1;getParentBytes in interface CreateTableRequestOrBuilderpublic java.lang.String getTableId()
The name by which the new table should be referred to within the parent instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
string table_id = 2;getTableId in interface CreateTableRequestOrBuilderpublic ByteString getTableIdBytes()
The name by which the new table should be referred to within the parent instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
string table_id = 2;getTableIdBytes in interface CreateTableRequestOrBuilderpublic boolean hasTable()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;hasTable in interface CreateTableRequestOrBuilderpublic Table getTable()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;getTable in interface CreateTableRequestOrBuilderpublic TableOrBuilder getTableOrBuilder()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;getTableOrBuilder in interface CreateTableRequestOrBuilderpublic java.util.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 java.util.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 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.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 final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static CreateTableRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateTableRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateTableRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateTableRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CreateTableRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static CreateTableRequest.Builder newBuilder()
public static CreateTableRequest.Builder newBuilder(CreateTableRequest prototype)
public CreateTableRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected CreateTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static CreateTableRequest getDefaultInstance()
public static Parser<CreateTableRequest> parser()
public Parser<CreateTableRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public CreateTableRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder