Package viam.app.v1

Class App.Location.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.Location,App.Location.Builder>
viam.app.v1.App.Location.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.LocationOrBuilder
Enclosing class:
App.Location

public static final class App.Location.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.Location,App.Location.Builder> implements App.LocationOrBuilder
Protobuf type viam.app.v1.Location
  • Method Details

    • getId

      public String getId()
       Location ID.
       
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface App.LocationOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Location ID.
       
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface App.LocationOrBuilder
      Returns:
      The bytes for id.
    • setId

      public App.Location.Builder setId(String value)
       Location ID.
       
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public App.Location.Builder clearId()
       Location ID.
       
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public App.Location.Builder setIdBytes(com.google.protobuf.ByteString value)
       Location ID.
       
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Location name.
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface App.LocationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Location name.
       
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface App.LocationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public App.Location.Builder setName(String value)
       Location name.
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public App.Location.Builder clearName()
       Location name.
       
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public App.Location.Builder setNameBytes(com.google.protobuf.ByteString value)
       Location name.
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getParentLocationId

      public String getParentLocationId()
       Location ID of the parent location.
       
      string parent_location_id = 4 [json_name = "parentLocationId"];
      Specified by:
      getParentLocationId in interface App.LocationOrBuilder
      Returns:
      The parentLocationId.
    • getParentLocationIdBytes

      public com.google.protobuf.ByteString getParentLocationIdBytes()
       Location ID of the parent location.
       
      string parent_location_id = 4 [json_name = "parentLocationId"];
      Specified by:
      getParentLocationIdBytes in interface App.LocationOrBuilder
      Returns:
      The bytes for parentLocationId.
    • setParentLocationId

      public App.Location.Builder setParentLocationId(String value)
       Location ID of the parent location.
       
      string parent_location_id = 4 [json_name = "parentLocationId"];
      Parameters:
      value - The parentLocationId to set.
      Returns:
      This builder for chaining.
    • clearParentLocationId

      public App.Location.Builder clearParentLocationId()
       Location ID of the parent location.
       
      string parent_location_id = 4 [json_name = "parentLocationId"];
      Returns:
      This builder for chaining.
    • setParentLocationIdBytes

      public App.Location.Builder setParentLocationIdBytes(com.google.protobuf.ByteString value)
       Location ID of the parent location.
       
      string parent_location_id = 4 [json_name = "parentLocationId"];
      Parameters:
      value - The bytes for parentLocationId to set.
      Returns:
      This builder for chaining.
    • hasAuth

      public boolean hasAuth()
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
      Specified by:
      hasAuth in interface App.LocationOrBuilder
      Returns:
      Whether the auth field is set.
    • getAuth

      public App.LocationAuth getAuth()
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
      Specified by:
      getAuth in interface App.LocationOrBuilder
      Returns:
      The auth.
    • setAuth

      public App.Location.Builder setAuth(App.LocationAuth value)
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
    • setAuth

      public App.Location.Builder setAuth(App.LocationAuth.Builder builderForValue)
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
    • mergeAuth

      public App.Location.Builder mergeAuth(App.LocationAuth value)
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
    • clearAuth

      public App.Location.Builder clearAuth()
       Location authentication secrets.
       
      .viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
    • getOrganizationsList

      public List<App.LocationOrganization> getOrganizationsList()
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
      Specified by:
      getOrganizationsList in interface App.LocationOrBuilder
    • getOrganizationsCount

      public int getOrganizationsCount()
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
      Specified by:
      getOrganizationsCount in interface App.LocationOrBuilder
    • getOrganizations

      public App.LocationOrganization getOrganizations(int index)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
      Specified by:
      getOrganizations in interface App.LocationOrBuilder
    • setOrganizations

      public App.Location.Builder setOrganizations(int index, App.LocationOrganization value)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • setOrganizations

      public App.Location.Builder setOrganizations(int index, App.LocationOrganization.Builder builderForValue)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • addOrganizations

      public App.Location.Builder addOrganizations(App.LocationOrganization value)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • addOrganizations

      public App.Location.Builder addOrganizations(int index, App.LocationOrganization value)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • addOrganizations

      public App.Location.Builder addOrganizations(App.LocationOrganization.Builder builderForValue)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • addOrganizations

      public App.Location.Builder addOrganizations(int index, App.LocationOrganization.Builder builderForValue)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • addAllOrganizations

      public App.Location.Builder addAllOrganizations(Iterable<? extends App.LocationOrganization> values)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • clearOrganizations

      public App.Location.Builder clearOrganizations()
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • removeOrganizations

      public App.Location.Builder removeOrganizations(int index)
       Organizations that the location is shared with.
       
      repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
    • hasCreatedOn

      public boolean hasCreatedOn()
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      hasCreatedOn in interface App.LocationOrBuilder
      Returns:
      Whether the createdOn field is set.
    • getCreatedOn

      public com.google.protobuf.Timestamp getCreatedOn()
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
      Specified by:
      getCreatedOn in interface App.LocationOrBuilder
      Returns:
      The createdOn.
    • setCreatedOn

      public App.Location.Builder setCreatedOn(com.google.protobuf.Timestamp value)
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • setCreatedOn

      public App.Location.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue)
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • mergeCreatedOn

      public App.Location.Builder mergeCreatedOn(com.google.protobuf.Timestamp value)
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • clearCreatedOn

      public App.Location.Builder clearCreatedOn()
       Location creation timestamp.
       
      .google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
    • getRobotCount

      public int getRobotCount()
       
      int32 robot_count = 7 [json_name = "robotCount"];
      Specified by:
      getRobotCount in interface App.LocationOrBuilder
      Returns:
      The robotCount.
    • setRobotCount

      public App.Location.Builder setRobotCount(int value)
       
      int32 robot_count = 7 [json_name = "robotCount"];
      Parameters:
      value - The robotCount to set.
      Returns:
      This builder for chaining.
    • clearRobotCount

      public App.Location.Builder clearRobotCount()
       
      int32 robot_count = 7 [json_name = "robotCount"];
      Returns:
      This builder for chaining.
    • hasConfig

      public boolean hasConfig()
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];
      Specified by:
      hasConfig in interface App.LocationOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public App.StorageConfig getConfig()
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];
      Specified by:
      getConfig in interface App.LocationOrBuilder
      Returns:
      The config.
    • setConfig

      public App.Location.Builder setConfig(App.StorageConfig value)
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];
    • setConfig

      public App.Location.Builder setConfig(App.StorageConfig.Builder builderForValue)
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];
    • mergeConfig

      public App.Location.Builder mergeConfig(App.StorageConfig value)
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];
    • clearConfig

      public App.Location.Builder clearConfig()
       Config for how data in this location is stored.
       
      .viam.app.v1.StorageConfig config = 8 [json_name = "config"];