Package com.authzed.api.v1
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 Summary
Modifier and TypeMethodDescriptionafter_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this result.after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this result.getExcludedSubjectIds
(int index) Deprecated.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated.com.google.protobuf.ByteString
getExcludedSubjectIdsBytes
(int index) Deprecated.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated.int
Deprecated.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated.Deprecated.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated.getExcludedSubjects
(int index) excluded_subjects are the subjects excluded.int
excluded_subjects are the subjects excluded.excluded_subjects are the subjects excluded.getExcludedSubjectsOrBuilder
(int index) excluded_subjects are the subjects excluded.List<? extends ResolvedSubjectOrBuilder>
excluded_subjects are the subjects excluded..authzed.api.v1.ZedToken looked_up_at = 1;
.authzed.api.v1.ZedToken looked_up_at = 1;
Deprecated.authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated.Deprecated.Deprecated.authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated.int
Deprecated.authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated.subject is the subject found, along with its permissionship.Deprecated.authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated.com.google.protobuf.ByteString
Deprecated.authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated.subject is the subject found, along with its permissionship.boolean
after_result_cursor holds a cursor that can be used to resume the LookupSubjects stream after this result.boolean
.authzed.api.v1.ZedToken looked_up_at = 1;
boolean
Deprecated.authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated.boolean
subject is the subject found, along with its permissionship.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
-
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.authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated. See authzed/api/v1/permission_service.proto;l=627subject_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.authzed.api.v1.LookupSubjectsResponse.subject_object_id is deprecated. See authzed/api/v1/permission_service.proto;l=627subject_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.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=633excluded_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.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=633excluded_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.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=633excluded_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.authzed.api.v1.LookupSubjectsResponse.excluded_subject_ids is deprecated. See authzed/api/v1/permission_service.proto;l=633excluded_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.authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated. See authzed/api/v1/permission_service.proto;l=637permissionship 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.authzed.api.v1.LookupSubjectsResponse.permissionship is deprecated. See authzed/api/v1/permission_service.proto;l=637permissionship 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.authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated. See authzed/api/v1/permission_service.proto;l=641partial_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.authzed.api.v1.LookupSubjectsResponse.partial_caveat_info is deprecated. See authzed/api/v1/permission_service.proto;l=641partial_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.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
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
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;
-