Package viam.app.v1

Class App.UpdateModuleRequest.Builder

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

public static final class App.UpdateModuleRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateModuleRequest,App.UpdateModuleRequest.Builder> implements App.UpdateModuleRequestOrBuilder
Protobuf type viam.app.v1.UpdateModuleRequest
  • 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.UpdateModuleRequestOrBuilder
      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.UpdateModuleRequestOrBuilder
      Returns:
      The bytes for moduleId.
    • setModuleId

      public App.UpdateModuleRequest.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.UpdateModuleRequest.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.UpdateModuleRequest.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.
    • getVisibilityValue

      public int getVisibilityValue()
       The visibility that should be set for the module
       
      .viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
      Specified by:
      getVisibilityValue in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The enum numeric value on the wire for visibility.
    • setVisibilityValue

      public App.UpdateModuleRequest.Builder setVisibilityValue(int value)
       The visibility that should be set for the module
       
      .viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
      Parameters:
      value - The visibility to set.
      Returns:
      This builder for chaining.
    • getVisibility

      public App.Visibility getVisibility()
       The visibility that should be set for the module
       
      .viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
      Specified by:
      getVisibility in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The visibility.
    • setVisibility

      public App.UpdateModuleRequest.Builder setVisibility(App.Visibility value)
       The visibility that should be set for the module
       
      .viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
      Parameters:
      value - The enum numeric value on the wire for visibility to set.
      Returns:
      This builder for chaining.
    • clearVisibility

      public App.UpdateModuleRequest.Builder clearVisibility()
       The visibility that should be set for the module
       
      .viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
      Returns:
      This builder for chaining.
    • getUrl

      public String getUrl()
       The url to reference for documentation, code, etc.
       
      string url = 3 [json_name = "url"];
      Specified by:
      getUrl in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The url.
    • getUrlBytes

      public com.google.protobuf.ByteString getUrlBytes()
       The url to reference for documentation, code, etc.
       
      string url = 3 [json_name = "url"];
      Specified by:
      getUrlBytes in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The bytes for url.
    • setUrl

      public App.UpdateModuleRequest.Builder setUrl(String value)
       The url to reference for documentation, code, etc.
       
      string url = 3 [json_name = "url"];
      Parameters:
      value - The url to set.
      Returns:
      This builder for chaining.
    • clearUrl

       The url to reference for documentation, code, etc.
       
      string url = 3 [json_name = "url"];
      Returns:
      This builder for chaining.
    • setUrlBytes

      public App.UpdateModuleRequest.Builder setUrlBytes(com.google.protobuf.ByteString value)
       The url to reference for documentation, code, etc.
       
      string url = 3 [json_name = "url"];
      Parameters:
      value - The bytes for url to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       A short description of the module that explains its purpose
       
      string description = 4 [json_name = "description"];
      Specified by:
      getDescription in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       A short description of the module that explains its purpose
       
      string description = 4 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public App.UpdateModuleRequest.Builder setDescription(String value)
       A short description of the module that explains its purpose
       
      string description = 4 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public App.UpdateModuleRequest.Builder clearDescription()
       A short description of the module that explains its purpose
       
      string description = 4 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public App.UpdateModuleRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       A short description of the module that explains its purpose
       
      string description = 4 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getModelsList

      public List<App.Model> getModelsList()
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
      Specified by:
      getModelsList in interface App.UpdateModuleRequestOrBuilder
    • getModelsCount

      public int getModelsCount()
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
      Specified by:
      getModelsCount in interface App.UpdateModuleRequestOrBuilder
    • getModels

      public App.Model getModels(int index)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
      Specified by:
      getModels in interface App.UpdateModuleRequestOrBuilder
    • setModels

      public App.UpdateModuleRequest.Builder setModels(int index, App.Model value)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • setModels

      public App.UpdateModuleRequest.Builder setModels(int index, App.Model.Builder builderForValue)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • addModels

      public App.UpdateModuleRequest.Builder addModels(App.Model value)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • addModels

      public App.UpdateModuleRequest.Builder addModels(int index, App.Model value)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • addModels

      public App.UpdateModuleRequest.Builder addModels(App.Model.Builder builderForValue)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • addModels

      public App.UpdateModuleRequest.Builder addModels(int index, App.Model.Builder builderForValue)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • addAllModels

      public App.UpdateModuleRequest.Builder addAllModels(Iterable<? extends App.Model> values)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • clearModels

      public App.UpdateModuleRequest.Builder clearModels()
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • removeModels

      public App.UpdateModuleRequest.Builder removeModels(int index)
       A list of models that are available in the module
       
      repeated .viam.app.v1.Model models = 5 [json_name = "models"];
    • getEntrypoint

      public String getEntrypoint()
       The executable to run to start the module program
       
      string entrypoint = 6 [json_name = "entrypoint"];
      Specified by:
      getEntrypoint in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The entrypoint.
    • getEntrypointBytes

      public com.google.protobuf.ByteString getEntrypointBytes()
       The executable to run to start the module program
       
      string entrypoint = 6 [json_name = "entrypoint"];
      Specified by:
      getEntrypointBytes in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The bytes for entrypoint.
    • setEntrypoint

      public App.UpdateModuleRequest.Builder setEntrypoint(String value)
       The executable to run to start the module program
       
      string entrypoint = 6 [json_name = "entrypoint"];
      Parameters:
      value - The entrypoint to set.
      Returns:
      This builder for chaining.
    • clearEntrypoint

      public App.UpdateModuleRequest.Builder clearEntrypoint()
       The executable to run to start the module program
       
      string entrypoint = 6 [json_name = "entrypoint"];
      Returns:
      This builder for chaining.
    • setEntrypointBytes

      public App.UpdateModuleRequest.Builder setEntrypointBytes(com.google.protobuf.ByteString value)
       The executable to run to start the module program
       
      string entrypoint = 6 [json_name = "entrypoint"];
      Parameters:
      value - The bytes for entrypoint to set.
      Returns:
      This builder for chaining.
    • hasFirstRun

      public boolean hasFirstRun()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Specified by:
      hasFirstRun in interface App.UpdateModuleRequestOrBuilder
      Returns:
      Whether the firstRun field is set.
    • getFirstRun

      public String getFirstRun()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Specified by:
      getFirstRun in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The firstRun.
    • getFirstRunBytes

      public com.google.protobuf.ByteString getFirstRunBytes()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Specified by:
      getFirstRunBytes in interface App.UpdateModuleRequestOrBuilder
      Returns:
      The bytes for firstRun.
    • setFirstRun

      public App.UpdateModuleRequest.Builder setFirstRun(String value)
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Parameters:
      value - The firstRun to set.
      Returns:
      This builder for chaining.
    • clearFirstRun

      public App.UpdateModuleRequest.Builder clearFirstRun()
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Returns:
      This builder for chaining.
    • setFirstRunBytes

      public App.UpdateModuleRequest.Builder setFirstRunBytes(com.google.protobuf.ByteString value)
       The path to a setup script that is run before a newly downloaded module starts.
       
      optional string first_run = 7 [json_name = "firstRun"];
      Parameters:
      value - The bytes for firstRun to set.
      Returns:
      This builder for chaining.