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.ByteStringRobot part id.booleanbool 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
Robot part id.
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceRobot.NeedsRestartResponseOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Robot part id.
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin 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:
getMustRestartin 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:
hasRestartCheckIntervalin 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:
getRestartCheckIntervalin 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"];
-