Package viam.app.v1
Class AppOuterClass.Location.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Location,AppOuterClass.Location.Builder>
viam.app.v1.AppOuterClass.Location.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.LocationOrBuilder
- Enclosing class:
- AppOuterClass.Location
public static final class AppOuterClass.Location.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Location,AppOuterClass.Location.Builder>
implements AppOuterClass.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 AppOuterClass.LocationOrganization> values) Organizations that the location is shared with.addOrganizations(int index, AppOuterClass.LocationOrganization value) Organizations that the location is shared with.addOrganizations(int index, AppOuterClass.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.Organizations that the location is shared with.addOrganizations(AppOuterClass.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.The organization that is the primary owner of the location.getAuth()Location authentication secrets.Config for how data in this location is stored.com.google.protobuf.TimestampLocation creation timestamp.getId()Location ID.com.google.protobuf.ByteStringLocation ID.getName()Location name.com.google.protobuf.ByteStringLocation name.getOrganizations(int index) Organizations that the location is shared with.intOrganizations that the location is shared with.Organizations that the location is shared with.Location ID of the parent location.com.google.protobuf.ByteStringLocation ID of the parent location.The organization that is the primary owner of the location.intbooleanhasAuth()Location authentication secrets.booleanConfig for how data in this location is stored.booleanLocation creation timestamp.booleanThe organization that is the primary owner of the location.Location authentication secrets.Config for how data in this location is stored.mergeCreatedOn(com.google.protobuf.Timestamp value) Location creation timestamp.The organization that is the primary owner of the location.removeOrganizations(int index) Organizations that the location is shared with.Location authentication secrets.setAuth(AppOuterClass.LocationAuth.Builder builderForValue) Location authentication secrets.Config for how data in this location is stored.setConfig(AppOuterClass.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, AppOuterClass.LocationOrganization value) Organizations that the location is shared with.setOrganizations(int index, AppOuterClass.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.The organization that is the primary owner of the location.setPrimaryOrgIdentity(AppOuterClass.OrganizationIdentity.Builder builderForValue) The organization that is the primary owner of the 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, 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
-
getId
Location ID.
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceAppOuterClass.LocationOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Location ID.
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceAppOuterClass.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:
getNamein interfaceAppOuterClass.LocationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Location name.
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceAppOuterClass.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:
getParentLocationIdin interfaceAppOuterClass.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:
getParentLocationIdBytesin interfaceAppOuterClass.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
public AppOuterClass.Location.Builder setParentLocationIdBytes(com.google.protobuf.ByteString value) 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:
hasAuthin interfaceAppOuterClass.LocationOrBuilder- Returns:
- Whether the auth field is set.
-
getAuth
Location authentication secrets.
.viam.app.v1.LocationAuth auth = 5 [json_name = "auth"];- Specified by:
getAuthin interfaceAppOuterClass.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:
getOrganizationsListin interfaceAppOuterClass.LocationOrBuilder
-
getOrganizationsCount
public int getOrganizationsCount()Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];- Specified by:
getOrganizationsCountin interfaceAppOuterClass.LocationOrBuilder
-
getOrganizations
Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"];- Specified by:
getOrganizationsin interfaceAppOuterClass.LocationOrBuilder
-
setOrganizations
public AppOuterClass.Location.Builder setOrganizations(int index, AppOuterClass.LocationOrganization value) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"]; -
setOrganizations
public AppOuterClass.Location.Builder setOrganizations(int index, AppOuterClass.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
public AppOuterClass.Location.Builder addOrganizations(int index, AppOuterClass.LocationOrganization value) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"]; -
addOrganizations
public AppOuterClass.Location.Builder addOrganizations(AppOuterClass.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"]; -
addOrganizations
public AppOuterClass.Location.Builder addOrganizations(int index, AppOuterClass.LocationOrganization.Builder builderForValue) Organizations that the location is shared with.
repeated .viam.app.v1.LocationOrganization organizations = 6 [json_name = "organizations"]; -
addAllOrganizations
public AppOuterClass.Location.Builder addAllOrganizations(Iterable<? extends AppOuterClass.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:
hasCreatedOnin interfaceAppOuterClass.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:
getCreatedOnin interfaceAppOuterClass.LocationOrBuilder- Returns:
- The createdOn.
-
setCreatedOn
Location creation timestamp.
.google.protobuf.Timestamp created_on = 3 [json_name = "createdOn"]; -
setCreatedOn
public AppOuterClass.Location.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) 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:
getRobotCountin interfaceAppOuterClass.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:
hasConfigin interfaceAppOuterClass.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:
getConfigin interfaceAppOuterClass.LocationOrBuilder- Returns:
- The config.
-
setConfig
Config for how data in this location is stored.
.viam.app.v1.StorageConfig config = 8 [json_name = "config"]; -
setConfig
public AppOuterClass.Location.Builder setConfig(AppOuterClass.StorageConfig.Builder builderForValue) 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"]; -
hasPrimaryOrgIdentity
public boolean hasPrimaryOrgIdentity()The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"];- Specified by:
hasPrimaryOrgIdentityin interfaceAppOuterClass.LocationOrBuilder- Returns:
- Whether the primaryOrgIdentity field is set.
-
getPrimaryOrgIdentity
The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"];- Specified by:
getPrimaryOrgIdentityin interfaceAppOuterClass.LocationOrBuilder- Returns:
- The primaryOrgIdentity.
-
setPrimaryOrgIdentity
public AppOuterClass.Location.Builder setPrimaryOrgIdentity(AppOuterClass.OrganizationIdentity value) The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"]; -
setPrimaryOrgIdentity
public AppOuterClass.Location.Builder setPrimaryOrgIdentity(AppOuterClass.OrganizationIdentity.Builder builderForValue) The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"]; -
mergePrimaryOrgIdentity
public AppOuterClass.Location.Builder mergePrimaryOrgIdentity(AppOuterClass.OrganizationIdentity value) The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"]; -
clearPrimaryOrgIdentity
The organization that is the primary owner of the location.
optional .viam.app.v1.OrganizationIdentity primary_org_identity = 9 [json_name = "primaryOrgIdentity"];
-