Package com.viam.service.navigation.v1
Class Navigation.GoToLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.GoToLocationRequest,Navigation.GoToLocationRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GoToLocationRequest,Navigation.GoToLocationRequest.Builder>
com.viam.service.navigation.v1.Navigation.GoToLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.GoToLocationRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.GoToLocationRequest
public static final class Navigation.GoToLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.GoToLocationRequest,Navigation.GoToLocationRequest.Builder>
implements Navigation.GoToLocationRequestOrBuilder
Protobuf type
viam.service.navigation.v1.GoToLocationRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct extra = 99 [json_name = "extra"];optional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];string location_name = 2 [json_name = "locationName"];Name of the navigation serviceOptional; default truecom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];doubleoptional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];string location_name = 2 [json_name = "locationName"];com.google.protobuf.ByteStringstring location_name = 2 [json_name = "locationName"];getName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation servicebooleangetWait()Optional; default truebooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanoptional double linear_m_per_sec = 4 [json_name = "linearMPerSec"];booleanhasWait()Optional; default truemergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];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"];setLocationName(String value) string location_name = 2 [json_name = "locationName"];setLocationNameBytes(com.google.protobuf.ByteString value) string location_name = 2 [json_name = "locationName"];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.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- 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.
-
getLocationName
string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNamein interfaceNavigation.GoToLocationRequestOrBuilder- Returns:
- The locationName.
-
getLocationNameBytes
public com.google.protobuf.ByteString getLocationNameBytes()string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNameBytesin interfaceNavigation.GoToLocationRequestOrBuilder- Returns:
- The bytes for locationName.
-
setLocationName
string location_name = 2 [json_name = "locationName"];- Parameters:
value- The locationName to set.- Returns:
- This builder for chaining.
-
clearLocationName
string location_name = 2 [json_name = "locationName"];- Returns:
- This builder for chaining.
-
setLocationNameBytes
public Navigation.GoToLocationRequest.Builder setLocationNameBytes(com.google.protobuf.ByteString value) string location_name = 2 [json_name = "locationName"];- Parameters:
value- The bytes for locationName to set.- Returns:
- This builder for chaining.
-
hasWait
public boolean hasWait()Optional; default true
optional bool wait = 3 [json_name = "wait"];- Specified by:
hasWaitin interfaceNavigation.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- 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.GoToLocationRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.GoToLocationRequest.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"];
-