Interface LookupSubjectsResponseOrBuilder

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

public interface LookupSubjectsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLookedUpAt

      boolean hasLookedUpAt()
      .authzed.api.v1.ZedToken looked_up_at = 1;
      Returns:
      Whether the lookedUpAt field is set.
    • getLookedUpAt

      ZedToken getLookedUpAt()
      .authzed.api.v1.ZedToken looked_up_at = 1;
      Returns:
      The lookedUpAt.
    • getLookedUpAtOrBuilder

      ZedTokenOrBuilder getLookedUpAtOrBuilder()
      .authzed.api.v1.ZedToken looked_up_at = 1;
    • getSubjectObjectId

      @Deprecated String getSubjectObjectId()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated. See authzed/api/v1/permission_service.proto;l=615
       subject_object_id is the Object ID of the subject found. May be a `*` if
       a wildcard was found.
       deprecated: use `subject`
       
      string subject_object_id = 2 [deprecated = true];
      Returns:
      The subjectObjectId.
    • getSubjectObjectIdBytes

      @Deprecated com.google.protobuf.ByteString getSubjectObjectIdBytes()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated. See authzed/api/v1/permission_service.proto;l=615
       subject_object_id is the Object ID of the subject found. May be a `*` if
       a wildcard was found.
       deprecated: use `subject`
       
      string subject_object_id = 2 [deprecated = true];
      Returns:
      The bytes for subjectObjectId.
    • getExcludedSubjectIdsList

      @Deprecated List<String> getExcludedSubjectIdsList()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=621
       excluded_subject_ids are the Object IDs of the subjects excluded. This list
       will only contain object IDs if `subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       deprecated: use `excluded_subjects`
       
      repeated string excluded_subject_ids = 3 [deprecated = true];
      Returns:
      A list containing the excludedSubjectIds.
    • getExcludedSubjectIdsCount

      @Deprecated int getExcludedSubjectIdsCount()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=621
       excluded_subject_ids are the Object IDs of the subjects excluded. This list
       will only contain object IDs if `subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       deprecated: use `excluded_subjects`
       
      repeated string excluded_subject_ids = 3 [deprecated = true];
      Returns:
      The count of excludedSubjectIds.
    • getExcludedSubjectIds

      @Deprecated String getExcludedSubjectIds(int index)
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=621
       excluded_subject_ids are the Object IDs of the subjects excluded. This list
       will only contain object IDs if `subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       deprecated: use `excluded_subjects`
       
      repeated string excluded_subject_ids = 3 [deprecated = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedSubjectIds at the given index.
    • getExcludedSubjectIdsBytes

      @Deprecated com.google.protobuf.ByteString getExcludedSubjectIdsBytes(int index)
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=621
       excluded_subject_ids are the Object IDs of the subjects excluded. This list
       will only contain object IDs if `subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       deprecated: use `excluded_subjects`
       
      repeated string excluded_subject_ids = 3 [deprecated = true];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedSubjectIds at the given index.
    • getPermissionshipValue

      @Deprecated int getPermissionshipValue()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated. See authzed/api/v1/permission_service.proto;l=625
       permissionship indicates whether the response was partially evaluated or not
       deprecated: use `subject.permissionship`
       
      .authzed.api.v1.LookupPermissionship permissionship = 4 [deprecated = true, (.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for permissionship.
    • getPermissionship

      @Deprecated LookupPermissionship getPermissionship()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated. See authzed/api/v1/permission_service.proto;l=625
       permissionship indicates whether the response was partially evaluated or not
       deprecated: use `subject.permissionship`
       
      .authzed.api.v1.LookupPermissionship permissionship = 4 [deprecated = true, (.validate.rules) = { ... }
      Returns:
      The permissionship.
    • hasPartialCaveatInfo

      @Deprecated boolean hasPartialCaveatInfo()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated. See authzed/api/v1/permission_service.proto;l=629
       partial_caveat_info holds information of a partially-evaluated caveated response
       deprecated: use `subject.partial_caveat_info`
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 5 [deprecated = true, (.validate.rules) = { ... }
      Returns:
      Whether the partialCaveatInfo field is set.
    • getPartialCaveatInfo

      @Deprecated PartialCaveatInfo getPartialCaveatInfo()
      Deprecated.
      authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated. See authzed/api/v1/permission_service.proto;l=629
       partial_caveat_info holds information of a partially-evaluated caveated response
       deprecated: use `subject.partial_caveat_info`
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 5 [deprecated = true, (.validate.rules) = { ... }
      Returns:
      The partialCaveatInfo.
    • getPartialCaveatInfoOrBuilder

      @Deprecated PartialCaveatInfoOrBuilder getPartialCaveatInfoOrBuilder()
      Deprecated.
       partial_caveat_info holds information of a partially-evaluated caveated response
       deprecated: use `subject.partial_caveat_info`
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 5 [deprecated = true, (.validate.rules) = { ... }
    • hasSubject

      boolean hasSubject()
       subject is the subject found, along with its permissionship.
       
      .authzed.api.v1.ResolvedSubject subject = 6;
      Returns:
      Whether the subject field is set.
    • getSubject

      ResolvedSubject getSubject()
       subject is the subject found, along with its permissionship.
       
      .authzed.api.v1.ResolvedSubject subject = 6;
      Returns:
      The subject.
    • getSubjectOrBuilder

      ResolvedSubjectOrBuilder getSubjectOrBuilder()
       subject is the subject found, along with its permissionship.
       
      .authzed.api.v1.ResolvedSubject subject = 6;
    • getExcludedSubjectsList

      List<ResolvedSubject> getExcludedSubjectsList()
       excluded_subjects are the subjects excluded. This list
       will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       
      repeated .authzed.api.v1.ResolvedSubject excluded_subjects = 7;
    • getExcludedSubjects

      ResolvedSubject getExcludedSubjects(int index)
       excluded_subjects are the subjects excluded. This list
       will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       
      repeated .authzed.api.v1.ResolvedSubject excluded_subjects = 7;
    • getExcludedSubjectsCount

      int getExcludedSubjectsCount()
       excluded_subjects are the subjects excluded. This list
       will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       
      repeated .authzed.api.v1.ResolvedSubject excluded_subjects = 7;
    • getExcludedSubjectsOrBuilderList

      List<? extends ResolvedSubjectOrBuilder> getExcludedSubjectsOrBuilderList()
       excluded_subjects are the subjects excluded. This list
       will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       
      repeated .authzed.api.v1.ResolvedSubject excluded_subjects = 7;
    • getExcludedSubjectsOrBuilder

      ResolvedSubjectOrBuilder getExcludedSubjectsOrBuilder(int index)
       excluded_subjects are the subjects excluded. This list
       will only contain subjects if `subject.subject_object_id` is a wildcard (`*`) and
       will only be populated if exclusions exist from the wildcard.
       
      repeated .authzed.api.v1.ResolvedSubject excluded_subjects = 7;
    • hasAfterResultCursor

      boolean hasAfterResultCursor()
       after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this
       result.
       
      .authzed.api.v1.Cursor after_result_cursor = 8;
      Returns:
      Whether the afterResultCursor field is set.
    • getAfterResultCursor

      Cursor getAfterResultCursor()
       after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this
       result.
       
      .authzed.api.v1.Cursor after_result_cursor = 8;
      Returns:
      The afterResultCursor.
    • getAfterResultCursorOrBuilder

      CursorOrBuilder getAfterResultCursorOrBuilder()
       after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this
       result.
       
      .authzed.api.v1.Cursor after_result_cursor = 8;