Package dev.cerbos.api.v1.engine
Interface Engine.Request.PrincipalOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Engine.Request.Principal,Engine.Request.Principal.Builder
- Enclosing class:
- Engine.Request
public static interface Engine.Request.PrincipalOrBuilder 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 = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;java.lang.StringgetRoles(int index)repeated string roles = 2;com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 2;intgetRolesCount()repeated string roles = 2;java.util.List<java.lang.String>getRolesList()repeated string roles = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1;- Returns:
- The bytes for id.
-
getRolesList
java.util.List<java.lang.String> getRolesList()
repeated string roles = 2;- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
repeated string roles = 2;- Returns:
- The count of roles.
-
getRoles
java.lang.String getRoles(int index)
repeated string roles = 2;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index)
repeated string roles = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
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;
-
-