Package viam.app.v1

Class App.ModuleFileInfo.Builder

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

public static final class App.ModuleFileInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleFileInfo,App.ModuleFileInfo.Builder> implements App.ModuleFileInfoOrBuilder
Protobuf type viam.app.v1.ModuleFileInfo
  • Method Details

    • getModuleId

      public String getModuleId()
       The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
       
      string module_id = 1 [json_name = "moduleId"];
      Specified by:
      getModuleId in interface App.ModuleFileInfoOrBuilder
      Returns:
      The moduleId.
    • getModuleIdBytes

      public com.google.protobuf.ByteString getModuleIdBytes()
       The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
       
      string module_id = 1 [json_name = "moduleId"];
      Specified by:
      getModuleIdBytes in interface App.ModuleFileInfoOrBuilder
      Returns:
      The bytes for moduleId.
    • setModuleId

      public App.ModuleFileInfo.Builder setModuleId(String value)
       The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
       
      string module_id = 1 [json_name = "moduleId"];
      Parameters:
      value - The moduleId to set.
      Returns:
      This builder for chaining.
    • clearModuleId

      public App.ModuleFileInfo.Builder clearModuleId()
       The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
       
      string module_id = 1 [json_name = "moduleId"];
      Returns:
      This builder for chaining.
    • setModuleIdBytes

      public App.ModuleFileInfo.Builder setModuleIdBytes(com.google.protobuf.ByteString value)
       The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
       
      string module_id = 1 [json_name = "moduleId"];
      Parameters:
      value - The bytes for moduleId to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       The semver string that represents the new major/minor/patch version of the module
       
      string version = 2 [json_name = "version"];
      Specified by:
      getVersion in interface App.ModuleFileInfoOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       The semver string that represents the new major/minor/patch version of the module
       
      string version = 2 [json_name = "version"];
      Specified by:
      getVersionBytes in interface App.ModuleFileInfoOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public App.ModuleFileInfo.Builder setVersion(String value)
       The semver string that represents the new major/minor/patch version of the module
       
      string version = 2 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public App.ModuleFileInfo.Builder clearVersion()
       The semver string that represents the new major/minor/patch version of the module
       
      string version = 2 [json_name = "version"];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public App.ModuleFileInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
       The semver string that represents the new major/minor/patch version of the module
       
      string version = 2 [json_name = "version"];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getPlatform

      public String getPlatform()
       The platform that the file is built to run on
       
      string platform = 3 [json_name = "platform"];
      Specified by:
      getPlatform in interface App.ModuleFileInfoOrBuilder
      Returns:
      The platform.
    • getPlatformBytes

      public com.google.protobuf.ByteString getPlatformBytes()
       The platform that the file is built to run on
       
      string platform = 3 [json_name = "platform"];
      Specified by:
      getPlatformBytes in interface App.ModuleFileInfoOrBuilder
      Returns:
      The bytes for platform.
    • setPlatform

      public App.ModuleFileInfo.Builder setPlatform(String value)
       The platform that the file is built to run on
       
      string platform = 3 [json_name = "platform"];
      Parameters:
      value - The platform to set.
      Returns:
      This builder for chaining.
    • clearPlatform

      public App.ModuleFileInfo.Builder clearPlatform()
       The platform that the file is built to run on
       
      string platform = 3 [json_name = "platform"];
      Returns:
      This builder for chaining.
    • setPlatformBytes

      public App.ModuleFileInfo.Builder setPlatformBytes(com.google.protobuf.ByteString value)
       The platform that the file is built to run on
       
      string platform = 3 [json_name = "platform"];
      Parameters:
      value - The bytes for platform to set.
      Returns:
      This builder for chaining.
    • getPlatformTagsList

      public List<String> getPlatformTagsList()
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsList in interface App.ModuleFileInfoOrBuilder
      Returns:
      A list containing the platformTags.
    • getPlatformTagsCount

      public int getPlatformTagsCount()
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsCount in interface App.ModuleFileInfoOrBuilder
      Returns:
      The count of platformTags.
    • getPlatformTags

      public String getPlatformTags(int index)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Specified by:
      getPlatformTags in interface App.ModuleFileInfoOrBuilder
      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)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Specified by:
      getPlatformTagsBytes in interface App.ModuleFileInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the platformTags at the given index.
    • setPlatformTags

      public App.ModuleFileInfo.Builder setPlatformTags(int index, String value)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Parameters:
      index - The index to set the value at.
      value - The platformTags to set.
      Returns:
      This builder for chaining.
    • addPlatformTags

      public App.ModuleFileInfo.Builder addPlatformTags(String value)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Parameters:
      value - The platformTags to add.
      Returns:
      This builder for chaining.
    • addAllPlatformTags

      public App.ModuleFileInfo.Builder addAllPlatformTags(Iterable<String> values)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Parameters:
      values - The platformTags to add.
      Returns:
      This builder for chaining.
    • clearPlatformTags

      public App.ModuleFileInfo.Builder clearPlatformTags()
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Returns:
      This builder for chaining.
    • addPlatformTagsBytes

      public App.ModuleFileInfo.Builder addPlatformTagsBytes(com.google.protobuf.ByteString value)
       Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
       platform tags. The platform is checked against `platform` above, and the tags are checked against
       this list.
       
      repeated string platform_tags = 5 [json_name = "platformTags"];
      Parameters:
      value - The bytes of the platformTags to add.
      Returns:
      This builder for chaining.