Package viam.app.agent.v1
Class Agent.HostInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.HostInfo,Agent.HostInfo.Builder>
viam.app.agent.v1.Agent.HostInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Agent.HostInfoOrBuilder
- Enclosing class:
- Agent.HostInfo
public static final class Agent.HostInfo.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.HostInfo,Agent.HostInfo.Builder>
implements Agent.HostInfoOrBuilder
Protobuf type
viam.app.agent.v1.HostInfo
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags
(Iterable<String> values) 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.addTagsBytes
(com.google.protobuf.ByteString value) additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.ID and VERSION_ID fields from /etc/os-release, colon seperated.platform is the docker styled combination of kernel and architecture.additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.ID 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.ID and VERSION_ID fields from /etc/os-release, colon seperated.setDistroBytes
(com.google.protobuf.ByteString value) ID and VERSION_ID fields from /etc/os-release, colon seperated.setPlatform
(String value) platform is the docker styled combination of kernel and architecture.setPlatformBytes
(com.google.protobuf.ByteString value) platform is the docker styled combination of kernel and architecture.additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPlatform
platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The platform.
-
getPlatformBytes
public 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"];
- Specified by:
getPlatformBytes
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The bytes for platform.
-
setPlatform
platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Parameters:
value
- The platform to set.- Returns:
- This builder for chaining.
-
clearPlatform
platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Returns:
- This builder for chaining.
-
setPlatformBytes
platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64
string platform = 1 [json_name = "platform"];
- Parameters:
value
- The bytes for platform to set.- Returns:
- This builder for chaining.
-
getDistro
ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Specified by:
getDistro
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The distro.
-
getDistroBytes
public 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"];
- Specified by:
getDistroBytes
in interfaceAgent.HostInfoOrBuilder
- Returns:
- The bytes for distro.
-
setDistro
ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Parameters:
value
- The distro to set.- Returns:
- This builder for chaining.
-
clearDistro
ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Returns:
- This builder for chaining.
-
setDistroBytes
ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11
string distro = 2 [json_name = "distro"];
- Parameters:
value
- The bytes for distro to set.- Returns:
- This builder for chaining.
-
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"];
- Specified by:
getTagsList
in interfaceAgent.HostInfoOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public 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"];
- Specified by:
getTagsCount
in interfaceAgent.HostInfoOrBuilder
- 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"];
- Specified by:
getTags
in interfaceAgent.HostInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public 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"];
- Specified by:
getTagsBytes
in interfaceAgent.HostInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
setTags
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 to set the value at.value
- The tags to set.- Returns:
- This builder for chaining.
-
addTags
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:
value
- The tags to add.- Returns:
- This builder for chaining.
-
addAllTags
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:
values
- The tags to add.- Returns:
- This builder for chaining.
-
clearTags
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:
- This builder for chaining.
-
addTagsBytes
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:
value
- The bytes of the tags to add.- Returns:
- This builder for chaining.
-