Package viam.app.v1
Class App.ModuleVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleVersion,App.ModuleVersion.Builder>
viam.app.v1.App.ModuleVersion.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ModuleVersionOrBuilder
- Enclosing class:
- App.ModuleVersion
public static final class App.ModuleVersion.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ModuleVersion,App.ModuleVersion.Builder>
implements App.ModuleVersionOrBuilder
Protobuf type
viam.app.v1.ModuleVersion
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFiles
(Iterable<? extends App.Uploads> values) The uploads that are available for this module versionaddAllModels
(Iterable<? extends App.Model> values) The models that this verion of the module providesaddFiles
(int index, App.Uploads value) The uploads that are available for this module versionaddFiles
(int index, App.Uploads.Builder builderForValue) The uploads that are available for this module versionaddFiles
(App.Uploads value) The uploads that are available for this module versionaddFiles
(App.Uploads.Builder builderForValue) The uploads that are available for this module versionThe models that this verion of the module providesaddModels
(int index, App.Model.Builder builderForValue) The models that this verion of the module providesThe models that this verion of the module providesaddModels
(App.Model.Builder builderForValue) The models that this verion of the module providesThe entrypoint for this version of the moduleThe uploads that are available for this module versionThe path to a setup script that is run before a newly downloaded module starts.The models that this verion of the module providesThe semver string that represents the major/minor/patch version of the moduleThe entrypoint for this version of the modulecom.google.protobuf.ByteString
The entrypoint for this version of the modulegetFiles
(int index) The uploads that are available for this module versionint
The uploads that are available for this module versionThe uploads that are available for this module versionThe 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) The models that this verion of the module providesint
The models that this verion of the module providesThe models that this verion of the module providesThe semver string that represents the major/minor/patch version of the modulecom.google.protobuf.ByteString
The semver string that represents the major/minor/patch version of the moduleboolean
The path to a setup script that is run before a newly downloaded module starts.removeFiles
(int index) The uploads that are available for this module versionremoveModels
(int index) The models that this verion of the module providessetEntrypoint
(String value) The entrypoint for this version of the modulesetEntrypointBytes
(com.google.protobuf.ByteString value) The entrypoint for this version of the modulesetFiles
(int index, App.Uploads value) The uploads that are available for this module versionsetFiles
(int index, App.Uploads.Builder builderForValue) The uploads that are available for this module versionsetFirstRun
(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.The models that this verion of the module providessetModels
(int index, App.Model.Builder builderForValue) The models that this verion of the module providessetVersion
(String value) The semver string that represents the major/minor/patch version of the modulesetVersionBytes
(com.google.protobuf.ByteString value) The semver string that represents the major/minor/patch version of 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
-
getVersion
The semver string that represents the major/minor/patch version of the module
string version = 1 [json_name = "version"];
- Specified by:
getVersion
in interfaceApp.ModuleVersionOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The semver string that represents the major/minor/patch version of the module
string version = 1 [json_name = "version"];
- Specified by:
getVersionBytes
in interfaceApp.ModuleVersionOrBuilder
- Returns:
- The bytes for version.
-
setVersion
The semver string that represents the major/minor/patch version of the module
string version = 1 [json_name = "version"];
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The semver string that represents the major/minor/patch version of the module
string version = 1 [json_name = "version"];
- Returns:
- This builder for chaining.
-
setVersionBytes
The semver string that represents the major/minor/patch version of the module
string version = 1 [json_name = "version"];
- Parameters:
value
- The bytes for version to set.- Returns:
- This builder for chaining.
-
getFilesList
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
- Specified by:
getFilesList
in interfaceApp.ModuleVersionOrBuilder
-
getFilesCount
public int getFilesCount()The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
- Specified by:
getFilesCount
in interfaceApp.ModuleVersionOrBuilder
-
getFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
- Specified by:
getFiles
in interfaceApp.ModuleVersionOrBuilder
-
setFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
setFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
addFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
addFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
addFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
addFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
addAllFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
clearFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
removeFiles
The uploads that are available for this module version
repeated .viam.app.v1.Uploads files = 2 [json_name = "files"];
-
getModelsList
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
- Specified by:
getModelsList
in interfaceApp.ModuleVersionOrBuilder
-
getModelsCount
public int getModelsCount()The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
- Specified by:
getModelsCount
in interfaceApp.ModuleVersionOrBuilder
-
getModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
- Specified by:
getModels
in interfaceApp.ModuleVersionOrBuilder
-
setModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
setModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
addModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
addModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
addModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
addModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
addAllModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
clearModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
removeModels
The models that this verion of the module provides
repeated .viam.app.v1.Model models = 3 [json_name = "models"];
-
getEntrypoint
The entrypoint for this version of the module
string entrypoint = 4 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceApp.ModuleVersionOrBuilder
- Returns:
- The entrypoint.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes()The entrypoint for this version of the module
string entrypoint = 4 [json_name = "entrypoint"];
- Specified by:
getEntrypointBytes
in interfaceApp.ModuleVersionOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
The entrypoint for this version of the module
string entrypoint = 4 [json_name = "entrypoint"];
- Parameters:
value
- The entrypoint to set.- Returns:
- This builder for chaining.
-
clearEntrypoint
The entrypoint for this version of the module
string entrypoint = 4 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
The entrypoint for this version of the module
string entrypoint = 4 [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 = 5 [json_name = "firstRun"];
- Specified by:
hasFirstRun
in interfaceApp.ModuleVersionOrBuilder
- 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 = 5 [json_name = "firstRun"];
- Specified by:
getFirstRun
in interfaceApp.ModuleVersionOrBuilder
- 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 = 5 [json_name = "firstRun"];
- Specified by:
getFirstRunBytes
in interfaceApp.ModuleVersionOrBuilder
- 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 = 5 [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 = 5 [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 = 5 [json_name = "firstRun"];
- Parameters:
value
- The bytes for firstRun to set.- Returns:
- This builder for chaining.
-