Package viam.app.v1

Class Robot.AgentInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.AgentInfo,Robot.AgentInfo.Builder>
viam.app.v1.Robot.AgentInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Robot.AgentInfoOrBuilder
Enclosing class:
Robot.AgentInfo

public static final class Robot.AgentInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.AgentInfo,Robot.AgentInfo.Builder> implements Robot.AgentInfoOrBuilder
Protobuf type viam.app.v1.AgentInfo
  • Method Details

    • getHost

      public String getHost()
      string host = 1 [json_name = "host"];
      Specified by:
      getHost in interface Robot.AgentInfoOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      string host = 1 [json_name = "host"];
      Specified by:
      getHostBytes in interface Robot.AgentInfoOrBuilder
      Returns:
      The bytes for host.
    • setHost

      public Robot.AgentInfo.Builder setHost(String value)
      string host = 1 [json_name = "host"];
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

      public Robot.AgentInfo.Builder clearHost()
      string host = 1 [json_name = "host"];
      Returns:
      This builder for chaining.
    • setHostBytes

      public Robot.AgentInfo.Builder setHostBytes(com.google.protobuf.ByteString value)
      string host = 1 [json_name = "host"];
      Parameters:
      value - The bytes for host to set.
      Returns:
      This builder for chaining.
    • getOs

      public String getOs()
       Will soon be deprecated, use platform instead
       
      string os = 2 [json_name = "os"];
      Specified by:
      getOs in interface Robot.AgentInfoOrBuilder
      Returns:
      The os.
    • getOsBytes

      public com.google.protobuf.ByteString getOsBytes()
       Will soon be deprecated, use platform instead
       
      string os = 2 [json_name = "os"];
      Specified by:
      getOsBytes in interface Robot.AgentInfoOrBuilder
      Returns:
      The bytes for os.
    • setOs

      public Robot.AgentInfo.Builder setOs(String value)
       Will soon be deprecated, use platform instead
       
      string os = 2 [json_name = "os"];
      Parameters:
      value - The os to set.
      Returns:
      This builder for chaining.
    • clearOs

      public Robot.AgentInfo.Builder clearOs()
       Will soon be deprecated, use platform instead
       
      string os = 2 [json_name = "os"];
      Returns:
      This builder for chaining.
    • setOsBytes

      public Robot.AgentInfo.Builder setOsBytes(com.google.protobuf.ByteString value)
       Will soon be deprecated, use platform instead
       
      string os = 2 [json_name = "os"];
      Parameters:
      value - The bytes for os to set.
      Returns:
      This builder for chaining.
    • getIpsList

      public List<String> getIpsList()
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Specified by:
      getIpsList in interface Robot.AgentInfoOrBuilder
      Returns:
      A list containing the ips.
    • getIpsCount

      public int getIpsCount()
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Specified by:
      getIpsCount in interface Robot.AgentInfoOrBuilder
      Returns:
      The count of ips.
    • getIps

      public String getIps(int index)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Specified by:
      getIps in interface Robot.AgentInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The ips at the given index.
    • getIpsBytes

      public com.google.protobuf.ByteString getIpsBytes(int index)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Specified by:
      getIpsBytes in interface Robot.AgentInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ips at the given index.
    • setIps

      public Robot.AgentInfo.Builder setIps(int index, String value)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Parameters:
      index - The index to set the value at.
      value - The ips to set.
      Returns:
      This builder for chaining.
    • addIps

      public Robot.AgentInfo.Builder addIps(String value)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Parameters:
      value - The ips to add.
      Returns:
      This builder for chaining.
    • addAllIps

      public Robot.AgentInfo.Builder addAllIps(Iterable<String> values)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Parameters:
      values - The ips to add.
      Returns:
      This builder for chaining.
    • clearIps

      public Robot.AgentInfo.Builder clearIps()
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Returns:
      This builder for chaining.
    • addIpsBytes

      public Robot.AgentInfo.Builder addIpsBytes(com.google.protobuf.ByteString value)
       list of all ipv4 ips.
       
      repeated string ips = 3 [json_name = "ips"];
      Parameters:
      value - The bytes of the ips to add.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       RDK version
       
      string version = 4 [json_name = "version"];
      Specified by:
      getVersion in interface Robot.AgentInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       RDK version
       
      string version = 4 [json_name = "version"];
      Specified by:
      getVersionBytes in interface Robot.AgentInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Robot.AgentInfo.Builder setVersion(String value)
       RDK version
       
      string version = 4 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Robot.AgentInfo.Builder clearVersion()
       RDK version
       
      string version = 4 [json_name = "version"];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Robot.AgentInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
       RDK version
       
      string version = 4 [json_name = "version"];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getGitRevision

      public String getGitRevision()
      string git_revision = 5 [json_name = "gitRevision"];
      Specified by:
      getGitRevision in interface Robot.AgentInfoOrBuilder
      Returns:
      The gitRevision.
    • getGitRevisionBytes

      public com.google.protobuf.ByteString getGitRevisionBytes()
      string git_revision = 5 [json_name = "gitRevision"];
      Specified by:
      getGitRevisionBytes in interface Robot.AgentInfoOrBuilder
      Returns:
      The bytes for gitRevision.
    • setGitRevision

      public Robot.AgentInfo.Builder setGitRevision(String value)
      string git_revision = 5 [json_name = "gitRevision"];
      Parameters:
      value - The gitRevision to set.
      Returns:
      This builder for chaining.
    • clearGitRevision

      public Robot.AgentInfo.Builder clearGitRevision()
      string git_revision = 5 [json_name = "gitRevision"];
      Returns:
      This builder for chaining.
    • setGitRevisionBytes

      public Robot.AgentInfo.Builder setGitRevisionBytes(com.google.protobuf.ByteString value)
      string git_revision = 5 [json_name = "gitRevision"];
      Parameters:
      value - The bytes for gitRevision to set.
      Returns:
      This builder for chaining.
    • hasPlatform

      public boolean hasPlatform()
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Specified by:
      hasPlatform in interface Robot.AgentInfoOrBuilder
      Returns:
      Whether the platform field is set.
    • getPlatform

      public String getPlatform()
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Specified by:
      getPlatform in interface Robot.AgentInfoOrBuilder
      Returns:
      The platform.
    • getPlatformBytes

      public com.google.protobuf.ByteString getPlatformBytes()
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Specified by:
      getPlatformBytes in interface Robot.AgentInfoOrBuilder
      Returns:
      The bytes for platform.
    • setPlatform

      public Robot.AgentInfo.Builder setPlatform(String value)
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Parameters:
      value - The platform to set.
      Returns:
      This builder for chaining.
    • clearPlatform

      public Robot.AgentInfo.Builder clearPlatform()
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Returns:
      This builder for chaining.
    • setPlatformBytes

      public Robot.AgentInfo.Builder setPlatformBytes(com.google.protobuf.ByteString value)
       The platform the RDK is running on. For example linux/amd64
       
      optional string platform = 6 [json_name = "platform"];
      Parameters:
      value - The bytes for platform to set.
      Returns:
      This builder for chaining.
    • getPlatformTagsList

      public List<String> getPlatformTagsList()
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsList in interface Robot.AgentInfoOrBuilder
      Returns:
      A list containing the platformTags.
    • getPlatformTagsCount

      public int getPlatformTagsCount()
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsCount in interface Robot.AgentInfoOrBuilder
      Returns:
      The count of platformTags.
    • getPlatformTags

      public String getPlatformTags(int index)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Specified by:
      getPlatformTags in interface Robot.AgentInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The platformTags at the given index.
    • getPlatformTagsBytes

      public com.google.protobuf.ByteString getPlatformTagsBytes(int index)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsBytes in interface Robot.AgentInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the platformTags at the given index.
    • setPlatformTags

      public Robot.AgentInfo.Builder setPlatformTags(int index, String value)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Parameters:
      index - The index to set the value at.
      value - The platformTags to set.
      Returns:
      This builder for chaining.
    • addPlatformTags

      public Robot.AgentInfo.Builder addPlatformTags(String value)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Parameters:
      value - The platformTags to add.
      Returns:
      This builder for chaining.
    • addAllPlatformTags

      public Robot.AgentInfo.Builder addAllPlatformTags(Iterable<String> values)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Parameters:
      values - The platformTags to add.
      Returns:
      This builder for chaining.
    • clearPlatformTags

      public Robot.AgentInfo.Builder clearPlatformTags()
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Returns:
      This builder for chaining.
    • addPlatformTagsBytes

      public Robot.AgentInfo.Builder addPlatformTagsBytes(com.google.protobuf.ByteString value)
       Optional tags to further constrain which artifact is returned for modules.
       
      repeated string platform_tags = 7 [json_name = "platformTags"];
      Parameters:
      value - The bytes of the platformTags to add.
      Returns:
      This builder for chaining.