Package viam.app.v1
Class AppOuterClass.ModuleMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ModuleMetadata,AppOuterClass.ModuleMetadata.Builder>
viam.app.v1.AppOuterClass.ModuleMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.ModuleMetadataOrBuilder
- Enclosing class:
- AppOuterClass.ModuleMetadata
public static final class AppOuterClass.ModuleMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ModuleMetadata,AppOuterClass.ModuleMetadata.Builder>
implements AppOuterClass.ModuleMetadataOrBuilder
Protobuf type
viam.app.v1.ModuleMetadata-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllApps(Iterable<? extends AppOuterClass.App> values) A list of applications associated with the moduleaddAllModels(Iterable<? extends AppOuterClass.Model> values) A list of models that are available in the moduleaddAllVersions(Iterable<? extends AppOuterClass.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 versionaddApps(int index, AppOuterClass.App value) A list of applications associated with the moduleaddApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with the moduleaddApps(AppOuterClass.App value) A list of applications associated with the moduleaddApps(AppOuterClass.App.Builder builderForValue) A list of applications associated with the moduleaddModels(int index, AppOuterClass.Model value) A list of models that are available in the moduleaddModels(int index, AppOuterClass.Model.Builder builderForValue) A list of models that are available in the moduleaddModels(AppOuterClass.Model value) A list of models that are available in the moduleaddModels(AppOuterClass.Model.Builder builderForValue) A list of models that are available in the moduleaddVersions(int index, AppOuterClass.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, AppOuterClass.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 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 versionaddVersions(AppOuterClass.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 versionA list of applications associated with the moduleThe executable to run to start the module programThe path to a setup script that is run before a newly downloaded module starts.markdown content for the entire moduleA 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 versiongetApps(int index) A list of applications associated with the moduleintA list of applications associated with the moduleA list of applications associated with the moduleThe executable to run to start the module programcom.google.protobuf.ByteStringThe 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.ByteStringThe path to a setup script that is run before a newly downloaded module starts.markdown content for the entire modulecom.google.protobuf.ByteStringmarkdown content for the entire modulegetModels(int index) A list of models that are available in the moduleintA 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 versionintA 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 versionbooleanThe path to a setup script that is run before a newly downloaded module starts.booleanmarkdown content for the entire moduleremoveApps(int index) A list of applications associated with the moduleremoveModels(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 versionsetApps(int index, AppOuterClass.App value) A list of applications associated with the modulesetApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with 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 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.setMarkdownDescription(String value) markdown content for the entire modulesetMarkdownDescriptionBytes(com.google.protobuf.ByteString value) markdown content for the entire modulesetModels(int index, AppOuterClass.Model value) A list of models that are available in the modulesetModels(int index, AppOuterClass.Model.Builder builderForValue) A list of models that are available in the modulesetVersions(int index, AppOuterClass.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, AppOuterClass.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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getModelsListin interfaceAppOuterClass.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:
getModelsCountin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
getModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];- Specified by:
getModelsin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"]; -
setModels
public AppOuterClass.ModuleMetadata.Builder setModels(int index, AppOuterClass.Model.Builder builderForValue) 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
public AppOuterClass.ModuleMetadata.Builder addModels(int index, AppOuterClass.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 AppOuterClass.ModuleMetadata.Builder addAllModels(Iterable<? extends AppOuterClass.Model> values) 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:
getVersionsListin interfaceAppOuterClass.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:
getVersionsCountin interfaceAppOuterClass.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:
getVersionsin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
setVersions
public AppOuterClass.ModuleMetadata.Builder setVersions(int index, AppOuterClass.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 version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; -
setVersions
public AppOuterClass.ModuleMetadata.Builder setVersions(int index, AppOuterClass.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 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
public AppOuterClass.ModuleMetadata.Builder addVersions(int index, AppOuterClass.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 version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; -
addVersions
public AppOuterClass.ModuleMetadata.Builder addVersions(AppOuterClass.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 version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; -
addVersions
public AppOuterClass.ModuleMetadata.Builder addVersions(int index, AppOuterClass.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 version
repeated .viam.app.v1.ModuleVersion versions = 2 [json_name = "versions"]; -
addAllVersions
public AppOuterClass.ModuleMetadata.Builder addAllVersions(Iterable<? extends AppOuterClass.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 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:
getEntrypointin interfaceAppOuterClass.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:
getEntrypointBytesin interfaceAppOuterClass.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
public AppOuterClass.ModuleMetadata.Builder setEntrypointBytes(com.google.protobuf.ByteString value) 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:
hasFirstRunin interfaceAppOuterClass.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:
getFirstRunin interfaceAppOuterClass.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:
getFirstRunBytesin interfaceAppOuterClass.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.
-
hasMarkdownDescription
public boolean hasMarkdownDescription()markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Specified by:
hasMarkdownDescriptionin interfaceAppOuterClass.ModuleMetadataOrBuilder- Returns:
- Whether the markdownDescription field is set.
-
getMarkdownDescription
markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Specified by:
getMarkdownDescriptionin interfaceAppOuterClass.ModuleMetadataOrBuilder- Returns:
- The markdownDescription.
-
getMarkdownDescriptionBytes
public com.google.protobuf.ByteString getMarkdownDescriptionBytes()markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Specified by:
getMarkdownDescriptionBytesin interfaceAppOuterClass.ModuleMetadataOrBuilder- Returns:
- The bytes for markdownDescription.
-
setMarkdownDescription
markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Parameters:
value- The markdownDescription to set.- Returns:
- This builder for chaining.
-
clearMarkdownDescription
markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Returns:
- This builder for chaining.
-
setMarkdownDescriptionBytes
public AppOuterClass.ModuleMetadata.Builder setMarkdownDescriptionBytes(com.google.protobuf.ByteString value) markdown content for the entire module
optional string markdown_description = 5 [json_name = "markdownDescription"];- Parameters:
value- The bytes for markdownDescription to set.- Returns:
- This builder for chaining.
-
getAppsList
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"];- Specified by:
getAppsListin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
getAppsCount
public int getAppsCount()A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"];- Specified by:
getAppsCountin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
getApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"];- Specified by:
getAppsin interfaceAppOuterClass.ModuleMetadataOrBuilder
-
setApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
setApps
public AppOuterClass.ModuleMetadata.Builder setApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
addApps
public AppOuterClass.ModuleMetadata.Builder addApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
addAllApps
public AppOuterClass.ModuleMetadata.Builder addAllApps(Iterable<? extends AppOuterClass.App> values) A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
clearApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"]; -
removeApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 6 [json_name = "apps"];
-