Interface Core.RelationTupleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Core.RelationTuple, Core.RelationTuple.Builder
Enclosing class:
Core

public static interface Core.RelationTupleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Each tupleset specifies keys of a set of relation tuples.
    Each tupleset specifies keys of a set of relation tuples.
    .authzed.api.v0.User user = 2 [(.validate.rules) = { ...
    .authzed.api.v0.User user = 2 [(.validate.rules) = { ...
    boolean
    Each tupleset specifies keys of a set of relation tuples.
    boolean
    .authzed.api.v0.User user = 2 [(.validate.rules) = { ...

    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

    • hasObjectAndRelation

      boolean hasObjectAndRelation()
       Each tupleset specifies keys of a set of relation tuples. The set can
       include a single tuple key, or all tuples with a given object ID or
       userset in a namespace, optionally constrained by a relation name.
      
       examples:
       doc:readme#viewer@group:eng#member (fully specified)
       doc:*#*#group:eng#member (all tuples that this userset relates to)
       doc:12345#*#* (all tuples with a direct relationship to a document)
       doc:12345#writer#* (all tuples with direct write relationship with the
       document) doc:#writer#group:eng#member (all tuples that eng group has write
       relationship)
       
      .authzed.api.v0.ObjectAndRelation object_and_relation = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the objectAndRelation field is set.
    • getObjectAndRelation

      Core.ObjectAndRelation getObjectAndRelation()
       Each tupleset specifies keys of a set of relation tuples. The set can
       include a single tuple key, or all tuples with a given object ID or
       userset in a namespace, optionally constrained by a relation name.
      
       examples:
       doc:readme#viewer@group:eng#member (fully specified)
       doc:*#*#group:eng#member (all tuples that this userset relates to)
       doc:12345#*#* (all tuples with a direct relationship to a document)
       doc:12345#writer#* (all tuples with direct write relationship with the
       document) doc:#writer#group:eng#member (all tuples that eng group has write
       relationship)
       
      .authzed.api.v0.ObjectAndRelation object_and_relation = 1 [(.validate.rules) = { ... }
      Returns:
      The objectAndRelation.
    • getObjectAndRelationOrBuilder

      Core.ObjectAndRelationOrBuilder getObjectAndRelationOrBuilder()
       Each tupleset specifies keys of a set of relation tuples. The set can
       include a single tuple key, or all tuples with a given object ID or
       userset in a namespace, optionally constrained by a relation name.
      
       examples:
       doc:readme#viewer@group:eng#member (fully specified)
       doc:*#*#group:eng#member (all tuples that this userset relates to)
       doc:12345#*#* (all tuples with a direct relationship to a document)
       doc:12345#writer#* (all tuples with direct write relationship with the
       document) doc:#writer#group:eng#member (all tuples that eng group has write
       relationship)
       
      .authzed.api.v0.ObjectAndRelation object_and_relation = 1 [(.validate.rules) = { ... }
    • hasUser

      boolean hasUser()
      .authzed.api.v0.User user = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the user field is set.
    • getUser

      Core.User getUser()
      .authzed.api.v0.User user = 2 [(.validate.rules) = { ... }
      Returns:
      The user.
    • getUserOrBuilder

      Core.UserOrBuilder getUserOrBuilder()
      .authzed.api.v0.User user = 2 [(.validate.rules) = { ... }