Package viam.app.v1
Class AppOuterClass.UpdateModuleMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateModuleMetadata,AppOuterClass.UpdateModuleMetadata.Builder>
viam.app.v1.AppOuterClass.UpdateModuleMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,AppOuterClass.UpdateModuleMetadataOrBuilder
- Enclosing class:
- AppOuterClass.UpdateModuleMetadata
public static final class AppOuterClass.UpdateModuleMetadata.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateModuleMetadata,AppOuterClass.UpdateModuleMetadata.Builder>
implements AppOuterClass.UpdateModuleMetadataOrBuilder
Protobuf type
viam.app.v1.UpdateModuleMetadata
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllModels
(Iterable<? extends AppOuterClass.Model> values) A list of models that are available in 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 moduleThe executable to run to start the module programA list of models that are available in the moduleThe executable to run to start the module programcom.google.protobuf.ByteString
The executable to run to start the module programgetModels
(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 moduleremoveModels
(int index) A list of models that are available in 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 programsetModels
(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 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
-
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 interfaceAppOuterClass.UpdateModuleMetadataOrBuilder
-
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 interfaceAppOuterClass.UpdateModuleMetadataOrBuilder
-
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 interfaceAppOuterClass.UpdateModuleMetadataOrBuilder
-
setModels
A list of models that are available in the module
repeated .viam.app.v1.Model models = 1 [json_name = "models"];
-
setModels
public AppOuterClass.UpdateModuleMetadata.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
public AppOuterClass.UpdateModuleMetadata.Builder addModels(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
public AppOuterClass.UpdateModuleMetadata.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.UpdateModuleMetadata.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"];
-
getEntrypoint
The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];
- Specified by:
getEntrypoint
in interfaceAppOuterClass.UpdateModuleMetadataOrBuilder
- Returns:
- The entrypoint.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes()The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];
- Specified by:
getEntrypointBytes
in interfaceAppOuterClass.UpdateModuleMetadataOrBuilder
- Returns:
- The bytes for entrypoint.
-
setEntrypoint
The executable to run to start the module program
string entrypoint = 2 [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 = 2 [json_name = "entrypoint"];
- Returns:
- This builder for chaining.
-
setEntrypointBytes
public AppOuterClass.UpdateModuleMetadata.Builder setEntrypointBytes(com.google.protobuf.ByteString value) The executable to run to start the module program
string entrypoint = 2 [json_name = "entrypoint"];
- Parameters:
value
- The bytes for entrypoint to set.- Returns:
- This builder for chaining.
-