Package viam.app.v1
Interface Robot.UserPermissionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.UserPermission,Robot.UserPermission.Builder
- Enclosing class:
Robot
public static interface Robot.UserPermissionOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPermissions(int index) permissions are the methods these Users may invoke, by resource.intpermissions are the methods these Users may invoke, by resource.permissions are the methods these Users may invoke, by resource.getUser()user is a single User these permissions apply to.getUsers(int index) users are the Users these permissions apply to.intusers are the Users these permissions apply to.users are the Users these permissions apply to.booleanhasUser()user is a single User these permissions apply to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getUsersList
List<Robot.User> getUsersList()users are the Users these permissions apply to. A User can be listed in only one UserPermission for a set of UserPermissions, counting both users and user.
repeated .viam.app.v1.User users = 3 [json_name = "users"]; -
getUsers
users are the Users these permissions apply to. A User can be listed in only one UserPermission for a set of UserPermissions, counting both users and user.
repeated .viam.app.v1.User users = 3 [json_name = "users"]; -
getUsersCount
int getUsersCount()users are the Users these permissions apply to. A User can be listed in only one UserPermission for a set of UserPermissions, counting both users and user.
repeated .viam.app.v1.User users = 3 [json_name = "users"]; -
getPermissionsList
List<Robot.Permission> getPermissionsList()permissions are the methods these Users may invoke, by resource. A User named here with no permissions may invoke nothing.
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"]; -
getPermissions
permissions are the methods these Users may invoke, by resource. A User named here with no permissions may invoke nothing.
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"]; -
getPermissionsCount
int getPermissionsCount()permissions are the methods these Users may invoke, by resource. A User named here with no permissions may invoke nothing.
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"]; -
hasUser
boolean hasUser()user is a single User these permissions apply to. Superseded by users: prefer users in new writers, and expect readers to ignore user when users is set.
.viam.app.v1.User user = 1 [json_name = "user"];- Returns:
- Whether the user field is set.
-
getUser
Robot.User getUser()user is a single User these permissions apply to. Superseded by users: prefer users in new writers, and expect readers to ignore user when users is set.
.viam.app.v1.User user = 1 [json_name = "user"];- Returns:
- The user.
-