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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 CreateTableRequestOrBuilder
public 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 CreateTableRequestOrBuilder
public 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 CreateTableRequestOrBuilder
public 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 CreateTableRequestOrBuilder
public boolean hasTable()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;
hasTable
in interface CreateTableRequestOrBuilder
public Table getTable()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;
getTable
in interface CreateTableRequestOrBuilder
public TableOrBuilder getTableOrBuilder()
The Table to create.
.google.bigtable.admin.v2.Table table = 3;
getTableOrBuilder
in interface CreateTableRequestOrBuilder
public 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 CreateTableRequestOrBuilder
public 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 CreateTableRequestOrBuilder
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;
getInitialSplitsCount
in interface CreateTableRequestOrBuilder
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;
getInitialSplits
in interface CreateTableRequestOrBuilder
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 CreateTableRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CreateTableRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateTableRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateTableRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateTableRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CreateTableRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CreateTableRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CreateTableRequest.Builder newBuilder()
public static CreateTableRequest.Builder newBuilder(CreateTableRequest prototype)
public CreateTableRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CreateTableRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CreateTableRequest getDefaultInstance()
public static Parser<CreateTableRequest> parser()
public Parser<CreateTableRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CreateTableRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder