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 a User and the permissions granted to that user.Protobuf type
viam.app.v1.UserPermission-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA UserPermission describes a User and the permissions granted to that user.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 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) repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];intrepeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];getPermissionsOrBuilder(int index) repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];List<? extends Robot.PermissionOrBuilder> repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];getUser()user is the User this UserPermission applies to.booleanhasUser()user is the User this UserPermission applies 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
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasUser
public boolean hasUser()user is the User this UserPermission applies to. A User can only be listed in a single UserPermission for a set of UserPermissions.
.viam.app.v1.User user = 1 [json_name = "user"];- Specified by:
hasUserin interfaceRobot.UserPermissionOrBuilder- Returns:
- Whether the user field is set.
-
getUser
user is the User this UserPermission applies to. A User can only be listed in a single UserPermission for a set of UserPermissions.
.viam.app.v1.User user = 1 [json_name = "user"];- Specified by:
getUserin interfaceRobot.UserPermissionOrBuilder- Returns:
- The user.
-
getPermissionsList
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];- Specified by:
getPermissionsListin interfaceRobot.UserPermissionOrBuilder
-
getPermissionsOrBuilderList
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"]; -
getPermissionsCount
public int getPermissionsCount()repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];- Specified by:
getPermissionsCountin interfaceRobot.UserPermissionOrBuilder
-
getPermissions
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"];- Specified by:
getPermissionsin interfaceRobot.UserPermissionOrBuilder
-
getPermissionsOrBuilder
repeated .viam.app.v1.Permission permissions = 2 [json_name = "permissions"]; -
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
-