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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllModels
(Iterable<? extends App.Model> values) A list of models that are available in the moduleA list of models that are available in the moduleaddModels
(int index, App.Model.Builder builderForValue) A list of models that are available in the moduleA list of models that are available in the moduleaddModels
(App.Model.Builder builderForValue) A list of models that are available in the moduleThe executable to run to start the module programA list of models that are available in the moduleThe executable to run to start the module programcom.google.protobuf.ByteString
The executable to run to start the module programgetModels
(int index) A list of models that are available in the moduleint
A list of models that are available in the moduleA list of models that are available in the moduleremoveModels
(int index) A list of models that are available in the modulesetEntrypoint
(String value) The executable to run to start the module programsetEntrypointBytes
(com.google.protobuf.ByteString value) The executable to run to start the module programA list of models that are available in the modulesetModels
(int index, App.Model.Builder builderForValue) A list of models that are available in the moduleMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 interfaceApp.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 interfaceApp.UpdateModuleMetadataOrBuilder
-
getModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
- Specified by:
getModels
in interfaceApp.UpdateModuleMetadataOrBuilder
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
addAllModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
clearModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
removeModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
getEntrypoint
The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceApp.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 interfaceApp.UpdateModuleMetadataOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
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
The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
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.
-