Package viam.app.v1
Class AppOuterClass.UpdateModuleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateModuleRequest,AppOuterClass.UpdateModuleRequest.Builder>
viam.app.v1.AppOuterClass.UpdateModuleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.UpdateModuleRequestOrBuilder
- Enclosing class:
- AppOuterClass.UpdateModuleRequest
public static final class AppOuterClass.UpdateModuleRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateModuleRequest,AppOuterClass.UpdateModuleRequest.Builder>
implements AppOuterClass.UpdateModuleRequestOrBuilder
Protobuf type
viam.app.v1.UpdateModuleRequest-
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 moduleaddApps(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 moduleA list of applications associated with 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.longer documentation provided in markdown formatA 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 modulegetApps(int index) A list of applications associated with the moduleintA list of applications associated with the moduleA list of applications associated with the moduleA short description of the module that explains its purposecom.google.protobuf.ByteStringA short description of the module that explains its purposeThe 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.longer documentation provided in markdown formatcom.google.protobuf.ByteStringlonger documentation provided in markdown formatgetModels(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 moduleThe id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)com.google.protobuf.ByteStringThe 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.ByteStringThe url to reference for documentation, code, etc.The visibility that should be set for the moduleintThe visibility that should be set for the modulebooleanThe path to a setup script that is run before a newly downloaded module starts.booleanlonger documentation provided in markdown formatremoveApps(int index) A list of applications associated with the moduleremoveModels(int index) A list of models that are available in the modulesetApps(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 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.setMarkdownDescription(String value) longer documentation provided in markdown formatsetMarkdownDescriptionBytes(com.google.protobuf.ByteString value) longer documentation provided in markdown formatsetModels(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 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.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, 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
-
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:
getModuleIdin interfaceAppOuterClass.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:
getModuleIdBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateModuleRequest.Builder 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)
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:
getVisibilityValuein interfaceAppOuterClass.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:
getVisibilityin interfaceAppOuterClass.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:
getUrlin interfaceAppOuterClass.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:
getUrlBytesin interfaceAppOuterClass.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:
getDescriptionin interfaceAppOuterClass.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:
getDescriptionBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateModuleRequest.Builder setDescriptionBytes(com.google.protobuf.ByteString value) 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:
getModelsListin interfaceAppOuterClass.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:
getModelsCountin interfaceAppOuterClass.UpdateModuleRequestOrBuilder
-
getModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"];- Specified by:
getModelsin interfaceAppOuterClass.UpdateModuleRequestOrBuilder
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"]; -
setModels
public AppOuterClass.UpdateModuleRequest.Builder setModels(int index, AppOuterClass.Model.Builder builderForValue) 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
public AppOuterClass.UpdateModuleRequest.Builder addModels(AppOuterClass.Model.Builder builderForValue) A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"]; -
addModels
public AppOuterClass.UpdateModuleRequest.Builder addModels(int index, AppOuterClass.Model.Builder builderForValue) A list of models that are available in the module
repeated .viam.app.v1.Model models = 5 [json_name = "models"]; -
addAllModels
public AppOuterClass.UpdateModuleRequest.Builder addAllModels(Iterable<? extends AppOuterClass.Model> values) 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:
getEntrypointin interfaceAppOuterClass.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:
getEntrypointBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateModuleRequest.Builder setEntrypointBytes(com.google.protobuf.ByteString value) 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:
hasFirstRunin interfaceAppOuterClass.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:
getFirstRunin interfaceAppOuterClass.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:
getFirstRunBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateModuleRequest.Builder setFirstRunBytes(com.google.protobuf.ByteString value) 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.
-
getAppsList
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"];- Specified by:
getAppsListin interfaceAppOuterClass.UpdateModuleRequestOrBuilder
-
getAppsCount
public int getAppsCount()A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"];- Specified by:
getAppsCountin interfaceAppOuterClass.UpdateModuleRequestOrBuilder
-
getApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"];- Specified by:
getAppsin interfaceAppOuterClass.UpdateModuleRequestOrBuilder
-
setApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
setApps
public AppOuterClass.UpdateModuleRequest.Builder setApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
addApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
addApps
public AppOuterClass.UpdateModuleRequest.Builder addApps(int index, AppOuterClass.App.Builder builderForValue) A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
addAllApps
public AppOuterClass.UpdateModuleRequest.Builder addAllApps(Iterable<? extends AppOuterClass.App> values) A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
clearApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
removeApps
A list of applications associated with the module
repeated .viam.app.v1.App apps = 8 [json_name = "apps"]; -
hasMarkdownDescription
public boolean hasMarkdownDescription()longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Specified by:
hasMarkdownDescriptionin interfaceAppOuterClass.UpdateModuleRequestOrBuilder- Returns:
- Whether the markdownDescription field is set.
-
getMarkdownDescription
longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Specified by:
getMarkdownDescriptionin interfaceAppOuterClass.UpdateModuleRequestOrBuilder- Returns:
- The markdownDescription.
-
getMarkdownDescriptionBytes
public com.google.protobuf.ByteString getMarkdownDescriptionBytes()longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Specified by:
getMarkdownDescriptionBytesin interfaceAppOuterClass.UpdateModuleRequestOrBuilder- Returns:
- The bytes for markdownDescription.
-
setMarkdownDescription
longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Parameters:
value- The markdownDescription to set.- Returns:
- This builder for chaining.
-
clearMarkdownDescription
longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Returns:
- This builder for chaining.
-
setMarkdownDescriptionBytes
public AppOuterClass.UpdateModuleRequest.Builder setMarkdownDescriptionBytes(com.google.protobuf.ByteString value) longer documentation provided in markdown format
optional string markdown_description = 9 [json_name = "markdownDescription"];- Parameters:
value- The bytes for markdownDescription to set.- Returns:
- This builder for chaining.
-