Package viam.module.v1
Interface Module.AddResourceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Module.AddResourceRequest
,Module.AddResourceRequest.Builder
- Enclosing class:
- Module
public static interface Module.AddResourceRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
getDependencies
(int index) repeated string dependencies = 2 [json_name = "dependencies"];
com.google.protobuf.ByteString
getDependenciesBytes
(int index) repeated string dependencies = 2 [json_name = "dependencies"];
int
repeated string dependencies = 2 [json_name = "dependencies"];
repeated string dependencies = 2 [json_name = "dependencies"];
boolean
.viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasConfig
boolean hasConfig().viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
- Returns:
- Whether the config field is set.
-
getConfig
Robot.ComponentConfig getConfig().viam.app.v1.ComponentConfig config = 1 [json_name = "config"];
- Returns:
- The config.
-
getDependenciesList
repeated string dependencies = 2 [json_name = "dependencies"];
- Returns:
- A list containing the dependencies.
-
getDependenciesCount
int getDependenciesCount()repeated string dependencies = 2 [json_name = "dependencies"];
- Returns:
- The count of dependencies.
-
getDependencies
repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
index
- The index of the element to return.- Returns:
- The dependencies at the given index.
-
getDependenciesBytes
com.google.protobuf.ByteString getDependenciesBytes(int index) repeated string dependencies = 2 [json_name = "dependencies"];
- Parameters:
index
- The index of the element to return.- Returns:
- The dependencies at the given index.
-