Package com.authzed.api.v1
Class CheckDebugTrace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
com.authzed.api.v1.CheckDebugTrace.Builder
- All Implemented Interfaces:
CheckDebugTraceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckDebugTrace
public static final class CheckDebugTrace.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
implements CheckDebugTraceOrBuilder
CheckDebugTrace is a recursive trace of the requests made for resolving a CheckPermission API call.Protobuf type
authzed.api.v1.CheckDebugTrace-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.duration holds the time spent executing this Check operation.optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).permission holds the name of the permission or relation on which the Check was performed.permission_type holds information indicating whether it was a permission or relation.resource holds the resource on which the Check was performed.result holds the result of the Check call.source holds the source of the result.subject holds the subject on which the Check was performed.sub_problems holds the sub problems that were executed to resolve the answer to this Check.trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB.was_cached_result, if true, indicates that the result was found in the cache and returned directly.caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Durationduration holds the time spent executing this Check operation.com.google.protobuf.Duration.Builderduration holds the time spent executing this Check operation.com.google.protobuf.DurationOrBuilderduration holds the time spent executing this Check operation.com.google.protobuf.Timestampoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).com.google.protobuf.Timestamp.Builderoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).com.google.protobuf.TimestampOrBuilderoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).permission holds the name of the permission or relation on which the Check was performed.com.google.protobuf.ByteStringpermission holds the name of the permission or relation on which the Check was performed.permission_type holds information indicating whether it was a permission or relation.intpermission_type holds information indicating whether it was a permission or relation.resource holds the resource on which the Check was performed.resource holds the resource on which the Check was performed.resource holds the resource on which the Check was performed.result holds the result of the Check call.intresult holds the result of the Check call.source holds the source of the result.com.google.protobuf.ByteStringsource holds the source of the result.subject holds the subject on which the Check was performed.subject holds the subject on which the Check was performed.subject holds the subject on which the Check was performed.sub_problems holds the sub problems that were executed to resolve the answer to this Check.sub_problems holds the sub problems that were executed to resolve the answer to this Check.sub_problems holds the sub problems that were executed to resolve the answer to this Check.trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB.com.google.protobuf.ByteStringtrace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB.booleanwas_cached_result, if true, indicates that the result was found in the cache and returned directly.booleancaveat_evaluation_info holds information about the caveat evaluated for this step of the trace.booleanduration holds the time spent executing this Check operation.booleanoptional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).booleanresource holds the resource on which the Check was performed.booleansubject holds the subject on which the Check was performed.booleansub_problems holds the sub problems that were executed to resolve the answer to this Check.booleanwas_cached_result, if true, indicates that the result was found in the cache and returned directly.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleancaveat_evaluation_info holds information about the caveat evaluated for this step of the trace.mergeDuration(com.google.protobuf.Duration value) duration holds the time spent executing this Check operation.mergeFrom(CheckDebugTrace other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOptionalExpiresAt(com.google.protobuf.Timestamp value) optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).mergeResource(ObjectReference value) resource holds the resource on which the Check was performed.mergeSubject(SubjectReference value) subject holds the subject on which the Check was performed.sub_problems holds the sub problems that were executed to resolve the answer to this Check.caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.setCaveatEvaluationInfo(CaveatEvalInfo.Builder builderForValue) caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.setDuration(com.google.protobuf.Duration value) duration holds the time spent executing this Check operation.setDuration(com.google.protobuf.Duration.Builder builderForValue) duration holds the time spent executing this Check operation.setOptionalExpiresAt(com.google.protobuf.Timestamp value) optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).setOptionalExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any).setPermission(String value) permission holds the name of the permission or relation on which the Check was performed.setPermissionBytes(com.google.protobuf.ByteString value) permission holds the name of the permission or relation on which the Check was performed.permission_type holds information indicating whether it was a permission or relation.setPermissionTypeValue(int value) permission_type holds information indicating whether it was a permission or relation.setResource(ObjectReference value) resource holds the resource on which the Check was performed.setResource(ObjectReference.Builder builderForValue) resource holds the resource on which the Check was performed.result holds the result of the Check call.setResultValue(int value) result holds the result of the Check call.source holds the source of the result.setSourceBytes(com.google.protobuf.ByteString value) source holds the source of the result.setSubject(SubjectReference value) subject holds the subject on which the Check was performed.setSubject(SubjectReference.Builder builderForValue) subject holds the subject on which the Check was performed.sub_problems holds the sub problems that were executed to resolve the answer to this Check.setSubProblems(CheckDebugTrace.SubProblems.Builder builderForValue) sub_problems holds the sub problems that were executed to resolve the answer to this Check.setTraceOperationId(String value) trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB.setTraceOperationIdBytes(com.google.protobuf.ByteString value) trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB.setWasCachedResult(boolean value) was_cached_result, if true, indicates that the result was found in the cache and returned directly.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckDebugTrace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
-
mergeFrom
public CheckDebugTrace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckDebugTrace.Builder>- Throws:
IOException
-
getResolutionCase
- Specified by:
getResolutionCasein interfaceCheckDebugTraceOrBuilder
-
clearResolution
-
hasResource
public boolean hasResource()resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }- Specified by:
hasResourcein interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }- Specified by:
getResourcein interfaceCheckDebugTraceOrBuilder- Returns:
- The resource.
-
setResource
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... } -
setResource
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... } -
mergeResource
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... } -
clearResource
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... } -
getResourceBuilder
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... } -
getResourceOrBuilder
resource holds the resource on which the Check was performed. for batched calls, the object_id field contains a comma-separated list of object IDs for all the resources checked in the batch.
.authzed.api.v1.ObjectReference resource = 1 [(.validate.rules) = { ... }- Specified by:
getResourceOrBuilderin interfaceCheckDebugTraceOrBuilder
-
getPermission
permission holds the name of the permission or relation on which the Check was performed.
string permission = 2;- Specified by:
getPermissionin interfaceCheckDebugTraceOrBuilder- Returns:
- The permission.
-
getPermissionBytes
public com.google.protobuf.ByteString getPermissionBytes()permission holds the name of the permission or relation on which the Check was performed.
string permission = 2;- Specified by:
getPermissionBytesin interfaceCheckDebugTraceOrBuilder- Returns:
- The bytes for permission.
-
setPermission
permission holds the name of the permission or relation on which the Check was performed.
string permission = 2;- Parameters:
value- The permission to set.- Returns:
- This builder for chaining.
-
clearPermission
permission holds the name of the permission or relation on which the Check was performed.
string permission = 2;- Returns:
- This builder for chaining.
-
setPermissionBytes
permission holds the name of the permission or relation on which the Check was performed.
string permission = 2;- Parameters:
value- The bytes for permission to set.- Returns:
- This builder for chaining.
-
getPermissionTypeValue
public int getPermissionTypeValue()permission_type holds information indicating whether it was a permission or relation.
.authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3 [(.validate.rules) = { ... }- Specified by:
getPermissionTypeValuein interfaceCheckDebugTraceOrBuilder- Returns:
- The enum numeric value on the wire for permissionType.
-
setPermissionTypeValue
permission_type holds information indicating whether it was a permission or relation.
.authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for permissionType to set.- Returns:
- This builder for chaining.
-
getPermissionType
permission_type holds information indicating whether it was a permission or relation.
.authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3 [(.validate.rules) = { ... }- Specified by:
getPermissionTypein interfaceCheckDebugTraceOrBuilder- Returns:
- The permissionType.
-
setPermissionType
permission_type holds information indicating whether it was a permission or relation.
.authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3 [(.validate.rules) = { ... }- Parameters:
value- The permissionType to set.- Returns:
- This builder for chaining.
-
clearPermissionType
permission_type holds information indicating whether it was a permission or relation.
.authzed.api.v1.CheckDebugTrace.PermissionType permission_type = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasSubject
public 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) = { ... }- Specified by:
hasSubjectin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the subject field is set.
-
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) = { ... }- Specified by:
getSubjectin interfaceCheckDebugTraceOrBuilder- Returns:
- The subject.
-
setSubject
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) = { ... } -
setSubject
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) = { ... } -
mergeSubject
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) = { ... } -
clearSubject
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) = { ... } -
getSubjectBuilder
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
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) = { ... }- Specified by:
getSubjectOrBuilderin interfaceCheckDebugTraceOrBuilder
-
getResultValue
public int getResultValue()result holds the result of the Check call.
.authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }- Specified by:
getResultValuein interfaceCheckDebugTraceOrBuilder- Returns:
- The enum numeric value on the wire for result.
-
setResultValue
result holds the result of the Check call.
.authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for result to set.- Returns:
- This builder for chaining.
-
getResult
result holds the result of the Check call.
.authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }- Specified by:
getResultin interfaceCheckDebugTraceOrBuilder- Returns:
- The result.
-
setResult
result holds the result of the Check call.
.authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
clearResult
result holds the result of the Check call.
.authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
hasCaveatEvaluationInfo
public boolean hasCaveatEvaluationInfo()caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;- Specified by:
hasCaveatEvaluationInfoin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the caveatEvaluationInfo field is set.
-
getCaveatEvaluationInfo
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;- Specified by:
getCaveatEvaluationInfoin interfaceCheckDebugTraceOrBuilder- Returns:
- The caveatEvaluationInfo.
-
setCaveatEvaluationInfo
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8; -
setCaveatEvaluationInfo
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8; -
mergeCaveatEvaluationInfo
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8; -
clearCaveatEvaluationInfo
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8; -
getCaveatEvaluationInfoBuilder
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8; -
getCaveatEvaluationInfoOrBuilder
caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
.authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;- Specified by:
getCaveatEvaluationInfoOrBuilderin interfaceCheckDebugTraceOrBuilder
-
hasDuration
public boolean hasDuration()duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9;- Specified by:
hasDurationin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9;- Specified by:
getDurationin interfaceCheckDebugTraceOrBuilder- Returns:
- The duration.
-
setDuration
duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9; -
setDuration
duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9; -
mergeDuration
duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9; -
clearDuration
duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()duration holds the time spent executing this Check operation.
.google.protobuf.Duration duration = 9;- Specified by:
getDurationOrBuilderin interfaceCheckDebugTraceOrBuilder
-
hasWasCachedResult
public boolean hasWasCachedResult()was_cached_result, if true, indicates that the result was found in the cache and returned directly.
bool was_cached_result = 6;- Specified by:
hasWasCachedResultin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the wasCachedResult field is set.
-
getWasCachedResult
public boolean getWasCachedResult()was_cached_result, if true, indicates that the result was found in the cache and returned directly.
bool was_cached_result = 6;- Specified by:
getWasCachedResultin interfaceCheckDebugTraceOrBuilder- Returns:
- The wasCachedResult.
-
setWasCachedResult
was_cached_result, if true, indicates that the result was found in the cache and returned directly.
bool was_cached_result = 6;- Parameters:
value- The wasCachedResult to set.- Returns:
- This builder for chaining.
-
clearWasCachedResult
was_cached_result, if true, indicates that the result was found in the cache and returned directly.
bool was_cached_result = 6;- Returns:
- This builder for chaining.
-
hasSubProblems
public 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;- Specified by:
hasSubProblemsin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the subProblems field is set.
-
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;- Specified by:
getSubProblemsin interfaceCheckDebugTraceOrBuilder- Returns:
- The subProblems.
-
setSubProblems
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; -
setSubProblems
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; -
mergeSubProblems
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; -
clearSubProblems
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; -
getSubProblemsBuilder
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
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;- Specified by:
getSubProblemsOrBuilderin interfaceCheckDebugTraceOrBuilder
-
hasOptionalExpiresAt
public boolean hasOptionalExpiresAt()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10;- Specified by:
hasOptionalExpiresAtin interfaceCheckDebugTraceOrBuilder- Returns:
- Whether the optionalExpiresAt field is set.
-
getOptionalExpiresAt
public com.google.protobuf.Timestamp getOptionalExpiresAt()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10;- Specified by:
getOptionalExpiresAtin interfaceCheckDebugTraceOrBuilder- Returns:
- The optionalExpiresAt.
-
setOptionalExpiresAt
optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10; -
setOptionalExpiresAt
public CheckDebugTrace.Builder setOptionalExpiresAt(com.google.protobuf.Timestamp.Builder builderForValue) optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10; -
mergeOptionalExpiresAt
optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10; -
clearOptionalExpiresAt
optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10; -
getOptionalExpiresAtBuilder
public com.google.protobuf.Timestamp.Builder getOptionalExpiresAtBuilder()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10; -
getOptionalExpiresAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getOptionalExpiresAtOrBuilder()optional_expires_at is the time at which at least one of the relationships used to compute this result, expires (if any). This is *not* related to the caching window.
.google.protobuf.Timestamp optional_expires_at = 10;- Specified by:
getOptionalExpiresAtOrBuilderin interfaceCheckDebugTraceOrBuilder
-
getTraceOperationId
trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB. In cases where SpiceDB performs automatic batching of subproblems, this ID can be used to correlate work that was shared across multiple traces. This identifier is generated by SpiceDB, is to be considered opaque to the caller and only guaranteed to be unique within the same overall Check or CheckBulk operation.
string trace_operation_id = 11;- Specified by:
getTraceOperationIdin interfaceCheckDebugTraceOrBuilder- Returns:
- The traceOperationId.
-
getTraceOperationIdBytes
public com.google.protobuf.ByteString getTraceOperationIdBytes()trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB. In cases where SpiceDB performs automatic batching of subproblems, this ID can be used to correlate work that was shared across multiple traces. This identifier is generated by SpiceDB, is to be considered opaque to the caller and only guaranteed to be unique within the same overall Check or CheckBulk operation.
string trace_operation_id = 11;- Specified by:
getTraceOperationIdBytesin interfaceCheckDebugTraceOrBuilder- Returns:
- The bytes for traceOperationId.
-
setTraceOperationId
trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB. In cases where SpiceDB performs automatic batching of subproblems, this ID can be used to correlate work that was shared across multiple traces. This identifier is generated by SpiceDB, is to be considered opaque to the caller and only guaranteed to be unique within the same overall Check or CheckBulk operation.
string trace_operation_id = 11;- Parameters:
value- The traceOperationId to set.- Returns:
- This builder for chaining.
-
clearTraceOperationId
trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB. In cases where SpiceDB performs automatic batching of subproblems, this ID can be used to correlate work that was shared across multiple traces. This identifier is generated by SpiceDB, is to be considered opaque to the caller and only guaranteed to be unique within the same overall Check or CheckBulk operation.
string trace_operation_id = 11;- Returns:
- This builder for chaining.
-
setTraceOperationIdBytes
trace_operation_id is a unique identifier for this trace's operation, that will be shared for all traces created for the same check operation in SpiceDB. In cases where SpiceDB performs automatic batching of subproblems, this ID can be used to correlate work that was shared across multiple traces. This identifier is generated by SpiceDB, is to be considered opaque to the caller and only guaranteed to be unique within the same overall Check or CheckBulk operation.
string trace_operation_id = 11;- Parameters:
value- The bytes for traceOperationId to set.- Returns:
- This builder for chaining.
-
getSource
source holds the source of the result. It is of the form: `<sourcetype>:<sourceid>`, where sourcetype can be, among others: `spicedb`, `materialize`, etc.
string source = 12;- Specified by:
getSourcein interfaceCheckDebugTraceOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()source holds the source of the result. It is of the form: `<sourcetype>:<sourceid>`, where sourcetype can be, among others: `spicedb`, `materialize`, etc.
string source = 12;- Specified by:
getSourceBytesin interfaceCheckDebugTraceOrBuilder- Returns:
- The bytes for source.
-
setSource
source holds the source of the result. It is of the form: `<sourcetype>:<sourceid>`, where sourcetype can be, among others: `spicedb`, `materialize`, etc.
string source = 12;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
source holds the source of the result. It is of the form: `<sourcetype>:<sourceid>`, where sourcetype can be, among others: `spicedb`, `materialize`, etc.
string source = 12;- Returns:
- This builder for chaining.
-
setSourceBytes
source holds the source of the result. It is of the form: `<sourcetype>:<sourceid>`, where sourcetype can be, among others: `spicedb`, `materialize`, etc.
string source = 12;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-