public static interface Diagnosticspb.ServerInfoItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getName()
eg.
|
com.google.protobuf.ByteString |
getNameBytes()
eg.
|
Diagnosticspb.ServerInfoPair |
getPairs(int index)
all key-value pairs for specified item, e.g:
ServerInfoItem {
tp = "network"
name = "eth0"
paris = [
ServerInfoPair { key = "readbytes", value = "4k"},
ServerInfoPair { key = "writebytes", value = "1k"},
]
}
|
int |
getPairsCount()
all key-value pairs for specified item, e.g:
ServerInfoItem {
tp = "network"
name = "eth0"
paris = [
ServerInfoPair { key = "readbytes", value = "4k"},
ServerInfoPair { key = "writebytes", value = "1k"},
]
}
|
List<Diagnosticspb.ServerInfoPair> |
getPairsList()
all key-value pairs for specified item, e.g:
ServerInfoItem {
tp = "network"
name = "eth0"
paris = [
ServerInfoPair { key = "readbytes", value = "4k"},
ServerInfoPair { key = "writebytes", value = "1k"},
]
}
|
Diagnosticspb.ServerInfoPairOrBuilder |
getPairsOrBuilder(int index)
all key-value pairs for specified item, e.g:
ServerInfoItem {
tp = "network"
name = "eth0"
paris = [
ServerInfoPair { key = "readbytes", value = "4k"},
ServerInfoPair { key = "writebytes", value = "1k"},
]
}
|
List<? extends Diagnosticspb.ServerInfoPairOrBuilder> |
getPairsOrBuilderList()
all key-value pairs for specified item, e.g:
ServerInfoItem {
tp = "network"
name = "eth0"
paris = [
ServerInfoPair { key = "readbytes", value = "4k"},
ServerInfoPair { key = "writebytes", value = "1k"},
]
}
|
String |
getTp()
cpu, memory, disk, network ...
|
com.google.protobuf.ByteString |
getTpBytes()
cpu, memory, disk, network ...
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getTp()
cpu, memory, disk, network ...
string tp = 1;
com.google.protobuf.ByteString getTpBytes()
cpu, memory, disk, network ...
string tp = 1;
String getName()
eg. network: lo1/eth0, cpu: core1/core2, disk: sda1/sda2
string name = 2;
com.google.protobuf.ByteString getNameBytes()
eg. network: lo1/eth0, cpu: core1/core2, disk: sda1/sda2
string name = 2;
List<Diagnosticspb.ServerInfoPair> getPairsList()
all key-value pairs for specified item, e.g: ServerInfoItem { tp = "network" name = "eth0" paris = [ ServerInfoPair { key = "readbytes", value = "4k"}, ServerInfoPair { key = "writebytes", value = "1k"}, ] }
repeated .diagnosticspb.ServerInfoPair pairs = 3;
Diagnosticspb.ServerInfoPair getPairs(int index)
all key-value pairs for specified item, e.g: ServerInfoItem { tp = "network" name = "eth0" paris = [ ServerInfoPair { key = "readbytes", value = "4k"}, ServerInfoPair { key = "writebytes", value = "1k"}, ] }
repeated .diagnosticspb.ServerInfoPair pairs = 3;
int getPairsCount()
all key-value pairs for specified item, e.g: ServerInfoItem { tp = "network" name = "eth0" paris = [ ServerInfoPair { key = "readbytes", value = "4k"}, ServerInfoPair { key = "writebytes", value = "1k"}, ] }
repeated .diagnosticspb.ServerInfoPair pairs = 3;
List<? extends Diagnosticspb.ServerInfoPairOrBuilder> getPairsOrBuilderList()
all key-value pairs for specified item, e.g: ServerInfoItem { tp = "network" name = "eth0" paris = [ ServerInfoPair { key = "readbytes", value = "4k"}, ServerInfoPair { key = "writebytes", value = "1k"}, ] }
repeated .diagnosticspb.ServerInfoPair pairs = 3;
Diagnosticspb.ServerInfoPairOrBuilder getPairsOrBuilder(int index)
all key-value pairs for specified item, e.g: ServerInfoItem { tp = "network" name = "eth0" paris = [ ServerInfoPair { key = "readbytes", value = "4k"}, ServerInfoPair { key = "writebytes", value = "1k"}, ] }
repeated .diagnosticspb.ServerInfoPair pairs = 3;
Copyright © 2024 PingCAP. All rights reserved.