Interface PermissionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Permissions, Permissions.Builder

@Generated public interface PermissionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getPermissions(int index)
    A list of permissions.
    com.google.protobuf.ByteString
    A list of permissions.
    int
    A list of permissions.
    A list of permissions.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPermissionsList

      List<String> getPermissionsList()
       A list of permissions. Example permission string: "compute.disk.get".
       
      repeated string permissions = 1;
      Returns:
      A list containing the permissions.
    • getPermissionsCount

      int getPermissionsCount()
       A list of permissions. Example permission string: "compute.disk.get".
       
      repeated string permissions = 1;
      Returns:
      The count of permissions.
    • getPermissions

      String getPermissions(int index)
       A list of permissions. Example permission string: "compute.disk.get".
       
      repeated string permissions = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The permissions at the given index.
    • getPermissionsBytes

      com.google.protobuf.ByteString getPermissionsBytes(int index)
       A list of permissions. Example permission string: "compute.disk.get".
       
      repeated string permissions = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permissions at the given index.