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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionOrganization ID the location is shared with.Whether the organization is the primary owner or not.Organization ID the location is shared with.com.google.protobuf.ByteString
Organization ID the location is shared with.boolean
Whether the organization is the primary owner or not.setOrganizationId
(String value) Organization ID the location is shared with.setOrganizationIdBytes
(com.google.protobuf.ByteString value) Organization ID the location is shared with.setPrimary
(boolean value) Whether the organization is the primary owner or not.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
Organization ID the location is shared with.
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.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 interfaceApp.LocationOrganizationOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
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
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 interfaceApp.LocationOrganizationOrBuilder
- Returns:
- The primary.
-
setPrimary
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.
-