Package viam.app.v1

Class App.ListModulesResponse.Builder

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

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

    • getModulesList

      public List<App.Module> getModulesList()
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
      Specified by:
      getModulesList in interface App.ListModulesResponseOrBuilder
    • getModulesCount

      public int getModulesCount()
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
      Specified by:
      getModulesCount in interface App.ListModulesResponseOrBuilder
    • getModules

      public App.Module getModules(int index)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
      Specified by:
      getModules in interface App.ListModulesResponseOrBuilder
    • setModules

      public App.ListModulesResponse.Builder setModules(int index, App.Module value)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • setModules

      public App.ListModulesResponse.Builder setModules(int index, App.Module.Builder builderForValue)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • addModules

      public App.ListModulesResponse.Builder addModules(App.Module value)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • addModules

      public App.ListModulesResponse.Builder addModules(int index, App.Module value)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • addModules

      public App.ListModulesResponse.Builder addModules(App.Module.Builder builderForValue)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • addModules

      public App.ListModulesResponse.Builder addModules(int index, App.Module.Builder builderForValue)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • addAllModules

      public App.ListModulesResponse.Builder addAllModules(Iterable<? extends App.Module> values)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • clearModules

      public App.ListModulesResponse.Builder clearModules()
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];
    • removeModules

      public App.ListModulesResponse.Builder removeModules(int index)
       A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.
       
      repeated .viam.app.v1.Module modules = 1 [json_name = "modules"];