Package com.viam.component.motor.v1
Class Motor.SetRPMRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motor.SetRPMRequest,Motor.SetRPMRequest.Builder>
com.viam.component.motor.v1.Motor.SetRPMRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motor.SetRPMRequestOrBuilder
,Cloneable
- Enclosing class:
- Motor.SetRPMRequest
public static final class Motor.SetRPMRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motor.SetRPMRequest,Motor.SetRPMRequest.Builder>
implements Motor.SetRPMRequestOrBuilder
Protobuf type
viam.component.motor.v1.SetRPMRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments to the methodName of a motorclearRpm()
Speed of motor travel in rotations per minutecom.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
Name of a motorcom.google.protobuf.ByteString
Name of a motordouble
getRpm()
Speed of motor travel in rotations per minuteboolean
hasExtra()
Additional arguments to the methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of a motorsetNameBytes
(com.google.protobuf.ByteString value) Name of a motorsetRpm
(double value) Speed of motor travel in rotations per minuteMethods 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
-
getName
Name of a motor
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceMotor.SetRPMRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of a motor
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceMotor.SetRPMRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of a motor
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of a motor
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of a motor
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRpm
public double getRpm()Speed of motor travel in rotations per minute
double rpm = 2 [json_name = "rpm"];
- Specified by:
getRpm
in interfaceMotor.SetRPMRequestOrBuilder
- Returns:
- The rpm.
-
setRpm
Speed of motor travel in rotations per minute
double rpm = 2 [json_name = "rpm"];
- Parameters:
value
- The rpm to set.- Returns:
- This builder for chaining.
-
clearRpm
Speed of motor travel in rotations per minute
double rpm = 2 [json_name = "rpm"];
- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceMotor.SetRPMRequestOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceMotor.SetRPMRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-