Package org.kobe.xbot.Utilities.Entities
Class XTableClientStatistics.ClientStatistics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
org.kobe.xbot.Utilities.Entities.XTableClientStatistics.ClientStatistics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,XTableClientStatistics.ClientStatisticsOrBuilder
- Enclosing class:
- XTableClientStatistics.ClientStatistics
public static final class XTableClientStatistics.ClientStatistics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
implements XTableClientStatistics.ClientStatisticsOrBuilder
Message representing client statistics.Protobuf type
ClientStatistics-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int32 available_processors = 6;optional int32 buffer_size = 18;int64 free_memory_mb = 3;.HealthStatus health = 14;string hostname = 9;clearIp()string ip = 8;string jvm_name = 13;string lang_vendor = 12;string lang_version = 11;optional int32 max_buffer_size = 19;int64 max_memory_mb = 2;int64 nano_time = 1;double process_cpu_load_percentage = 5;string process_id = 10;int64 total_threads = 7;optional string type = 16;int64 used_memory_mb = 4;optional string uuid = 17;Optional fieldsintint32 available_processors = 6;intoptional int32 buffer_size = 18;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorlongint64 free_memory_mb = 3;.HealthStatus health = 14;int.HealthStatus health = 14;string hostname = 9;com.google.protobuf.ByteStringstring hostname = 9;getIp()string ip = 8;com.google.protobuf.ByteStringstring ip = 8;string jvm_name = 13;com.google.protobuf.ByteStringstring jvm_name = 13;string lang_vendor = 12;com.google.protobuf.ByteStringstring lang_vendor = 12;string lang_version = 11;com.google.protobuf.ByteStringstring lang_version = 11;intoptional int32 max_buffer_size = 19;longint64 max_memory_mb = 2;longint64 nano_time = 1;doubledouble process_cpu_load_percentage = 5;string process_id = 10;com.google.protobuf.ByteStringstring process_id = 10;longint64 total_threads = 7;getType()optional string type = 16;com.google.protobuf.ByteStringoptional string type = 16;longint64 used_memory_mb = 4;getUuid()optional string uuid = 17;com.google.protobuf.ByteStringoptional string uuid = 17;Optional fieldscom.google.protobuf.ByteStringOptional fieldsbooleanoptional int32 buffer_size = 18;booleanoptional int32 max_buffer_size = 19;booleanhasType()optional string type = 16;booleanhasUuid()optional string uuid = 17;booleanOptional fieldsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAvailableProcessors(int value) int32 available_processors = 6;setBufferSize(int value) optional int32 buffer_size = 18;setFreeMemoryMb(long value) int64 free_memory_mb = 3;.HealthStatus health = 14;setHealthValue(int value) .HealthStatus health = 14;setHostname(String value) string hostname = 9;setHostnameBytes(com.google.protobuf.ByteString value) string hostname = 9;string ip = 8;setIpBytes(com.google.protobuf.ByteString value) string ip = 8;setJvmName(String value) string jvm_name = 13;setJvmNameBytes(com.google.protobuf.ByteString value) string jvm_name = 13;setLangVendor(String value) string lang_vendor = 12;setLangVendorBytes(com.google.protobuf.ByteString value) string lang_vendor = 12;setLangVersion(String value) string lang_version = 11;setLangVersionBytes(com.google.protobuf.ByteString value) string lang_version = 11;setMaxBufferSize(int value) optional int32 max_buffer_size = 19;setMaxMemoryMb(long value) int64 max_memory_mb = 2;setNanoTime(long value) int64 nano_time = 1;setProcessCpuLoadPercentage(double value) double process_cpu_load_percentage = 5;setProcessId(String value) string process_id = 10;setProcessIdBytes(com.google.protobuf.ByteString value) string process_id = 10;setTotalThreads(long value) int64 total_threads = 7;optional string type = 16;setTypeBytes(com.google.protobuf.ByteString value) optional string type = 16;setUsedMemoryMb(long value) int64 used_memory_mb = 4;optional string uuid = 17;setUuidBytes(com.google.protobuf.ByteString value) optional string uuid = 17;setVersion(String value) Optional fieldssetVersionBytes(com.google.protobuf.ByteString value) Optional fieldsMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
-
mergeFrom
public XTableClientStatistics.ClientStatistics.Builder mergeFrom(XTableClientStatistics.ClientStatistics other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>
-
mergeFrom
public XTableClientStatistics.ClientStatistics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<XTableClientStatistics.ClientStatistics.Builder>- Throws:
IOException
-
getNanoTime
public long getNanoTime()int64 nano_time = 1;- Specified by:
getNanoTimein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The nanoTime.
-
setNanoTime
int64 nano_time = 1;- Parameters:
value- The nanoTime to set.- Returns:
- This builder for chaining.
-
clearNanoTime
int64 nano_time = 1;- Returns:
- This builder for chaining.
-
getMaxMemoryMb
public long getMaxMemoryMb()int64 max_memory_mb = 2;- Specified by:
getMaxMemoryMbin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The maxMemoryMb.
-
setMaxMemoryMb
int64 max_memory_mb = 2;- Parameters:
value- The maxMemoryMb to set.- Returns:
- This builder for chaining.
-
clearMaxMemoryMb
int64 max_memory_mb = 2;- Returns:
- This builder for chaining.
-
getFreeMemoryMb
public long getFreeMemoryMb()int64 free_memory_mb = 3;- Specified by:
getFreeMemoryMbin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The freeMemoryMb.
-
setFreeMemoryMb
int64 free_memory_mb = 3;- Parameters:
value- The freeMemoryMb to set.- Returns:
- This builder for chaining.
-
clearFreeMemoryMb
int64 free_memory_mb = 3;- Returns:
- This builder for chaining.
-
getUsedMemoryMb
public long getUsedMemoryMb()int64 used_memory_mb = 4;- Specified by:
getUsedMemoryMbin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The usedMemoryMb.
-
setUsedMemoryMb
int64 used_memory_mb = 4;- Parameters:
value- The usedMemoryMb to set.- Returns:
- This builder for chaining.
-
clearUsedMemoryMb
int64 used_memory_mb = 4;- Returns:
- This builder for chaining.
-
getProcessCpuLoadPercentage
public double getProcessCpuLoadPercentage()double process_cpu_load_percentage = 5;- Specified by:
getProcessCpuLoadPercentagein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The processCpuLoadPercentage.
-
setProcessCpuLoadPercentage
double process_cpu_load_percentage = 5;- Parameters:
value- The processCpuLoadPercentage to set.- Returns:
- This builder for chaining.
-
clearProcessCpuLoadPercentage
double process_cpu_load_percentage = 5;- Returns:
- This builder for chaining.
-
getAvailableProcessors
public int getAvailableProcessors()int32 available_processors = 6;- Specified by:
getAvailableProcessorsin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The availableProcessors.
-
setAvailableProcessors
int32 available_processors = 6;- Parameters:
value- The availableProcessors to set.- Returns:
- This builder for chaining.
-
clearAvailableProcessors
int32 available_processors = 6;- Returns:
- This builder for chaining.
-
getTotalThreads
public long getTotalThreads()int64 total_threads = 7;- Specified by:
getTotalThreadsin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The totalThreads.
-
setTotalThreads
int64 total_threads = 7;- Parameters:
value- The totalThreads to set.- Returns:
- This builder for chaining.
-
clearTotalThreads
int64 total_threads = 7;- Returns:
- This builder for chaining.
-
getIp
string ip = 8;- Specified by:
getIpin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()string ip = 8;- Specified by:
getIpBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for ip.
-
setIp
string ip = 8;- Parameters:
value- The ip to set.- Returns:
- This builder for chaining.
-
clearIp
string ip = 8;- Returns:
- This builder for chaining.
-
setIpBytes
public XTableClientStatistics.ClientStatistics.Builder setIpBytes(com.google.protobuf.ByteString value) string ip = 8;- Parameters:
value- The bytes for ip to set.- Returns:
- This builder for chaining.
-
getHostname
string hostname = 9;- Specified by:
getHostnamein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()string hostname = 9;- Specified by:
getHostnameBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
string hostname = 9;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
string hostname = 9;- Returns:
- This builder for chaining.
-
setHostnameBytes
public XTableClientStatistics.ClientStatistics.Builder setHostnameBytes(com.google.protobuf.ByteString value) string hostname = 9;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
getProcessId
string process_id = 10;- Specified by:
getProcessIdin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The processId.
-
getProcessIdBytes
public com.google.protobuf.ByteString getProcessIdBytes()string process_id = 10;- Specified by:
getProcessIdBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for processId.
-
setProcessId
string process_id = 10;- Parameters:
value- The processId to set.- Returns:
- This builder for chaining.
-
clearProcessId
string process_id = 10;- Returns:
- This builder for chaining.
-
setProcessIdBytes
public XTableClientStatistics.ClientStatistics.Builder setProcessIdBytes(com.google.protobuf.ByteString value) string process_id = 10;- Parameters:
value- The bytes for processId to set.- Returns:
- This builder for chaining.
-
getLangVersion
string lang_version = 11;- Specified by:
getLangVersionin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The langVersion.
-
getLangVersionBytes
public com.google.protobuf.ByteString getLangVersionBytes()string lang_version = 11;- Specified by:
getLangVersionBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for langVersion.
-
setLangVersion
string lang_version = 11;- Parameters:
value- The langVersion to set.- Returns:
- This builder for chaining.
-
clearLangVersion
string lang_version = 11;- Returns:
- This builder for chaining.
-
setLangVersionBytes
public XTableClientStatistics.ClientStatistics.Builder setLangVersionBytes(com.google.protobuf.ByteString value) string lang_version = 11;- Parameters:
value- The bytes for langVersion to set.- Returns:
- This builder for chaining.
-
getLangVendor
string lang_vendor = 12;- Specified by:
getLangVendorin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The langVendor.
-
getLangVendorBytes
public com.google.protobuf.ByteString getLangVendorBytes()string lang_vendor = 12;- Specified by:
getLangVendorBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for langVendor.
-
setLangVendor
string lang_vendor = 12;- Parameters:
value- The langVendor to set.- Returns:
- This builder for chaining.
-
clearLangVendor
string lang_vendor = 12;- Returns:
- This builder for chaining.
-
setLangVendorBytes
public XTableClientStatistics.ClientStatistics.Builder setLangVendorBytes(com.google.protobuf.ByteString value) string lang_vendor = 12;- Parameters:
value- The bytes for langVendor to set.- Returns:
- This builder for chaining.
-
getJvmName
string jvm_name = 13;- Specified by:
getJvmNamein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The jvmName.
-
getJvmNameBytes
public com.google.protobuf.ByteString getJvmNameBytes()string jvm_name = 13;- Specified by:
getJvmNameBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for jvmName.
-
setJvmName
string jvm_name = 13;- Parameters:
value- The jvmName to set.- Returns:
- This builder for chaining.
-
clearJvmName
string jvm_name = 13;- Returns:
- This builder for chaining.
-
setJvmNameBytes
public XTableClientStatistics.ClientStatistics.Builder setJvmNameBytes(com.google.protobuf.ByteString value) string jvm_name = 13;- Parameters:
value- The bytes for jvmName to set.- Returns:
- This builder for chaining.
-
getHealthValue
public int getHealthValue().HealthStatus health = 14;- Specified by:
getHealthValuein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The enum numeric value on the wire for health.
-
setHealthValue
.HealthStatus health = 14;- Parameters:
value- The enum numeric value on the wire for health to set.- Returns:
- This builder for chaining.
-
getHealth
.HealthStatus health = 14;- Specified by:
getHealthin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The health.
-
setHealth
public XTableClientStatistics.ClientStatistics.Builder setHealth(XTableClientStatistics.HealthStatus value) .HealthStatus health = 14;- Parameters:
value- The health to set.- Returns:
- This builder for chaining.
-
clearHealth
.HealthStatus health = 14;- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()Optional fields
optional string version = 15;- Specified by:
hasVersionin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Optional fields
optional string version = 15;- Specified by:
getVersionin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Optional fields
optional string version = 15;- Specified by:
getVersionBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for version.
-
setVersion
Optional fields
optional string version = 15;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Optional fields
optional string version = 15;- Returns:
- This builder for chaining.
-
setVersionBytes
public XTableClientStatistics.ClientStatistics.Builder setVersionBytes(com.google.protobuf.ByteString value) Optional fields
optional string version = 15;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional string type = 16;- Specified by:
hasTypein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 16;- Specified by:
getTypein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 16;- Specified by:
getTypeBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 16;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 16;- Returns:
- This builder for chaining.
-
setTypeBytes
public XTableClientStatistics.ClientStatistics.Builder setTypeBytes(com.google.protobuf.ByteString value) optional string type = 16;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasUuid
public boolean hasUuid()optional string uuid = 17;- Specified by:
hasUuidin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- Whether the uuid field is set.
-
getUuid
optional string uuid = 17;- Specified by:
getUuidin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()optional string uuid = 17;- Specified by:
getUuidBytesin interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bytes for uuid.
-
setUuid
optional string uuid = 17;- Parameters:
value- The uuid to set.- Returns:
- This builder for chaining.
-
clearUuid
optional string uuid = 17;- Returns:
- This builder for chaining.
-
setUuidBytes
public XTableClientStatistics.ClientStatistics.Builder setUuidBytes(com.google.protobuf.ByteString value) optional string uuid = 17;- Parameters:
value- The bytes for uuid to set.- Returns:
- This builder for chaining.
-
hasBufferSize
public boolean hasBufferSize()optional int32 buffer_size = 18;- Specified by:
hasBufferSizein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- Whether the bufferSize field is set.
-
getBufferSize
public int getBufferSize()optional int32 buffer_size = 18;- Specified by:
getBufferSizein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The bufferSize.
-
setBufferSize
optional int32 buffer_size = 18;- Parameters:
value- The bufferSize to set.- Returns:
- This builder for chaining.
-
clearBufferSize
optional int32 buffer_size = 18;- Returns:
- This builder for chaining.
-
hasMaxBufferSize
public boolean hasMaxBufferSize()optional int32 max_buffer_size = 19;- Specified by:
hasMaxBufferSizein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- Whether the maxBufferSize field is set.
-
getMaxBufferSize
public int getMaxBufferSize()optional int32 max_buffer_size = 19;- Specified by:
getMaxBufferSizein interfaceXTableClientStatistics.ClientStatisticsOrBuilder- Returns:
- The maxBufferSize.
-
setMaxBufferSize
optional int32 max_buffer_size = 19;- Parameters:
value- The maxBufferSize to set.- Returns:
- This builder for chaining.
-
clearMaxBufferSize
optional int32 max_buffer_size = 19;- Returns:
- This builder for chaining.
-