Package com.viam.service.navigation.v1
Class Navigation.UpdateLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.UpdateLocationRequest,Navigation.UpdateLocationRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.UpdateLocationRequest,Navigation.UpdateLocationRequest.Builder>
com.viam.service.navigation.v1.Navigation.UpdateLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Navigation.UpdateLocationRequestOrBuilder,Cloneable
- Enclosing class:
Navigation.UpdateLocationRequest
public static final class Navigation.UpdateLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.UpdateLocationRequest,Navigation.UpdateLocationRequest.Builder>
implements Navigation.UpdateLocationRequestOrBuilder
Protobuf type
viam.service.navigation.v1.UpdateLocationRequest-
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"];string location_name = 2 [json_name = "locationName"];Name of the navigation serviceOmit to leave name unchangedOmit to leave position unchangedcom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];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 serviceOmit to leave name unchangedcom.google.protobuf.ByteStringOmit to leave name unchangedOmit to leave position unchangedbooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanOmit to leave name unchangedbooleanOmit to leave position unchangedmergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];mergePosition(Navigation.Position value) Omit to leave position unchangedsetExtra(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"];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 servicesetNewName(String value) Omit to leave name unchangedsetNewNameBytes(com.google.protobuf.ByteString value) Omit to leave name unchangedsetPosition(Navigation.Position value) Omit to leave position unchangedsetPosition(Navigation.Position.Builder builderForValue) Omit to leave position unchangedMethods 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.UpdateLocationRequestOrBuilder- 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.UpdateLocationRequestOrBuilder- 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.UpdateLocationRequestOrBuilder- Returns:
- The locationName.
-
getLocationNameBytes
public com.google.protobuf.ByteString getLocationNameBytes()string location_name = 2 [json_name = "locationName"];- Specified by:
getLocationNameBytesin interfaceNavigation.UpdateLocationRequestOrBuilder- 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.UpdateLocationRequest.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.
-
hasPosition
public boolean hasPosition()Omit to leave position unchanged
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Specified by:
hasPositionin interfaceNavigation.UpdateLocationRequestOrBuilder- Returns:
- Whether the position field is set.
-
getPosition
Omit to leave position unchanged
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Specified by:
getPositionin interfaceNavigation.UpdateLocationRequestOrBuilder- Returns:
- The position.
-
clearPosition
Omit to leave position unchanged
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"]; -
hasNewName
public boolean hasNewName()Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Specified by:
hasNewNamein interfaceNavigation.UpdateLocationRequestOrBuilder- Returns:
- Whether the newName field is set.
-
getNewName
Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Specified by:
getNewNamein interfaceNavigation.UpdateLocationRequestOrBuilder- Returns:
- The newName.
-
getNewNameBytes
public com.google.protobuf.ByteString getNewNameBytes()Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Specified by:
getNewNameBytesin interfaceNavigation.UpdateLocationRequestOrBuilder- Returns:
- The bytes for newName.
-
setNewName
Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Parameters:
value- The newName to set.- Returns:
- This builder for chaining.
-
clearNewName
Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Returns:
- This builder for chaining.
-
setNewNameBytes
public Navigation.UpdateLocationRequest.Builder setNewNameBytes(com.google.protobuf.ByteString value) Omit to leave name unchanged
optional string new_name = 4 [json_name = "newName"];- Parameters:
value- The bytes for newName to set.- Returns:
- This builder for chaining.
-
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceNavigation.UpdateLocationRequestOrBuilder- 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.UpdateLocationRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
public Navigation.UpdateLocationRequest.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"];
-