public final class HotTablet extends GeneratedMessageV3 implements HotTabletOrBuilder
Static Fields
END_KEY_FIELD_NUMBER
public static final int END_KEY_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NODE_CPU_USAGE_PERCENT_FIELD_NUMBER
public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER
Field Value
START_KEY_FIELD_NUMBER
public static final int START_KEY_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HotTablet getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HotTablet.Builder newBuilder()
Returns
newBuilder(HotTablet prototype)
public static HotTablet.Builder newBuilder(HotTablet prototype)
Parameter
Returns
public static HotTablet parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HotTablet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HotTablet parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HotTablet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HotTablet parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HotTablet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HotTablet parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HotTablet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HotTablet parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HotTablet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HotTablet parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HotTablet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HotTablet> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public HotTablet getDefaultInstanceForType()
Returns
getEndKey()
public String getEndKey()
Tablet End Key (inclusive).
string end_key = 6;
Returns
Type | Description |
String | The endKey.
|
getEndKeyBytes()
public ByteString getEndKeyBytes()
Tablet End Key (inclusive).
string end_key = 6;
Returns
getEndTime()
public Timestamp getEndTime()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public 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;
Returns
getNodeCpuUsagePercent()
public 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];
Returns
Type | Description |
float | The nodeCpuUsagePercent.
|
getParserForType()
public Parser<HotTablet> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartKey()
public String getStartKey()
Tablet Start Key (inclusive).
string start_key = 5;
Returns
Type | Description |
String | The startKey.
|
getStartKeyBytes()
public ByteString getStartKeyBytes()
Tablet Start Key (inclusive).
string start_key = 5;
Returns
getStartTime()
public Timestamp getStartTime()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getTableName()
public String getTableName()
Name of the table that contains the tablet. Values are of the form
projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*
.
string table_name = 2 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The tableName.
|
getTableNameBytes()
public ByteString getTableNameBytes()
Name of the table that contains the tablet. Values are of the form
projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*
.
string table_name = 2 [(.google.api.resource_reference) = { ... }
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEndTime()
public boolean hasEndTime()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HotTablet.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HotTablet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HotTablet.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions