Package viam.app.v1

Class App.CreateLocationRequest.Builder

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

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

    • getOrganizationId

      public String getOrganizationId()
       Organization ID to create the location under.
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.CreateLocationRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       Organization ID to create the location under.
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.CreateLocationRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public App.CreateLocationRequest.Builder setOrganizationId(String value)
       Organization ID to create the location under.
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public App.CreateLocationRequest.Builder clearOrganizationId()
       Organization ID to create the location under.
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public App.CreateLocationRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
       Organization ID to create the location under.
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Name of the location.
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface App.CreateLocationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

       Name of the location.
       
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public App.CreateLocationRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the location.
       
      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.CreateLocationRequestOrBuilder
      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.CreateLocationRequestOrBuilder
      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.CreateLocationRequestOrBuilder
      Returns:
      The bytes for parentLocationId.
    • setParentLocationId

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