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 Type
    Method
    Description
    com.google.protobuf.Duration
    Requested duration to stay in `power_mode`
    com.google.protobuf.Struct
    Additional arguments to the method
    name of board
    com.google.protobuf.ByteString
    name of board
    Requested power mode
    int
    Requested power mode
    boolean
    Requested duration to stay in `power_mode`
    boolean
    Additional arguments to the method

    Methods 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.