Package com.viam.component.motor.v1
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 TypeMethodDescriptionReturns true if the motor supports reporting its positionboolean
Returns true if the motor supports reporting its positionsetPositionReporting
(boolean value) Returns true if the motor supports reporting its positionMethods 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 interfaceMotor.GetPropertiesResponseOrBuilder
- Returns:
- The positionReporting.
-
setPositionReporting
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
Returns true if the motor supports reporting its position
bool position_reporting = 1 [json_name = "positionReporting"];
- Returns:
- This builder for chaining.
-