Package viam.app.v1
Class App.UpdateModuleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateModuleRequest,App.UpdateModuleRequest.Builder>
viam.app.v1.App.UpdateModuleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.UpdateModuleRequestOrBuilder
- Enclosing class:
- App.UpdateModuleRequest
public static final class App.UpdateModuleRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateModuleRequest,App.UpdateModuleRequest.Builder>
implements App.UpdateModuleRequestOrBuilder
Protobuf type
viam.app.v1.UpdateModuleRequest
-
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 moduleA short description of the module that explains its purposeThe 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 moduleThe id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)clearUrl()
The url to reference for documentation, code, etc.The visibility that should be set for the moduleA short description of the module that explains its purposecom.google.protobuf.ByteString
A short description of the module that explains its purposeThe 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 moduleThe id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)com.google.protobuf.ByteString
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)getUrl()
The url to reference for documentation, code, etc.com.google.protobuf.ByteString
The url to reference for documentation, code, etc.The visibility that should be set for the moduleint
The visibility that should be set for the moduleboolean
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 modulesetDescription
(String value) A short description of the module that explains its purposesetDescriptionBytes
(com.google.protobuf.ByteString value) A short description of the module that explains its purposesetEntrypoint
(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 modulesetModuleId
(String value) The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)setModuleIdBytes
(com.google.protobuf.ByteString value) The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)The url to reference for documentation, code, etc.setUrlBytes
(com.google.protobuf.ByteString value) The url to reference for documentation, code, etc.setVisibility
(App.Visibility value) The visibility that should be set for the modulesetVisibilityValue
(int value) The visibility that should be set for 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
-
getModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleId
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The moduleId.
-
getModuleIdBytes
public com.google.protobuf.ByteString getModuleIdBytes()The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleIdBytes
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The bytes for moduleId.
-
setModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The moduleId to set.- Returns:
- This builder for chaining.
-
clearModuleId
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Returns:
- This builder for chaining.
-
setModuleIdBytes
The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The bytes for moduleId to set.- Returns:
- This builder for chaining.
-
getVisibilityValue
public int getVisibilityValue()The visibility that should be set for the module
.viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
- Specified by:
getVisibilityValue
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The enum numeric value on the wire for visibility.
-
setVisibilityValue
The visibility that should be set for the module
.viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
- Parameters:
value
- The visibility to set.- Returns:
- This builder for chaining.
-
getVisibility
The visibility that should be set for the module
.viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
- Specified by:
getVisibility
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The visibility.
-
setVisibility
The visibility that should be set for the module
.viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
- Parameters:
value
- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
The visibility that should be set for the module
.viam.app.v1.Visibility visibility = 2 [json_name = "visibility"];
- Returns:
- This builder for chaining.
-
getUrl
The url to reference for documentation, code, etc.
string url = 3 [json_name = "url"];
- Specified by:
getUrl
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The url.
-
getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()The url to reference for documentation, code, etc.
string url = 3 [json_name = "url"];
- Specified by:
getUrlBytes
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The bytes for url.
-
setUrl
The url to reference for documentation, code, etc.
string url = 3 [json_name = "url"];
- Parameters:
value
- The url to set.- Returns:
- This builder for chaining.
-
clearUrl
The url to reference for documentation, code, etc.
string url = 3 [json_name = "url"];
- Returns:
- This builder for chaining.
-
setUrlBytes
The url to reference for documentation, code, etc.
string url = 3 [json_name = "url"];
- Parameters:
value
- The bytes for url to set.- Returns:
- This builder for chaining.
-
getDescription
A short description of the module that explains its purpose
string description = 4 [json_name = "description"];
- Specified by:
getDescription
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A short description of the module that explains its purpose
string description = 4 [json_name = "description"];
- Specified by:
getDescriptionBytes
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The bytes for description.
-
setDescription
A short description of the module that explains its purpose
string description = 4 [json_name = "description"];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A short description of the module that explains its purpose
string description = 4 [json_name = "description"];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
A short description of the module that explains its purpose
string description = 4 [json_name = "description"];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getModelsList
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
- Specified by:
getModelsList
in interfaceApp.UpdateModuleRequestOrBuilder
-
getModelsCount
public int getModelsCount()A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
- Specified by:
getModelsCount
in interfaceApp.UpdateModuleRequestOrBuilder
-
getModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
- Specified by:
getModels
in interfaceApp.UpdateModuleRequestOrBuilder
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
addModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
addAllModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
clearModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
removeModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];
-
getEntrypoint
The executable to run to start the module program
string entrypoint = 6 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The entrypoint.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes()The executable to run to start the module program
string entrypoint = 6 [json_name = "entrypoint"];
- Specified by:
getEntrypointBytes
in interfaceApp.UpdateModuleRequestOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
The executable to run to start the module program
string entrypoint = 6 [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 = 6 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
The executable to run to start the module program
string entrypoint = 6 [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 = 7 [json_name = "firstRun"];
- Specified by:
hasFirstRun
in interfaceApp.UpdateModuleRequestOrBuilder
- 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 = 7 [json_name = "firstRun"];
- Specified by:
getFirstRun
in interfaceApp.UpdateModuleRequestOrBuilder
- 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 = 7 [json_name = "firstRun"];
- Specified by:
getFirstRunBytes
in interfaceApp.UpdateModuleRequestOrBuilder
- 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 = 7 [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 = 7 [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 = 7 [json_name = "firstRun"];
- Parameters:
value
- The bytes for firstRun to set.- Returns:
- This builder for chaining.
-