-
- All Implemented Interfaces:
-
com.authzed.api.v1.Debug.CheckDebugTraceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class Debug.CheckDebugTrace extends GeneratedMessageV3 implements Debug.CheckDebugTraceOrBuilder
Protobuf typeCheckDebugTrace is a recursive trace of the requests made for resolving a CheckPermission API call.authzed.api.v1.CheckDebugTrace
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDebug.CheckDebugTrace.PermissionTypeProtobuf enum
authzed.api.v1.CheckDebugTrace.PermissionTypepublic enumDebug.CheckDebugTrace.PermissionshipProtobuf enum
authzed.api.v1.CheckDebugTrace.Permissionshippublic interfaceDebug.CheckDebugTrace.SubProblemsOrBuilderpublic final classDebug.CheckDebugTrace.SubProblemsProtobuf type
authzed.api.v1.CheckDebugTrace.SubProblemspublic enumDebug.CheckDebugTrace.ResolutionCasepublic final classDebug.CheckDebugTrace.Builder
Protobuf typeCheckDebugTrace is a recursive trace of the requests made for resolving a CheckPermission API call.authzed.api.v1.CheckDebugTrace
-
Field Summary
Fields Modifier and Type Field Description public final static intRESOURCE_FIELD_NUMBERpublic final static intPERMISSION_FIELD_NUMBERpublic final static intPERMISSION_TYPE_FIELD_NUMBERpublic final static intSUBJECT_FIELD_NUMBERpublic final static intRESULT_FIELD_NUMBERpublic final static intWAS_CACHED_RESULT_FIELD_NUMBERpublic final static intSUB_PROBLEMS_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final UnknownFieldSetgetUnknownFields()final static Descriptors.DescriptorgetDescriptor()Debug.CheckDebugTrace.ResolutionCasegetResolutionCase()booleanhasResource()resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }Core.ObjectReferencegetResource()resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }Core.ObjectReferenceOrBuildergetResourceOrBuilder()resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }StringgetPermission()permission holds the name of the permission or relation on which the Check was performed.string permission = 2;ByteStringgetPermissionBytes()permission holds the name of the permission or relation on which the Check was performed.string permission = 2;intgetPermissionTypeValue()permission_type holds information indicating whether it was a permission or relation..authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3;Debug.CheckDebugTrace.PermissionTypegetPermissionType()permission_type holds information indicating whether it was a permission or relation..authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3;booleanhasSubject()subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }Core.SubjectReferencegetSubject()subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }Core.SubjectReferenceOrBuildergetSubjectOrBuilder()subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }intgetResultValue()result holds the result of the Check call..authzed.api.v1.CheckDebugTrace.Permissionship result = 5;Debug.CheckDebugTrace.PermissionshipgetResult()result holds the result of the Check call..authzed.api.v1.CheckDebugTrace.Permissionship result = 5;booleanhasWasCachedResult()was_cached_result, if true, indicates that the result was found in the cache and returned directly.bool was_cached_result = 6;booleangetWasCachedResult()was_cached_result, if true, indicates that the result was found in the cache and returned directly.bool was_cached_result = 6;booleanhasSubProblems()sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;Debug.CheckDebugTrace.SubProblemsgetSubProblems()sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;Debug.CheckDebugTrace.SubProblemsOrBuildergetSubProblemsOrBuilder()sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static Debug.CheckDebugTraceparseFrom(ByteBuffer data)static Debug.CheckDebugTraceparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Debug.CheckDebugTraceparseFrom(ByteString data)static Debug.CheckDebugTraceparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static Debug.CheckDebugTraceparseFrom(Array<byte> data)static Debug.CheckDebugTraceparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static Debug.CheckDebugTraceparseFrom(InputStream input)static Debug.CheckDebugTraceparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Debug.CheckDebugTraceparseDelimitedFrom(InputStream input)static Debug.CheckDebugTraceparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static Debug.CheckDebugTraceparseFrom(CodedInputStream input)static Debug.CheckDebugTraceparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)Debug.CheckDebugTrace.BuildernewBuilderForType()static Debug.CheckDebugTrace.BuildernewBuilder()static Debug.CheckDebugTrace.BuildernewBuilder(Debug.CheckDebugTrace prototype)Debug.CheckDebugTrace.BuildertoBuilder()static Debug.CheckDebugTracegetDefaultInstance()static Parser<Debug.CheckDebugTrace>parser()Parser<Debug.CheckDebugTrace>getParserForType()Debug.CheckDebugTracegetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUnknownFields
final UnknownFieldSet getUnknownFields()
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getResolutionCase
Debug.CheckDebugTrace.ResolutionCase getResolutionCase()
-
hasResource
boolean hasResource()
resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
getResource
Core.ObjectReference getResource()
resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
getResourceOrBuilder
Core.ObjectReferenceOrBuilder getResourceOrBuilder()
resource holds the resource on which the Check was performed..authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }
-
getPermission
String getPermission()
permission holds the name of the permission or relation on which the Check was performed.string permission = 2;
-
getPermissionBytes
ByteString getPermissionBytes()
permission holds the name of the permission or relation on which the Check was performed.string permission = 2;
-
getPermissionTypeValue
int getPermissionTypeValue()
permission_type holds information indicating whether it was a permission or relation..authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3;
-
getPermissionType
Debug.CheckDebugTrace.PermissionType getPermissionType()
permission_type holds information indicating whether it was a permission or relation..authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3;
-
hasSubject
boolean hasSubject()
subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getSubject
Core.SubjectReference getSubject()
subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getSubjectOrBuilder
Core.SubjectReferenceOrBuilder getSubjectOrBuilder()
subject holds the subject on which the Check was performed. This will be static across all calls within the same Check tree..authzed.api.v1.SubjectReference subject = 4 [(.validate.rules) = { ... }
-
getResultValue
int getResultValue()
result holds the result of the Check call..authzed.api.v1.CheckDebugTrace.Permissionship result = 5;
-
getResult
Debug.CheckDebugTrace.Permissionship getResult()
result holds the result of the Check call..authzed.api.v1.CheckDebugTrace.Permissionship result = 5;
-
hasWasCachedResult
boolean hasWasCachedResult()
was_cached_result, if true, indicates that the result was found in the cache and returned directly.bool was_cached_result = 6;
-
getWasCachedResult
boolean getWasCachedResult()
was_cached_result, if true, indicates that the result was found in the cache and returned directly.bool was_cached_result = 6;
-
hasSubProblems
boolean hasSubProblems()
sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;
-
getSubProblems
Debug.CheckDebugTrace.SubProblems getSubProblems()
sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;
-
getSubProblemsOrBuilder
Debug.CheckDebugTrace.SubProblemsOrBuilder getSubProblemsOrBuilder()
sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation..authzed.api.v1.CheckDebugTrace.SubProblems sub_problems = 7;
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
equals
boolean equals(Object obj)
-
hashCode
int hashCode()
-
parseFrom
static Debug.CheckDebugTrace parseFrom(ByteBuffer data)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(ByteString data)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(Array<byte> data)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(InputStream input)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static Debug.CheckDebugTrace parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static Debug.CheckDebugTrace parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(CodedInputStream input)
-
parseFrom
static Debug.CheckDebugTrace parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
Debug.CheckDebugTrace.Builder newBuilderForType()
-
newBuilder
static Debug.CheckDebugTrace.Builder newBuilder()
-
newBuilder
static Debug.CheckDebugTrace.Builder newBuilder(Debug.CheckDebugTrace prototype)
-
toBuilder
Debug.CheckDebugTrace.Builder toBuilder()
-
getDefaultInstance
static Debug.CheckDebugTrace getDefaultInstance()
-
parser
static Parser<Debug.CheckDebugTrace> parser()
-
getParserForType
Parser<Debug.CheckDebugTrace> getParserForType()
-
getDefaultInstanceForType
Debug.CheckDebugTrace getDefaultInstanceForType()
-
-
-
-