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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
    • clear

      public CheckDebugTrace.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CheckDebugTrace.Builder>
    • getDefaultInstanceForType

      public CheckDebugTrace getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CheckDebugTrace build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CheckDebugTrace buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CheckDebugTrace.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckDebugTrace.Builder>
    • mergeFrom

      public CheckDebugTrace.Builder mergeFrom(CheckDebugTrace other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CheckDebugTrace.Builder>
      Throws:
      IOException
    • getResolutionCase

      public CheckDebugTrace.ResolutionCase getResolutionCase()
      Specified by:
      getResolutionCase in interface CheckDebugTraceOrBuilder
    • clearResolution

      public CheckDebugTrace.Builder 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:
      hasResource in interface CheckDebugTraceOrBuilder
      Returns:
      Whether the resource field is set.
    • getResource

      public ObjectReference 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:
      getResource in interface CheckDebugTraceOrBuilder
      Returns:
      The resource.
    • setResource

      public CheckDebugTrace.Builder setResource(ObjectReference value)
       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

      public CheckDebugTrace.Builder setResource(ObjectReference.Builder builderForValue)
       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

      public CheckDebugTrace.Builder mergeResource(ObjectReference value)
       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

      public CheckDebugTrace.Builder 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

      public ObjectReference.Builder 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

      public ObjectReferenceOrBuilder 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:
      getResourceOrBuilder in interface CheckDebugTraceOrBuilder
    • getPermission

      public String getPermission()
       permission holds the name of the permission or relation on which the Check was performed.
       
      string permission = 2;
      Specified by:
      getPermission in interface CheckDebugTraceOrBuilder
      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:
      getPermissionBytes in interface CheckDebugTraceOrBuilder
      Returns:
      The bytes for permission.
    • setPermission

      public CheckDebugTrace.Builder setPermission(String value)
       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

      public CheckDebugTrace.Builder 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

      public CheckDebugTrace.Builder setPermissionBytes(com.google.protobuf.ByteString value)
       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:
      getPermissionTypeValue in interface CheckDebugTraceOrBuilder
      Returns:
      The enum numeric value on the wire for permissionType.
    • setPermissionTypeValue

      public CheckDebugTrace.Builder setPermissionTypeValue(int value)
       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

      public CheckDebugTrace.PermissionType 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:
      getPermissionType in interface CheckDebugTraceOrBuilder
      Returns:
      The permissionType.
    • setPermissionType

      public CheckDebugTrace.Builder setPermissionType(CheckDebugTrace.PermissionType value)
       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

      public CheckDebugTrace.Builder 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:
      hasSubject in interface CheckDebugTraceOrBuilder
      Returns:
      Whether the subject field is set.
    • getSubject

      public 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) = { ... }
      Specified by:
      getSubject in interface CheckDebugTraceOrBuilder
      Returns:
      The subject.
    • setSubject

      public CheckDebugTrace.Builder setSubject(SubjectReference value)
       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

      public CheckDebugTrace.Builder setSubject(SubjectReference.Builder builderForValue)
       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

      public CheckDebugTrace.Builder mergeSubject(SubjectReference value)
       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

      public CheckDebugTrace.Builder 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

      public SubjectReference.Builder 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

      public 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) = { ... }
      Specified by:
      getSubjectOrBuilder in interface CheckDebugTraceOrBuilder
    • getResultValue

      public int getResultValue()
       result holds the result of the Check call.
       
      .authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }
      Specified by:
      getResultValue in interface CheckDebugTraceOrBuilder
      Returns:
      The enum numeric value on the wire for result.
    • setResultValue

      public CheckDebugTrace.Builder setResultValue(int value)
       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

      public CheckDebugTrace.Permissionship getResult()
       result holds the result of the Check call.
       
      .authzed.api.v1.CheckDebugTrace.Permissionship result = 5 [(.validate.rules) = { ... }
      Specified by:
      getResult in interface CheckDebugTraceOrBuilder
      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

      public CheckDebugTrace.Builder 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:
      hasCaveatEvaluationInfo in interface CheckDebugTraceOrBuilder
      Returns:
      Whether the caveatEvaluationInfo field is set.
    • getCaveatEvaluationInfo

      public CaveatEvalInfo 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:
      getCaveatEvaluationInfo in interface CheckDebugTraceOrBuilder
      Returns:
      The caveatEvaluationInfo.
    • setCaveatEvaluationInfo

      public CheckDebugTrace.Builder setCaveatEvaluationInfo(CaveatEvalInfo value)
       caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
       
      .authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;
    • setCaveatEvaluationInfo

      public CheckDebugTrace.Builder setCaveatEvaluationInfo(CaveatEvalInfo.Builder builderForValue)
       caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
       
      .authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;
    • mergeCaveatEvaluationInfo

      public CheckDebugTrace.Builder mergeCaveatEvaluationInfo(CaveatEvalInfo value)
       caveat_evaluation_info holds information about the caveat evaluated for this step of the trace.
       
      .authzed.api.v1.CaveatEvalInfo caveat_evaluation_info = 8;
    • clearCaveatEvaluationInfo

      public CheckDebugTrace.Builder 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

      public CaveatEvalInfo.Builder 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

      public CaveatEvalInfoOrBuilder 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:
      getCaveatEvaluationInfoOrBuilder in interface CheckDebugTraceOrBuilder
    • hasDuration

      public boolean hasDuration()
       duration holds the time spent executing this Check operation.
       
      .google.protobuf.Duration duration = 9;
      Specified by:
      hasDuration in interface CheckDebugTraceOrBuilder
      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:
      getDuration in interface CheckDebugTraceOrBuilder
      Returns:
      The duration.
    • setDuration

      public CheckDebugTrace.Builder setDuration(com.google.protobuf.Duration value)
       duration holds the time spent executing this Check operation.
       
      .google.protobuf.Duration duration = 9;
    • setDuration

      public CheckDebugTrace.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       duration holds the time spent executing this Check operation.
       
      .google.protobuf.Duration duration = 9;
    • mergeDuration

      public CheckDebugTrace.Builder mergeDuration(com.google.protobuf.Duration value)
       duration holds the time spent executing this Check operation.
       
      .google.protobuf.Duration duration = 9;
    • clearDuration

      public CheckDebugTrace.Builder 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:
      getDurationOrBuilder in interface CheckDebugTraceOrBuilder
    • 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:
      hasWasCachedResult in interface CheckDebugTraceOrBuilder
      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:
      getWasCachedResult in interface CheckDebugTraceOrBuilder
      Returns:
      The wasCachedResult.
    • setWasCachedResult

      public CheckDebugTrace.Builder setWasCachedResult(boolean value)
       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

      public CheckDebugTrace.Builder 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:
      hasSubProblems in interface CheckDebugTraceOrBuilder
      Returns:
      Whether the subProblems field is set.
    • getSubProblems

      public 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;
      Specified by:
      getSubProblems in interface CheckDebugTraceOrBuilder
      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

      public CheckDebugTrace.Builder setSubProblems(CheckDebugTrace.SubProblems.Builder builderForValue)
       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

      public CheckDebugTrace.Builder mergeSubProblems(CheckDebugTrace.SubProblems value)
       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

      public CheckDebugTrace.Builder 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

      public CheckDebugTrace.SubProblems.Builder 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

      public 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;
      Specified by:
      getSubProblemsOrBuilder in interface CheckDebugTraceOrBuilder
    • 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:
      hasOptionalExpiresAt in interface CheckDebugTraceOrBuilder
      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:
      getOptionalExpiresAt in interface CheckDebugTraceOrBuilder
      Returns:
      The optionalExpiresAt.
    • setOptionalExpiresAt

      public CheckDebugTrace.Builder 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). 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

      public CheckDebugTrace.Builder 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). This is *not* related to the caching window.
       
      .google.protobuf.Timestamp optional_expires_at = 10;
    • clearOptionalExpiresAt

      public CheckDebugTrace.Builder 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:
      getOptionalExpiresAtOrBuilder in interface CheckDebugTraceOrBuilder
    • getTraceOperationId

      public String 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:
      getTraceOperationId in interface CheckDebugTraceOrBuilder
      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:
      getTraceOperationIdBytes in interface CheckDebugTraceOrBuilder
      Returns:
      The bytes for traceOperationId.
    • setTraceOperationId

      public CheckDebugTrace.Builder 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.
      
       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

      public CheckDebugTrace.Builder 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

      public CheckDebugTrace.Builder 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.
      
       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

      public String 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:
      getSource in interface CheckDebugTraceOrBuilder
      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:
      getSourceBytes in interface CheckDebugTraceOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public CheckDebugTrace.Builder setSource(String value)
       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

      public CheckDebugTrace.Builder 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

      public CheckDebugTrace.Builder setSourceBytes(com.google.protobuf.ByteString value)
       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.