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 Type
    Method
    Description
    getLabels(int index)
    repeated string labels = 2 [json_name = "labels"];
    com.google.protobuf.ByteString
    getLabelsBytes(int index)
    repeated string labels = 2 [json_name = "labels"];
    int
    repeated string labels = 2 [json_name = "labels"];
    repeated string labels = 2 [json_name = "labels"];
    int
    uint32 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

      List<String> 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

      String getLabels(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.
    • 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.