Package viam.app.v1

Class App.UpdateModuleMetadata.Builder

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

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

    • getModelsList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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