Package viam.app.v1

Class Robot.NeedsRestartResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.NeedsRestartResponse,Robot.NeedsRestartResponse.Builder>
viam.app.v1.Robot.NeedsRestartResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Robot.NeedsRestartResponseOrBuilder
Enclosing class:
Robot.NeedsRestartResponse

public static final class Robot.NeedsRestartResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.NeedsRestartResponse,Robot.NeedsRestartResponse.Builder> implements Robot.NeedsRestartResponseOrBuilder
Protobuf type viam.app.v1.NeedsRestartResponse
  • Method Details

    • getId

      public String getId()
       Robot part id.
       
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface Robot.NeedsRestartResponseOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Robot part id.
       
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface Robot.NeedsRestartResponseOrBuilder
      Returns:
      The bytes for id.
    • setId

       Robot part id.
       
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Robot part id.
       
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Robot.NeedsRestartResponse.Builder setIdBytes(com.google.protobuf.ByteString value)
       Robot part id.
       
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getMustRestart

      public boolean getMustRestart()
      bool must_restart = 2 [json_name = "mustRestart"];
      Specified by:
      getMustRestart in interface Robot.NeedsRestartResponseOrBuilder
      Returns:
      The mustRestart.
    • setMustRestart

      public Robot.NeedsRestartResponse.Builder setMustRestart(boolean value)
      bool must_restart = 2 [json_name = "mustRestart"];
      Parameters:
      value - The mustRestart to set.
      Returns:
      This builder for chaining.
    • clearMustRestart

      public Robot.NeedsRestartResponse.Builder clearMustRestart()
      bool must_restart = 2 [json_name = "mustRestart"];
      Returns:
      This builder for chaining.
    • hasRestartCheckInterval

      public boolean hasRestartCheckInterval()
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
      Specified by:
      hasRestartCheckInterval in interface Robot.NeedsRestartResponseOrBuilder
      Returns:
      Whether the restartCheckInterval field is set.
    • getRestartCheckInterval

      public com.google.protobuf.Duration getRestartCheckInterval()
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
      Specified by:
      getRestartCheckInterval in interface Robot.NeedsRestartResponseOrBuilder
      Returns:
      The restartCheckInterval.
    • setRestartCheckInterval

      public Robot.NeedsRestartResponse.Builder setRestartCheckInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
    • setRestartCheckInterval

      public Robot.NeedsRestartResponse.Builder setRestartCheckInterval(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
    • mergeRestartCheckInterval

      public Robot.NeedsRestartResponse.Builder mergeRestartCheckInterval(com.google.protobuf.Duration value)
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
    • clearRestartCheckInterval

      public Robot.NeedsRestartResponse.Builder clearRestartCheckInterval()
      .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];