Package viam.app.v1
Class App.ShareLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ShareLocationRequest,App.ShareLocationRequest.Builder>
viam.app.v1.App.ShareLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ShareLocationRequestOrBuilder
- Enclosing class:
- App.ShareLocationRequest
public static final class App.ShareLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ShareLocationRequest,App.ShareLocationRequest.Builder>
implements App.ShareLocationRequestOrBuilder
Protobuf type
viam.app.v1.ShareLocationRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionLocation ID to be shared.Organization ID to share the location with.Location ID to be shared.com.google.protobuf.ByteString
Location ID to be shared.Organization ID to share the location with.com.google.protobuf.ByteString
Organization ID to share the location with.setLocationId
(String value) Location ID to be shared.setLocationIdBytes
(com.google.protobuf.ByteString value) Location ID to be shared.setOrganizationId
(String value) Organization ID to share the location with.setOrganizationIdBytes
(com.google.protobuf.ByteString value) Organization ID to share the location with.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
-
getLocationId
Location ID to be shared.
string location_id = 1 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceApp.ShareLocationRequestOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()Location ID to be shared.
string location_id = 1 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceApp.ShareLocationRequestOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
Location ID to be shared.
string location_id = 1 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
Location ID to be shared.
string location_id = 1 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
Location ID to be shared.
string location_id = 1 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getOrganizationId
Organization ID to share the location with.
string organization_id = 2 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.ShareLocationRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()Organization ID to share the location with.
string organization_id = 2 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceApp.ShareLocationRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
Organization ID to share the location with.
string organization_id = 2 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
Organization ID to share the location with.
string organization_id = 2 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public App.ShareLocationRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) Organization ID to share the location with.
string organization_id = 2 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-