Package viam.app.v1
Class App.UpdateLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateLocationRequest,App.UpdateLocationRequest.Builder>
viam.app.v1.App.UpdateLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.UpdateLocationRequestOrBuilder
- Enclosing class:
- App.UpdateLocationRequest
public static final class App.UpdateLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.UpdateLocationRequest,App.UpdateLocationRequest.Builder>
implements App.UpdateLocationRequestOrBuilder
Protobuf type
viam.app.v1.UpdateLocationRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionLocation ID of location to update.The new name to be updated on location.The new parent location to move the location under.The new GCS region to associate the location with.Location ID of location to update.com.google.protobuf.ByteString
Location ID of location to update.getName()
The new name to be updated on location.com.google.protobuf.ByteString
The new name to be updated on location.The new parent location to move the location under.com.google.protobuf.ByteString
The new parent location to move the location under.The new GCS region to associate the location with.com.google.protobuf.ByteString
The new GCS region to associate the location with.boolean
hasName()
The new name to be updated on location.boolean
The new parent location to move the location under.boolean
The new GCS region to associate the location with.setLocationId
(String value) Location ID of location to update.setLocationIdBytes
(com.google.protobuf.ByteString value) Location ID of location to update.The new name to be updated on location.setNameBytes
(com.google.protobuf.ByteString value) The new name to be updated on location.setParentLocationId
(String value) The new parent location to move the location under.setParentLocationIdBytes
(com.google.protobuf.ByteString value) The new parent location to move the location under.The new GCS region to associate the location with.setRegionBytes
(com.google.protobuf.ByteString value) The new GCS region to associate the location with.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
-
getLocationId
Location ID of location to update.
string location_id = 1 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()Location ID of location to update.
string location_id = 1 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
Location ID of location to update.
string location_id = 1 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
Location ID of location to update.
string location_id = 1 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
Location ID of location to update.
string location_id = 1 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Specified by:
hasName
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
The new name to be updated on location.
optional string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasParentLocationId
public boolean hasParentLocationId()The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
hasParentLocationId
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- Whether the parentLocationId field is set.
-
getParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
getParentLocationId
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The parentLocationId.
-
getParentLocationIdBytes
public com.google.protobuf.ByteString getParentLocationIdBytes()The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
getParentLocationIdBytes
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The bytes for parentLocationId.
-
setParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Parameters:
value
- The parentLocationId to set.- Returns:
- This builder for chaining.
-
clearParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Returns:
- This builder for chaining.
-
setParentLocationIdBytes
public App.UpdateLocationRequest.Builder setParentLocationIdBytes(com.google.protobuf.ByteString value) The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Parameters:
value
- The bytes for parentLocationId to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Specified by:
hasRegion
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- Whether the region field is set.
-
getRegion
The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Specified by:
getRegion
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Specified by:
getRegionBytes
in interfaceApp.UpdateLocationRequestOrBuilder
- Returns:
- The bytes for region.
-
setRegion
The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Returns:
- This builder for chaining.
-
setRegionBytes
The new GCS region to associate the location with.
optional string region = 4 [json_name = "region"];
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-