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 Type
    Method
    Description
    getModels(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

      .viam.robot.v1.ResourceRPCSubtype subtype = 1 [json_name = "subtype"];
      Returns:
      The subtype.
    • getModelsList

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

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