Package dev.cerbos.api.v1.request
Interface Request.CheckResourceSetRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Request.CheckResourceSetRequest,Request.CheckResourceSetRequest.Builder
- Enclosing class:
- Request
public static interface Request.CheckResourceSetRequestOrBuilder 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 = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetActionsBytes(int index)repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetActionsCount()repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<java.lang.String>getActionsList()repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Request.AuxDatagetAuxData().cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];Request.AuxDataOrBuildergetAuxDataOrBuilder().cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];booleangetIncludeMeta()bool include_meta = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Engine.PrincipalgetPrincipal().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...Engine.PrincipalOrBuildergetPrincipalOrBuilder().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...java.lang.StringgetRequestId()string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Request.ResourceSetgetResource().cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...Request.ResourceSetOrBuildergetResourceOrBuilder().cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...booleanhasAuxData().cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];booleanhasPrincipal().cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...booleanhasResource().cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ...-
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 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The bytes for requestId.
-
getActionsList
java.util.List<java.lang.String> getActionsList()
repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- A list containing the actions.
-
getActionsCount
int getActionsCount()
repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The count of actions.
-
getActions
java.lang.String getActions(int index)
repeated string actions = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- 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 = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the actions at the given index.
-
hasPrincipal
boolean hasPrincipal()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }- Returns:
- Whether the principal field is set.
-
getPrincipal
Engine.Principal getPrincipal()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }- Returns:
- The principal.
-
getPrincipalOrBuilder
Engine.PrincipalOrBuilder getPrincipalOrBuilder()
.cerbos.engine.v1.Principal principal = 3 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }
-
hasResource
boolean hasResource()
.cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }- Returns:
- Whether the resource field is set.
-
getResource
Request.ResourceSet getResource()
.cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }- Returns:
- The resource.
-
getResourceOrBuilder
Request.ResourceSetOrBuilder getResourceOrBuilder()
.cerbos.request.v1.ResourceSet resource = 4 [(.google.api.field_behavior) = REQUIRED, (.buf.validate.field) = { ... }
-
getIncludeMeta
boolean getIncludeMeta()
bool include_meta = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Returns:
- The includeMeta.
-
hasAuxData
boolean hasAuxData()
.cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the auxData field is set.
-
getAuxData
Request.AuxData getAuxData()
.cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The auxData.
-
getAuxDataOrBuilder
Request.AuxDataOrBuilder getAuxDataOrBuilder()
.cerbos.request.v1.AuxData aux_data = 6 [(.google.api.field_behavior) = OPTIONAL];
-
-