Package viam.app.v1
Class AppOuterClass.UpdateLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateLocationRequest,AppOuterClass.UpdateLocationRequest.Builder>
viam.app.v1.AppOuterClass.UpdateLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.UpdateLocationRequestOrBuilder
- Enclosing class:
- AppOuterClass.UpdateLocationRequest
public static final class AppOuterClass.UpdateLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateLocationRequest,AppOuterClass.UpdateLocationRequest.Builder>
implements AppOuterClass.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.ByteStringLocation ID of location to update.getName()The new name to be updated on location.com.google.protobuf.ByteStringThe new name to be updated on location.The new parent location to move the location under.com.google.protobuf.ByteStringThe new parent location to move the location under.The new GCS region to associate the location with.com.google.protobuf.ByteStringThe new GCS region to associate the location with.booleanhasName()The new name to be updated on location.booleanThe new parent location to move the location under.booleanThe 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, 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
-
getLocationId
Location ID of location to update.
string location_id = 1 [json_name = "locationId"];- Specified by:
getLocationIdin interfaceAppOuterClass.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:
getLocationIdBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateLocationRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value) 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:
hasNamein interfaceAppOuterClass.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:
getNamein interfaceAppOuterClass.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:
getNameBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateLocationRequest.Builder setNameBytes(com.google.protobuf.ByteString value) 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:
hasParentLocationIdin interfaceAppOuterClass.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:
getParentLocationIdin interfaceAppOuterClass.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:
getParentLocationIdBytesin interfaceAppOuterClass.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 AppOuterClass.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:
hasRegionin interfaceAppOuterClass.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:
getRegionin interfaceAppOuterClass.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:
getRegionBytesin interfaceAppOuterClass.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
public AppOuterClass.UpdateLocationRequest.Builder setRegionBytes(com.google.protobuf.ByteString value) 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.
-