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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearId()
Robot part id.bool must_restart = 2 [json_name = "mustRestart"];
.google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
getId()
Robot part id.com.google.protobuf.ByteString
Robot part id.boolean
bool must_restart = 2 [json_name = "mustRestart"];
com.google.protobuf.Duration
.google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
boolean
.google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
mergeRestartCheckInterval
(com.google.protobuf.Duration value) .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
Robot part id.setIdBytes
(com.google.protobuf.ByteString value) Robot part id.setMustRestart
(boolean value) bool must_restart = 2 [json_name = "mustRestart"];
setRestartCheckInterval
(com.google.protobuf.Duration value) .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
setRestartCheckInterval
(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
Methods 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
-
getId
Robot part id.
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceRobot.NeedsRestartResponseOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Robot part id.
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.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
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 interfaceRobot.NeedsRestartResponseOrBuilder
- Returns:
- The mustRestart.
-
setMustRestart
bool must_restart = 2 [json_name = "mustRestart"];
- Parameters:
value
- The mustRestart to set.- Returns:
- This builder for chaining.
-
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 interfaceRobot.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 interfaceRobot.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
.google.protobuf.Duration restart_check_interval = 3 [json_name = "restartCheckInterval"];
-