Interface PolicyOuterClass.PrincipalRule.ActionOrBuilder

    • Method Detail

      • getAction

        java.lang.String getAction()
        string action = 1 [(.buf.validate.field) = { ... }
        Returns:
        The action.
      • getActionBytes

        com.google.protobuf.ByteString getActionBytes()
        string action = 1 [(.buf.validate.field) = { ... }
        Returns:
        The bytes for action.
      • hasCondition

        boolean hasCondition()
        .cerbos.policy.v1.Condition condition = 2;
        Returns:
        Whether the condition field is set.
      • getEffectValue

        int getEffectValue()
        .cerbos.effect.v1.Effect effect = 3 [(.buf.validate.field) = { ... }
        Returns:
        The enum numeric value on the wire for effect.
      • getEffect

        EffectOuterClass.Effect getEffect()
        .cerbos.effect.v1.Effect effect = 3 [(.buf.validate.field) = { ... }
        Returns:
        The effect.
      • getName

        java.lang.String getName()
        string name = 4 [(.buf.validate.field) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 4 [(.buf.validate.field) = { ... }
        Returns:
        The bytes for name.
      • hasOutput

        boolean hasOutput()
        .cerbos.policy.v1.Output output = 5;
        Returns:
        Whether the output field is set.