Interface PolicyOuterClass.MetadataOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsAnnotations​(java.lang.String key)
      map<string, string> annotations = 2;
      java.util.Map<java.lang.String,​java.lang.String> getAnnotations()
      Deprecated.
      int getAnnotationsCount()
      map<string, string> annotations = 2;
      java.util.Map<java.lang.String,​java.lang.String> getAnnotationsMap()
      map<string, string> annotations = 2;
      java.lang.String getAnnotationsOrDefault​(java.lang.String key, java.lang.String defaultValue)
      map<string, string> annotations = 2;
      java.lang.String getAnnotationsOrThrow​(java.lang.String key)
      map<string, string> annotations = 2;
      com.google.protobuf.UInt64Value getHash()
      .google.protobuf.UInt64Value hash = 3;
      com.google.protobuf.UInt64ValueOrBuilder getHashOrBuilder()
      .google.protobuf.UInt64Value hash = 3;
      java.lang.String getSourceFile()
      string source_file = 1;
      com.google.protobuf.ByteString getSourceFileBytes()
      string source_file = 1;
      java.lang.String getStoreIdentifer()
      Deprecated.
      cerbos.policy.v1.Metadata.store_identifer is deprecated.
      com.google.protobuf.ByteString getStoreIdentiferBytes()
      Deprecated.
      cerbos.policy.v1.Metadata.store_identifer is deprecated.
      java.lang.String getStoreIdentifier()
      string store_identifier = 5;
      com.google.protobuf.ByteString getStoreIdentifierBytes()
      string store_identifier = 5;
      boolean hasHash()
      .google.protobuf.UInt64Value hash = 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

      • 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=38
        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=38
        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.