Interface PolicyOuterClass.ResourcePolicyOrBuilder

    • Method Detail

      • getResource

        java.lang.String getResource()
        string resource = 1 [(.buf.validate.field) = { ... }
        Returns:
        The resource.
      • getResourceBytes

        com.google.protobuf.ByteString getResourceBytes()
        string resource = 1 [(.buf.validate.field) = { ... }
        Returns:
        The bytes for resource.
      • getVersion

        java.lang.String getVersion()
        string version = 2 [(.buf.validate.field) = { ... }
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
        string version = 2 [(.buf.validate.field) = { ... }
        Returns:
        The bytes for version.
      • getImportDerivedRolesList

        java.util.List<java.lang.String> getImportDerivedRolesList()
        repeated string import_derived_roles = 3 [(.buf.validate.field) = { ... }
        Returns:
        A list containing the importDerivedRoles.
      • getImportDerivedRolesCount

        int getImportDerivedRolesCount()
        repeated string import_derived_roles = 3 [(.buf.validate.field) = { ... }
        Returns:
        The count of importDerivedRoles.
      • getImportDerivedRoles

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

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

        int getRulesCount()
        repeated .cerbos.policy.v1.ResourceRule rules = 4;
      • getScope

        java.lang.String getScope()
        string scope = 5 [(.buf.validate.field) = { ... }
        Returns:
        The scope.
      • getScopeBytes

        com.google.protobuf.ByteString getScopeBytes()
        string scope = 5 [(.buf.validate.field) = { ... }
        Returns:
        The bytes for scope.
      • hasSchemas

        boolean hasSchemas()
        .cerbos.policy.v1.Schemas schemas = 6;
        Returns:
        Whether the schemas field is set.
      • hasVariables

        boolean hasVariables()
        .cerbos.policy.v1.Variables variables = 7;
        Returns:
        Whether the variables field is set.