public static final class HostType.Host extends com.google.protobuf.GeneratedMessage implements HostType.HostOrBuilder
rsb.protocol.operatingsystem.Host
Basic description of a host.
Modifier and Type | Class and Description |
---|---|
static class |
HostType.Host.Builder
Protobuf type
rsb.protocol.operatingsystem.Host |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
HOSTNAME_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
MACHINE_TYPE_FIELD_NUMBER |
static int |
MACHINE_VERSION_FIELD_NUMBER |
static com.google.protobuf.Parser<HostType.Host> |
PARSER |
static int |
SOFTWARE_TYPE_FIELD_NUMBER |
static int |
SOFTWARE_VERSION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static HostType.Host |
getDefaultInstance() |
HostType.Host |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getHostname()
required string hostname = 2; |
com.google.protobuf.ByteString |
getHostnameBytes()
required string hostname = 2; |
String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
String |
getMachineType()
optional string machine_type = 3; |
com.google.protobuf.ByteString |
getMachineTypeBytes()
optional string machine_type = 3; |
String |
getMachineVersion()
optional string machine_version = 4; |
com.google.protobuf.ByteString |
getMachineVersionBytes()
optional string machine_version = 4; |
com.google.protobuf.Parser<HostType.Host> |
getParserForType() |
int |
getSerializedSize() |
String |
getSoftwareType()
optional string software_type = 5; |
com.google.protobuf.ByteString |
getSoftwareTypeBytes()
optional string software_type = 5; |
String |
getSoftwareVersion()
optional string software_version = 6; |
com.google.protobuf.ByteString |
getSoftwareVersionBytes()
optional string software_version = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasHostname()
required string hostname = 2; |
boolean |
hasId()
required string id = 1; |
boolean |
hasMachineType()
optional string machine_type = 3; |
boolean |
hasMachineVersion()
optional string machine_version = 4; |
boolean |
hasSoftwareType()
optional string software_type = 5; |
boolean |
hasSoftwareVersion()
optional string software_version = 6; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HostType.Host.Builder |
newBuilder() |
static HostType.Host.Builder |
newBuilder(HostType.Host prototype) |
HostType.Host.Builder |
newBuilderForType() |
protected HostType.Host.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static HostType.Host |
parseDelimitedFrom(InputStream input) |
static HostType.Host |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostType.Host |
parseFrom(byte[] data) |
static HostType.Host |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostType.Host |
parseFrom(com.google.protobuf.ByteString data) |
static HostType.Host |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostType.Host |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HostType.Host |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HostType.Host |
parseFrom(InputStream input) |
static HostType.Host |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HostType.Host.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<HostType.Host> PARSER
public static final int ID_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_VERSION_FIELD_NUMBER
public static final int SOFTWARE_TYPE_FIELD_NUMBER
public static final int SOFTWARE_VERSION_FIELD_NUMBER
public static HostType.Host getDefaultInstance()
public HostType.Host getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<HostType.Host> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasId()
required string id = 1;
Arbitrary string (hopefully) uniquely identifying the host. The following sources should be used for determining this string (in order of preference for each platform): Linux * contents of /etc/machine-id (excluding whitespace characters) * contents of /var/lib/dbus/machine-id (excluding whitespace characters) * As a last resort, the value may be omitted in which case the hostname will be used as a means of identifying the host. Windows Since the appropriate C API function (GetComputerObjectName) is difficult to use in some languages, the hostname should be used instead. MacOS Since the appropriate C API function (gethostuuid) is difficult to use in some languages, the hostname should be used instead. Other operating systems A unique id provided by the operating should be used when it can easily be used from all languages (i.e. readable from file), otherwise the hostname should be used.
hasId
in interface HostType.HostOrBuilder
public String getId()
required string id = 1;
Arbitrary string (hopefully) uniquely identifying the host. The following sources should be used for determining this string (in order of preference for each platform): Linux * contents of /etc/machine-id (excluding whitespace characters) * contents of /var/lib/dbus/machine-id (excluding whitespace characters) * As a last resort, the value may be omitted in which case the hostname will be used as a means of identifying the host. Windows Since the appropriate C API function (GetComputerObjectName) is difficult to use in some languages, the hostname should be used instead. MacOS Since the appropriate C API function (gethostuuid) is difficult to use in some languages, the hostname should be used instead. Other operating systems A unique id provided by the operating should be used when it can easily be used from all languages (i.e. readable from file), otherwise the hostname should be used.
getId
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getIdBytes()
required string id = 1;
Arbitrary string (hopefully) uniquely identifying the host. The following sources should be used for determining this string (in order of preference for each platform): Linux * contents of /etc/machine-id (excluding whitespace characters) * contents of /var/lib/dbus/machine-id (excluding whitespace characters) * As a last resort, the value may be omitted in which case the hostname will be used as a means of identifying the host. Windows Since the appropriate C API function (GetComputerObjectName) is difficult to use in some languages, the hostname should be used instead. MacOS Since the appropriate C API function (gethostuuid) is difficult to use in some languages, the hostname should be used instead. Other operating systems A unique id provided by the operating should be used when it can easily be used from all languages (i.e. readable from file), otherwise the hostname should be used.
getIdBytes
in interface HostType.HostOrBuilder
public boolean hasHostname()
required string hostname = 2;
Human-readable name of the host.
hasHostname
in interface HostType.HostOrBuilder
public String getHostname()
required string hostname = 2;
Human-readable name of the host.
getHostname
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
required string hostname = 2;
Human-readable name of the host.
getHostnameBytes
in interface HostType.HostOrBuilder
public boolean hasMachineType()
optional string machine_type = 3;
Type of the machine, usually CPU architecture. The value is a lower-case string that identifies the processor family and potentially associated system architecture, generally without indicating a specific vendor or version. For 32-bit and 64-bit CPUs in the x86 family, the values "x86" and "x86_64" should be used.
hasMachineType
in interface HostType.HostOrBuilder
public String getMachineType()
optional string machine_type = 3;
Type of the machine, usually CPU architecture. The value is a lower-case string that identifies the processor family and potentially associated system architecture, generally without indicating a specific vendor or version. For 32-bit and 64-bit CPUs in the x86 family, the values "x86" and "x86_64" should be used.
getMachineType
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getMachineTypeBytes()
optional string machine_type = 3;
Type of the machine, usually CPU architecture. The value is a lower-case string that identifies the processor family and potentially associated system architecture, generally without indicating a specific vendor or version. For 32-bit and 64-bit CPUs in the x86 family, the values "x86" and "x86_64" should be used.
getMachineTypeBytes
in interface HostType.HostOrBuilder
public boolean hasMachineVersion()
optional string machine_version = 4;
Version of the machine within its type, usually CPU identification string. On Linux, the value of the "model name" field in the "/proc/cpuinfo" file can be used.
hasMachineVersion
in interface HostType.HostOrBuilder
public String getMachineVersion()
optional string machine_version = 4;
Version of the machine within its type, usually CPU identification string. On Linux, the value of the "model name" field in the "/proc/cpuinfo" file can be used.
getMachineVersion
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getMachineVersionBytes()
optional string machine_version = 4;
Version of the machine within its type, usually CPU identification string. On Linux, the value of the "model name" field in the "/proc/cpuinfo" file can be used.
getMachineVersionBytes
in interface HostType.HostOrBuilder
public boolean hasSoftwareType()
optional string software_type = 5;
Type of the operating system running on the machine, usually the kernel name. The value is a lower-case string that identifies the operating system running on the machine without indicating a specific version of that operating system. For Linux, MacOS and Windows the strings "linux", "darwin" and "win32" should be used respectively.
hasSoftwareType
in interface HostType.HostOrBuilder
public String getSoftwareType()
optional string software_type = 5;
Type of the operating system running on the machine, usually the kernel name. The value is a lower-case string that identifies the operating system running on the machine without indicating a specific version of that operating system. For Linux, MacOS and Windows the strings "linux", "darwin" and "win32" should be used respectively.
getSoftwareType
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getSoftwareTypeBytes()
optional string software_type = 5;
Type of the operating system running on the machine, usually the kernel name. The value is a lower-case string that identifies the operating system running on the machine without indicating a specific version of that operating system. For Linux, MacOS and Windows the strings "linux", "darwin" and "win32" should be used respectively.
getSoftwareTypeBytes
in interface HostType.HostOrBuilder
public boolean hasSoftwareVersion()
optional string software_version = 6;
Version of the operating system within its type, usually the kernel version string. On Linux and MacOS, the output of the command "uname -r".
hasSoftwareVersion
in interface HostType.HostOrBuilder
public String getSoftwareVersion()
optional string software_version = 6;
Version of the operating system within its type, usually the kernel version string. On Linux and MacOS, the output of the command "uname -r".
getSoftwareVersion
in interface HostType.HostOrBuilder
public com.google.protobuf.ByteString getSoftwareVersionBytes()
optional string software_version = 6;
Version of the operating system within its type, usually the kernel version string. On Linux and MacOS, the output of the command "uname -r".
getSoftwareVersionBytes
in interface HostType.HostOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static HostType.Host parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HostType.Host parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HostType.Host parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HostType.Host parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HostType.Host parseFrom(InputStream input) throws IOException
IOException
public static HostType.Host parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HostType.Host parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HostType.Host parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HostType.Host parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HostType.Host parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HostType.Host.Builder newBuilder()
public HostType.Host.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HostType.Host.Builder newBuilder(HostType.Host prototype)
public HostType.Host.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected HostType.Host.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2018 CoR-Lab. All rights reserved.