Package viam.app.v1
Class Robot.UserPermission
java.lang.Object
com.google.protobuf.AbstractMessageLite<Robot.UserPermission,Robot.UserPermission.Builder>
com.google.protobuf.GeneratedMessageLite<Robot.UserPermission,Robot.UserPermission.Builder>
viam.app.v1.Robot.UserPermission
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Robot.UserPermissionOrBuilder
- Enclosing class:
Robot
public static final class Robot.UserPermission
extends com.google.protobuf.GeneratedMessageLite<Robot.UserPermission,Robot.UserPermission.Builder>
implements Robot.UserPermissionOrBuilder
A UserPermission describes the Users a set of permissions is granted to.Protobuf type
viam.app.v1.UserPermission-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA UserPermission describes the Users a set of permissions is granted to.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Robot.UserPermissiongetPermissions(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.getPermissionsOrBuilder(int index) permissions are the methods these Users may invoke, by resource.List<? extends Robot.PermissionOrBuilder> 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.getUsersOrBuilder(int index) users are the Users these permissions apply to.List<? extends Robot.UserOrBuilder> users are the Users these permissions apply to.booleanhasUser()user is a single User these permissions apply to.static Robot.UserPermission.Builderstatic Robot.UserPermission.BuildernewBuilder(Robot.UserPermission prototype) static Robot.UserPermissionparseDelimitedFrom(InputStream input) static Robot.UserPermissionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.UserPermissionparseFrom(byte[] data) static Robot.UserPermissionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.UserPermissionparseFrom(com.google.protobuf.ByteString data) static Robot.UserPermissionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.UserPermissionparseFrom(com.google.protobuf.CodedInputStream input) static Robot.UserPermissionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.UserPermissionparseFrom(InputStream input) static Robot.UserPermissionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.UserPermissionparseFrom(ByteBuffer data) static Robot.UserPermissionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.UserPermission> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
USERS_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER- See Also:
-
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER- See Also:
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
-
Method Details
-
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"];- Specified by:
getUsersListin interfaceRobot.UserPermissionOrBuilder
-
getUsersOrBuilderList
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
public 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"];- Specified by:
getUsersCountin interfaceRobot.UserPermissionOrBuilder
-
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"];- Specified by:
getUsersin interfaceRobot.UserPermissionOrBuilder
-
getUsersOrBuilder
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
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"];- Specified by:
getPermissionsListin interfaceRobot.UserPermissionOrBuilder
-
getPermissionsOrBuilderList
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
public 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"];- Specified by:
getPermissionsCountin interfaceRobot.UserPermissionOrBuilder
-
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"];- Specified by:
getPermissionsin interfaceRobot.UserPermissionOrBuilder
-
getPermissionsOrBuilder
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
public 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"];- Specified by:
hasUserin interfaceRobot.UserPermissionOrBuilder- Returns:
- Whether the user field is set.
-
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"];- Specified by:
getUserin interfaceRobot.UserPermissionOrBuilder- Returns:
- The user.
-
parseFrom
public static Robot.UserPermission parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.UserPermission parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.UserPermission parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.UserPermission parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.UserPermission parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.UserPermission parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.UserPermission parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.UserPermission parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.UserPermission parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.UserPermission parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Robot.UserPermission,Robot.UserPermission.Builder>
-
getDefaultInstance
-
parser
-