Interface Motor.GoForRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Motor.GoForRequest, Motor.GoForRequest.Builder
Enclosing class:
Motor

public static interface Motor.GoForRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Additional arguments to the method
    Name of a motor
    com.google.protobuf.ByteString
    Name of a motor
    double
    Number of revolutions relative to motor's start position
    double
    Speed of motor travel in rotations per minute
    boolean
    Additional arguments to the method

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getName

      String getName()
       Name of a motor
       
      string name = 1 [json_name = "name"];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of a motor
       
      string name = 1 [json_name = "name"];
      Returns:
      The bytes for name.
    • getRpm

      double getRpm()
       Speed of motor travel in rotations per minute
       
      double rpm = 2 [json_name = "rpm"];
      Returns:
      The rpm.
    • getRevolutions

      double getRevolutions()
       Number of revolutions relative to motor's start position
       
      double revolutions = 3 [json_name = "revolutions"];
      Returns:
      The revolutions.
    • hasExtra

      boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      Whether the extra field is set.
    • getExtra

      com.google.protobuf.Struct getExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      The extra.