Package com.viam.component.base.v1
Interface Base.SetPowerRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Base.SetPowerRequest
,Base.SetPowerRequest.Builder
- Enclosing class:
- Base
public static interface Base.SetPowerRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDesired 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 -> 1Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()Name of a base
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of a base
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
hasLinear
boolean hasLinear()Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
- Returns:
- Whether the linear field is set.
-
getLinear
Common.Vector3 getLinear()Desired linear power percentage as -1 -> 1
.viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
- Returns:
- The linear.
-
hasAngular
boolean hasAngular()Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
- Returns:
- Whether the angular field is set.
-
getAngular
Common.Vector3 getAngular()Desired angular power percentage % as -1 -> 1
.viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
- Returns:
- The angular.
-
hasExtra
boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- The extra.
-