Package dev.cerbos.api.v1.engine
Interface Engine.CheckInputOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Engine.CheckInput,Engine.CheckInput.Builder
- Enclosing class:
- Engine
public static interface Engine.CheckInputOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActions(int index)repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...com.google.protobuf.ByteStringgetActionsBytes(int index)repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...intgetActionsCount()repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...java.util.List<java.lang.String>getActionsList()repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...Engine.AuxDatagetAuxData().cerbos.engine.v1.AuxData aux_data = 5;Engine.AuxDataOrBuildergetAuxDataOrBuilder().cerbos.engine.v1.AuxData aux_data = 5;Engine.PrincipalgetPrincipal().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...Engine.PrincipalOrBuildergetPrincipalOrBuilder().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...java.lang.StringgetRequestId()string request_id = 1;com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1;Engine.ResourcegetResource().cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...Engine.ResourceOrBuildergetResourceOrBuilder().cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...booleanhasAuxData().cerbos.engine.v1.AuxData aux_data = 5;booleanhasPrincipal().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...booleanhasResource().cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...-
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.
-
hasResource
boolean hasResource()
.cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- Whether the resource field is set.
-
getResource
Engine.Resource getResource()
.cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The resource.
-
getResourceOrBuilder
Engine.ResourceOrBuilder getResourceOrBuilder()
.cerbos.engine.v1.Resource resource = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
-
hasPrincipal
boolean hasPrincipal()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- Whether the principal field is set.
-
getPrincipal
Engine.Principal getPrincipal()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The principal.
-
getPrincipalOrBuilder
Engine.PrincipalOrBuilder getPrincipalOrBuilder()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
-
getActionsList
java.util.List<java.lang.String> getActionsList()
repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- A list containing the actions.
-
getActionsCount
int getActionsCount()
repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The count of actions.
-
getActions
java.lang.String getActions(int index)
repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The actions at the given index.
-
getActionsBytes
com.google.protobuf.ByteString getActionsBytes(int index)
repeated string actions = 4 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actions at the given index.
-
hasAuxData
boolean hasAuxData()
.cerbos.engine.v1.AuxData aux_data = 5;- Returns:
- Whether the auxData field is set.
-
getAuxData
Engine.AuxData getAuxData()
.cerbos.engine.v1.AuxData aux_data = 5;- Returns:
- The auxData.
-
getAuxDataOrBuilder
Engine.AuxDataOrBuilder getAuxDataOrBuilder()
.cerbos.engine.v1.AuxData aux_data = 5;
-
-