Interface CaveatEvalInfoOrBuilder

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

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

    Modifier and Type
    Method
    Description
    caveat_name is the name of the caveat that was executed, if applicable.
    com.google.protobuf.ByteString
    caveat_name is the name of the caveat that was executed, if applicable.
    com.google.protobuf.Struct
    context consists of any named values that were used for evaluating the caveat expression.
    com.google.protobuf.StructOrBuilder
    context consists of any named values that were used for evaluating the caveat expression.
    expression is the expression that was evaluated.
    com.google.protobuf.ByteString
    expression is the expression that was evaluated.
    partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.
    partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.
    result is the result of the evaluation.
    int
    result is the result of the evaluation.
    boolean
    context consists of any named values that were used for evaluating the caveat expression.
    boolean
    partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.

    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

    • getExpression

      String getExpression()
       expression is the expression that was evaluated.
       
      string expression = 1;
      Returns:
      The expression.
    • getExpressionBytes

      com.google.protobuf.ByteString getExpressionBytes()
       expression is the expression that was evaluated.
       
      string expression = 1;
      Returns:
      The bytes for expression.
    • getResultValue

      int getResultValue()
       result is the result of the evaluation.
       
      .authzed.api.v1.CaveatEvalInfo.Result result = 2;
      Returns:
      The enum numeric value on the wire for result.
    • getResult

       result is the result of the evaluation.
       
      .authzed.api.v1.CaveatEvalInfo.Result result = 2;
      Returns:
      The result.
    • hasContext

      boolean hasContext()
       context consists of any named values that were used for evaluating the caveat expression.
       
      .google.protobuf.Struct context = 3;
      Returns:
      Whether the context field is set.
    • getContext

      com.google.protobuf.Struct getContext()
       context consists of any named values that were used for evaluating the caveat expression.
       
      .google.protobuf.Struct context = 3;
      Returns:
      The context.
    • getContextOrBuilder

      com.google.protobuf.StructOrBuilder getContextOrBuilder()
       context consists of any named values that were used for evaluating the caveat expression.
       
      .google.protobuf.Struct context = 3;
    • hasPartialCaveatInfo

      boolean hasPartialCaveatInfo()
       partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 4;
      Returns:
      Whether the partialCaveatInfo field is set.
    • getPartialCaveatInfo

      PartialCaveatInfo getPartialCaveatInfo()
       partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 4;
      Returns:
      The partialCaveatInfo.
    • getPartialCaveatInfoOrBuilder

      PartialCaveatInfoOrBuilder getPartialCaveatInfoOrBuilder()
       partial_caveat_info holds information of a partially-evaluated caveated response, if applicable.
       
      .authzed.api.v1.PartialCaveatInfo partial_caveat_info = 4;
    • getCaveatName

      String getCaveatName()
       caveat_name is the name of the caveat that was executed, if applicable.
       
      string caveat_name = 5;
      Returns:
      The caveatName.
    • getCaveatNameBytes

      com.google.protobuf.ByteString getCaveatNameBytes()
       caveat_name is the name of the caveat that was executed, if applicable.
       
      string caveat_name = 5;
      Returns:
      The bytes for caveatName.