Interface RelationshipOrBuilder

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

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

    Modifier and Type
    Method
    Description
    optional_caveat is a reference to a the caveat that must be enforced over the relationship
    optional_caveat is a reference to a the caveat that must be enforced over the relationship
    relation is how the resource and subject are related.
    com.google.protobuf.ByteString
    relation is how the resource and subject are related.
    resource is the resource to which the subject is related, in some manner
    resource is the resource to which the subject is related, in some manner
    subject is the subject to which the resource is related, in some manner.
    subject is the subject to which the resource is related, in some manner.
    boolean
    optional_caveat is a reference to a the caveat that must be enforced over the relationship
    boolean
    resource is the resource to which the subject is related, in some manner
    boolean
    subject is the subject to which the resource is related, in some manner.

    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

    • hasResource

      boolean hasResource()
       resource is the resource to which the subject is related, in some manner
       
      .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the resource field is set.
    • getResource

      ObjectReference getResource()
       resource is the resource to which the subject is related, in some manner
       
      .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
      Returns:
      The resource.
    • getResourceOrBuilder

      ObjectReferenceOrBuilder getResourceOrBuilder()
       resource is the resource to which the subject is related, in some manner
       
      .authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
    • getRelation

      String getRelation()
       relation is how the resource and subject are related.
       
      string relation = 2 [(.validate.rules) = { ... }
      Returns:
      The relation.
    • getRelationBytes

      com.google.protobuf.ByteString getRelationBytes()
       relation is how the resource and subject are related.
       
      string relation = 2 [(.validate.rules) = { ... }
      Returns:
      The bytes for relation.
    • hasSubject

      boolean hasSubject()
       subject is the subject to which the resource is related, in some manner.
       
      .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
      Returns:
      Whether the subject field is set.
    • getSubject

      SubjectReference getSubject()
       subject is the subject to which the resource is related, in some manner.
       
      .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
      Returns:
      The subject.
    • getSubjectOrBuilder

      SubjectReferenceOrBuilder getSubjectOrBuilder()
       subject is the subject to which the resource is related, in some manner.
       
      .authzed.api.v1.SubjectReference subject = 3 [(.validate.rules) = { ... }
    • hasOptionalCaveat

      boolean hasOptionalCaveat()
       optional_caveat is a reference to a the caveat that must be enforced over the relationship
       
      .authzed.api.v1.ContextualizedCaveat optional_caveat = 4 [(.validate.rules) = { ... }
      Returns:
      Whether the optionalCaveat field is set.
    • getOptionalCaveat

      ContextualizedCaveat getOptionalCaveat()
       optional_caveat is a reference to a the caveat that must be enforced over the relationship
       
      .authzed.api.v1.ContextualizedCaveat optional_caveat = 4 [(.validate.rules) = { ... }
      Returns:
      The optionalCaveat.
    • getOptionalCaveatOrBuilder

      ContextualizedCaveatOrBuilder getOptionalCaveatOrBuilder()
       optional_caveat is a reference to a the caveat that must be enforced over the relationship
       
      .authzed.api.v1.ContextualizedCaveat optional_caveat = 4 [(.validate.rules) = { ... }