Package viam.module.v1
Interface Module.HandlerDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Module.HandlerDefinition
,Module.HandlerDefinition.Builder
- Enclosing class:
- Module
public static interface Module.HandlerDefinitionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetModels
(int index) repeated string models = 2 [json_name = "models"];
com.google.protobuf.ByteString
getModelsBytes
(int index) repeated string models = 2 [json_name = "models"];
int
repeated string models = 2 [json_name = "models"];
repeated string models = 2 [json_name = "models"];
.viam.robot.v1.ResourceRPCSubtype subtype = 1 [json_name = "subtype"];
boolean
.viam.robot.v1.ResourceRPCSubtype subtype = 1 [json_name = "subtype"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasSubtype
boolean hasSubtype().viam.robot.v1.ResourceRPCSubtype subtype = 1 [json_name = "subtype"];
- Returns:
- Whether the subtype field is set.
-
getSubtype
Robot.ResourceRPCSubtype getSubtype().viam.robot.v1.ResourceRPCSubtype subtype = 1 [json_name = "subtype"];
- Returns:
- The subtype.
-
getModelsList
repeated string models = 2 [json_name = "models"];
- Returns:
- A list containing the models.
-
getModelsCount
int getModelsCount()repeated string models = 2 [json_name = "models"];
- Returns:
- The count of models.
-
getModels
repeated string models = 2 [json_name = "models"];
- Parameters:
index
- The index of the element to return.- Returns:
- The models at the given index.
-
getModelsBytes
com.google.protobuf.ByteString getModelsBytes(int index) repeated string models = 2 [json_name = "models"];
- Parameters:
index
- The index of the element to return.- Returns:
- The models at the given index.
-