Package viam.app.v1
Class App.Location.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.Location,App.Location.Builder>
viam.app.v1.App.Location.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.LocationOrBuilder
- Enclosing class:
- App.Location
public static final class App.Location.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.Location,App.Location.Builder>
implements App.LocationOrBuilder
Protobuf type
viam.app.v1.Location
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllOrganizations
(Iterable<? extends App.LocationOrganization> values) Organizations that the location is shared with.addOrganizations
(int index, App.LocationOrganization value) Organizations that the location is shared with.addOrganizations
(int index, App.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.Organizations that the location is shared with.addOrganizations
(App.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.Location authentication secrets.Config for how data in this location is stored.Location creation timestamp.clearId()
Location ID.Location name.Organizations that the location is shared with.Location ID of the parent location.getAuth()
Location authentication secrets.Config for how data in this location is stored.com.google.protobuf.Timestamp
Location creation timestamp.getId()
Location ID.com.google.protobuf.ByteString
Location ID.getName()
Location name.com.google.protobuf.ByteString
Location name.getOrganizations
(int index) Organizations that the location is shared with.int
Organizations that the location is shared with.Organizations that the location is shared with.Location ID of the parent location.com.google.protobuf.ByteString
Location ID of the parent location.int
boolean
hasAuth()
Location authentication secrets.boolean
Config for how data in this location is stored.boolean
Location creation timestamp.mergeAuth
(App.LocationAuth value) Location authentication secrets.mergeConfig
(App.StorageConfig value) Config for how data in this location is stored.mergeCreatedOn
(com.google.protobuf.Timestamp value) Location creation timestamp.removeOrganizations
(int index) Organizations that the location is shared with.setAuth
(App.LocationAuth value) Location authentication secrets.setAuth
(App.LocationAuth.Builder builderForValue) Location authentication secrets.setConfig
(App.StorageConfig value) Config for how data in this location is stored.setConfig
(App.StorageConfig.Builder builderForValue) Config for how data in this location is stored.setCreatedOn
(com.google.protobuf.Timestamp value) Location creation timestamp.setCreatedOn
(com.google.protobuf.Timestamp.Builder builderForValue) Location creation timestamp.Location ID.setIdBytes
(com.google.protobuf.ByteString value) Location ID.Location name.setNameBytes
(com.google.protobuf.ByteString value) Location name.setOrganizations
(int index, App.LocationOrganization value) Organizations that the location is shared with.setOrganizations
(int index, App.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.setParentLocationId
(String value) Location ID of the parent location.setParentLocationIdBytes
(com.google.protobuf.ByteString value) Location ID of the parent location.setRobotCount
(int value) 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
-
getId
Location ID.
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceApp.LocationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Location ID.
string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for id.
-
setId
Location ID.
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
Location ID.
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
Location ID.
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
Location name.
string name = 2 [json_name = "name"];
- Specified by:
getName
in interfaceApp.LocationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Location name.
string name = 2 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for name.
-
setName
Location name.
string name = 2 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Location name.
string name = 2 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Location name.
string name = 2 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getParentLocationId
Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Specified by:
getParentLocationId
in interfaceApp.LocationOrBuilder
- Returns:
- The parentLocationId.
-
getParentLocationIdBytes
public com.google.protobuf.ByteString getParentLocationIdBytes()Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Specified by:
getParentLocationIdBytes
in interfaceApp.LocationOrBuilder
- Returns:
- The bytes for parentLocationId.
-
setParentLocationId
Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Parameters:
value
- The parentLocationId to set.- Returns:
- This builder for chaining.
-
clearParentLocationId
Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Returns:
- This builder for chaining.
-
setParentLocationIdBytes
Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Parameters:
value
- The bytes for parentLocationId to set.- Returns:
- This builder for chaining.
-
hasAuth
public boolean hasAuth()Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Specified by:
hasAuth
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the auth field is set.
-
getAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Specified by:
getAuth
in interfaceApp.LocationOrBuilder
- Returns:
- The auth.
-
setAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
-
setAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
-
mergeAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
-
clearAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
-
getOrganizationsList
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizationsList
in interfaceApp.LocationOrBuilder
-
getOrganizationsCount
public int getOrganizationsCount()Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizationsCount
in interfaceApp.LocationOrBuilder
-
getOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
- Specified by:
getOrganizations
in interfaceApp.LocationOrBuilder
-
setOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
setOrganizations
public App.Location.Builder setOrganizations(int index, App.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
addOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
addOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
addOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
addOrganizations
public App.Location.Builder addOrganizations(int index, App.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
addAllOrganizations
public App.Location.Builder addAllOrganizations(Iterable<? extends App.LocationOrganization> values) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
clearOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
removeOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
hasCreatedOn
public boolean hasCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
hasCreatedOn
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Specified by:
getCreatedOn
in interfaceApp.LocationOrBuilder
- Returns:
- The createdOn.
-
setCreatedOn
Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
setCreatedOn
Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
mergeCreatedOn
Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
clearCreatedOn
Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
-
getRobotCount
public int getRobotCount()int32 robot_count = 7 [json_name = "robotCount"];
- Specified by:
getRobotCount
in interfaceApp.LocationOrBuilder
- Returns:
- The robotCount.
-
setRobotCount
int32 robot_count = 7 [json_name = "robotCount"];
- Parameters:
value
- The robotCount to set.- Returns:
- This builder for chaining.
-
clearRobotCount
int32 robot_count = 7 [json_name = "robotCount"];
- Returns:
- This builder for chaining.
-
hasConfig
public boolean hasConfig()Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Specified by:
hasConfig
in interfaceApp.LocationOrBuilder
- Returns:
- Whether the config field is set.
-
getConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Specified by:
getConfig
in interfaceApp.LocationOrBuilder
- Returns:
- The config.
-
setConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
-
setConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
-
mergeConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
-
clearConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
-