public static final class HostType.Host.Builder extends com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder> implements HostType.HostOrBuilder
rsb.protocol.operatingsystem.Host
Basic description of a host.
Modifier and Type | Method and Description |
---|---|
HostType.Host |
build() |
HostType.Host |
buildPartial() |
HostType.Host.Builder |
clear() |
HostType.Host.Builder |
clearHostname()
required string hostname = 2; |
HostType.Host.Builder |
clearId()
required string id = 1; |
HostType.Host.Builder |
clearMachineType()
optional string machine_type = 3; |
HostType.Host.Builder |
clearMachineVersion()
optional string machine_version = 4; |
HostType.Host.Builder |
clearSoftwareType()
optional string software_type = 5; |
HostType.Host.Builder |
clearSoftwareVersion()
optional string software_version = 6; |
HostType.Host.Builder |
clone() |
HostType.Host |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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; |
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() |
HostType.Host.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HostType.Host.Builder |
mergeFrom(HostType.Host other) |
HostType.Host.Builder |
mergeFrom(com.google.protobuf.Message other) |
HostType.Host.Builder |
setHostname(String value)
required string hostname = 2; |
HostType.Host.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
required string hostname = 2; |
HostType.Host.Builder |
setId(String value)
required string id = 1; |
HostType.Host.Builder |
setIdBytes(com.google.protobuf.ByteString value)
required string id = 1; |
HostType.Host.Builder |
setMachineType(String value)
optional string machine_type = 3; |
HostType.Host.Builder |
setMachineTypeBytes(com.google.protobuf.ByteString value)
optional string machine_type = 3; |
HostType.Host.Builder |
setMachineVersion(String value)
optional string machine_version = 4; |
HostType.Host.Builder |
setMachineVersionBytes(com.google.protobuf.ByteString value)
optional string machine_version = 4; |
HostType.Host.Builder |
setSoftwareType(String value)
optional string software_type = 5; |
HostType.Host.Builder |
setSoftwareTypeBytes(com.google.protobuf.ByteString value)
optional string software_type = 5; |
HostType.Host.Builder |
setSoftwareVersion(String value)
optional string software_version = 6; |
HostType.Host.Builder |
setSoftwareVersionBytes(com.google.protobuf.ByteString value)
optional string software_version = 6; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder>
public HostType.Host.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder>
public HostType.Host.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder>
public HostType.Host getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HostType.Host build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HostType.Host buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HostType.Host.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HostType.Host.Builder>
public HostType.Host.Builder mergeFrom(HostType.Host other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<HostType.Host.Builder>
public HostType.Host.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HostType.Host.Builder>
IOException
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 HostType.Host.Builder setId(String value)
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.
public HostType.Host.Builder clearId()
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.
public HostType.Host.Builder setIdBytes(com.google.protobuf.ByteString value)
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.
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 HostType.Host.Builder setHostname(String value)
required string hostname = 2;
Human-readable name of the host.
public HostType.Host.Builder clearHostname()
required string hostname = 2;
Human-readable name of the host.
public HostType.Host.Builder setHostnameBytes(com.google.protobuf.ByteString value)
required string hostname = 2;
Human-readable name of the host.
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 HostType.Host.Builder setMachineType(String value)
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.
public HostType.Host.Builder clearMachineType()
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.
public HostType.Host.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
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.
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 HostType.Host.Builder setMachineVersion(String value)
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.
public HostType.Host.Builder clearMachineVersion()
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.
public HostType.Host.Builder setMachineVersionBytes(com.google.protobuf.ByteString value)
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.
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 HostType.Host.Builder setSoftwareType(String value)
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.
public HostType.Host.Builder clearSoftwareType()
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.
public HostType.Host.Builder setSoftwareTypeBytes(com.google.protobuf.ByteString value)
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.
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 HostType.Host.Builder setSoftwareVersion(String value)
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".
public HostType.Host.Builder clearSoftwareVersion()
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".
public HostType.Host.Builder setSoftwareVersionBytes(com.google.protobuf.ByteString value)
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".
Copyright © 2018 CoR-Lab. All rights reserved.