Revert "feat: add total_cpu_millicores/total_memory_bytes/`cpu_usage_mill…" (#286)

This reverts commit 9d93fc3363.

Co-authored-by: zyy17 <zyylsxm@gmail.com>
This commit is contained in:
discord9
2025-10-22 16:23:02 +08:00
committed by GitHub
parent d9541cd111
commit 72a0d22e0f
5 changed files with 303 additions and 984 deletions
@@ -6146,27 +6146,23 @@ com.google.protobuf.ByteString defaultValue);
/**
* <pre>
* Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
* The CPU cores number of the node.
* </pre>
*
* <code>uint32 cpus = 4 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.cpus is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=97
* <code>uint32 cpus = 4;</code>
* @return The cpus.
*/
@java.lang.Deprecated int getCpus();
int getCpus();
/**
* <pre>
* Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
* The memory bytes of the node.
* </pre>
*
* <code>uint64 memory_bytes = 5 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.memory_bytes is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=99
* <code>uint64 memory_bytes = 5;</code>
* @return The memoryBytes.
*/
@java.lang.Deprecated long getMemoryBytes();
long getMemoryBytes();
/**
* <pre>
@@ -6187,46 +6183,6 @@ com.google.protobuf.ByteString defaultValue);
*/
com.google.protobuf.ByteString
getHostnameBytes();
/**
* <pre>
* The total CPU millicores of the node.
* </pre>
*
* <code>int64 total_cpu_millicores = 7;</code>
* @return The totalCpuMillicores.
*/
long getTotalCpuMillicores();
/**
* <pre>
* The total memory bytes of the node.
* </pre>
*
* <code>int64 total_memory_bytes = 8;</code>
* @return The totalMemoryBytes.
*/
long getTotalMemoryBytes();
/**
* <pre>
* The CPU usage millicores of the node.
* </pre>
*
* <code>int64 cpu_usage_millicores = 9;</code>
* @return The cpuUsageMillicores.
*/
long getCpuUsageMillicores();
/**
* <pre>
* The memory usage bytes of the node.
* </pre>
*
* <code>int64 memory_usage_bytes = 10;</code>
* @return The memoryUsageBytes.
*/
long getMemoryUsageBytes();
}
/**
* Protobuf type {@code greptime.v1.meta.NodeInfo}
@@ -6309,26 +6265,6 @@ com.google.protobuf.ByteString defaultValue);
hostname_ = s;
break;
}
case 56: {
totalCpuMillicores_ = input.readInt64();
break;
}
case 64: {
totalMemoryBytes_ = input.readInt64();
break;
}
case 72: {
cpuUsageMillicores_ = input.readInt64();
break;
}
case 80: {
memoryUsageBytes_ = input.readInt64();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -6474,16 +6410,14 @@ com.google.protobuf.ByteString defaultValue);
private int cpus_;
/**
* <pre>
* Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
* The CPU cores number of the node.
* </pre>
*
* <code>uint32 cpus = 4 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.cpus is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=97
* <code>uint32 cpus = 4;</code>
* @return The cpus.
*/
@java.lang.Override
@java.lang.Deprecated public int getCpus() {
public int getCpus() {
return cpus_;
}
@@ -6491,16 +6425,14 @@ com.google.protobuf.ByteString defaultValue);
private long memoryBytes_;
/**
* <pre>
* Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
* The memory bytes of the node.
* </pre>
*
* <code>uint64 memory_bytes = 5 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.memory_bytes is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=99
* <code>uint64 memory_bytes = 5;</code>
* @return The memoryBytes.
*/
@java.lang.Override
@java.lang.Deprecated public long getMemoryBytes() {
public long getMemoryBytes() {
return memoryBytes_;
}
@@ -6550,66 +6482,6 @@ com.google.protobuf.ByteString defaultValue);
}
}
public static final int TOTAL_CPU_MILLICORES_FIELD_NUMBER = 7;
private long totalCpuMillicores_;
/**
* <pre>
* The total CPU millicores of the node.
* </pre>
*
* <code>int64 total_cpu_millicores = 7;</code>
* @return The totalCpuMillicores.
*/
@java.lang.Override
public long getTotalCpuMillicores() {
return totalCpuMillicores_;
}
public static final int TOTAL_MEMORY_BYTES_FIELD_NUMBER = 8;
private long totalMemoryBytes_;
/**
* <pre>
* The total memory bytes of the node.
* </pre>
*
* <code>int64 total_memory_bytes = 8;</code>
* @return The totalMemoryBytes.
*/
@java.lang.Override
public long getTotalMemoryBytes() {
return totalMemoryBytes_;
}
public static final int CPU_USAGE_MILLICORES_FIELD_NUMBER = 9;
private long cpuUsageMillicores_;
/**
* <pre>
* The CPU usage millicores of the node.
* </pre>
*
* <code>int64 cpu_usage_millicores = 9;</code>
* @return The cpuUsageMillicores.
*/
@java.lang.Override
public long getCpuUsageMillicores() {
return cpuUsageMillicores_;
}
public static final int MEMORY_USAGE_BYTES_FIELD_NUMBER = 10;
private long memoryUsageBytes_;
/**
* <pre>
* The memory usage bytes of the node.
* </pre>
*
* <code>int64 memory_usage_bytes = 10;</code>
* @return The memoryUsageBytes.
*/
@java.lang.Override
public long getMemoryUsageBytes() {
return memoryUsageBytes_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -6642,18 +6514,6 @@ com.google.protobuf.ByteString defaultValue);
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, hostname_);
}
if (totalCpuMillicores_ != 0L) {
output.writeInt64(7, totalCpuMillicores_);
}
if (totalMemoryBytes_ != 0L) {
output.writeInt64(8, totalMemoryBytes_);
}
if (cpuUsageMillicores_ != 0L) {
output.writeInt64(9, cpuUsageMillicores_);
}
if (memoryUsageBytes_ != 0L) {
output.writeInt64(10, memoryUsageBytes_);
}
unknownFields.writeTo(output);
}
@@ -6684,22 +6544,6 @@ com.google.protobuf.ByteString defaultValue);
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostname_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, hostname_);
}
if (totalCpuMillicores_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, totalCpuMillicores_);
}
if (totalMemoryBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, totalMemoryBytes_);
}
if (cpuUsageMillicores_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, cpuUsageMillicores_);
}
if (memoryUsageBytes_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, memoryUsageBytes_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -6727,14 +6571,6 @@ com.google.protobuf.ByteString defaultValue);
!= other.getMemoryBytes()) return false;
if (!getHostname()
.equals(other.getHostname())) return false;
if (getTotalCpuMillicores()
!= other.getTotalCpuMillicores()) return false;
if (getTotalMemoryBytes()
!= other.getTotalMemoryBytes()) return false;
if (getCpuUsageMillicores()
!= other.getCpuUsageMillicores()) return false;
if (getMemoryUsageBytes()
!= other.getMemoryUsageBytes()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -6760,18 +6596,6 @@ com.google.protobuf.ByteString defaultValue);
getMemoryBytes());
hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
hash = (53 * hash) + getHostname().hashCode();
hash = (37 * hash) + TOTAL_CPU_MILLICORES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalCpuMillicores());
hash = (37 * hash) + TOTAL_MEMORY_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalMemoryBytes());
hash = (37 * hash) + CPU_USAGE_MILLICORES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCpuUsageMillicores());
hash = (37 * hash) + MEMORY_USAGE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMemoryUsageBytes());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -6917,14 +6741,6 @@ com.google.protobuf.ByteString defaultValue);
hostname_ = "";
totalCpuMillicores_ = 0L;
totalMemoryBytes_ = 0L;
cpuUsageMillicores_ = 0L;
memoryUsageBytes_ = 0L;
return this;
}
@@ -6957,10 +6773,6 @@ com.google.protobuf.ByteString defaultValue);
result.cpus_ = cpus_;
result.memoryBytes_ = memoryBytes_;
result.hostname_ = hostname_;
result.totalCpuMillicores_ = totalCpuMillicores_;
result.totalMemoryBytes_ = totalMemoryBytes_;
result.cpuUsageMillicores_ = cpuUsageMillicores_;
result.memoryUsageBytes_ = memoryUsageBytes_;
onBuilt();
return result;
}
@@ -7030,18 +6842,6 @@ com.google.protobuf.ByteString defaultValue);
hostname_ = other.hostname_;
onChanged();
}
if (other.getTotalCpuMillicores() != 0L) {
setTotalCpuMillicores(other.getTotalCpuMillicores());
}
if (other.getTotalMemoryBytes() != 0L) {
setTotalMemoryBytes(other.getTotalMemoryBytes());
}
if (other.getCpuUsageMillicores() != 0L) {
setCpuUsageMillicores(other.getCpuUsageMillicores());
}
if (other.getMemoryUsageBytes() != 0L) {
setMemoryUsageBytes(other.getMemoryUsageBytes());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -7309,30 +7109,26 @@ com.google.protobuf.ByteString defaultValue);
private int cpus_ ;
/**
* <pre>
* Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
* The CPU cores number of the node.
* </pre>
*
* <code>uint32 cpus = 4 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.cpus is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=97
* <code>uint32 cpus = 4;</code>
* @return The cpus.
*/
@java.lang.Override
@java.lang.Deprecated public int getCpus() {
public int getCpus() {
return cpus_;
}
/**
* <pre>
* Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
* The CPU cores number of the node.
* </pre>
*
* <code>uint32 cpus = 4 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.cpus is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=97
* <code>uint32 cpus = 4;</code>
* @param value The cpus to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setCpus(int value) {
public Builder setCpus(int value) {
cpus_ = value;
onChanged();
@@ -7340,15 +7136,13 @@ com.google.protobuf.ByteString defaultValue);
}
/**
* <pre>
* Deprecated: Use total_cpu_millicores instead. The CPU cores number of the node.
* The CPU cores number of the node.
* </pre>
*
* <code>uint32 cpus = 4 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.cpus is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=97
* <code>uint32 cpus = 4;</code>
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearCpus() {
public Builder clearCpus() {
cpus_ = 0;
onChanged();
@@ -7358,30 +7152,26 @@ com.google.protobuf.ByteString defaultValue);
private long memoryBytes_ ;
/**
* <pre>
* Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
* The memory bytes of the node.
* </pre>
*
* <code>uint64 memory_bytes = 5 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.memory_bytes is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=99
* <code>uint64 memory_bytes = 5;</code>
* @return The memoryBytes.
*/
@java.lang.Override
@java.lang.Deprecated public long getMemoryBytes() {
public long getMemoryBytes() {
return memoryBytes_;
}
/**
* <pre>
* Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
* The memory bytes of the node.
* </pre>
*
* <code>uint64 memory_bytes = 5 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.memory_bytes is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=99
* <code>uint64 memory_bytes = 5;</code>
* @param value The memoryBytes to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setMemoryBytes(long value) {
public Builder setMemoryBytes(long value) {
memoryBytes_ = value;
onChanged();
@@ -7389,15 +7179,13 @@ com.google.protobuf.ByteString defaultValue);
}
/**
* <pre>
* Deprecated: Use total_memory_bytes instead. The memory bytes of the node.
* The memory bytes of the node.
* </pre>
*
* <code>uint64 memory_bytes = 5 [deprecated = true];</code>
* @deprecated greptime.v1.meta.NodeInfo.memory_bytes is deprecated.
* See greptime/v1/meta/heartbeat.proto;l=99
* <code>uint64 memory_bytes = 5;</code>
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearMemoryBytes() {
public Builder clearMemoryBytes() {
memoryBytes_ = 0L;
onChanged();
@@ -7499,178 +7287,6 @@ com.google.protobuf.ByteString defaultValue);
onChanged();
return this;
}
private long totalCpuMillicores_ ;
/**
* <pre>
* The total CPU millicores of the node.
* </pre>
*
* <code>int64 total_cpu_millicores = 7;</code>
* @return The totalCpuMillicores.
*/
@java.lang.Override
public long getTotalCpuMillicores() {
return totalCpuMillicores_;
}
/**
* <pre>
* The total CPU millicores of the node.
* </pre>
*
* <code>int64 total_cpu_millicores = 7;</code>
* @param value The totalCpuMillicores to set.
* @return This builder for chaining.
*/
public Builder setTotalCpuMillicores(long value) {
totalCpuMillicores_ = value;
onChanged();
return this;
}
/**
* <pre>
* The total CPU millicores of the node.
* </pre>
*
* <code>int64 total_cpu_millicores = 7;</code>
* @return This builder for chaining.
*/
public Builder clearTotalCpuMillicores() {
totalCpuMillicores_ = 0L;
onChanged();
return this;
}
private long totalMemoryBytes_ ;
/**
* <pre>
* The total memory bytes of the node.
* </pre>
*
* <code>int64 total_memory_bytes = 8;</code>
* @return The totalMemoryBytes.
*/
@java.lang.Override
public long getTotalMemoryBytes() {
return totalMemoryBytes_;
}
/**
* <pre>
* The total memory bytes of the node.
* </pre>
*
* <code>int64 total_memory_bytes = 8;</code>
* @param value The totalMemoryBytes to set.
* @return This builder for chaining.
*/
public Builder setTotalMemoryBytes(long value) {
totalMemoryBytes_ = value;
onChanged();
return this;
}
/**
* <pre>
* The total memory bytes of the node.
* </pre>
*
* <code>int64 total_memory_bytes = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTotalMemoryBytes() {
totalMemoryBytes_ = 0L;
onChanged();
return this;
}
private long cpuUsageMillicores_ ;
/**
* <pre>
* The CPU usage millicores of the node.
* </pre>
*
* <code>int64 cpu_usage_millicores = 9;</code>
* @return The cpuUsageMillicores.
*/
@java.lang.Override
public long getCpuUsageMillicores() {
return cpuUsageMillicores_;
}
/**
* <pre>
* The CPU usage millicores of the node.
* </pre>
*
* <code>int64 cpu_usage_millicores = 9;</code>
* @param value The cpuUsageMillicores to set.
* @return This builder for chaining.
*/
public Builder setCpuUsageMillicores(long value) {
cpuUsageMillicores_ = value;
onChanged();
return this;
}
/**
* <pre>
* The CPU usage millicores of the node.
* </pre>
*
* <code>int64 cpu_usage_millicores = 9;</code>
* @return This builder for chaining.
*/
public Builder clearCpuUsageMillicores() {
cpuUsageMillicores_ = 0L;
onChanged();
return this;
}
private long memoryUsageBytes_ ;
/**
* <pre>
* The memory usage bytes of the node.
* </pre>
*
* <code>int64 memory_usage_bytes = 10;</code>
* @return The memoryUsageBytes.
*/
@java.lang.Override
public long getMemoryUsageBytes() {
return memoryUsageBytes_;
}
/**
* <pre>
* The memory usage bytes of the node.
* </pre>
*
* <code>int64 memory_usage_bytes = 10;</code>
* @param value The memoryUsageBytes to set.
* @return This builder for chaining.
*/
public Builder setMemoryUsageBytes(long value) {
memoryUsageBytes_ = value;
onChanged();
return this;
}
/**
* <pre>
* The memory usage bytes of the node.
* </pre>
*
* <code>int64 memory_usage_bytes = 10;</code>
* @return This builder for chaining.
*/
public Builder clearMemoryUsageBytes() {
memoryUsageBytes_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -17179,58 +16795,55 @@ com.google.protobuf.ByteString defaultValue);
"8\001B\020\n\016node_workloads\"\"\n\021DatanodeWorkload" +
"s\022\r\n\005types\030\001 \003(\005\"\"\n\021FrontendWorkloads\022\r\n" +
"\005types\030\001 \003(\005\"\"\n\021FlownodeWorkloads\022\r\n\005typ" +
"es\030\001 \003(\005\"\370\001\n\010NodeInfo\022\017\n\007version\030\001 \001(\t\022\022" +
"\n\ngit_commit\030\002 \001(\t\022\025\n\rstart_time_ms\030\003 \001(" +
"\004\022\020\n\004cpus\030\004 \001(\rB\002\030\001\022\030\n\014memory_bytes\030\005 \001(" +
"\004B\002\030\001\022\020\n\010hostname\030\006 \001(\t\022\034\n\024total_cpu_mil" +
"licores\030\007 \001(\003\022\032\n\022total_memory_bytes\030\010 \001(" +
"\003\022\034\n\024cpu_usage_millicores\030\t \001(\003\022\032\n\022memor" +
"y_usage_bytes\030\n \001(\003\"\207\002\n\nRegionStat\022\021\n\tre" +
"gion_id\030\001 \001(\004\022\014\n\004rcus\030\002 \001(\003\022\014\n\004wcus\030\003 \001(" +
"\003\022\031\n\021approximate_bytes\030\004 \001(\003\022\016\n\006engine\030\006" +
" \001(\t\022*\n\004role\030\007 \001(\0162\034.greptime.v1.meta.Re" +
"gionRole\022@\n\nextensions\030c \003(\0132,.greptime." +
"v1.meta.RegionStat.ExtensionsEntry\0321\n\017Ex" +
"tensionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" +
"\014:\0028\001\"a\n\tTopicStat\022\022\n\ntopic_name\030\001 \001(\t\022\023" +
"\n\013record_size\030\002 \001(\004\022\022\n\nrecord_num\030\003 \001(\004\022" +
"\027\n\017latest_entry_id\030\004 \001(\004\"\227\002\n\010FlowStat\022D\n" +
"\016flow_stat_size\030\001 \003(\0132,.greptime.v1.meta" +
".FlowStat.FlowStatSizeEntry\022T\n\027flow_last" +
"_exec_time_map\030\002 \003(\01323.greptime.v1.meta." +
"FlowStat.FlowLastExecTimeMapEntry\0323\n\021Flo" +
"wStatSizeEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001" +
"(\004:\0028\001\032:\n\030FlowLastExecTimeMapEntry\022\013\n\003ke" +
"y\030\001 \001(\r\022\r\n\005value\030\002 \001(\003:\0028\001\"\265\001\n\021Heartbeat" +
"Response\0220\n\006header\030\001 \001(\0132 .greptime.v1.m" +
"eta.ResponseHeader\0229\n\017mailbox_message\030\002 " +
"\001(\0132 .greptime.v1.meta.MailboxMessage\0223\n" +
"\014region_lease\030\003 \001(\0132\035.greptime.v1.meta.R" +
"egionLease\"\306\001\n\rGrantedRegion\022\021\n\tregion_i" +
"d\030\001 \001(\004\022*\n\004role\030\002 \001(\0162\034.greptime.v1.meta" +
".RegionRole\022C\n\nextensions\030c \003(\0132/.grepti" +
"me.v1.meta.GrantedRegion.ExtensionsEntry" +
"\0321\n\017ExtensionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" +
"e\030\002 \001(\014:\0028\001\"\222\001\n\013RegionLease\0220\n\007regions\030\001" +
" \003(\0132\037.greptime.v1.meta.GrantedRegion\022\034\n" +
"\024duration_since_epoch\030\002 \001(\004\022\025\n\rlease_sec" +
"onds\030\003 \001(\004\022\034\n\024closeable_region_ids\030\004 \003(\004" +
"\"C\n\020AskLeaderRequest\022/\n\006header\030\001 \001(\0132\037.g" +
"reptime.v1.meta.RequestHeader\"m\n\021AskLead" +
"erResponse\0220\n\006header\030\001 \001(\0132 .greptime.v1" +
".meta.ResponseHeader\022&\n\006leader\030\002 \001(\0132\026.g" +
"reptime.v1.meta.Peer\"|\n\016MailboxMessage\022\n" +
"\n\002id\030\001 \001(\004\022\017\n\007subject\030\002 \001(\t\022\014\n\004from\030\003 \001(" +
"\t\022\n\n\002to\030\004 \001(\t\022\030\n\020timestamp_millis\030\005 \001(\003\022" +
"\016\n\004json\030\006 \001(\tH\000B\t\n\007payload*=\n\nRegionRole" +
"\022\n\n\006Leader\020\000\022\014\n\010Follower\020\001\022\025\n\021Downgradin" +
"gLeader\020\0022\277\001\n\tHeartbeat\022Z\n\tHeartbeat\022\".g" +
"reptime.v1.meta.HeartbeatRequest\032#.grept" +
"ime.v1.meta.HeartbeatResponse\"\000(\0010\001\022V\n\tA" +
"skLeader\022\".greptime.v1.meta.AskLeaderReq" +
"uest\032#.greptime.v1.meta.AskLeaderRespons" +
"e\"\000B<Z:github.com/GreptimeTeam/greptime-" +
"proto/go/greptime/v1/metab\006proto3"
"es\030\001 \003(\005\"|\n\010NodeInfo\022\017\n\007version\030\001 \001(\t\022\022\n" +
"\ngit_commit\030\002 \001(\t\022\025\n\rstart_time_ms\030\003 \001(\004" +
"\022\014\n\004cpus\030\004 \001(\r\022\024\n\014memory_bytes\030\005 \001(\004\022\020\n\010" +
"hostname\030\006 \001(\t\"\207\002\n\nRegionStat\022\021\n\tregion_" +
"id\030\001 \001(\004\022\014\n\004rcus\030\002 \001(\003\022\014\n\004wcus\030\003 \001(\003\022\031\n\021" +
"approximate_bytes\030\004 \001(\003\022\016\n\006engine\030\006 \001(\t\022" +
"*\n\004role\030\007 \001(\0162\034.greptime.v1.meta.RegionR" +
"ole\022@\n\nextensions\030c \003(\0132,.greptime.v1.me" +
"ta.RegionStat.ExtensionsEntry\0321\n\017Extensi" +
"onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001" +
"\"a\n\tTopicStat\022\022\n\ntopic_name\030\001 \001(\t\022\023\n\013rec" +
"ord_size\030\002 \001(\004\022\022\n\nrecord_num\030\003 \001(\004\022\027\n\017la" +
"test_entry_id\030\004 \001(\004\"\227\002\n\010FlowStat\022D\n\016flow" +
"_stat_size\030\001 \003(\0132,.greptime.v1.meta.Flow" +
"Stat.FlowStatSizeEntry\022T\n\027flow_last_exec" +
"_time_map\030\002 \003(\01323.greptime.v1.meta.FlowS" +
"tat.FlowLastExecTimeMapEntry\0323\n\021FlowStat" +
"SizeEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030\002 \001(\004:\0028" +
"\001\032:\n\030FlowLastExecTimeMapEntry\022\013\n\003key\030\001 \001" +
"(\r\022\r\n\005value\030\002 \001(\003:\0028\001\"\265\001\n\021HeartbeatRespo" +
"nse\0220\n\006header\030\001 \001(\0132 .greptime.v1.meta.R" +
"esponseHeader\0229\n\017mailbox_message\030\002 \001(\0132 " +
".greptime.v1.meta.MailboxMessage\0223\n\014regi" +
"on_lease\030\003 \001(\0132\035.greptime.v1.meta.Region" +
"Lease\"\306\001\n\rGrantedRegion\022\021\n\tregion_id\030\001 \001" +
"(\004\022*\n\004role\030\002 \001(\0162\034.greptime.v1.meta.Regi" +
"onRole\022C\n\nextensions\030c \003(\0132/.greptime.v1" +
".meta.GrantedRegion.ExtensionsEntry\0321\n\017E" +
"xtensionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
"(\014:\0028\001\"\222\001\n\013RegionLease\0220\n\007regions\030\001 \003(\0132" +
"\037.greptime.v1.meta.GrantedRegion\022\034\n\024dura" +
"tion_since_epoch\030\002 \001(\004\022\025\n\rlease_seconds\030" +
"\003 \001(\004\022\034\n\024closeable_region_ids\030\004 \003(\004\"C\n\020A" +
"skLeaderRequest\022/\n\006header\030\001 \001(\0132\037.grepti" +
"me.v1.meta.RequestHeader\"m\n\021AskLeaderRes" +
"ponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.meta" +
".ResponseHeader\022&\n\006leader\030\002 \001(\0132\026.grepti" +
"me.v1.meta.Peer\"|\n\016MailboxMessage\022\n\n\002id\030" +
"\001 \001(\004\022\017\n\007subject\030\002 \001(\t\022\014\n\004from\030\003 \001(\t\022\n\n\002" +
"to\030\004 \001(\t\022\030\n\020timestamp_millis\030\005 \001(\003\022\016\n\004js" +
"on\030\006 \001(\tH\000B\t\n\007payload*=\n\nRegionRole\022\n\n\006L" +
"eader\020\000\022\014\n\010Follower\020\001\022\025\n\021DowngradingLead" +
"er\020\0022\277\001\n\tHeartbeat\022Z\n\tHeartbeat\022\".grepti" +
"me.v1.meta.HeartbeatRequest\032#.greptime.v" +
"1.meta.HeartbeatResponse\"\000(\0010\001\022V\n\tAskLea" +
"der\022\".greptime.v1.meta.AskLeaderRequest\032" +
"#.greptime.v1.meta.AskLeaderResponse\"\000B<" +
"Z:github.com/GreptimeTeam/greptime-proto" +
"/go/greptime/v1/metab\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -17272,7 +16885,7 @@ com.google.protobuf.ByteString defaultValue);
internal_static_greptime_v1_meta_NodeInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_meta_NodeInfo_descriptor,
new java.lang.String[] { "Version", "GitCommit", "StartTimeMs", "Cpus", "MemoryBytes", "Hostname", "TotalCpuMillicores", "TotalMemoryBytes", "CpuUsageMillicores", "MemoryUsageBytes", });
new java.lang.String[] { "Version", "GitCommit", "StartTimeMs", "Cpus", "MemoryBytes", "Hostname", });
internal_static_greptime_v1_meta_RegionStat_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_greptime_v1_meta_RegionStat_fieldAccessorTable = new