Package dev.cerbos.api.v1.engine
Interface Engine.PrincipalOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Engine.Principal,Engine.Principal.Builder
- Enclosing class:
- Engine
public static interface Engine.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 = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.Map<java.lang.String,com.google.protobuf.Value>getAttr()Deprecated.intgetAttrCount()map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.Map<java.lang.String,com.google.protobuf.Value>getAttrMap()map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ValuegetAttrOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ValuegetAttrOrThrow(java.lang.String key)map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.lang.StringgetId()string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetIdBytes()string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.lang.StringgetPolicyVersion()string policy_version = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetPolicyVersionBytes()string policy_version = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.lang.StringgetRoles(int index)repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetRolesCount()repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<java.lang.String>getRolesList()repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.lang.StringgetScope()string scope = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetScopeBytes()string scope = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...-
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 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The bytes for id.
-
getPolicyVersion
java.lang.String getPolicyVersion()
string policy_version = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The policyVersion.
-
getPolicyVersionBytes
com.google.protobuf.ByteString getPolicyVersionBytes()
string policy_version = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The bytes for policyVersion.
-
getRolesList
java.util.List<java.lang.String> getRolesList()
repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The count of roles.
-
getRoles
java.lang.String getRoles(int index)
repeated string roles = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- 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 = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- 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 = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
containsAttr
boolean containsAttr(java.lang.String key)
map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
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 = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getAttrOrDefault
com.google.protobuf.Value getAttrOrDefault(java.lang.String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getAttrOrThrow
com.google.protobuf.Value getAttrOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> attr = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getScope
java.lang.String getScope()
string scope = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The scope.
-
getScopeBytes
com.google.protobuf.ByteString getScopeBytes()
string scope = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The bytes for scope.
-
-