public final class HotTablet extends com.google.protobuf.GeneratedMessageV3 implements HotTabletOrBuilder
A tablet is a defined by a start and end key and is explained in https://cloud.google.com/bigtable/docs/overview#architecture and https://cloud.google.com/bigtable/docs/performance#optimization. A Hot tablet is a tablet that exhibits high average cpu usage during the time interval from start time to end time.Protobuf type
google.bigtable.admin.v2.HotTablet| Modifier and Type | Class and Description |
|---|---|
static class |
HotTablet.Builder
A tablet is a defined by a start and end key and is explained in
https://cloud.google.com/bigtable/docs/overview#architecture and
https://cloud.google.com/bigtable/docs/performance#optimization.
|
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 |
END_KEY_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NODE_CPU_USAGE_PERCENT_FIELD_NUMBER |
static int |
START_KEY_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static HotTablet |
getDefaultInstance() |
HotTablet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndKey()
Tablet End Key (inclusive).
|
com.google.protobuf.ByteString |
getEndKeyBytes()
Tablet End Key (inclusive).
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
String |
getName()
The unique name of the hot tablet.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique name of the hot tablet.
|
float |
getNodeCpuUsagePercent()
Output only.
|
com.google.protobuf.Parser<HotTablet> |
getParserForType() |
int |
getSerializedSize() |
String |
getStartKey()
Tablet Start Key (inclusive).
|
com.google.protobuf.ByteString |
getStartKeyBytes()
Tablet Start Key (inclusive).
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
String |
getTableName()
Name of the table that contains the tablet.
|
com.google.protobuf.ByteString |
getTableNameBytes()
Name of the table that contains the tablet.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndTime()
Output only.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HotTablet.Builder |
newBuilder() |
static HotTablet.Builder |
newBuilder(HotTablet prototype) |
HotTablet.Builder |
newBuilderForType() |
protected HotTablet.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HotTablet |
parseDelimitedFrom(InputStream input) |
static HotTablet |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HotTablet |
parseFrom(byte[] data) |
static HotTablet |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HotTablet |
parseFrom(ByteBuffer data) |
static HotTablet |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HotTablet |
parseFrom(com.google.protobuf.ByteString data) |
static HotTablet |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HotTablet |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HotTablet |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HotTablet |
parseFrom(InputStream input) |
static HotTablet |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HotTablet> |
parser() |
HotTablet.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, isStringEmpty, 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 NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int START_KEY_FIELD_NUMBER
public static final int END_KEY_FIELD_NUMBER
public static final int NODE_CPU_USAGE_PERCENT_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 getName()
The unique name of the hot tablet. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
string name = 1;getName in interface HotTabletOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The unique name of the hot tablet. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
string name = 1;getNameBytes in interface HotTabletOrBuilderpublic String getTableName()
Name of the table that contains the tablet. Values are of the form
`projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
string table_name = 2 [(.google.api.resource_reference) = { ... }getTableName in interface HotTabletOrBuilderpublic com.google.protobuf.ByteString getTableNameBytes()
Name of the table that contains the tablet. Values are of the form
`projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
string table_name = 2 [(.google.api.resource_reference) = { ... }getTableNameBytes in interface HotTabletOrBuilderpublic boolean hasStartTime()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface HotTabletOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface HotTabletOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface HotTabletOrBuilderpublic boolean hasEndTime()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface HotTabletOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface HotTabletOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface HotTabletOrBuilderpublic String getStartKey()
Tablet Start Key (inclusive).
string start_key = 5;getStartKey in interface HotTabletOrBuilderpublic com.google.protobuf.ByteString getStartKeyBytes()
Tablet Start Key (inclusive).
string start_key = 5;getStartKeyBytes in interface HotTabletOrBuilderpublic String getEndKey()
Tablet End Key (inclusive).
string end_key = 6;getEndKey in interface HotTabletOrBuilderpublic com.google.protobuf.ByteString getEndKeyBytes()
Tablet End Key (inclusive).
string end_key = 6;getEndKeyBytes in interface HotTabletOrBuilderpublic float getNodeCpuUsagePercent()
Output only. The average CPU usage spent by a node on this tablet over the start_time to end_time time range. The percentage is the amount of CPU used by the node to serve the tablet, from 0% (tablet was not interacted with) to 100% (the node spent all cycles serving the hot tablet).
float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getNodeCpuUsagePercent in interface HotTabletOrBuilderpublic 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 HotTablet parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HotTablet parseFrom(InputStream input) throws IOException
IOExceptionpublic static HotTablet parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HotTablet parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HotTablet parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HotTablet parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HotTablet parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HotTablet.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HotTablet.Builder newBuilder()
public static HotTablet.Builder newBuilder(HotTablet prototype)
public HotTablet.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HotTablet.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HotTablet getDefaultInstance()
public static com.google.protobuf.Parser<HotTablet> parser()
public com.google.protobuf.Parser<HotTablet> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HotTablet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.