Interface PolicyOuterClass.ResourceRuleOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getActions​(int index)
      repeated string actions = 1 [(.buf.validate.field) = { ...
      com.google.protobuf.ByteString getActionsBytes​(int index)
      repeated string actions = 1 [(.buf.validate.field) = { ...
      int getActionsCount()
      repeated string actions = 1 [(.buf.validate.field) = { ...
      java.util.List<java.lang.String> getActionsList()
      repeated string actions = 1 [(.buf.validate.field) = { ...
      PolicyOuterClass.Condition getCondition()
      .cerbos.policy.v1.Condition condition = 4;
      PolicyOuterClass.ConditionOrBuilder getConditionOrBuilder()
      .cerbos.policy.v1.Condition condition = 4;
      java.lang.String getDerivedRoles​(int index)
      repeated string derived_roles = 2 [(.buf.validate.field) = { ...
      com.google.protobuf.ByteString getDerivedRolesBytes​(int index)
      repeated string derived_roles = 2 [(.buf.validate.field) = { ...
      int getDerivedRolesCount()
      repeated string derived_roles = 2 [(.buf.validate.field) = { ...
      java.util.List<java.lang.String> getDerivedRolesList()
      repeated string derived_roles = 2 [(.buf.validate.field) = { ...
      EffectOuterClass.Effect getEffect()
      .cerbos.effect.v1.Effect effect = 5 [(.buf.validate.field) = { ...
      int getEffectValue()
      .cerbos.effect.v1.Effect effect = 5 [(.buf.validate.field) = { ...
      java.lang.String getName()
      string name = 6 [(.buf.validate.field) = { ...
      com.google.protobuf.ByteString getNameBytes()
      string name = 6 [(.buf.validate.field) = { ...
      PolicyOuterClass.Output getOutput()
      .cerbos.policy.v1.Output output = 7;
      PolicyOuterClass.OutputOrBuilder getOutputOrBuilder()
      .cerbos.policy.v1.Output output = 7;
      java.lang.String getRoles​(int index)
      repeated string roles = 3 [(.buf.validate.field) = { ...
      com.google.protobuf.ByteString getRolesBytes​(int index)
      repeated string roles = 3 [(.buf.validate.field) = { ...
      int getRolesCount()
      repeated string roles = 3 [(.buf.validate.field) = { ...
      java.util.List<java.lang.String> getRolesList()
      repeated string roles = 3 [(.buf.validate.field) = { ...
      boolean hasCondition()
      .cerbos.policy.v1.Condition condition = 4;
      boolean hasOutput()
      .cerbos.policy.v1.Output output = 7;
      • 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 Detail

      • getActionsList

        java.util.List<java.lang.String> getActionsList()
        repeated string actions = 1 [(.buf.validate.field) = { ... }
        Returns:
        A list containing the actions.
      • getActionsCount

        int getActionsCount()
        repeated string actions = 1 [(.buf.validate.field) = { ... }
        Returns:
        The count of actions.
      • getActions

        java.lang.String getActions​(int index)
        repeated string actions = 1 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The actions at the given index.
      • getActionsBytes

        com.google.protobuf.ByteString getActionsBytes​(int index)
        repeated string actions = 1 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the actions at the given index.
      • getDerivedRolesList

        java.util.List<java.lang.String> getDerivedRolesList()
        repeated string derived_roles = 2 [(.buf.validate.field) = { ... }
        Returns:
        A list containing the derivedRoles.
      • getDerivedRolesCount

        int getDerivedRolesCount()
        repeated string derived_roles = 2 [(.buf.validate.field) = { ... }
        Returns:
        The count of derivedRoles.
      • getDerivedRoles

        java.lang.String getDerivedRoles​(int index)
        repeated string derived_roles = 2 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The derivedRoles at the given index.
      • getDerivedRolesBytes

        com.google.protobuf.ByteString getDerivedRolesBytes​(int index)
        repeated string derived_roles = 2 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the derivedRoles at the given index.
      • getRolesList

        java.util.List<java.lang.String> getRolesList()
        repeated string roles = 3 [(.buf.validate.field) = { ... }
        Returns:
        A list containing the roles.
      • getRolesCount

        int getRolesCount()
        repeated string roles = 3 [(.buf.validate.field) = { ... }
        Returns:
        The count of roles.
      • getRoles

        java.lang.String getRoles​(int index)
        repeated string roles = 3 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The roles at the given index.
      • getRolesBytes

        com.google.protobuf.ByteString getRolesBytes​(int index)
        repeated string roles = 3 [(.buf.validate.field) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the roles at the given index.
      • hasCondition

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

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

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

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

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

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