Package com.viam.component.arm.v1
Class Arm.SetManualModeRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Arm.SetManualModeRequest,Arm.SetManualModeRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Arm.SetManualModeRequest,Arm.SetManualModeRequest.Builder>
com.viam.component.arm.v1.Arm.SetManualModeRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Arm.SetManualModeRequestOrBuilder,Cloneable
- Enclosing class:
Arm.SetManualModeRequest
public static final class Arm.SetManualModeRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Arm.SetManualModeRequest,Arm.SetManualModeRequest.Builder>
implements Arm.SetManualModeRequestOrBuilder
Protobuf type
viam.component.arm.v1.SetManualModeRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionHow long to stay in manual mode, in seconds; 0 means no time limitAdditional arguments to the methodTrue to enter manual mode, false to exit itName of an armintHow long to stay in manual mode, in seconds; 0 means no time limitcom.google.protobuf.StructgetExtra()Additional arguments to the methodbooleanTrue to enter manual mode, false to exit itgetName()Name of an armcom.google.protobuf.ByteStringName of an armbooleanhasExtra()Additional arguments to the methodmergeExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetEnabledFor(int value) How long to stay in manual mode, in seconds; 0 means no time limitsetExtra(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodsetManualMode(boolean value) True to enter manual mode, false to exit itName of an armsetNameBytes(com.google.protobuf.ByteString value) Name of an armMethods 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
-
getName
Name of an arm
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceArm.SetManualModeRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of an arm
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceArm.SetManualModeRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of an arm
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of an arm
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of an arm
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getManualMode
public boolean getManualMode()True to enter manual mode, false to exit it
bool manual_mode = 2 [json_name = "manualMode"];- Specified by:
getManualModein interfaceArm.SetManualModeRequestOrBuilder- Returns:
- The manualMode.
-
setManualMode
True to enter manual mode, false to exit it
bool manual_mode = 2 [json_name = "manualMode"];- Parameters:
value- The manualMode to set.- Returns:
- This builder for chaining.
-
clearManualMode
True to enter manual mode, false to exit it
bool manual_mode = 2 [json_name = "manualMode"];- Returns:
- This builder for chaining.
-
getEnabledFor
public int getEnabledFor()How long to stay in manual mode, in seconds; 0 means no time limit
int32 enabled_for = 3 [json_name = "enabledFor"];- Specified by:
getEnabledForin interfaceArm.SetManualModeRequestOrBuilder- Returns:
- The enabledFor.
-
setEnabledFor
How long to stay in manual mode, in seconds; 0 means no time limit
int32 enabled_for = 3 [json_name = "enabledFor"];- Parameters:
value- The enabledFor to set.- Returns:
- This builder for chaining.
-
clearEnabledFor
How long to stay in manual mode, in seconds; 0 means no time limit
int32 enabled_for = 3 [json_name = "enabledFor"];- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceArm.SetManualModeRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceArm.SetManualModeRequestOrBuilder- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Arm.SetManualModeRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-