Package com.viam.component.nswitch.v1
Interface Switch.GetNumberOfPositionsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Switch.GetNumberOfPositionsResponse,Switch.GetNumberOfPositionsResponse.Builder
- Enclosing class:
- Switch
public static interface Switch.GetNumberOfPositionsResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLabels(int index) repeated string labels = 2 [json_name = "labels"];com.google.protobuf.ByteStringgetLabelsBytes(int index) repeated string labels = 2 [json_name = "labels"];intrepeated string labels = 2 [json_name = "labels"];repeated string labels = 2 [json_name = "labels"];intuint32 number_of_positions = 1 [json_name = "numberOfPositions"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getNumberOfPositions
int getNumberOfPositions()uint32 number_of_positions = 1 [json_name = "numberOfPositions"];- Returns:
- The numberOfPositions.
-
getLabelsList
repeated string labels = 2 [json_name = "labels"];- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()repeated string labels = 2 [json_name = "labels"];- Returns:
- The count of labels.
-
getLabels
repeated string labels = 2 [json_name = "labels"];- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
com.google.protobuf.ByteString getLabelsBytes(int index) repeated string labels = 2 [json_name = "labels"];- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-