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-
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.ByteStringOrganization ID the location is shared with.booleanWhether 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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getOrganizationIdin interfaceAppOuterClass.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:
getOrganizationIdBytesin interfaceAppOuterClass.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 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:
getPrimaryin interfaceAppOuterClass.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.
-