Package viam.app.v1

Class AppOuterClass.LocationOrganization.Builder

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

public static final class AppOuterClass.LocationOrganization.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.LocationOrganization,AppOuterClass.LocationOrganization.Builder> implements AppOuterClass.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 AppOuterClass.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 AppOuterClass.LocationOrganizationOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public AppOuterClass.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 AppOuterClass.LocationOrganization.Builder clearOrganizationId()
       Organization ID the location is shared with.
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public AppOuterClass.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 AppOuterClass.LocationOrganizationOrBuilder
      Returns:
      The primary.
    • setPrimary

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

       Whether the organization is the primary owner or not.
       
      bool primary = 2 [json_name = "primary"];
      Returns:
      This builder for chaining.