Package com.viam.component.board.v1
Interface Board.SetPowerModeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Board.SetPowerModeRequest,Board.SetPowerModeRequest.Builder
- Enclosing class:
- Board
public static interface Board.SetPowerModeRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationRequested duration to stay in `power_mode`com.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()name of boardcom.google.protobuf.ByteStringname of boardRequested power modeintRequested power modebooleanRequested duration to stay in `power_mode`booleanhasExtra()Additional arguments to the methodMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()name of board
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()name of board
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getPowerModeValue
int getPowerModeValue()Requested power mode
.viam.component.board.v1.PowerMode power_mode = 2 [json_name = "powerMode"];- Returns:
- The enum numeric value on the wire for powerMode.
-
getPowerMode
Board.PowerMode getPowerMode()Requested power mode
.viam.component.board.v1.PowerMode power_mode = 2 [json_name = "powerMode"];- Returns:
- The powerMode.
-
hasDuration
boolean hasDuration()Requested duration to stay in `power_mode`
optional .google.protobuf.Duration duration = 3 [json_name = "duration"];- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Requested duration to stay in `power_mode`
optional .google.protobuf.Duration duration = 3 [json_name = "duration"];- Returns:
- The duration.
-
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.
-