
org.yamcs.protobuf.SystemInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-api Show documentation
Show all versions of yamcs-api Show documentation
Used by external clients to communicate with Yamcs
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yamcs/protobuf/server/server_service.proto
package org.yamcs.protobuf;
/**
* Protobuf type {@code yamcs.protobuf.server.SystemInfo}
*/
public final class SystemInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yamcs.protobuf.server.SystemInfo)
SystemInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SystemInfo.newBuilder() to construct.
private SystemInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SystemInfo() {
yamcsVersion_ = "";
revision_ = "";
serverId_ = "";
jvm_ = "";
workingDirectory_ = "";
configDirectory_ = "";
dataDirectory_ = "";
cacheDirectory_ = "";
os_ = "";
arch_ = "";
rootDirectories_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SystemInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SystemInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
yamcsVersion_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
revision_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
serverId_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000008;
uptime_ = input.readInt64();
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
jvm_ = bs;
break;
}
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
workingDirectory_ = bs;
break;
}
case 66: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000040;
configDirectory_ = bs;
break;
}
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000080;
dataDirectory_ = bs;
break;
}
case 82: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000100;
cacheDirectory_ = bs;
break;
}
case 90: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000200;
os_ = bs;
break;
}
case 98: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000400;
arch_ = bs;
break;
}
case 104: {
bitField0_ |= 0x00000800;
availableProcessors_ = input.readInt32();
break;
}
case 113: {
bitField0_ |= 0x00001000;
loadAverage_ = input.readDouble();
break;
}
case 120: {
bitField0_ |= 0x00002000;
heapMemory_ = input.readInt64();
break;
}
case 128: {
bitField0_ |= 0x00004000;
usedHeapMemory_ = input.readInt64();
break;
}
case 136: {
bitField0_ |= 0x00008000;
maxHeapMemory_ = input.readInt64();
break;
}
case 144: {
bitField0_ |= 0x00010000;
nonHeapMemory_ = input.readInt64();
break;
}
case 152: {
bitField0_ |= 0x00020000;
usedNonHeapMemory_ = input.readInt64();
break;
}
case 160: {
bitField0_ |= 0x00040000;
maxNonHeapMemory_ = input.readInt64();
break;
}
case 168: {
bitField0_ |= 0x00080000;
jvmThreadCount_ = input.readInt64();
break;
}
case 178: {
if (!((mutable_bitField0_ & 0x00100000) != 0)) {
rootDirectories_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00100000;
}
rootDirectories_.add(
input.readMessage(org.yamcs.protobuf.RootDirectory.PARSER, extensionRegistry));
break;
}
case 186: {
org.yamcs.protobuf.ProcessInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00100000) != 0)) {
subBuilder = process_.toBuilder();
}
process_ = input.readMessage(org.yamcs.protobuf.ProcessInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(process_);
process_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00100000;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00100000) != 0)) {
rootDirectories_ = java.util.Collections.unmodifiableList(rootDirectories_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_SystemInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.SystemInfo.class, org.yamcs.protobuf.SystemInfo.Builder.class);
}
private int bitField0_;
public static final int YAMCSVERSION_FIELD_NUMBER = 1;
private volatile java.lang.Object yamcsVersion_;
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return Whether the yamcsVersion field is set.
*/
@java.lang.Override
public boolean hasYamcsVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return The yamcsVersion.
*/
@java.lang.Override
public java.lang.String getYamcsVersion() {
java.lang.Object ref = yamcsVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
yamcsVersion_ = s;
}
return s;
}
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return The bytes for yamcsVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getYamcsVersionBytes() {
java.lang.Object ref = yamcsVersion_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yamcsVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REVISION_FIELD_NUMBER = 2;
private volatile java.lang.Object revision_;
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return Whether the revision field is set.
*/
@java.lang.Override
public boolean hasRevision() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return The revision.
*/
@java.lang.Override
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
revision_ = s;
}
return s;
}
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return The bytes for revision.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SERVERID_FIELD_NUMBER = 3;
private volatile java.lang.Object serverId_;
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return Whether the serverId field is set.
*/
@java.lang.Override
public boolean hasServerId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return The serverId.
*/
@java.lang.Override
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
serverId_ = s;
}
return s;
}
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return The bytes for serverId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UPTIME_FIELD_NUMBER = 5;
private long uptime_;
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @return Whether the uptime field is set.
*/
@java.lang.Override
public boolean hasUptime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @return The uptime.
*/
@java.lang.Override
public long getUptime() {
return uptime_;
}
public static final int JVM_FIELD_NUMBER = 6;
private volatile java.lang.Object jvm_;
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return Whether the jvm field is set.
*/
@java.lang.Override
public boolean hasJvm() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return The jvm.
*/
@java.lang.Override
public java.lang.String getJvm() {
java.lang.Object ref = jvm_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jvm_ = s;
}
return s;
}
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return The bytes for jvm.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJvmBytes() {
java.lang.Object ref = jvm_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jvm_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int WORKINGDIRECTORY_FIELD_NUMBER = 7;
private volatile java.lang.Object workingDirectory_;
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return Whether the workingDirectory field is set.
*/
@java.lang.Override
public boolean hasWorkingDirectory() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return The workingDirectory.
*/
@java.lang.Override
public java.lang.String getWorkingDirectory() {
java.lang.Object ref = workingDirectory_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
workingDirectory_ = s;
}
return s;
}
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return The bytes for workingDirectory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWorkingDirectoryBytes() {
java.lang.Object ref = workingDirectory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workingDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONFIGDIRECTORY_FIELD_NUMBER = 8;
private volatile java.lang.Object configDirectory_;
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return Whether the configDirectory field is set.
*/
@java.lang.Override
public boolean hasConfigDirectory() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return The configDirectory.
*/
@java.lang.Override
public java.lang.String getConfigDirectory() {
java.lang.Object ref = configDirectory_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
configDirectory_ = s;
}
return s;
}
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return The bytes for configDirectory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConfigDirectoryBytes() {
java.lang.Object ref = configDirectory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATADIRECTORY_FIELD_NUMBER = 9;
private volatile java.lang.Object dataDirectory_;
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return Whether the dataDirectory field is set.
*/
@java.lang.Override
public boolean hasDataDirectory() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return The dataDirectory.
*/
@java.lang.Override
public java.lang.String getDataDirectory() {
java.lang.Object ref = dataDirectory_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dataDirectory_ = s;
}
return s;
}
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return The bytes for dataDirectory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataDirectoryBytes() {
java.lang.Object ref = dataDirectory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CACHEDIRECTORY_FIELD_NUMBER = 10;
private volatile java.lang.Object cacheDirectory_;
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return Whether the cacheDirectory field is set.
*/
@java.lang.Override
public boolean hasCacheDirectory() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return The cacheDirectory.
*/
@java.lang.Override
public java.lang.String getCacheDirectory() {
java.lang.Object ref = cacheDirectory_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cacheDirectory_ = s;
}
return s;
}
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return The bytes for cacheDirectory.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCacheDirectoryBytes() {
java.lang.Object ref = cacheDirectory_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cacheDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OS_FIELD_NUMBER = 11;
private volatile java.lang.Object os_;
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return Whether the os field is set.
*/
@java.lang.Override
public boolean hasOs() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return The os.
*/
@java.lang.Override
public java.lang.String getOs() {
java.lang.Object ref = os_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
os_ = s;
}
return s;
}
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return The bytes for os.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsBytes() {
java.lang.Object ref = os_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
os_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ARCH_FIELD_NUMBER = 12;
private volatile java.lang.Object arch_;
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return Whether the arch field is set.
*/
@java.lang.Override
public boolean hasArch() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return The arch.
*/
@java.lang.Override
public java.lang.String getArch() {
java.lang.Object ref = arch_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arch_ = s;
}
return s;
}
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return The bytes for arch.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArchBytes() {
java.lang.Object ref = arch_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arch_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AVAILABLEPROCESSORS_FIELD_NUMBER = 13;
private int availableProcessors_;
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @return Whether the availableProcessors field is set.
*/
@java.lang.Override
public boolean hasAvailableProcessors() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @return The availableProcessors.
*/
@java.lang.Override
public int getAvailableProcessors() {
return availableProcessors_;
}
public static final int LOADAVERAGE_FIELD_NUMBER = 14;
private double loadAverage_;
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @return Whether the loadAverage field is set.
*/
@java.lang.Override
public boolean hasLoadAverage() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @return The loadAverage.
*/
@java.lang.Override
public double getLoadAverage() {
return loadAverage_;
}
public static final int HEAPMEMORY_FIELD_NUMBER = 15;
private long heapMemory_;
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @return Whether the heapMemory field is set.
*/
@java.lang.Override
public boolean hasHeapMemory() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @return The heapMemory.
*/
@java.lang.Override
public long getHeapMemory() {
return heapMemory_;
}
public static final int USEDHEAPMEMORY_FIELD_NUMBER = 16;
private long usedHeapMemory_;
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @return Whether the usedHeapMemory field is set.
*/
@java.lang.Override
public boolean hasUsedHeapMemory() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @return The usedHeapMemory.
*/
@java.lang.Override
public long getUsedHeapMemory() {
return usedHeapMemory_;
}
public static final int MAXHEAPMEMORY_FIELD_NUMBER = 17;
private long maxHeapMemory_;
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @return Whether the maxHeapMemory field is set.
*/
@java.lang.Override
public boolean hasMaxHeapMemory() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @return The maxHeapMemory.
*/
@java.lang.Override
public long getMaxHeapMemory() {
return maxHeapMemory_;
}
public static final int NONHEAPMEMORY_FIELD_NUMBER = 18;
private long nonHeapMemory_;
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @return Whether the nonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasNonHeapMemory() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @return The nonHeapMemory.
*/
@java.lang.Override
public long getNonHeapMemory() {
return nonHeapMemory_;
}
public static final int USEDNONHEAPMEMORY_FIELD_NUMBER = 19;
private long usedNonHeapMemory_;
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @return Whether the usedNonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasUsedNonHeapMemory() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @return The usedNonHeapMemory.
*/
@java.lang.Override
public long getUsedNonHeapMemory() {
return usedNonHeapMemory_;
}
public static final int MAXNONHEAPMEMORY_FIELD_NUMBER = 20;
private long maxNonHeapMemory_;
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @return Whether the maxNonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasMaxNonHeapMemory() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @return The maxNonHeapMemory.
*/
@java.lang.Override
public long getMaxNonHeapMemory() {
return maxNonHeapMemory_;
}
public static final int JVMTHREADCOUNT_FIELD_NUMBER = 21;
private long jvmThreadCount_;
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @return Whether the jvmThreadCount field is set.
*/
@java.lang.Override
public boolean hasJvmThreadCount() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @return The jvmThreadCount.
*/
@java.lang.Override
public long getJvmThreadCount() {
return jvmThreadCount_;
}
public static final int ROOTDIRECTORIES_FIELD_NUMBER = 22;
private java.util.List rootDirectories_;
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
@java.lang.Override
public java.util.List getRootDirectoriesList() {
return rootDirectories_;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
@java.lang.Override
public java.util.List extends org.yamcs.protobuf.RootDirectoryOrBuilder>
getRootDirectoriesOrBuilderList() {
return rootDirectories_;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
@java.lang.Override
public int getRootDirectoriesCount() {
return rootDirectories_.size();
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
@java.lang.Override
public org.yamcs.protobuf.RootDirectory getRootDirectories(int index) {
return rootDirectories_.get(index);
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
@java.lang.Override
public org.yamcs.protobuf.RootDirectoryOrBuilder getRootDirectoriesOrBuilder(
int index) {
return rootDirectories_.get(index);
}
public static final int PROCESS_FIELD_NUMBER = 23;
private org.yamcs.protobuf.ProcessInfo process_;
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
* @return Whether the process field is set.
*/
@java.lang.Override
public boolean hasProcess() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
* @return The process.
*/
@java.lang.Override
public org.yamcs.protobuf.ProcessInfo getProcess() {
return process_ == null ? org.yamcs.protobuf.ProcessInfo.getDefaultInstance() : process_;
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
@java.lang.Override
public org.yamcs.protobuf.ProcessInfoOrBuilder getProcessOrBuilder() {
return process_ == null ? org.yamcs.protobuf.ProcessInfo.getDefaultInstance() : process_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, yamcsVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, revision_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serverId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, uptime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, jvm_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, workingDirectory_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, configDirectory_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, dataDirectory_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, cacheDirectory_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, os_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, arch_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt32(13, availableProcessors_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeDouble(14, loadAverage_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt64(15, heapMemory_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeInt64(16, usedHeapMemory_);
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeInt64(17, maxHeapMemory_);
}
if (((bitField0_ & 0x00010000) != 0)) {
output.writeInt64(18, nonHeapMemory_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeInt64(19, usedNonHeapMemory_);
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeInt64(20, maxNonHeapMemory_);
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeInt64(21, jvmThreadCount_);
}
for (int i = 0; i < rootDirectories_.size(); i++) {
output.writeMessage(22, rootDirectories_.get(i));
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeMessage(23, getProcess());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, yamcsVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revision_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serverId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, uptime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, jvm_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, workingDirectory_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, configDirectory_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, dataDirectory_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, cacheDirectory_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, os_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, arch_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, availableProcessors_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(14, loadAverage_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(15, heapMemory_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(16, usedHeapMemory_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(17, maxHeapMemory_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(18, nonHeapMemory_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(19, usedNonHeapMemory_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(20, maxNonHeapMemory_);
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(21, jvmThreadCount_);
}
for (int i = 0; i < rootDirectories_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, rootDirectories_.get(i));
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getProcess());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.yamcs.protobuf.SystemInfo)) {
return super.equals(obj);
}
org.yamcs.protobuf.SystemInfo other = (org.yamcs.protobuf.SystemInfo) obj;
if (hasYamcsVersion() != other.hasYamcsVersion()) return false;
if (hasYamcsVersion()) {
if (!getYamcsVersion()
.equals(other.getYamcsVersion())) return false;
}
if (hasRevision() != other.hasRevision()) return false;
if (hasRevision()) {
if (!getRevision()
.equals(other.getRevision())) return false;
}
if (hasServerId() != other.hasServerId()) return false;
if (hasServerId()) {
if (!getServerId()
.equals(other.getServerId())) return false;
}
if (hasUptime() != other.hasUptime()) return false;
if (hasUptime()) {
if (getUptime()
!= other.getUptime()) return false;
}
if (hasJvm() != other.hasJvm()) return false;
if (hasJvm()) {
if (!getJvm()
.equals(other.getJvm())) return false;
}
if (hasWorkingDirectory() != other.hasWorkingDirectory()) return false;
if (hasWorkingDirectory()) {
if (!getWorkingDirectory()
.equals(other.getWorkingDirectory())) return false;
}
if (hasConfigDirectory() != other.hasConfigDirectory()) return false;
if (hasConfigDirectory()) {
if (!getConfigDirectory()
.equals(other.getConfigDirectory())) return false;
}
if (hasDataDirectory() != other.hasDataDirectory()) return false;
if (hasDataDirectory()) {
if (!getDataDirectory()
.equals(other.getDataDirectory())) return false;
}
if (hasCacheDirectory() != other.hasCacheDirectory()) return false;
if (hasCacheDirectory()) {
if (!getCacheDirectory()
.equals(other.getCacheDirectory())) return false;
}
if (hasOs() != other.hasOs()) return false;
if (hasOs()) {
if (!getOs()
.equals(other.getOs())) return false;
}
if (hasArch() != other.hasArch()) return false;
if (hasArch()) {
if (!getArch()
.equals(other.getArch())) return false;
}
if (hasAvailableProcessors() != other.hasAvailableProcessors()) return false;
if (hasAvailableProcessors()) {
if (getAvailableProcessors()
!= other.getAvailableProcessors()) return false;
}
if (hasLoadAverage() != other.hasLoadAverage()) return false;
if (hasLoadAverage()) {
if (java.lang.Double.doubleToLongBits(getLoadAverage())
!= java.lang.Double.doubleToLongBits(
other.getLoadAverage())) return false;
}
if (hasHeapMemory() != other.hasHeapMemory()) return false;
if (hasHeapMemory()) {
if (getHeapMemory()
!= other.getHeapMemory()) return false;
}
if (hasUsedHeapMemory() != other.hasUsedHeapMemory()) return false;
if (hasUsedHeapMemory()) {
if (getUsedHeapMemory()
!= other.getUsedHeapMemory()) return false;
}
if (hasMaxHeapMemory() != other.hasMaxHeapMemory()) return false;
if (hasMaxHeapMemory()) {
if (getMaxHeapMemory()
!= other.getMaxHeapMemory()) return false;
}
if (hasNonHeapMemory() != other.hasNonHeapMemory()) return false;
if (hasNonHeapMemory()) {
if (getNonHeapMemory()
!= other.getNonHeapMemory()) return false;
}
if (hasUsedNonHeapMemory() != other.hasUsedNonHeapMemory()) return false;
if (hasUsedNonHeapMemory()) {
if (getUsedNonHeapMemory()
!= other.getUsedNonHeapMemory()) return false;
}
if (hasMaxNonHeapMemory() != other.hasMaxNonHeapMemory()) return false;
if (hasMaxNonHeapMemory()) {
if (getMaxNonHeapMemory()
!= other.getMaxNonHeapMemory()) return false;
}
if (hasJvmThreadCount() != other.hasJvmThreadCount()) return false;
if (hasJvmThreadCount()) {
if (getJvmThreadCount()
!= other.getJvmThreadCount()) return false;
}
if (!getRootDirectoriesList()
.equals(other.getRootDirectoriesList())) return false;
if (hasProcess() != other.hasProcess()) return false;
if (hasProcess()) {
if (!getProcess()
.equals(other.getProcess())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasYamcsVersion()) {
hash = (37 * hash) + YAMCSVERSION_FIELD_NUMBER;
hash = (53 * hash) + getYamcsVersion().hashCode();
}
if (hasRevision()) {
hash = (37 * hash) + REVISION_FIELD_NUMBER;
hash = (53 * hash) + getRevision().hashCode();
}
if (hasServerId()) {
hash = (37 * hash) + SERVERID_FIELD_NUMBER;
hash = (53 * hash) + getServerId().hashCode();
}
if (hasUptime()) {
hash = (37 * hash) + UPTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUptime());
}
if (hasJvm()) {
hash = (37 * hash) + JVM_FIELD_NUMBER;
hash = (53 * hash) + getJvm().hashCode();
}
if (hasWorkingDirectory()) {
hash = (37 * hash) + WORKINGDIRECTORY_FIELD_NUMBER;
hash = (53 * hash) + getWorkingDirectory().hashCode();
}
if (hasConfigDirectory()) {
hash = (37 * hash) + CONFIGDIRECTORY_FIELD_NUMBER;
hash = (53 * hash) + getConfigDirectory().hashCode();
}
if (hasDataDirectory()) {
hash = (37 * hash) + DATADIRECTORY_FIELD_NUMBER;
hash = (53 * hash) + getDataDirectory().hashCode();
}
if (hasCacheDirectory()) {
hash = (37 * hash) + CACHEDIRECTORY_FIELD_NUMBER;
hash = (53 * hash) + getCacheDirectory().hashCode();
}
if (hasOs()) {
hash = (37 * hash) + OS_FIELD_NUMBER;
hash = (53 * hash) + getOs().hashCode();
}
if (hasArch()) {
hash = (37 * hash) + ARCH_FIELD_NUMBER;
hash = (53 * hash) + getArch().hashCode();
}
if (hasAvailableProcessors()) {
hash = (37 * hash) + AVAILABLEPROCESSORS_FIELD_NUMBER;
hash = (53 * hash) + getAvailableProcessors();
}
if (hasLoadAverage()) {
hash = (37 * hash) + LOADAVERAGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getLoadAverage()));
}
if (hasHeapMemory()) {
hash = (37 * hash) + HEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHeapMemory());
}
if (hasUsedHeapMemory()) {
hash = (37 * hash) + USEDHEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUsedHeapMemory());
}
if (hasMaxHeapMemory()) {
hash = (37 * hash) + MAXHEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxHeapMemory());
}
if (hasNonHeapMemory()) {
hash = (37 * hash) + NONHEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNonHeapMemory());
}
if (hasUsedNonHeapMemory()) {
hash = (37 * hash) + USEDNONHEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUsedNonHeapMemory());
}
if (hasMaxNonHeapMemory()) {
hash = (37 * hash) + MAXNONHEAPMEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMaxNonHeapMemory());
}
if (hasJvmThreadCount()) {
hash = (37 * hash) + JVMTHREADCOUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJvmThreadCount());
}
if (getRootDirectoriesCount() > 0) {
hash = (37 * hash) + ROOTDIRECTORIES_FIELD_NUMBER;
hash = (53 * hash) + getRootDirectoriesList().hashCode();
}
if (hasProcess()) {
hash = (37 * hash) + PROCESS_FIELD_NUMBER;
hash = (53 * hash) + getProcess().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.SystemInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.SystemInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.yamcs.protobuf.SystemInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.yamcs.protobuf.SystemInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yamcs.protobuf.server.SystemInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yamcs.protobuf.server.SystemInfo)
org.yamcs.protobuf.SystemInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_SystemInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.yamcs.protobuf.SystemInfo.class, org.yamcs.protobuf.SystemInfo.Builder.class);
}
// Construct using org.yamcs.protobuf.SystemInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRootDirectoriesFieldBuilder();
getProcessFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
yamcsVersion_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
revision_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
serverId_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
uptime_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
jvm_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
workingDirectory_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
configDirectory_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
dataDirectory_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
cacheDirectory_ = "";
bitField0_ = (bitField0_ & ~0x00000100);
os_ = "";
bitField0_ = (bitField0_ & ~0x00000200);
arch_ = "";
bitField0_ = (bitField0_ & ~0x00000400);
availableProcessors_ = 0;
bitField0_ = (bitField0_ & ~0x00000800);
loadAverage_ = 0D;
bitField0_ = (bitField0_ & ~0x00001000);
heapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00002000);
usedHeapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00004000);
maxHeapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00008000);
nonHeapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00010000);
usedNonHeapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00020000);
maxNonHeapMemory_ = 0L;
bitField0_ = (bitField0_ & ~0x00040000);
jvmThreadCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00080000);
if (rootDirectoriesBuilder_ == null) {
rootDirectories_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00100000);
} else {
rootDirectoriesBuilder_.clear();
}
if (processBuilder_ == null) {
process_ = null;
} else {
processBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00200000);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.yamcs.protobuf.ServerServiceProto.internal_static_yamcs_protobuf_server_SystemInfo_descriptor;
}
@java.lang.Override
public org.yamcs.protobuf.SystemInfo getDefaultInstanceForType() {
return org.yamcs.protobuf.SystemInfo.getDefaultInstance();
}
@java.lang.Override
public org.yamcs.protobuf.SystemInfo build() {
org.yamcs.protobuf.SystemInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.yamcs.protobuf.SystemInfo buildPartial() {
org.yamcs.protobuf.SystemInfo result = new org.yamcs.protobuf.SystemInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.yamcsVersion_ = yamcsVersion_;
if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.revision_ = revision_;
if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.serverId_ = serverId_;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.uptime_ = uptime_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.jvm_ = jvm_;
if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.workingDirectory_ = workingDirectory_;
if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.configDirectory_ = configDirectory_;
if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.dataDirectory_ = dataDirectory_;
if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.cacheDirectory_ = cacheDirectory_;
if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.os_ = os_;
if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.arch_ = arch_;
if (((from_bitField0_ & 0x00000800) != 0)) {
result.availableProcessors_ = availableProcessors_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.loadAverage_ = loadAverage_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.heapMemory_ = heapMemory_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.usedHeapMemory_ = usedHeapMemory_;
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.maxHeapMemory_ = maxHeapMemory_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.nonHeapMemory_ = nonHeapMemory_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.usedNonHeapMemory_ = usedNonHeapMemory_;
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.maxNonHeapMemory_ = maxNonHeapMemory_;
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.jvmThreadCount_ = jvmThreadCount_;
to_bitField0_ |= 0x00080000;
}
if (rootDirectoriesBuilder_ == null) {
if (((bitField0_ & 0x00100000) != 0)) {
rootDirectories_ = java.util.Collections.unmodifiableList(rootDirectories_);
bitField0_ = (bitField0_ & ~0x00100000);
}
result.rootDirectories_ = rootDirectories_;
} else {
result.rootDirectories_ = rootDirectoriesBuilder_.build();
}
if (((from_bitField0_ & 0x00200000) != 0)) {
if (processBuilder_ == null) {
result.process_ = process_;
} else {
result.process_ = processBuilder_.build();
}
to_bitField0_ |= 0x00100000;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.yamcs.protobuf.SystemInfo) {
return mergeFrom((org.yamcs.protobuf.SystemInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.yamcs.protobuf.SystemInfo other) {
if (other == org.yamcs.protobuf.SystemInfo.getDefaultInstance()) return this;
if (other.hasYamcsVersion()) {
bitField0_ |= 0x00000001;
yamcsVersion_ = other.yamcsVersion_;
onChanged();
}
if (other.hasRevision()) {
bitField0_ |= 0x00000002;
revision_ = other.revision_;
onChanged();
}
if (other.hasServerId()) {
bitField0_ |= 0x00000004;
serverId_ = other.serverId_;
onChanged();
}
if (other.hasUptime()) {
setUptime(other.getUptime());
}
if (other.hasJvm()) {
bitField0_ |= 0x00000010;
jvm_ = other.jvm_;
onChanged();
}
if (other.hasWorkingDirectory()) {
bitField0_ |= 0x00000020;
workingDirectory_ = other.workingDirectory_;
onChanged();
}
if (other.hasConfigDirectory()) {
bitField0_ |= 0x00000040;
configDirectory_ = other.configDirectory_;
onChanged();
}
if (other.hasDataDirectory()) {
bitField0_ |= 0x00000080;
dataDirectory_ = other.dataDirectory_;
onChanged();
}
if (other.hasCacheDirectory()) {
bitField0_ |= 0x00000100;
cacheDirectory_ = other.cacheDirectory_;
onChanged();
}
if (other.hasOs()) {
bitField0_ |= 0x00000200;
os_ = other.os_;
onChanged();
}
if (other.hasArch()) {
bitField0_ |= 0x00000400;
arch_ = other.arch_;
onChanged();
}
if (other.hasAvailableProcessors()) {
setAvailableProcessors(other.getAvailableProcessors());
}
if (other.hasLoadAverage()) {
setLoadAverage(other.getLoadAverage());
}
if (other.hasHeapMemory()) {
setHeapMemory(other.getHeapMemory());
}
if (other.hasUsedHeapMemory()) {
setUsedHeapMemory(other.getUsedHeapMemory());
}
if (other.hasMaxHeapMemory()) {
setMaxHeapMemory(other.getMaxHeapMemory());
}
if (other.hasNonHeapMemory()) {
setNonHeapMemory(other.getNonHeapMemory());
}
if (other.hasUsedNonHeapMemory()) {
setUsedNonHeapMemory(other.getUsedNonHeapMemory());
}
if (other.hasMaxNonHeapMemory()) {
setMaxNonHeapMemory(other.getMaxNonHeapMemory());
}
if (other.hasJvmThreadCount()) {
setJvmThreadCount(other.getJvmThreadCount());
}
if (rootDirectoriesBuilder_ == null) {
if (!other.rootDirectories_.isEmpty()) {
if (rootDirectories_.isEmpty()) {
rootDirectories_ = other.rootDirectories_;
bitField0_ = (bitField0_ & ~0x00100000);
} else {
ensureRootDirectoriesIsMutable();
rootDirectories_.addAll(other.rootDirectories_);
}
onChanged();
}
} else {
if (!other.rootDirectories_.isEmpty()) {
if (rootDirectoriesBuilder_.isEmpty()) {
rootDirectoriesBuilder_.dispose();
rootDirectoriesBuilder_ = null;
rootDirectories_ = other.rootDirectories_;
bitField0_ = (bitField0_ & ~0x00100000);
rootDirectoriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRootDirectoriesFieldBuilder() : null;
} else {
rootDirectoriesBuilder_.addAllMessages(other.rootDirectories_);
}
}
}
if (other.hasProcess()) {
mergeProcess(other.getProcess());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.yamcs.protobuf.SystemInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.yamcs.protobuf.SystemInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object yamcsVersion_ = "";
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return Whether the yamcsVersion field is set.
*/
public boolean hasYamcsVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return The yamcsVersion.
*/
public java.lang.String getYamcsVersion() {
java.lang.Object ref = yamcsVersion_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
yamcsVersion_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return The bytes for yamcsVersion.
*/
public com.google.protobuf.ByteString
getYamcsVersionBytes() {
java.lang.Object ref = yamcsVersion_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
yamcsVersion_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @param value The yamcsVersion to set.
* @return This builder for chaining.
*/
public Builder setYamcsVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
yamcsVersion_ = value;
onChanged();
return this;
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @return This builder for chaining.
*/
public Builder clearYamcsVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
yamcsVersion_ = getDefaultInstance().getYamcsVersion();
onChanged();
return this;
}
/**
*
* Yamcs version number.
*
*
* optional string yamcsVersion = 1;
* @param value The bytes for yamcsVersion to set.
* @return This builder for chaining.
*/
public Builder setYamcsVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
yamcsVersion_ = value;
onChanged();
return this;
}
private java.lang.Object revision_ = "";
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return Whether the revision field is set.
*/
public boolean hasRevision() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return The revision.
*/
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
revision_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return The bytes for revision.
*/
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @param value The revision to set.
* @return This builder for chaining.
*/
public Builder setRevision(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
revision_ = value;
onChanged();
return this;
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @return This builder for chaining.
*/
public Builder clearRevision() {
bitField0_ = (bitField0_ & ~0x00000002);
revision_ = getDefaultInstance().getRevision();
onChanged();
return this;
}
/**
*
* Git revision number at build time.
*
*
* optional string revision = 2;
* @param value The bytes for revision to set.
* @return This builder for chaining.
*/
public Builder setRevisionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
revision_ = value;
onChanged();
return this;
}
private java.lang.Object serverId_ = "";
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return Whether the serverId field is set.
*/
public boolean hasServerId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return The serverId.
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
serverId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return The bytes for serverId.
*/
public com.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @param value The serverId to set.
* @return This builder for chaining.
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
serverId_ = value;
onChanged();
return this;
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @return This builder for chaining.
*/
public Builder clearServerId() {
bitField0_ = (bitField0_ & ~0x00000004);
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
*
* Server identifier, as used in system parameters and distributed setups.
*
*
* optional string serverId = 3;
* @param value The bytes for serverId to set.
* @return This builder for chaining.
*/
public Builder setServerIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
serverId_ = value;
onChanged();
return this;
}
private long uptime_ ;
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @return Whether the uptime field is set.
*/
@java.lang.Override
public boolean hasUptime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @return The uptime.
*/
@java.lang.Override
public long getUptime() {
return uptime_;
}
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @param value The uptime to set.
* @return This builder for chaining.
*/
public Builder setUptime(long value) {
bitField0_ |= 0x00000008;
uptime_ = value;
onChanged();
return this;
}
/**
*
* Uptime of Yamcs in milliseconds
*
*
* optional int64 uptime = 5;
* @return This builder for chaining.
*/
public Builder clearUptime() {
bitField0_ = (bitField0_ & ~0x00000008);
uptime_ = 0L;
onChanged();
return this;
}
private java.lang.Object jvm_ = "";
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return Whether the jvm field is set.
*/
public boolean hasJvm() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return The jvm.
*/
public java.lang.String getJvm() {
java.lang.Object ref = jvm_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
jvm_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return The bytes for jvm.
*/
public com.google.protobuf.ByteString
getJvmBytes() {
java.lang.Object ref = jvm_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jvm_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @param value The jvm to set.
* @return This builder for chaining.
*/
public Builder setJvm(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
jvm_ = value;
onChanged();
return this;
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @return This builder for chaining.
*/
public Builder clearJvm() {
bitField0_ = (bitField0_ & ~0x00000010);
jvm_ = getDefaultInstance().getJvm();
onChanged();
return this;
}
/**
*
* Java virtual machine implementation name, version and vendor
*
*
* optional string jvm = 6;
* @param value The bytes for jvm to set.
* @return This builder for chaining.
*/
public Builder setJvmBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
jvm_ = value;
onChanged();
return this;
}
private java.lang.Object workingDirectory_ = "";
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return Whether the workingDirectory field is set.
*/
public boolean hasWorkingDirectory() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return The workingDirectory.
*/
public java.lang.String getWorkingDirectory() {
java.lang.Object ref = workingDirectory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
workingDirectory_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return The bytes for workingDirectory.
*/
public com.google.protobuf.ByteString
getWorkingDirectoryBytes() {
java.lang.Object ref = workingDirectory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
workingDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @param value The workingDirectory to set.
* @return This builder for chaining.
*/
public Builder setWorkingDirectory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
workingDirectory_ = value;
onChanged();
return this;
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @return This builder for chaining.
*/
public Builder clearWorkingDirectory() {
bitField0_ = (bitField0_ & ~0x00000020);
workingDirectory_ = getDefaultInstance().getWorkingDirectory();
onChanged();
return this;
}
/**
*
* Working directory of Yamcs (base path for relative references)
*
*
* optional string workingDirectory = 7;
* @param value The bytes for workingDirectory to set.
* @return This builder for chaining.
*/
public Builder setWorkingDirectoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
workingDirectory_ = value;
onChanged();
return this;
}
private java.lang.Object configDirectory_ = "";
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return Whether the configDirectory field is set.
*/
public boolean hasConfigDirectory() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return The configDirectory.
*/
public java.lang.String getConfigDirectory() {
java.lang.Object ref = configDirectory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
configDirectory_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return The bytes for configDirectory.
*/
public com.google.protobuf.ByteString
getConfigDirectoryBytes() {
java.lang.Object ref = configDirectory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @param value The configDirectory to set.
* @return This builder for chaining.
*/
public Builder setConfigDirectory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
configDirectory_ = value;
onChanged();
return this;
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @return This builder for chaining.
*/
public Builder clearConfigDirectory() {
bitField0_ = (bitField0_ & ~0x00000040);
configDirectory_ = getDefaultInstance().getConfigDirectory();
onChanged();
return this;
}
/**
*
* Directory where configuration files are located.
*
*
* optional string configDirectory = 8;
* @param value The bytes for configDirectory to set.
* @return This builder for chaining.
*/
public Builder setConfigDirectoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
configDirectory_ = value;
onChanged();
return this;
}
private java.lang.Object dataDirectory_ = "";
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return Whether the dataDirectory field is set.
*/
public boolean hasDataDirectory() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return The dataDirectory.
*/
public java.lang.String getDataDirectory() {
java.lang.Object ref = dataDirectory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
dataDirectory_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return The bytes for dataDirectory.
*/
public com.google.protobuf.ByteString
getDataDirectoryBytes() {
java.lang.Object ref = dataDirectory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dataDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @param value The dataDirectory to set.
* @return This builder for chaining.
*/
public Builder setDataDirectory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
dataDirectory_ = value;
onChanged();
return this;
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @return This builder for chaining.
*/
public Builder clearDataDirectory() {
bitField0_ = (bitField0_ & ~0x00000080);
dataDirectory_ = getDefaultInstance().getDataDirectory();
onChanged();
return this;
}
/**
*
* Directory where Yamcs data is stored.
*
*
* optional string dataDirectory = 9;
* @param value The bytes for dataDirectory to set.
* @return This builder for chaining.
*/
public Builder setDataDirectoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
dataDirectory_ = value;
onChanged();
return this;
}
private java.lang.Object cacheDirectory_ = "";
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return Whether the cacheDirectory field is set.
*/
public boolean hasCacheDirectory() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return The cacheDirectory.
*/
public java.lang.String getCacheDirectory() {
java.lang.Object ref = cacheDirectory_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cacheDirectory_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return The bytes for cacheDirectory.
*/
public com.google.protobuf.ByteString
getCacheDirectoryBytes() {
java.lang.Object ref = cacheDirectory_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cacheDirectory_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @param value The cacheDirectory to set.
* @return This builder for chaining.
*/
public Builder setCacheDirectory(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
cacheDirectory_ = value;
onChanged();
return this;
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @return This builder for chaining.
*/
public Builder clearCacheDirectory() {
bitField0_ = (bitField0_ & ~0x00000100);
cacheDirectory_ = getDefaultInstance().getCacheDirectory();
onChanged();
return this;
}
/**
*
* Directory where Yamcs may cache files.
*
*
* optional string cacheDirectory = 10;
* @param value The bytes for cacheDirectory to set.
* @return This builder for chaining.
*/
public Builder setCacheDirectoryBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
cacheDirectory_ = value;
onChanged();
return this;
}
private java.lang.Object os_ = "";
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return Whether the os field is set.
*/
public boolean hasOs() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return The os.
*/
public java.lang.String getOs() {
java.lang.Object ref = os_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
os_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return The bytes for os.
*/
public com.google.protobuf.ByteString
getOsBytes() {
java.lang.Object ref = os_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
os_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
os_ = value;
onChanged();
return this;
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @return This builder for chaining.
*/
public Builder clearOs() {
bitField0_ = (bitField0_ & ~0x00000200);
os_ = getDefaultInstance().getOs();
onChanged();
return this;
}
/**
*
* Operating system name and version.
*
*
* optional string os = 11;
* @param value The bytes for os to set.
* @return This builder for chaining.
*/
public Builder setOsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
os_ = value;
onChanged();
return this;
}
private java.lang.Object arch_ = "";
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return Whether the arch field is set.
*/
public boolean hasArch() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return The arch.
*/
public java.lang.String getArch() {
java.lang.Object ref = arch_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arch_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return The bytes for arch.
*/
public com.google.protobuf.ByteString
getArchBytes() {
java.lang.Object ref = arch_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arch_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @param value The arch to set.
* @return This builder for chaining.
*/
public Builder setArch(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
arch_ = value;
onChanged();
return this;
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @return This builder for chaining.
*/
public Builder clearArch() {
bitField0_ = (bitField0_ & ~0x00000400);
arch_ = getDefaultInstance().getArch();
onChanged();
return this;
}
/**
*
* Operating system architecture.
*
*
* optional string arch = 12;
* @param value The bytes for arch to set.
* @return This builder for chaining.
*/
public Builder setArchBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
arch_ = value;
onChanged();
return this;
}
private int availableProcessors_ ;
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @return Whether the availableProcessors field is set.
*/
@java.lang.Override
public boolean hasAvailableProcessors() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @return The availableProcessors.
*/
@java.lang.Override
public int getAvailableProcessors() {
return availableProcessors_;
}
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @param value The availableProcessors to set.
* @return This builder for chaining.
*/
public Builder setAvailableProcessors(int value) {
bitField0_ |= 0x00000800;
availableProcessors_ = value;
onChanged();
return this;
}
/**
*
* Number of processors available to Yamcs.
*
*
* optional int32 availableProcessors = 13;
* @return This builder for chaining.
*/
public Builder clearAvailableProcessors() {
bitField0_ = (bitField0_ & ~0x00000800);
availableProcessors_ = 0;
onChanged();
return this;
}
private double loadAverage_ ;
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @return Whether the loadAverage field is set.
*/
@java.lang.Override
public boolean hasLoadAverage() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @return The loadAverage.
*/
@java.lang.Override
public double getLoadAverage() {
return loadAverage_;
}
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @param value The loadAverage to set.
* @return This builder for chaining.
*/
public Builder setLoadAverage(double value) {
bitField0_ |= 0x00001000;
loadAverage_ = value;
onChanged();
return this;
}
/**
*
* System load average for the last minute.
*
*
* optional double loadAverage = 14;
* @return This builder for chaining.
*/
public Builder clearLoadAverage() {
bitField0_ = (bitField0_ & ~0x00001000);
loadAverage_ = 0D;
onChanged();
return this;
}
private long heapMemory_ ;
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @return Whether the heapMemory field is set.
*/
@java.lang.Override
public boolean hasHeapMemory() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @return The heapMemory.
*/
@java.lang.Override
public long getHeapMemory() {
return heapMemory_;
}
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @param value The heapMemory to set.
* @return This builder for chaining.
*/
public Builder setHeapMemory(long value) {
bitField0_ |= 0x00002000;
heapMemory_ = value;
onChanged();
return this;
}
/**
*
* Amount of memory in bytes of the heap that is used for object allocation and that is committed for the JVM to use.
*
*
* optional int64 heapMemory = 15;
* @return This builder for chaining.
*/
public Builder clearHeapMemory() {
bitField0_ = (bitField0_ & ~0x00002000);
heapMemory_ = 0L;
onChanged();
return this;
}
private long usedHeapMemory_ ;
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @return Whether the usedHeapMemory field is set.
*/
@java.lang.Override
public boolean hasUsedHeapMemory() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @return The usedHeapMemory.
*/
@java.lang.Override
public long getUsedHeapMemory() {
return usedHeapMemory_;
}
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @param value The usedHeapMemory to set.
* @return This builder for chaining.
*/
public Builder setUsedHeapMemory(long value) {
bitField0_ |= 0x00004000;
usedHeapMemory_ = value;
onChanged();
return this;
}
/**
*
* Amount of used heap memory in bytes.
*
*
* optional int64 usedHeapMemory = 16;
* @return This builder for chaining.
*/
public Builder clearUsedHeapMemory() {
bitField0_ = (bitField0_ & ~0x00004000);
usedHeapMemory_ = 0L;
onChanged();
return this;
}
private long maxHeapMemory_ ;
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @return Whether the maxHeapMemory field is set.
*/
@java.lang.Override
public boolean hasMaxHeapMemory() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @return The maxHeapMemory.
*/
@java.lang.Override
public long getMaxHeapMemory() {
return maxHeapMemory_;
}
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @param value The maxHeapMemory to set.
* @return This builder for chaining.
*/
public Builder setMaxHeapMemory(long value) {
bitField0_ |= 0x00008000;
maxHeapMemory_ = value;
onChanged();
return this;
}
/**
*
* Maximum amount of heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxHeapMemory = 17;
* @return This builder for chaining.
*/
public Builder clearMaxHeapMemory() {
bitField0_ = (bitField0_ & ~0x00008000);
maxHeapMemory_ = 0L;
onChanged();
return this;
}
private long nonHeapMemory_ ;
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @return Whether the nonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasNonHeapMemory() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @return The nonHeapMemory.
*/
@java.lang.Override
public long getNonHeapMemory() {
return nonHeapMemory_;
}
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @param value The nonHeapMemory to set.
* @return This builder for chaining.
*/
public Builder setNonHeapMemory(long value) {
bitField0_ |= 0x00010000;
nonHeapMemory_ = value;
onChanged();
return this;
}
/**
*
* Amount of non-heap memory in bytes that is committed for the JVM to use.
*
*
* optional int64 nonHeapMemory = 18;
* @return This builder for chaining.
*/
public Builder clearNonHeapMemory() {
bitField0_ = (bitField0_ & ~0x00010000);
nonHeapMemory_ = 0L;
onChanged();
return this;
}
private long usedNonHeapMemory_ ;
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @return Whether the usedNonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasUsedNonHeapMemory() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @return The usedNonHeapMemory.
*/
@java.lang.Override
public long getUsedNonHeapMemory() {
return usedNonHeapMemory_;
}
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @param value The usedNonHeapMemory to set.
* @return This builder for chaining.
*/
public Builder setUsedNonHeapMemory(long value) {
bitField0_ |= 0x00020000;
usedNonHeapMemory_ = value;
onChanged();
return this;
}
/**
*
* Amount of non-heap used memory in bytes.
*
*
* optional int64 usedNonHeapMemory = 19;
* @return This builder for chaining.
*/
public Builder clearUsedNonHeapMemory() {
bitField0_ = (bitField0_ & ~0x00020000);
usedNonHeapMemory_ = 0L;
onChanged();
return this;
}
private long maxNonHeapMemory_ ;
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @return Whether the maxNonHeapMemory field is set.
*/
@java.lang.Override
public boolean hasMaxNonHeapMemory() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @return The maxNonHeapMemory.
*/
@java.lang.Override
public long getMaxNonHeapMemory() {
return maxNonHeapMemory_;
}
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @param value The maxNonHeapMemory to set.
* @return This builder for chaining.
*/
public Builder setMaxNonHeapMemory(long value) {
bitField0_ |= 0x00040000;
maxNonHeapMemory_ = value;
onChanged();
return this;
}
/**
*
* Maximum amount of non-heap memory in bytes that can be used for memory management.
*
*
* optional int64 maxNonHeapMemory = 20;
* @return This builder for chaining.
*/
public Builder clearMaxNonHeapMemory() {
bitField0_ = (bitField0_ & ~0x00040000);
maxNonHeapMemory_ = 0L;
onChanged();
return this;
}
private long jvmThreadCount_ ;
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @return Whether the jvmThreadCount field is set.
*/
@java.lang.Override
public boolean hasJvmThreadCount() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @return The jvmThreadCount.
*/
@java.lang.Override
public long getJvmThreadCount() {
return jvmThreadCount_;
}
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @param value The jvmThreadCount to set.
* @return This builder for chaining.
*/
public Builder setJvmThreadCount(long value) {
bitField0_ |= 0x00080000;
jvmThreadCount_ = value;
onChanged();
return this;
}
/**
*
* Number of active threads.
*
*
* optional int64 jvmThreadCount = 21;
* @return This builder for chaining.
*/
public Builder clearJvmThreadCount() {
bitField0_ = (bitField0_ & ~0x00080000);
jvmThreadCount_ = 0L;
onChanged();
return this;
}
private java.util.List rootDirectories_ =
java.util.Collections.emptyList();
private void ensureRootDirectoriesIsMutable() {
if (!((bitField0_ & 0x00100000) != 0)) {
rootDirectories_ = new java.util.ArrayList(rootDirectories_);
bitField0_ |= 0x00100000;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.RootDirectory, org.yamcs.protobuf.RootDirectory.Builder, org.yamcs.protobuf.RootDirectoryOrBuilder> rootDirectoriesBuilder_;
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public java.util.List getRootDirectoriesList() {
if (rootDirectoriesBuilder_ == null) {
return java.util.Collections.unmodifiableList(rootDirectories_);
} else {
return rootDirectoriesBuilder_.getMessageList();
}
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public int getRootDirectoriesCount() {
if (rootDirectoriesBuilder_ == null) {
return rootDirectories_.size();
} else {
return rootDirectoriesBuilder_.getCount();
}
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public org.yamcs.protobuf.RootDirectory getRootDirectories(int index) {
if (rootDirectoriesBuilder_ == null) {
return rootDirectories_.get(index);
} else {
return rootDirectoriesBuilder_.getMessage(index);
}
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder setRootDirectories(
int index, org.yamcs.protobuf.RootDirectory value) {
if (rootDirectoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootDirectoriesIsMutable();
rootDirectories_.set(index, value);
onChanged();
} else {
rootDirectoriesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder setRootDirectories(
int index, org.yamcs.protobuf.RootDirectory.Builder builderForValue) {
if (rootDirectoriesBuilder_ == null) {
ensureRootDirectoriesIsMutable();
rootDirectories_.set(index, builderForValue.build());
onChanged();
} else {
rootDirectoriesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder addRootDirectories(org.yamcs.protobuf.RootDirectory value) {
if (rootDirectoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootDirectoriesIsMutable();
rootDirectories_.add(value);
onChanged();
} else {
rootDirectoriesBuilder_.addMessage(value);
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder addRootDirectories(
int index, org.yamcs.protobuf.RootDirectory value) {
if (rootDirectoriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootDirectoriesIsMutable();
rootDirectories_.add(index, value);
onChanged();
} else {
rootDirectoriesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder addRootDirectories(
org.yamcs.protobuf.RootDirectory.Builder builderForValue) {
if (rootDirectoriesBuilder_ == null) {
ensureRootDirectoriesIsMutable();
rootDirectories_.add(builderForValue.build());
onChanged();
} else {
rootDirectoriesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder addRootDirectories(
int index, org.yamcs.protobuf.RootDirectory.Builder builderForValue) {
if (rootDirectoriesBuilder_ == null) {
ensureRootDirectoriesIsMutable();
rootDirectories_.add(index, builderForValue.build());
onChanged();
} else {
rootDirectoriesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder addAllRootDirectories(
java.lang.Iterable extends org.yamcs.protobuf.RootDirectory> values) {
if (rootDirectoriesBuilder_ == null) {
ensureRootDirectoriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rootDirectories_);
onChanged();
} else {
rootDirectoriesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder clearRootDirectories() {
if (rootDirectoriesBuilder_ == null) {
rootDirectories_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00100000);
onChanged();
} else {
rootDirectoriesBuilder_.clear();
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public Builder removeRootDirectories(int index) {
if (rootDirectoriesBuilder_ == null) {
ensureRootDirectoriesIsMutable();
rootDirectories_.remove(index);
onChanged();
} else {
rootDirectoriesBuilder_.remove(index);
}
return this;
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public org.yamcs.protobuf.RootDirectory.Builder getRootDirectoriesBuilder(
int index) {
return getRootDirectoriesFieldBuilder().getBuilder(index);
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public org.yamcs.protobuf.RootDirectoryOrBuilder getRootDirectoriesOrBuilder(
int index) {
if (rootDirectoriesBuilder_ == null) {
return rootDirectories_.get(index); } else {
return rootDirectoriesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public java.util.List extends org.yamcs.protobuf.RootDirectoryOrBuilder>
getRootDirectoriesOrBuilderList() {
if (rootDirectoriesBuilder_ != null) {
return rootDirectoriesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rootDirectories_);
}
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public org.yamcs.protobuf.RootDirectory.Builder addRootDirectoriesBuilder() {
return getRootDirectoriesFieldBuilder().addBuilder(
org.yamcs.protobuf.RootDirectory.getDefaultInstance());
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public org.yamcs.protobuf.RootDirectory.Builder addRootDirectoriesBuilder(
int index) {
return getRootDirectoriesFieldBuilder().addBuilder(
index, org.yamcs.protobuf.RootDirectory.getDefaultInstance());
}
/**
*
* Root directories, each corresponding to a distinct file hierarchy.
*
*
* repeated .yamcs.protobuf.server.RootDirectory rootDirectories = 22;
*/
public java.util.List
getRootDirectoriesBuilderList() {
return getRootDirectoriesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.RootDirectory, org.yamcs.protobuf.RootDirectory.Builder, org.yamcs.protobuf.RootDirectoryOrBuilder>
getRootDirectoriesFieldBuilder() {
if (rootDirectoriesBuilder_ == null) {
rootDirectoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.yamcs.protobuf.RootDirectory, org.yamcs.protobuf.RootDirectory.Builder, org.yamcs.protobuf.RootDirectoryOrBuilder>(
rootDirectories_,
((bitField0_ & 0x00100000) != 0),
getParentForChildren(),
isClean());
rootDirectories_ = null;
}
return rootDirectoriesBuilder_;
}
private org.yamcs.protobuf.ProcessInfo process_;
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessInfo, org.yamcs.protobuf.ProcessInfo.Builder, org.yamcs.protobuf.ProcessInfoOrBuilder> processBuilder_;
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
* @return Whether the process field is set.
*/
public boolean hasProcess() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
* @return The process.
*/
public org.yamcs.protobuf.ProcessInfo getProcess() {
if (processBuilder_ == null) {
return process_ == null ? org.yamcs.protobuf.ProcessInfo.getDefaultInstance() : process_;
} else {
return processBuilder_.getMessage();
}
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public Builder setProcess(org.yamcs.protobuf.ProcessInfo value) {
if (processBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
process_ = value;
onChanged();
} else {
processBuilder_.setMessage(value);
}
bitField0_ |= 0x00200000;
return this;
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public Builder setProcess(
org.yamcs.protobuf.ProcessInfo.Builder builderForValue) {
if (processBuilder_ == null) {
process_ = builderForValue.build();
onChanged();
} else {
processBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00200000;
return this;
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public Builder mergeProcess(org.yamcs.protobuf.ProcessInfo value) {
if (processBuilder_ == null) {
if (((bitField0_ & 0x00200000) != 0) &&
process_ != null &&
process_ != org.yamcs.protobuf.ProcessInfo.getDefaultInstance()) {
process_ =
org.yamcs.protobuf.ProcessInfo.newBuilder(process_).mergeFrom(value).buildPartial();
} else {
process_ = value;
}
onChanged();
} else {
processBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00200000;
return this;
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public Builder clearProcess() {
if (processBuilder_ == null) {
process_ = null;
onChanged();
} else {
processBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00200000);
return this;
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public org.yamcs.protobuf.ProcessInfo.Builder getProcessBuilder() {
bitField0_ |= 0x00200000;
onChanged();
return getProcessFieldBuilder().getBuilder();
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
public org.yamcs.protobuf.ProcessInfoOrBuilder getProcessOrBuilder() {
if (processBuilder_ != null) {
return processBuilder_.getMessageOrBuilder();
} else {
return process_ == null ?
org.yamcs.protobuf.ProcessInfo.getDefaultInstance() : process_;
}
}
/**
*
* Information about the Yamcs process and any descendants.
*
*
* optional .yamcs.protobuf.server.ProcessInfo process = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessInfo, org.yamcs.protobuf.ProcessInfo.Builder, org.yamcs.protobuf.ProcessInfoOrBuilder>
getProcessFieldBuilder() {
if (processBuilder_ == null) {
processBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.yamcs.protobuf.ProcessInfo, org.yamcs.protobuf.ProcessInfo.Builder, org.yamcs.protobuf.ProcessInfoOrBuilder>(
getProcess(),
getParentForChildren(),
isClean());
process_ = null;
}
return processBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yamcs.protobuf.server.SystemInfo)
}
// @@protoc_insertion_point(class_scope:yamcs.protobuf.server.SystemInfo)
private static final org.yamcs.protobuf.SystemInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.yamcs.protobuf.SystemInfo();
}
public static org.yamcs.protobuf.SystemInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SystemInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SystemInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.yamcs.protobuf.SystemInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy