Interface CheckPermissionResponseOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ...
    .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ...
    debug_trace is the debugging trace of this check, if requested.
    debug_trace is the debugging trace of this check, if requested.
    partial_caveat_info holds information of a partially-evaluated caveated response
    partial_caveat_info holds information of a partially-evaluated caveated response
    Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation.
    int
    Permissionship communicates whether or not the subject has the requested permission or has a relationship with the given resource, over the given relation.
    boolean
    .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ...
    boolean
    debug_trace is the debugging trace of this check, if requested.
    boolean
    partial_caveat_info holds information of a partially-evaluated caveated response

    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

    • hasCheckedAt

      boolean hasCheckedAt()
      .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the checkedAt field is set.
    • getCheckedAt

      ZedToken getCheckedAt()
      .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... }
      Returns:
      The checkedAt.
    • getCheckedAtOrBuilder

      ZedTokenOrBuilder getCheckedAtOrBuilder()
      .authzed.api.v1.ZedToken checked_at = 1 [(.validate.rules) = { ... }
    • getPermissionshipValue

      int getPermissionshipValue()
       Permissionship communicates whether or not the subject has the requested
       permission or has a relationship with the given resource, over the given
       relation.
      
       This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the
       requested subject is a member of the computed permission set or there
       exists a relationship with the requested relation from the given resource
       to the given subject.
       
      .authzed.api.v1.CheckPermissionResponse.Permissionship permissionship = 2 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for permissionship.
    • getPermissionship

       Permissionship communicates whether or not the subject has the requested
       permission or has a relationship with the given resource, over the given
       relation.
      
       This value will be authzed.api.v1.PERMISSIONSHIP_HAS_PERMISSION if the
       requested subject is a member of the computed permission set or there
       exists a relationship with the requested relation from the given resource
       to the given subject.
       
      .authzed.api.v1.CheckPermissionResponse.Permissionship permissionship = 2 [(.validate.rules) = { ... }
      Returns:
      The permissionship.
    • hasPartialCaveatInfo

      boolean hasPartialCaveatInfo()
       partial_caveat_info holds information of a partially-evaluated caveated response
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
      Returns:
      Whether the partialCaveatInfo field is set.
    • getPartialCaveatInfo

      PartialCaveatInfo getPartialCaveatInfo()
       partial_caveat_info holds information of a partially-evaluated caveated response
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
      Returns:
      The partialCaveatInfo.
    • getPartialCaveatInfoOrBuilder

      PartialCaveatInfoOrBuilder getPartialCaveatInfoOrBuilder()
       partial_caveat_info holds information of a partially-evaluated caveated response
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
    • hasDebugTrace

      boolean hasDebugTrace()
       debug_trace is the debugging trace of this check, if requested.
       
      .authzed.api.v1.DebugInformation debug_trace = 4;
      Returns:
      Whether the debugTrace field is set.
    • getDebugTrace

      DebugInformation getDebugTrace()
       debug_trace is the debugging trace of this check, if requested.
       
      .authzed.api.v1.DebugInformation debug_trace = 4;
      Returns:
      The debugTrace.
    • getDebugTraceOrBuilder

      DebugInformationOrBuilder getDebugTraceOrBuilder()
       debug_trace is the debugging trace of this check, if requested.
       
      .authzed.api.v1.DebugInformation debug_trace = 4;