Package viam.app.v1

Class App.LocationOrganization.Builder

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

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

    • getOrganizationId

      public String getOrganizationId()
       Organization ID the location is shared with.
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.LocationOrganizationOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

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

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

      public App.LocationOrganization.Builder clearOrganizationId()
       Organization ID the location is shared with.
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

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

      public boolean getPrimary()
       Whether the organization is the primary owner or not.
       
      bool primary = 2 [json_name = "primary"];
      Specified by:
      getPrimary in interface App.LocationOrganizationOrBuilder
      Returns:
      The primary.
    • setPrimary

      public App.LocationOrganization.Builder setPrimary(boolean value)
       Whether the organization is the primary owner or not.
       
      bool primary = 2 [json_name = "primary"];
      Parameters:
      value - The primary to set.
      Returns:
      This builder for chaining.
    • clearPrimary

      public App.LocationOrganization.Builder clearPrimary()
       Whether the organization is the primary owner or not.
       
      bool primary = 2 [json_name = "primary"];
      Returns:
      This builder for chaining.