Package dev.cerbos.api.v1.engine
Interface Engine.Request.ResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Engine.Request.Resource,Engine.Request.Resource.Builder
- Enclosing class:
- Engine.Request
public static interface Engine.Request.ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAttr(java.lang.String key)map<string, .google.protobuf.Value> attr = 3;java.util.Map<java.lang.String,com.google.protobuf.Value>getAttr()Deprecated.intgetAttrCount()map<string, .google.protobuf.Value> attr = 3;java.util.Map<java.lang.String,com.google.protobuf.Value>getAttrMap()map<string, .google.protobuf.Value> attr = 3;com.google.protobuf.ValuegetAttrOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attr = 3;com.google.protobuf.ValuegetAttrOrThrow(java.lang.String key)map<string, .google.protobuf.Value> attr = 3;java.lang.StringgetId()string id = 2;com.google.protobuf.ByteStringgetIdBytes()string id = 2;java.lang.StringgetKind()string kind = 1;com.google.protobuf.ByteStringgetKindBytes()string kind = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKind
java.lang.String getKind()
string kind = 1;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
string kind = 1;- Returns:
- The bytes for kind.
-
getId
java.lang.String getId()
string id = 2;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 2;- Returns:
- The bytes for id.
-
getAttrCount
int getAttrCount()
map<string, .google.protobuf.Value> attr = 3;
-
containsAttr
boolean containsAttr(java.lang.String key)
map<string, .google.protobuf.Value> attr = 3;
-
getAttr
@Deprecated java.util.Map<java.lang.String,com.google.protobuf.Value> getAttr()
Deprecated.UsegetAttrMap()instead.
-
getAttrMap
java.util.Map<java.lang.String,com.google.protobuf.Value> getAttrMap()
map<string, .google.protobuf.Value> attr = 3;
-
getAttrOrDefault
com.google.protobuf.Value getAttrOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attr = 3;
-
getAttrOrThrow
com.google.protobuf.Value getAttrOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> attr = 3;
-
-