Package com.authzed.api.v1
Interface ReadRelationshipsResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadRelationshipsResponse
,ReadRelationshipsResponse.Builder
public interface ReadRelationshipsResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionafter_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.read_at is the ZedToken at which the relationship was found.read_at is the ZedToken at which the relationship was found.relationship is the found relationship.relationship is the found relationship.boolean
after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.boolean
read_at is the ZedToken at which the relationship was found.boolean
relationship is the found relationship.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
-
hasReadAt
boolean hasReadAt()read_at is the ZedToken at which the relationship was found.
.authzed.api.v1.ZedToken read_at = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the readAt field is set.
-
getReadAt
ZedToken getReadAt()read_at is the ZedToken at which the relationship was found.
.authzed.api.v1.ZedToken read_at = 1 [(.validate.rules) = { ... }
- Returns:
- The readAt.
-
getReadAtOrBuilder
ZedTokenOrBuilder getReadAtOrBuilder()read_at is the ZedToken at which the relationship was found.
.authzed.api.v1.ZedToken read_at = 1 [(.validate.rules) = { ... }
-
hasRelationship
boolean hasRelationship()relationship is the found relationship.
.authzed.api.v1.Relationship relationship = 2 [(.validate.rules) = { ... }
- Returns:
- Whether the relationship field is set.
-
getRelationship
Relationship getRelationship()relationship is the found relationship.
.authzed.api.v1.Relationship relationship = 2 [(.validate.rules) = { ... }
- Returns:
- The relationship.
-
getRelationshipOrBuilder
RelationshipOrBuilder getRelationshipOrBuilder()relationship is the found relationship.
.authzed.api.v1.Relationship relationship = 2 [(.validate.rules) = { ... }
-
hasAfterResultCursor
boolean hasAfterResultCursor()after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 3;
- Returns:
- Whether the afterResultCursor field is set.
-
getAfterResultCursor
Cursor getAfterResultCursor()after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 3;
- Returns:
- The afterResultCursor.
-
getAfterResultCursorOrBuilder
CursorOrBuilder getAfterResultCursorOrBuilder()after_result_cursor holds a cursor that can be used to resume the ReadRelationships stream after this result.
.authzed.api.v1.Cursor after_result_cursor = 3;
-