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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    A 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
     
    getPermissions(int index)
    permissions are the methods these Users may invoke, by resource.
    int
    permissions are the methods these Users may invoke, by resource.
    permissions are the methods these Users may invoke, by resource.
    permissions are the methods these Users may invoke, by resource.
    permissions are the methods these Users may invoke, by resource.
    user is a single User these permissions apply to.
    getUsers(int index)
    users are the Users these permissions apply to.
    int
    users 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.
    users are the Users these permissions apply to.
    boolean
    user is a single User these permissions apply to.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Robot.UserPermission>
     

    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, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • getUsersList

      public 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"];
      Specified by:
      getUsersList in interface Robot.UserPermissionOrBuilder
    • getUsersOrBuilderList

      public List<? extends Robot.UserOrBuilder> 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:
      getUsersCount in interface Robot.UserPermissionOrBuilder
    • getUsers

      public Robot.User getUsers(int index)
       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:
      getUsers in interface Robot.UserPermissionOrBuilder
    • getUsersOrBuilder

      public Robot.UserOrBuilder getUsersOrBuilder(int index)
       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

      public 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"];
      Specified by:
      getPermissionsList in interface Robot.UserPermissionOrBuilder
    • getPermissionsOrBuilderList

      public List<? extends Robot.PermissionOrBuilder> 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:
      getPermissionsCount in interface Robot.UserPermissionOrBuilder
    • getPermissions

      public Robot.Permission getPermissions(int index)
       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:
      getPermissions in interface Robot.UserPermissionOrBuilder
    • getPermissionsOrBuilder

      public Robot.PermissionOrBuilder getPermissionsOrBuilder(int index)
       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:
      hasUser in interface Robot.UserPermissionOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public 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"];
      Specified by:
      getUser in interface Robot.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

      public static Robot.UserPermission parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.UserPermission parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Robot.UserPermission parseDelimitedFrom(InputStream input) throws IOException
      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

      public static Robot.UserPermission.Builder newBuilder()
    • newBuilder

      public static Robot.UserPermission.Builder newBuilder(Robot.UserPermission prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Robot.UserPermission,Robot.UserPermission.Builder>
    • getDefaultInstance

      public static Robot.UserPermission getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Robot.UserPermission> parser()