Package org.kobe.xbot.Utilities.Entities
Class XTableClientStatistics.ClientStatistics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.kobe.xbot.Utilities.Entities.XTableClientStatistics.ClientStatistics
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,XTableClientStatistics.ClientStatisticsOrBuilder
- Enclosing class:
- XTableClientStatistics
public static final class XTableClientStatistics.ClientStatistics
extends com.google.protobuf.GeneratedMessage
implements XTableClientStatistics.ClientStatisticsOrBuilder
Message representing client statistics.Protobuf type
ClientStatistics
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Message representing client statistics.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int32 available_processors = 6;
int
optional int32 buffer_size = 18;
static final com.google.protobuf.Descriptors.Descriptor
long
int64 free_memory_mb = 3;
.HealthStatus health = 14;
int
.HealthStatus health = 14;
string hostname = 9;
com.google.protobuf.ByteString
string hostname = 9;
getIp()
string ip = 8;
com.google.protobuf.ByteString
string ip = 8;
string jvm_name = 13;
com.google.protobuf.ByteString
string jvm_name = 13;
string lang_vendor = 12;
com.google.protobuf.ByteString
string lang_vendor = 12;
string lang_version = 11;
com.google.protobuf.ByteString
string lang_version = 11;
int
optional int32 max_buffer_size = 19;
long
int64 max_memory_mb = 2;
long
int64 nano_time = 1;
com.google.protobuf.Parser<XTableClientStatistics.ClientStatistics>
double
double process_cpu_load_percentage = 5;
string process_id = 10;
com.google.protobuf.ByteString
string process_id = 10;
int
long
int64 total_threads = 7;
getType()
optional string type = 16;
com.google.protobuf.ByteString
optional string type = 16;
long
int64 used_memory_mb = 4;
getUuid()
optional string uuid = 17;
com.google.protobuf.ByteString
optional string uuid = 17;
Optional fieldscom.google.protobuf.ByteString
Optional fieldsboolean
optional int32 buffer_size = 18;
int
hashCode()
boolean
optional int32 max_buffer_size = 19;
boolean
hasType()
optional string type = 16;
boolean
hasUuid()
optional string uuid = 17;
boolean
Optional fieldsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<XTableClientStatistics.ClientStatistics>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NANO_TIME_FIELD_NUMBER
public static final int NANO_TIME_FIELD_NUMBER- See Also:
-
MAX_MEMORY_MB_FIELD_NUMBER
public static final int MAX_MEMORY_MB_FIELD_NUMBER- See Also:
-
FREE_MEMORY_MB_FIELD_NUMBER
public static final int FREE_MEMORY_MB_FIELD_NUMBER- See Also:
-
USED_MEMORY_MB_FIELD_NUMBER
public static final int USED_MEMORY_MB_FIELD_NUMBER- See Also:
-
PROCESS_CPU_LOAD_PERCENTAGE_FIELD_NUMBER
public static final int PROCESS_CPU_LOAD_PERCENTAGE_FIELD_NUMBER- See Also:
-
AVAILABLE_PROCESSORS_FIELD_NUMBER
public static final int AVAILABLE_PROCESSORS_FIELD_NUMBER- See Also:
-
TOTAL_THREADS_FIELD_NUMBER
public static final int TOTAL_THREADS_FIELD_NUMBER- See Also:
-
IP_FIELD_NUMBER
public static final int IP_FIELD_NUMBER- See Also:
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER- See Also:
-
PROCESS_ID_FIELD_NUMBER
public static final int PROCESS_ID_FIELD_NUMBER- See Also:
-
LANG_VERSION_FIELD_NUMBER
public static final int LANG_VERSION_FIELD_NUMBER- See Also:
-
LANG_VENDOR_FIELD_NUMBER
public static final int LANG_VENDOR_FIELD_NUMBER- See Also:
-
JVM_NAME_FIELD_NUMBER
public static final int JVM_NAME_FIELD_NUMBER- See Also:
-
HEALTH_FIELD_NUMBER
public static final int HEALTH_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER- See Also:
-
BUFFER_SIZE_FIELD_NUMBER
public static final int BUFFER_SIZE_FIELD_NUMBER- See Also:
-
MAX_BUFFER_SIZE_FIELD_NUMBER
public static final int MAX_BUFFER_SIZE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getNanoTime
public long getNanoTime()int64 nano_time = 1;
- Specified by:
getNanoTime
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The nanoTime.
-
getMaxMemoryMb
public long getMaxMemoryMb()int64 max_memory_mb = 2;
- Specified by:
getMaxMemoryMb
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The maxMemoryMb.
-
getFreeMemoryMb
public long getFreeMemoryMb()int64 free_memory_mb = 3;
- Specified by:
getFreeMemoryMb
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The freeMemoryMb.
-
getUsedMemoryMb
public long getUsedMemoryMb()int64 used_memory_mb = 4;
- Specified by:
getUsedMemoryMb
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The usedMemoryMb.
-
getProcessCpuLoadPercentage
public double getProcessCpuLoadPercentage()double process_cpu_load_percentage = 5;
- Specified by:
getProcessCpuLoadPercentage
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The processCpuLoadPercentage.
-
getAvailableProcessors
public int getAvailableProcessors()int32 available_processors = 6;
- Specified by:
getAvailableProcessors
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The availableProcessors.
-
getTotalThreads
public long getTotalThreads()int64 total_threads = 7;
- Specified by:
getTotalThreads
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The totalThreads.
-
getIp
string ip = 8;
- Specified by:
getIp
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()string ip = 8;
- Specified by:
getIpBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for ip.
-
getHostname
string hostname = 9;
- Specified by:
getHostname
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()string hostname = 9;
- Specified by:
getHostnameBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for hostname.
-
getProcessId
string process_id = 10;
- Specified by:
getProcessId
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The processId.
-
getProcessIdBytes
public com.google.protobuf.ByteString getProcessIdBytes()string process_id = 10;
- Specified by:
getProcessIdBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for processId.
-
getLangVersion
string lang_version = 11;
- Specified by:
getLangVersion
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The langVersion.
-
getLangVersionBytes
public com.google.protobuf.ByteString getLangVersionBytes()string lang_version = 11;
- Specified by:
getLangVersionBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for langVersion.
-
getLangVendor
string lang_vendor = 12;
- Specified by:
getLangVendor
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The langVendor.
-
getLangVendorBytes
public com.google.protobuf.ByteString getLangVendorBytes()string lang_vendor = 12;
- Specified by:
getLangVendorBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for langVendor.
-
getJvmName
string jvm_name = 13;
- Specified by:
getJvmName
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The jvmName.
-
getJvmNameBytes
public com.google.protobuf.ByteString getJvmNameBytes()string jvm_name = 13;
- Specified by:
getJvmNameBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for jvmName.
-
getHealthValue
public int getHealthValue().HealthStatus health = 14;
- Specified by:
getHealthValue
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The enum numeric value on the wire for health.
-
getHealth
.HealthStatus health = 14;
- Specified by:
getHealth
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The health.
-
hasVersion
public boolean hasVersion()Optional fields
optional string version = 15;
- Specified by:
hasVersion
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- Whether the version field is set.
-
getVersion
Optional fields
optional string version = 15;
- Specified by:
getVersion
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Optional fields
optional string version = 15;
- Specified by:
getVersionBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for version.
-
hasType
public boolean hasType()optional string type = 16;
- Specified by:
hasType
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional string type = 16;
- Specified by:
getType
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 16;
- Specified by:
getTypeBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for type.
-
hasUuid
public boolean hasUuid()optional string uuid = 17;
- Specified by:
hasUuid
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- Whether the uuid field is set.
-
getUuid
optional string uuid = 17;
- Specified by:
getUuid
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()optional string uuid = 17;
- Specified by:
getUuidBytes
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bytes for uuid.
-
hasBufferSize
public boolean hasBufferSize()optional int32 buffer_size = 18;
- Specified by:
hasBufferSize
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- Whether the bufferSize field is set.
-
getBufferSize
public int getBufferSize()optional int32 buffer_size = 18;
- Specified by:
getBufferSize
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The bufferSize.
-
hasMaxBufferSize
public boolean hasMaxBufferSize()optional int32 max_buffer_size = 19;
- Specified by:
hasMaxBufferSize
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- Whether the maxBufferSize field is set.
-
getMaxBufferSize
public int getMaxBufferSize()optional int32 max_buffer_size = 19;
- Specified by:
getMaxBufferSize
in interfaceXTableClientStatistics.ClientStatisticsOrBuilder
- Returns:
- The maxBufferSize.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static XTableClientStatistics.ClientStatistics parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static XTableClientStatistics.ClientStatistics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static XTableClientStatistics.ClientStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static XTableClientStatistics.ClientStatistics.Builder newBuilder(XTableClientStatistics.ClientStatistics prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected XTableClientStatistics.ClientStatistics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-