Interface PolicyOuterClass.MetadataOrBuilder

    • Method Detail

      • getSourceFile

        java.lang.String getSourceFile()
        string source_file = 1;
        Returns:
        The sourceFile.
      • getSourceFileBytes

        com.google.protobuf.ByteString getSourceFileBytes()
        string source_file = 1;
        Returns:
        The bytes for sourceFile.
      • getAnnotationsCount

        int getAnnotationsCount()
        map<string, string> annotations = 2;
      • containsAnnotations

        boolean containsAnnotations​(java.lang.String key)
        map<string, string> annotations = 2;
      • getAnnotations

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.String> getAnnotations()
        Deprecated.
        Use getAnnotationsMap() instead.
      • getAnnotationsMap

        java.util.Map<java.lang.String,​java.lang.String> getAnnotationsMap()
        map<string, string> annotations = 2;
      • getAnnotationsOrDefault

        java.lang.String getAnnotationsOrDefault​(java.lang.String key,
                                                 java.lang.String defaultValue)
        map<string, string> annotations = 2;
      • getAnnotationsOrThrow

        java.lang.String getAnnotationsOrThrow​(java.lang.String key)
        map<string, string> annotations = 2;
      • hasHash

        boolean hasHash()
        .google.protobuf.UInt64Value hash = 3;
        Returns:
        Whether the hash field is set.
      • getHash

        com.google.protobuf.UInt64Value getHash()
        .google.protobuf.UInt64Value hash = 3;
        Returns:
        The hash.
      • getHashOrBuilder

        com.google.protobuf.UInt64ValueOrBuilder getHashOrBuilder()
        .google.protobuf.UInt64Value hash = 3;
      • getStoreIdentifer

        @Deprecated
        java.lang.String getStoreIdentifer()
        Deprecated.
        cerbos.policy.v1.Metadata.store_identifer is deprecated. See cerbos/policy/v1/policy.proto;l=45
        string store_identifer = 4 [deprecated = true];
        Returns:
        The storeIdentifer.
      • getStoreIdentiferBytes

        @Deprecated
        com.google.protobuf.ByteString getStoreIdentiferBytes()
        Deprecated.
        cerbos.policy.v1.Metadata.store_identifer is deprecated. See cerbos/policy/v1/policy.proto;l=45
        string store_identifer = 4 [deprecated = true];
        Returns:
        The bytes for storeIdentifer.
      • getStoreIdentifier

        java.lang.String getStoreIdentifier()
        string store_identifier = 5;
        Returns:
        The storeIdentifier.
      • getStoreIdentifierBytes

        com.google.protobuf.ByteString getStoreIdentifierBytes()
        string store_identifier = 5;
        Returns:
        The bytes for storeIdentifier.
      • hasSourceAttributes

        boolean hasSourceAttributes()
        .cerbos.policy.v1.SourceAttributes source_attributes = 6;
        Returns:
        Whether the sourceAttributes field is set.
      • getSourceAttributes

        PolicyOuterClass.SourceAttributes getSourceAttributes()
        .cerbos.policy.v1.SourceAttributes source_attributes = 6;
        Returns:
        The sourceAttributes.