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
  • Method Details

    • getLocationId

      public String getLocationId()
       Location ID of location to update.
       
      string location_id = 1 [json_name = "locationId"];
      Specified by:
      getLocationId in interface App.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 interface App.UpdateLocationRequestOrBuilder
      Returns:
      The bytes for locationId.
    • setLocationId

      public App.UpdateLocationRequest.Builder setLocationId(String value)
       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

      public App.UpdateLocationRequest.Builder clearLocationId()
       Location ID of location to update.
       
      string location_id = 1 [json_name = "locationId"];
      Returns:
      This builder for chaining.
    • setLocationIdBytes

      public App.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:
      hasName in interface App.UpdateLocationRequestOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The new name to be updated on location.
       
      optional string name = 2 [json_name = "name"];
      Specified by:
      getName in interface App.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 interface App.UpdateLocationRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public App.UpdateLocationRequest.Builder setName(String value)
       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 App.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:
      hasParentLocationId in interface App.UpdateLocationRequestOrBuilder
      Returns:
      Whether the parentLocationId field is set.
    • getParentLocationId

      public String getParentLocationId()
       The new parent location to move the location under.
       
      optional string parent_location_id = 3 [json_name = "parentLocationId"];
      Specified by:
      getParentLocationId in interface App.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 interface App.UpdateLocationRequestOrBuilder
      Returns:
      The bytes for parentLocationId.
    • setParentLocationId

      public App.UpdateLocationRequest.Builder setParentLocationId(String value)
       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

      public App.UpdateLocationRequest.Builder 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 interface App.UpdateLocationRequestOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      public String getRegion()
       The new GCS region to associate the location with.
       
      optional string region = 4 [json_name = "region"];
      Specified by:
      getRegion in interface App.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 interface App.UpdateLocationRequestOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public App.UpdateLocationRequest.Builder setRegion(String value)
       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

      public App.UpdateLocationRequest.Builder clearRegion()
       The new GCS region to associate the location with.
       
      optional string region = 4 [json_name = "region"];
      Returns:
      This builder for chaining.
    • setRegionBytes

      public App.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.