Class Motor.GetPropertiesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motor.GetPropertiesResponse,Motor.GetPropertiesResponse.Builder>
com.viam.component.motor.v1.Motor.GetPropertiesResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Motor.GetPropertiesResponseOrBuilder, Cloneable
Enclosing class:
Motor.GetPropertiesResponse

public static final class Motor.GetPropertiesResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Motor.GetPropertiesResponse,Motor.GetPropertiesResponse.Builder> implements Motor.GetPropertiesResponseOrBuilder
Protobuf type viam.component.motor.v1.GetPropertiesResponse
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns true if the motor supports reporting its position
    boolean
    Returns true if the motor supports reporting its position
    setPositionReporting(boolean value)
    Returns true if the motor supports reporting its position

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getPositionReporting

      public boolean getPositionReporting()
       Returns true if the motor supports reporting its position
       
      bool position_reporting = 1 [json_name = "positionReporting"];
      Specified by:
      getPositionReporting in interface Motor.GetPropertiesResponseOrBuilder
      Returns:
      The positionReporting.
    • setPositionReporting

      public Motor.GetPropertiesResponse.Builder setPositionReporting(boolean value)
       Returns true if the motor supports reporting its position
       
      bool position_reporting = 1 [json_name = "positionReporting"];
      Parameters:
      value - The positionReporting to set.
      Returns:
      This builder for chaining.
    • clearPositionReporting

      public Motor.GetPropertiesResponse.Builder clearPositionReporting()
       Returns true if the motor supports reporting its position
       
      bool position_reporting = 1 [json_name = "positionReporting"];
      Returns:
      This builder for chaining.