Package viam.app.v1
Class App.ModuleMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleMetadata,App.ModuleMetadata.Builder>
viam.app.v1.App.ModuleMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ModuleMetadataOrBuilder
- Enclosing class:
- App.ModuleMetadata
public static final class App.ModuleMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleMetadata,App.ModuleMetadata.Builder>
implements App.ModuleMetadataOrBuilder
Protobuf type
viam.app.v1.ModuleMetadata
-
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 moduleaddAllVersions
(Iterable<? extends App.ModuleVersion> values) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionA 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 moduleaddVersions
(int index, App.ModuleVersion value) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionaddVersions
(int index, App.ModuleVersion.Builder builderForValue) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionaddVersions
(App.ModuleVersion value) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionaddVersions
(App.ModuleVersion.Builder builderForValue) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionThe executable to run to start the module programThe path to a setup script that is run before a newly downloaded module starts.A list of models that are available in the moduleA list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionThe executable to run to start the module programcom.google.protobuf.ByteString
The executable to run to start the module programThe path to a setup script that is run before a newly downloaded module starts.com.google.protobuf.ByteString
The path to a setup script that is run before a newly downloaded module starts.getModels
(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 modulegetVersions
(int index) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionint
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionA list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionboolean
The path to a setup script that is run before a newly downloaded module starts.removeModels
(int index) A list of models that are available in the moduleremoveVersions
(int index) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionsetEntrypoint
(String value) The executable to run to start the module programsetEntrypointBytes
(com.google.protobuf.ByteString value) The executable to run to start the module programsetFirstRun
(String value) The path to a setup script that is run before a newly downloaded module starts.setFirstRunBytes
(com.google.protobuf.ByteString value) The path to a setup script that is run before a newly downloaded module starts.A list of models that are available in the modulesetModels
(int index, App.Model.Builder builderForValue) A list of models that are available in the modulesetVersions
(int index, App.ModuleVersion value) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionsetVersions
(int index, App.ModuleVersion.Builder builderForValue) A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver versionMethods 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.ModuleMetadataOrBuilder
-
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.ModuleMetadataOrBuilder
-
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.ModuleMetadataOrBuilder
-
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"];
-
getVersionsList
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
- Specified by:
getVersionsList
in interfaceApp.ModuleMetadataOrBuilder
-
getVersionsCount
public int getVersionsCount()A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
- Specified by:
getVersionsCount
in interfaceApp.ModuleMetadataOrBuilder
-
getVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
- Specified by:
getVersions
in interfaceApp.ModuleMetadataOrBuilder
-
setVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
setVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
addVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
addVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
addVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
addVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
addAllVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
clearVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
removeVersions
A list of versions of the module that are available When this is returned from the backend, the versions are sorted in ascending order by the semver version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"];
-
getEntrypoint
The executable to run to start the module program
string entrypoint = 3 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceApp.ModuleMetadataOrBuilder
- Returns:
- The entrypoint.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes()The executable to run to start the module program
string entrypoint = 3 [json_name = "entrypoint"];
- Specified by:
getEntrypointBytes
in interfaceApp.ModuleMetadataOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
The executable to run to start the module program
string entrypoint = 3 [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 = 3 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
The executable to run to start the module program
string entrypoint = 3 [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 = 4 [json_name = "firstRun"];
- Specified by:
hasFirstRun
in interfaceApp.ModuleMetadataOrBuilder
- Returns:
- Whether the firstRun field is set.
-
getFirstRun
The path to a setup script that is run before a newly downloaded module starts.
optional string first_run = 4 [json_name = "firstRun"];
- Specified by:
getFirstRun
in interfaceApp.ModuleMetadataOrBuilder
- 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 = 4 [json_name = "firstRun"];
- Specified by:
getFirstRunBytes
in interfaceApp.ModuleMetadataOrBuilder
- Returns:
- The bytes for firstRun.
-
setFirstRun
The path to a setup script that is run before a newly downloaded module starts.
optional string first_run = 4 [json_name = "firstRun"];
- Parameters:
value
- The firstRun to set.- Returns:
- This builder for chaining.
-
clearFirstRun
The path to a setup script that is run before a newly downloaded module starts.
optional string first_run = 4 [json_name = "firstRun"];
- Returns:
- This builder for chaining.
-
setFirstRunBytes
The path to a setup script that is run before a newly downloaded module starts.
optional string first_run = 4 [json_name = "firstRun"];
- Parameters:
value
- The bytes for firstRun to set.- Returns:
- This builder for chaining.
-