Package dev.cerbos.api.v1.policy
Interface PolicyOuterClass.MetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyOuterClass.Metadata,PolicyOuterClass.Metadata.Builder
- Enclosing class:
- PolicyOuterClass
public static interface PolicyOuterClass.MetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(java.lang.String key)map<string, string> annotations = 2;java.util.Map<java.lang.String,java.lang.String>getAnnotations()Deprecated.intgetAnnotationsCount()map<string, string> annotations = 2;java.util.Map<java.lang.String,java.lang.String>getAnnotationsMap()map<string, string> annotations = 2;java.lang.StringgetAnnotationsOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> annotations = 2;java.lang.StringgetAnnotationsOrThrow(java.lang.String key)map<string, string> annotations = 2;com.google.protobuf.UInt64ValuegetHash().google.protobuf.UInt64Value hash = 3;com.google.protobuf.UInt64ValueOrBuildergetHashOrBuilder().google.protobuf.UInt64Value hash = 3;java.lang.StringgetSourceFile()string source_file = 1;com.google.protobuf.ByteStringgetSourceFileBytes()string source_file = 1;java.lang.StringgetStoreIdentifer()Deprecated.cerbos.policy.v1.Metadata.store_identifer is deprecated.com.google.protobuf.ByteStringgetStoreIdentiferBytes()Deprecated.cerbos.policy.v1.Metadata.store_identifer is deprecated.java.lang.StringgetStoreIdentifier()string store_identifier = 5;com.google.protobuf.ByteStringgetStoreIdentifierBytes()string store_identifier = 5;booleanhasHash().google.protobuf.UInt64Value hash = 3;-
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.UsegetAnnotationsMap()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=37string 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=37string 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.
-
-