Class Board.PWMResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Board.PWMResponse,Board.PWMResponse.Builder>
com.viam.component.board.v1.Board.PWMResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Board.PWMResponseOrBuilder, Cloneable
Enclosing class:
Board.PWMResponse

public static final class Board.PWMResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Board.PWMResponse,Board.PWMResponse.Builder> implements Board.PWMResponseOrBuilder
Protobuf type viam.component.board.v1.PWMResponse
  • Field Summary

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    0-1
    double
    0-1
    setDutyCyclePct(double value)
    0-1

    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

    • getDutyCyclePct

      public double getDutyCyclePct()
       0-1
       
      double duty_cycle_pct = 1 [json_name = "dutyCyclePct"];
      Specified by:
      getDutyCyclePct in interface Board.PWMResponseOrBuilder
      Returns:
      The dutyCyclePct.
    • setDutyCyclePct

      public Board.PWMResponse.Builder setDutyCyclePct(double value)
       0-1
       
      double duty_cycle_pct = 1 [json_name = "dutyCyclePct"];
      Parameters:
      value - The dutyCyclePct to set.
      Returns:
      This builder for chaining.
    • clearDutyCyclePct

      public Board.PWMResponse.Builder clearDutyCyclePct()
       0-1
       
      double duty_cycle_pct = 1 [json_name = "dutyCyclePct"];
      Returns:
      This builder for chaining.