Interface CursorOrBuilder

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

public interface CursorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    completed_members is a boolean flag that indicates that the cursor has reached the end of the permission sets
    int
    limit is the number of permission sets to stream over a single LookupPermissionSets call that was requested.
    int
    starting_index is an offset of the permission set represented by this cursor
    starting_key is a string cursor used by some backends to resume the stream from a specific point.
    com.google.protobuf.ByteString
    starting_key is a string cursor used by some backends to resume the stream from a specific point.
    token is the snapshot revision at which the cursor was computed.
    token is the snapshot revision at which the cursor was computed.
    boolean
    token is the snapshot revision at which the cursor was computed.

    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

    • getLimit

      int getLimit()
       limit is the number of permission sets to stream over a single LookupPermissionSets call that was requested.
       
      uint32 limit = 1;
      Returns:
      The limit.
    • hasToken

      boolean hasToken()
       token is the snapshot revision at which the cursor was computed.
       
      .authzed.api.v1.ZedToken token = 4;
      Returns:
      Whether the token field is set.
    • getToken

      ZedToken getToken()
       token is the snapshot revision at which the cursor was computed.
       
      .authzed.api.v1.ZedToken token = 4;
      Returns:
      The token.
    • getTokenOrBuilder

      ZedTokenOrBuilder getTokenOrBuilder()
       token is the snapshot revision at which the cursor was computed.
       
      .authzed.api.v1.ZedToken token = 4;
    • getStartingIndex

      int getStartingIndex()
       starting_index is an offset of the permission set represented by this cursor
       
      uint32 starting_index = 5;
      Returns:
      The startingIndex.
    • getCompletedMembers

      boolean getCompletedMembers()
       completed_members is a boolean flag that indicates that the cursor has reached the end of the permission sets
       
      bool completed_members = 6;
      Returns:
      The completedMembers.
    • getStartingKey

      String getStartingKey()
       starting_key is a string cursor used by some backends to resume the stream from a specific point.
       
      string starting_key = 7;
      Returns:
      The startingKey.
    • getStartingKeyBytes

      com.google.protobuf.ByteString getStartingKeyBytes()
       starting_key is a string cursor used by some backends to resume the stream from a specific point.
       
      string starting_key = 7;
      Returns:
      The bytes for startingKey.