Package viam.app.v1
Interface App.LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
App.Location
,App.Location.Builder
- Enclosing class:
- App
public static interface App.LocationOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAuth()
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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()Location ID.
string id = 1 [json_name = "id"];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Location ID.
string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
getName
String getName()Location name.
string name = 2 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Location name.
string name = 2 [json_name = "name"];
- Returns:
- The bytes for name.
-
getParentLocationId
String getParentLocationId()Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Returns:
- The parentLocationId.
-
getParentLocationIdBytes
com.google.protobuf.ByteString getParentLocationIdBytes()Location ID of the parent location.
string parent_location_id = 4 [json_name = "parentLocationId"];
- Returns:
- The bytes for parentLocationId.
-
hasAuth
boolean hasAuth()Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Returns:
- Whether the auth field is set.
-
getAuth
App.LocationAuth getAuth()Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];
- Returns:
- The auth.
-
getOrganizationsList
List<App.LocationOrganization> getOrganizationsList()Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
getOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
getOrganizationsCount
int getOrganizationsCount()Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];
-
hasCreatedOn
boolean hasCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
com.google.protobuf.Timestamp getCreatedOn()Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"];
- Returns:
- The createdOn.
-
getRobotCount
int getRobotCount()int32 robot_count = 7 [json_name = "robotCount"];
- Returns:
- The robotCount.
-
hasConfig
boolean hasConfig()Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Returns:
- Whether the config field is set.
-
getConfig
App.StorageConfig getConfig()Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"];
- Returns:
- The config.
-