Package dev.cerbos.api.v1.engine
Interface Engine.CheckOutputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Engine.CheckOutput,Engine.CheckOutput.Builder
- Enclosing class:
- Engine
public static interface Engine.CheckOutputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsActions(java.lang.String key)map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;java.util.Map<java.lang.String,Engine.CheckOutput.ActionEffect>getActions()Deprecated.intgetActionsCount()map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;java.util.Map<java.lang.String,Engine.CheckOutput.ActionEffect>getActionsMap()map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;Engine.CheckOutput.ActionEffectgetActionsOrDefault(java.lang.String key, Engine.CheckOutput.ActionEffect defaultValue)map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;Engine.CheckOutput.ActionEffectgetActionsOrThrow(java.lang.String key)map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;java.lang.StringgetEffectiveDerivedRoles(int index)repeated string effective_derived_roles = 4;com.google.protobuf.ByteStringgetEffectiveDerivedRolesBytes(int index)repeated string effective_derived_roles = 4;intgetEffectiveDerivedRolesCount()repeated string effective_derived_roles = 4;java.util.List<java.lang.String>getEffectiveDerivedRolesList()repeated string effective_derived_roles = 4;Engine.OutputEntrygetOutputs(int index)repeated .cerbos.engine.v1.OutputEntry outputs = 6;intgetOutputsCount()repeated .cerbos.engine.v1.OutputEntry outputs = 6;java.util.List<Engine.OutputEntry>getOutputsList()repeated .cerbos.engine.v1.OutputEntry outputs = 6;Engine.OutputEntryOrBuildergetOutputsOrBuilder(int index)repeated .cerbos.engine.v1.OutputEntry outputs = 6;java.util.List<? extends Engine.OutputEntryOrBuilder>getOutputsOrBuilderList()repeated .cerbos.engine.v1.OutputEntry outputs = 6;java.lang.StringgetRequestId()string request_id = 1;com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1;java.lang.StringgetResourceId()string resource_id = 2;com.google.protobuf.ByteStringgetResourceIdBytes()string resource_id = 2;SchemaOuterClass.ValidationErrorgetValidationErrors(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 5;intgetValidationErrorsCount()repeated .cerbos.schema.v1.ValidationError validation_errors = 5;java.util.List<SchemaOuterClass.ValidationError>getValidationErrorsList()repeated .cerbos.schema.v1.ValidationError validation_errors = 5;SchemaOuterClass.ValidationErrorOrBuildergetValidationErrorsOrBuilder(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 5;java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder>getValidationErrorsOrBuilderList()repeated .cerbos.schema.v1.ValidationError validation_errors = 5;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRequestId
java.lang.String getRequestId()
string request_id = 1;- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
string request_id = 1;- Returns:
- The bytes for requestId.
-
getResourceId
java.lang.String getResourceId()
string resource_id = 2;- Returns:
- The resourceId.
-
getResourceIdBytes
com.google.protobuf.ByteString getResourceIdBytes()
string resource_id = 2;- Returns:
- The bytes for resourceId.
-
getActionsCount
int getActionsCount()
map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;
-
containsActions
boolean containsActions(java.lang.String key)
map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;
-
getActions
@Deprecated java.util.Map<java.lang.String,Engine.CheckOutput.ActionEffect> getActions()
Deprecated.UsegetActionsMap()instead.
-
getActionsMap
java.util.Map<java.lang.String,Engine.CheckOutput.ActionEffect> getActionsMap()
map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;
-
getActionsOrDefault
Engine.CheckOutput.ActionEffect getActionsOrDefault(java.lang.String key, Engine.CheckOutput.ActionEffect defaultValue)
map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;
-
getActionsOrThrow
Engine.CheckOutput.ActionEffect getActionsOrThrow(java.lang.String key)
map<string, .cerbos.engine.v1.CheckOutput.ActionEffect> actions = 3;
-
getEffectiveDerivedRolesList
java.util.List<java.lang.String> getEffectiveDerivedRolesList()
repeated string effective_derived_roles = 4;- Returns:
- A list containing the effectiveDerivedRoles.
-
getEffectiveDerivedRolesCount
int getEffectiveDerivedRolesCount()
repeated string effective_derived_roles = 4;- Returns:
- The count of effectiveDerivedRoles.
-
getEffectiveDerivedRoles
java.lang.String getEffectiveDerivedRoles(int index)
repeated string effective_derived_roles = 4;- Parameters:
index- The index of the element to return.- Returns:
- The effectiveDerivedRoles at the given index.
-
getEffectiveDerivedRolesBytes
com.google.protobuf.ByteString getEffectiveDerivedRolesBytes(int index)
repeated string effective_derived_roles = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the effectiveDerivedRoles at the given index.
-
getValidationErrorsList
java.util.List<SchemaOuterClass.ValidationError> getValidationErrorsList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 5;
-
getValidationErrors
SchemaOuterClass.ValidationError getValidationErrors(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 5;
-
getValidationErrorsCount
int getValidationErrorsCount()
repeated .cerbos.schema.v1.ValidationError validation_errors = 5;
-
getValidationErrorsOrBuilderList
java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 5;
-
getValidationErrorsOrBuilder
SchemaOuterClass.ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 5;
-
getOutputsList
java.util.List<Engine.OutputEntry> getOutputsList()
repeated .cerbos.engine.v1.OutputEntry outputs = 6;
-
getOutputs
Engine.OutputEntry getOutputs(int index)
repeated .cerbos.engine.v1.OutputEntry outputs = 6;
-
getOutputsCount
int getOutputsCount()
repeated .cerbos.engine.v1.OutputEntry outputs = 6;
-
getOutputsOrBuilderList
java.util.List<? extends Engine.OutputEntryOrBuilder> getOutputsOrBuilderList()
repeated .cerbos.engine.v1.OutputEntry outputs = 6;
-
getOutputsOrBuilder
Engine.OutputEntryOrBuilder getOutputsOrBuilder(int index)
repeated .cerbos.engine.v1.OutputEntry outputs = 6;
-
-