Package com.viam.component.base.v1
Class Base.SetPowerRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Base.SetPowerRequest,Base.SetPowerRequest.Builder>
com.viam.component.base.v1.Base.SetPowerRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Base.SetPowerRequestOrBuilder
,Cloneable
- Enclosing class:
- Base.SetPowerRequest
public static final class Base.SetPowerRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Base.SetPowerRequest,Base.SetPowerRequest.Builder>
implements Base.SetPowerRequestOrBuilder
Protobuf type
viam.component.base.v1.SetPowerRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionDesired angular power percentage % as -1 -> 1Additional arguments to the methodDesired linear power percentage as -1 -> 1Name of a baseDesired angular power percentage % as -1 -> 1com.google.protobuf.Struct
getExtra()
Additional arguments to the methodDesired linear power percentage as -1 -> 1getName()
Name of a basecom.google.protobuf.ByteString
Name of a baseboolean
Desired angular power percentage % as -1 -> 1boolean
hasExtra()
Additional arguments to the methodboolean
Desired linear power percentage as -1 -> 1mergeAngular
(Common.Vector3 value) Desired angular power percentage % as -1 -> 1mergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodmergeLinear
(Common.Vector3 value) Desired linear power percentage as -1 -> 1setAngular
(Common.Vector3 value) Desired angular power percentage % as -1 -> 1setAngular
(Common.Vector3.Builder builderForValue) Desired angular power percentage % as -1 -> 1setExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetLinear
(Common.Vector3 value) Desired linear power percentage as -1 -> 1setLinear
(Common.Vector3.Builder builderForValue) Desired linear power percentage as -1 -> 1Name of a basesetNameBytes
(com.google.protobuf.ByteString value) Name of a baseMethods 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 base
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of a base
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of a base
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of a base
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of a base
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasLinear
public boolean hasLinear()Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
- Specified by:
hasLinear
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- Whether the linear field is set.
-
getLinear
Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
- Specified by:
getLinear
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- The linear.
-
setLinear
Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
-
setLinear
Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
-
mergeLinear
Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
-
clearLinear
Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
-
hasAngular
public boolean hasAngular()Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
- Specified by:
hasAngular
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- Whether the angular field is set.
-
getAngular
Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
- Specified by:
getAngular
in interfaceBase.SetPowerRequestOrBuilder
- Returns:
- The angular.
-
setAngular
Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
-
setAngular
Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
-
mergeAngular
Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
-
clearAngular
Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceBase.SetPowerRequestOrBuilder
- 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 interfaceBase.SetPowerRequestOrBuilder
- 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"];
-