Package viam.app.agent.v1
Interface Agent.HostInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Agent.HostInfo
,Agent.HostInfo.Builder
- Enclosing class:
- Agent
public static interface Agent.HostInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionID and VERSION_ID fields from /etc/os-release, colon seperated.com.google.protobuf.ByteString
ID and VERSION_ID fields from /etc/os-release, colon seperated.platform is the docker styled combination of kernel and architecture.com.google.protobuf.ByteString
platform is the docker styled combination of kernel and architecture.getTags
(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.com.google.protobuf.ByteString
getTagsBytes
(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.int
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPlatform
String getPlatform()platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Returns:
- The platform.
-
getPlatformBytes
com.google.protobuf.ByteString getPlatformBytes()platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Returns:
- The bytes for platform.
-
getDistro
String getDistro()ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Returns:
- The distro.
-
getDistroBytes
com.google.protobuf.ByteString getDistroBytes()ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Returns:
- The bytes for distro.
-
getTagsList
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Returns:
- The count of tags.
-
getTags
additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
repeated string tags = 3 [json_name = "tags"];
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-