Class Agent.SubsystemUpdateInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder>
viam.app.agent.v1.Agent.SubsystemUpdateInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Agent.SubsystemUpdateInfoOrBuilder
Enclosing class:
Agent.SubsystemUpdateInfo

public static final class Agent.SubsystemUpdateInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Agent.SubsystemUpdateInfo,Agent.SubsystemUpdateInfo.Builder> implements Agent.SubsystemUpdateInfoOrBuilder
Protobuf type viam.app.agent.v1.SubsystemUpdateInfo
  • Method Details

    • getFilename

      public String getFilename()
       unpacked filename as it is expected on disk (regardless of url)
       
      string filename = 1 [json_name = "filename"];
      Specified by:
      getFilename in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The filename.
    • getFilenameBytes

      public com.google.protobuf.ByteString getFilenameBytes()
       unpacked filename as it is expected on disk (regardless of url)
       
      string filename = 1 [json_name = "filename"];
      Specified by:
      getFilenameBytes in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The bytes for filename.
    • setFilename

      public Agent.SubsystemUpdateInfo.Builder setFilename(String value)
       unpacked filename as it is expected on disk (regardless of url)
       
      string filename = 1 [json_name = "filename"];
      Parameters:
      value - The filename to set.
      Returns:
      This builder for chaining.
    • clearFilename

      public Agent.SubsystemUpdateInfo.Builder clearFilename()
       unpacked filename as it is expected on disk (regardless of url)
       
      string filename = 1 [json_name = "filename"];
      Returns:
      This builder for chaining.
    • setFilenameBytes

      public Agent.SubsystemUpdateInfo.Builder setFilenameBytes(com.google.protobuf.ByteString value)
       unpacked filename as it is expected on disk (regardless of url)
       
      string filename = 1 [json_name = "filename"];
      Parameters:
      value - The bytes for filename to set.
      Returns:
      This builder for chaining.
    • getUrl

      public String getUrl()
       url to download from
       
      string url = 2 [json_name = "url"];
      Specified by:
      getUrl in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       url to download from
       
      string url = 2 [json_name = "url"];
      Specified by:
      getUrlBytes in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The bytes for url.
    • setUrl

       url to download from
       
      string url = 2 [json_name = "url"];
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

       url to download from
       
      string url = 2 [json_name = "url"];
      Returns:
      This builder for chaining.
    • setUrlBytes

      public Agent.SubsystemUpdateInfo.Builder setUrlBytes(com.google.protobuf.ByteString value)
       url to download from
       
      string url = 2 [json_name = "url"];
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       version expected at the url
       
      string version = 3 [json_name = "version"];
      Specified by:
      getVersion in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       version expected at the url
       
      string version = 3 [json_name = "version"];
      Specified by:
      getVersionBytes in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Agent.SubsystemUpdateInfo.Builder setVersion(String value)
       version expected at the url
       
      string version = 3 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Agent.SubsystemUpdateInfo.Builder clearVersion()
       version expected at the url
       
      string version = 3 [json_name = "version"];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Agent.SubsystemUpdateInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
       version expected at the url
       
      string version = 3 [json_name = "version"];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getSha256

      public com.google.protobuf.ByteString getSha256()
       sha256 sum of file as downloaded
       
      bytes sha256 = 4 [json_name = "sha256"];
      Specified by:
      getSha256 in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The sha256.
    • setSha256

      public Agent.SubsystemUpdateInfo.Builder setSha256(com.google.protobuf.ByteString value)
       sha256 sum of file as downloaded
       
      bytes sha256 = 4 [json_name = "sha256"];
      Parameters:
      value - The sha256 to set.
      Returns:
      This builder for chaining.
    • clearSha256

      public Agent.SubsystemUpdateInfo.Builder clearSha256()
       sha256 sum of file as downloaded
       
      bytes sha256 = 4 [json_name = "sha256"];
      Returns:
      This builder for chaining.
    • getFormatValue

      public int getFormatValue()
       determines if decompression or executable permissions are needed
       
      .viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
      Specified by:
      getFormatValue in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The enum numeric value on the wire for format.
    • setFormatValue

      public Agent.SubsystemUpdateInfo.Builder setFormatValue(int value)
       determines if decompression or executable permissions are needed
       
      .viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
      Parameters:
      value - The format to set.
      Returns:
      This builder for chaining.
    • getFormat

      public Agent.PackageFormat getFormat()
       determines if decompression or executable permissions are needed
       
      .viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
      Specified by:
      getFormat in interface Agent.SubsystemUpdateInfoOrBuilder
      Returns:
      The format.
    • setFormat

       determines if decompression or executable permissions are needed
       
      .viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
      Parameters:
      value - The enum numeric value on the wire for format to set.
      Returns:
      This builder for chaining.
    • clearFormat

      public Agent.SubsystemUpdateInfo.Builder clearFormat()
       determines if decompression or executable permissions are needed
       
      .viam.app.agent.v1.PackageFormat format = 5 [json_name = "format"];
      Returns:
      This builder for chaining.