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 Type
    Method
    Description
    additional tags for specific hardware or software that's present and may affect software selection ex: "jetson", "rpi4", "systemd", etc.
    addTags(String value)
    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.
    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.
    setTags(int index, String value)
    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

      public String 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 interface Agent.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 interface Agent.HostInfoOrBuilder
      Returns:
      The bytes for platform.
    • setPlatform

      public Agent.HostInfo.Builder setPlatform(String value)
       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

      public Agent.HostInfo.Builder 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

      public Agent.HostInfo.Builder setPlatformBytes(com.google.protobuf.ByteString value)
       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

      public 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"];
      Specified by:
      getDistro in interface Agent.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 interface Agent.HostInfoOrBuilder
      Returns:
      The bytes for distro.
    • setDistro

      public Agent.HostInfo.Builder setDistro(String value)
       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

      public Agent.HostInfo.Builder 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

      public Agent.HostInfo.Builder setDistroBytes(com.google.protobuf.ByteString value)
       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

      public List<String> 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 interface Agent.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 interface Agent.HostInfoOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(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:
      getTags in interface Agent.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 interface Agent.HostInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public Agent.HostInfo.Builder setTags(int index, String value)
       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

      public Agent.HostInfo.Builder addTags(String value)
       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

      public Agent.HostInfo.Builder addAllTags(Iterable<String> values)
       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

      public Agent.HostInfo.Builder 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

      public Agent.HostInfo.Builder 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.
       
      repeated string tags = 3 [json_name = "tags"];
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.