Package com.viam.service.navigation.v1
Class Navigation.GetModeResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GetModeResponse,Navigation.GetModeResponse.Builder>
com.viam.service.navigation.v1.Navigation.GetModeResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Navigation.GetModeResponseOrBuilder
,Cloneable
- Enclosing class:
- Navigation.GetModeResponse
public static final class Navigation.GetModeResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GetModeResponse,Navigation.GetModeResponse.Builder>
implements Navigation.GetModeResponseOrBuilder
Protobuf type
viam.service.navigation.v1.GetModeResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
getMode()
.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
int
.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
setMode
(Navigation.Mode value) .viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
setModeValue
(int value) .viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
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
-
getModeValue
public int getModeValue().viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
- Specified by:
getModeValue
in interfaceNavigation.GetModeResponseOrBuilder
- Returns:
- The enum numeric value on the wire for mode.
-
setModeValue
.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
getMode
.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
- Specified by:
getMode
in interfaceNavigation.GetModeResponseOrBuilder
- Returns:
- The mode.
-
clearMode
.viam.service.navigation.v1.Mode mode = 1 [json_name = "mode"];
- Returns:
- This builder for chaining.
-