Package com.viam.service.navigation.v1
Class Navigation.GoToPointRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.GoToPointRequest,Navigation.GoToPointRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GoToPointRequest,Navigation.GoToPointRequest.Builder>
com.viam.service.navigation.v1.Navigation.GoToPointRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.GoToPointRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.GoToPointRequest
public static final class Navigation.GoToPointRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GoToPointRequest,Navigation.GoToPointRequest.Builder>
implements Navigation.GoToPointRequestOrBuilder
Protobuf type
viam.service.navigation.v1.GoToPointRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];.google.protobuf.Struct extra = 99 [json_name = "extra"];optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];Name of the navigation serviceOptional; default true.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];com.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];doubleoptional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];getName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation servicebooleangetWait()Optional; default trueboolean.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];booleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanoptional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];booleanhasWait()Optional; default true.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];mergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];setDestination(Navigation.Position.Builder builderForValue) .viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];setExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];setExtra(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];setLinearMPerSec(double value) optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];Name of the navigation servicesetNameBytes(com.google.protobuf.ByteString value) Name of the navigation servicesetWait(boolean value) Optional; default trueMethods 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 the navigation service
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the navigation service
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the navigation service
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the navigation service
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of the navigation service
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDestination
public boolean hasDestination().viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];- Specified by:
hasDestinationin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- Whether the destination field is set.
-
getDestination
.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"];- Specified by:
getDestinationin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The destination.
-
clearDestination
.viam.service.navigation.v1.Position destination = 2 [json_name = "destination"]; -
hasWait
public boolean hasWait()Optional; default true
optional bool wait = 3 [json_name = "wait"];- Specified by:
hasWaitin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- Whether the wait field is set.
-
getWait
public boolean getWait()Optional; default true
optional bool wait = 3 [json_name = "wait"];- Specified by:
getWaitin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The wait.
-
setWait
Optional; default true
optional bool wait = 3 [json_name = "wait"];- Parameters:
value- The wait to set.- Returns:
- This builder for chaining.
-
clearWait
Optional; default true
optional bool wait = 3 [json_name = "wait"];- Returns:
- This builder for chaining.
-
hasLinearMPerSec
public boolean hasLinearMPerSec()optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];- Specified by:
hasLinearMPerSecin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- Whether the linearMPerSec field is set.
-
getLinearMPerSec
public double getLinearMPerSec()optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];- Specified by:
getLinearMPerSecin interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The linearMPerSec.
-
setLinearMPerSec
optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];- Parameters:
value- The linearMPerSec to set.- Returns:
- This builder for chaining.
-
clearLinearMPerSec
optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceNavigation.GoToPointRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.GoToPointRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-