public static final class HotTablet.Builder extends GeneratedMessageV3.Builder<HotTablet.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HotTablet.BuilderImplements
HotTabletOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HotTablet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HotTablet.Builder |
build()
public HotTablet build()
Type | Description |
HotTablet |
buildPartial()
public HotTablet buildPartial()
Type | Description |
HotTablet |
clear()
public HotTablet.Builder clear()
Type | Description |
HotTablet.Builder |
clearEndKey()
public HotTablet.Builder clearEndKey()
Tablet End Key (inclusive).
string end_key = 6;
Type | Description |
HotTablet.Builder | This builder for chaining. |
clearEndTime()
public HotTablet.Builder clearEndTime()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HotTablet.Builder |
clearField(Descriptors.FieldDescriptor field)
public HotTablet.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HotTablet.Builder |
clearName()
public HotTablet.Builder clearName()
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;
Type | Description |
HotTablet.Builder | This builder for chaining. |
clearNodeCpuUsagePercent()
public HotTablet.Builder clearNodeCpuUsagePercent()
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];
Type | Description |
HotTablet.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HotTablet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HotTablet.Builder |
clearStartKey()
public HotTablet.Builder clearStartKey()
Tablet Start Key (inclusive).
string start_key = 5;
Type | Description |
HotTablet.Builder | This builder for chaining. |
clearStartTime()
public HotTablet.Builder clearStartTime()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
HotTablet.Builder |
clearTableName()
public HotTablet.Builder clearTableName()
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) = { ... }
Type | Description |
HotTablet.Builder | This builder for chaining. |
clone()
public HotTablet.Builder clone()
Type | Description |
HotTablet.Builder |
getDefaultInstanceForType()
public HotTablet getDefaultInstanceForType()
Type | Description |
HotTablet |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndKey()
public String getEndKey()
Tablet End Key (inclusive).
string end_key = 6;
Type | Description |
String | The endKey. |
getEndKeyBytes()
public ByteString getEndKeyBytes()
Tablet End Key (inclusive).
string end_key = 6;
Type | Description |
ByteString | The bytes for endKey. |
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];
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
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];
Type | Description |
TimestampOrBuilder |
getName()
public 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;
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;
Type | Description |
ByteString | The bytes for name. |
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];
Type | Description |
float | The nodeCpuUsagePercent. |
getStartKey()
public String getStartKey()
Tablet Start Key (inclusive).
string start_key = 5;
Type | Description |
String | The startKey. |
getStartKeyBytes()
public ByteString getStartKeyBytes()
Tablet Start Key (inclusive).
string start_key = 5;
Type | Description |
ByteString | The bytes for startKey. |
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];
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
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];
Type | Description |
TimestampOrBuilder |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for tableName. |
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];
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];
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public HotTablet.Builder mergeEndTime(Timestamp value)
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HotTablet.Builder |
mergeFrom(HotTablet other)
public HotTablet.Builder mergeFrom(HotTablet other)
Name | Description |
other | HotTablet |
Type | Description |
HotTablet.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HotTablet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HotTablet.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HotTablet.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HotTablet.Builder |
mergeStartTime(Timestamp value)
public HotTablet.Builder mergeStartTime(Timestamp value)
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HotTablet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HotTablet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HotTablet.Builder |
setEndKey(String value)
public HotTablet.Builder setEndKey(String value)
Tablet End Key (inclusive).
string end_key = 6;
Name | Description |
value | String The endKey to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setEndKeyBytes(ByteString value)
public HotTablet.Builder setEndKeyBytes(ByteString value)
Tablet End Key (inclusive).
string end_key = 6;
Name | Description |
value | ByteString The bytes for endKey to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setEndTime(Timestamp value)
public HotTablet.Builder setEndTime(Timestamp value)
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HotTablet.Builder |
setEndTime(Timestamp.Builder builderForValue)
public HotTablet.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The end time of the hot tablet.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
HotTablet.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HotTablet.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HotTablet.Builder |
setName(String value)
public HotTablet.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public HotTablet.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setNodeCpuUsagePercent(float value)
public HotTablet.Builder setNodeCpuUsagePercent(float value)
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];
Name | Description |
value | float The nodeCpuUsagePercent to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HotTablet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HotTablet.Builder |
setStartKey(String value)
public HotTablet.Builder setStartKey(String value)
Tablet Start Key (inclusive).
string start_key = 5;
Name | Description |
value | String The startKey to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setStartKeyBytes(ByteString value)
public HotTablet.Builder setStartKeyBytes(ByteString value)
Tablet Start Key (inclusive).
string start_key = 5;
Name | Description |
value | ByteString The bytes for startKey to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setStartTime(Timestamp value)
public HotTablet.Builder setStartTime(Timestamp value)
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
HotTablet.Builder |
setStartTime(Timestamp.Builder builderForValue)
public HotTablet.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The start time of the hot tablet.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
HotTablet.Builder |
setTableName(String value)
public HotTablet.Builder setTableName(String value)
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) = { ... }
Name | Description |
value | String The tableName to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setTableNameBytes(ByteString value)
public HotTablet.Builder setTableNameBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for tableName to set. |
Type | Description |
HotTablet.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final HotTablet.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HotTablet.Builder |