public final class CreateTableRequest extends com.google.protobuf.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 |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CreateTableRequest |
getDefaultInstance() |
CreateTableRequest |
getDefaultInstanceForType() |
static com.google.protobuf.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).
|
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.
|
com.google.protobuf.Parser<CreateTableRequest> |
getParserForType() |
int |
getSerializedSize() |
Table |
getTable()
Required.
|
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
TableOrBuilder |
getTableOrBuilder()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTable()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateTableRequest.Builder |
newBuilder() |
static CreateTableRequest.Builder |
newBuilder(CreateTableRequest prototype) |
CreateTableRequest.Builder |
newBuilderForType() |
protected CreateTableRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CreateTableRequest |
parseDelimitedFrom(InputStream input) |
static CreateTableRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(byte[] data) |
static CreateTableRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(ByteBuffer data) |
static CreateTableRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(com.google.protobuf.ByteString data) |
static CreateTableRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CreateTableRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateTableRequest |
parseFrom(InputStream input) |
static CreateTableRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CreateTableRequest> |
parser() |
CreateTableRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. The unique name of the instance in which to create the table.
Values are of the form `projects/{project}/instances/{instance}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface CreateTableRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The unique name of the instance in which to create the table.
Values are of the form `projects/{project}/instances/{instance}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface CreateTableRequestOrBuilderpublic String getTableId()
Required. The name by which the new table should be referred to within the
parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
Maximum 50 characters.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];getTableId in interface CreateTableRequestOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
Required. The name by which the new table should be referred to within the
parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
Maximum 50 characters.
string table_id = 2 [(.google.api.field_behavior) = REQUIRED];getTableIdBytes in interface CreateTableRequestOrBuilderpublic boolean hasTable()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
hasTable in interface CreateTableRequestOrBuilderpublic Table getTable()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
getTable in interface CreateTableRequestOrBuilderpublic TableOrBuilder getTableOrBuilder()
Required. The Table to create.
.google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED];
getTableOrBuilder in interface CreateTableRequestOrBuilderpublic List<CreateTableRequest.Split> getInitialSplitsList()
The optional list of row keys that will be used to initially split the
table into several tablets (tablets are similar to HBase regions).
Given two split keys, `s1` and `s2`, three tablets will be created,
spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
Example:
* Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
`"other", "zz"]`
* initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
* Key assignment:
- Tablet 1 `[, apple) => {"a"}.`
- Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
- Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
- Tablet 4 `[customer_2, other) => {"customer_2"}.`
- Tablet 5 `[other, ) => {"other", "zz"}.`
repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;getInitialSplitsList in interface CreateTableRequestOrBuilderpublic 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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CreateTableRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateTableRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static CreateTableRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateTableRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CreateTableRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateTableRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CreateTableRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CreateTableRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CreateTableRequest.Builder newBuilder()
public static CreateTableRequest.Builder newBuilder(CreateTableRequest prototype)
public CreateTableRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CreateTableRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CreateTableRequest getDefaultInstance()
public static com.google.protobuf.Parser<CreateTableRequest> parser()
public com.google.protobuf.Parser<CreateTableRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CreateTableRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.