Package com.viam.robot.v1
Class Robot.RestartModuleRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.RestartModuleRequest,Robot.RestartModuleRequest.Builder>
com.viam.robot.v1.Robot.RestartModuleRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.RestartModuleRequestOrBuilder
,Cloneable
- Enclosing class:
- Robot.RestartModuleRequest
public static final class Robot.RestartModuleRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.RestartModuleRequest,Robot.RestartModuleRequest.Builder>
implements Robot.RestartModuleRequestOrBuilder
Protobuf type
viam.robot.v1.RestartModuleRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionID is for registry modules, name for local modulesstring module_name = 2 [json_name = "moduleName"];
ID is for registry modules, name for local modulescom.google.protobuf.ByteString
ID is for registry modules, name for local modulesstring module_name = 2 [json_name = "moduleName"];
com.google.protobuf.ByteString
string module_name = 2 [json_name = "moduleName"];
boolean
ID is for registry modules, name for local modulesboolean
string module_name = 2 [json_name = "moduleName"];
setModuleId
(String value) ID is for registry modules, name for local modulessetModuleIdBytes
(com.google.protobuf.ByteString value) ID is for registry modules, name for local modulessetModuleName
(String value) string module_name = 2 [json_name = "moduleName"];
setModuleNameBytes
(com.google.protobuf.ByteString value) string module_name = 2 [json_name = "moduleName"];
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
-
getIdOrNameCase
- Specified by:
getIdOrNameCase
in interfaceRobot.RestartModuleRequestOrBuilder
-
clearIdOrName
-
hasModuleId
public boolean hasModuleId()ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Specified by:
hasModuleId
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- Whether the moduleId field is set.
-
getModuleId
ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleId
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- The moduleId.
-
getModuleIdBytes
public com.google.protobuf.ByteString getModuleIdBytes()ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Specified by:
getModuleIdBytes
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- The bytes for moduleId.
-
setModuleId
ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The moduleId to set.- Returns:
- This builder for chaining.
-
clearModuleId
ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Returns:
- This builder for chaining.
-
setModuleIdBytes
ID is for registry modules, name for local modules
string module_id = 1 [json_name = "moduleId"];
- Parameters:
value
- The bytes for moduleId to set.- Returns:
- This builder for chaining.
-
hasModuleName
public boolean hasModuleName()string module_name = 2 [json_name = "moduleName"];
- Specified by:
hasModuleName
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- Whether the moduleName field is set.
-
getModuleName
string module_name = 2 [json_name = "moduleName"];
- Specified by:
getModuleName
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- The moduleName.
-
getModuleNameBytes
public com.google.protobuf.ByteString getModuleNameBytes()string module_name = 2 [json_name = "moduleName"];
- Specified by:
getModuleNameBytes
in interfaceRobot.RestartModuleRequestOrBuilder
- Returns:
- The bytes for moduleName.
-
setModuleName
string module_name = 2 [json_name = "moduleName"];
- Parameters:
value
- The moduleName to set.- Returns:
- This builder for chaining.
-
clearModuleName
string module_name = 2 [json_name = "moduleName"];
- Returns:
- This builder for chaining.
-
setModuleNameBytes
string module_name = 2 [json_name = "moduleName"];
- Parameters:
value
- The bytes for moduleName to set.- Returns:
- This builder for chaining.
-