Interface PolicyOuterClass.RoleDefOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      PolicyOuterClass.Condition getCondition()
      .cerbos.policy.v1.Condition condition = 3;
      PolicyOuterClass.ConditionOrBuilder getConditionOrBuilder()
      .cerbos.policy.v1.Condition condition = 3;
      java.lang.String getName()
      string name = 1 [(.validate.rules) = { ...
      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [(.validate.rules) = { ...
      java.lang.String getParentRoles​(int index)
      repeated string parent_roles = 2 [(.validate.rules) = { ...
      com.google.protobuf.ByteString getParentRolesBytes​(int index)
      repeated string parent_roles = 2 [(.validate.rules) = { ...
      int getParentRolesCount()
      repeated string parent_roles = 2 [(.validate.rules) = { ...
      java.util.List<java.lang.String> getParentRolesList()
      repeated string parent_roles = 2 [(.validate.rules) = { ...
      boolean hasCondition()
      .cerbos.policy.v1.Condition condition = 3;
      • 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

      • getName

        java.lang.String getName()
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for name.
      • getParentRolesList

        java.util.List<java.lang.String> getParentRolesList()
        repeated string parent_roles = 2 [(.validate.rules) = { ... }
        Returns:
        A list containing the parentRoles.
      • getParentRolesCount

        int getParentRolesCount()
        repeated string parent_roles = 2 [(.validate.rules) = { ... }
        Returns:
        The count of parentRoles.
      • getParentRoles

        java.lang.String getParentRoles​(int index)
        repeated string parent_roles = 2 [(.validate.rules) = { ... }
        Parameters:
        index - The index of the element to return.
        Returns:
        The parentRoles at the given index.
      • getParentRolesBytes

        com.google.protobuf.ByteString getParentRolesBytes​(int index)
        repeated string parent_roles = 2 [(.validate.rules) = { ... }
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the parentRoles at the given index.
      • hasCondition

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