Package viam.app.v1
Class App.CreateLocationRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.CreateLocationRequest,App.CreateLocationRequest.Builder>
viam.app.v1.App.CreateLocationRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.CreateLocationRequestOrBuilder
- Enclosing class:
- App.CreateLocationRequest
public static final class App.CreateLocationRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.CreateLocationRequest,App.CreateLocationRequest.Builder>
implements App.CreateLocationRequestOrBuilder
Protobuf type
viam.app.v1.CreateLocationRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionName of the location.Organization ID to create the location under.The new parent location to move the location under.getName()
Name of the location.com.google.protobuf.ByteString
Name of the location.Organization ID to create the location under.com.google.protobuf.ByteString
Organization ID to create the location under.The new parent location to move the location under.com.google.protobuf.ByteString
The new parent location to move the location under.boolean
The new parent location to move the location under.Name of the location.setNameBytes
(com.google.protobuf.ByteString value) Name of the location.setOrganizationId
(String value) Organization ID to create the location under.setOrganizationIdBytes
(com.google.protobuf.ByteString value) Organization ID to create the location under.setParentLocationId
(String value) The new parent location to move the location under.setParentLocationIdBytes
(com.google.protobuf.ByteString value) The new parent location to move the location under.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 to create the location under.
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()Organization ID to create the location under.
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
Organization ID to create the location under.
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
Organization ID to create the location under.
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public App.CreateLocationRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) Organization ID to create the location under.
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getName
Name of the location.
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the location.
string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of the location.
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the location.
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of the location.
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasParentLocationId
public boolean hasParentLocationId()The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
hasParentLocationId
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- Whether the parentLocationId field is set.
-
getParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
getParentLocationId
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The parentLocationId.
-
getParentLocationIdBytes
public com.google.protobuf.ByteString getParentLocationIdBytes()The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Specified by:
getParentLocationIdBytes
in interfaceApp.CreateLocationRequestOrBuilder
- Returns:
- The bytes for parentLocationId.
-
setParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Parameters:
value
- The parentLocationId to set.- Returns:
- This builder for chaining.
-
clearParentLocationId
The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Returns:
- This builder for chaining.
-
setParentLocationIdBytes
public App.CreateLocationRequest.Builder setParentLocationIdBytes(com.google.protobuf.ByteString value) The new parent location to move the location under.
optional string parent_location_id = 3 [json_name = "parentLocationId"];
- Parameters:
value
- The bytes for parentLocationId to set.- Returns:
- This builder for chaining.
-