Package dev.cerbos.api.v1.request
Interface Request.CheckResourceBatchRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Request.CheckResourceBatchRequest,Request.CheckResourceBatchRequest.Builder
- Enclosing class:
- Request
public static interface Request.CheckResourceBatchRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Request.AuxDatagetAuxData().cerbos.request.v1.AuxData aux_data = 4;Request.AuxDataOrBuildergetAuxDataOrBuilder().cerbos.request.v1.AuxData aux_data = 4;Engine.PrincipalgetPrincipal().cerbos.engine.v1.Principal principal = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...Engine.PrincipalOrBuildergetPrincipalOrBuilder().cerbos.engine.v1.Principal principal = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ...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.CheckResourceBatchRequest.BatchEntrygetResources(int index)repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetResourcesCount()repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<Request.CheckResourceBatchRequest.BatchEntry>getResourcesList()repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Request.CheckResourceBatchRequest.BatchEntryOrBuildergetResourcesOrBuilder(int index)repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<? extends Request.CheckResourceBatchRequest.BatchEntryOrBuilder>getResourcesOrBuilderList()repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...booleanhasAuxData().cerbos.request.v1.AuxData aux_data = 4;booleanhasPrincipal().cerbos.engine.v1.Principal principal = 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 [(.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.
-
hasPrincipal
boolean hasPrincipal()
.cerbos.engine.v1.Principal principal = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- Whether the principal field is set.
-
getPrincipal
Engine.Principal getPrincipal()
.cerbos.engine.v1.Principal principal = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }- Returns:
- The principal.
-
getPrincipalOrBuilder
Engine.PrincipalOrBuilder getPrincipalOrBuilder()
.cerbos.engine.v1.Principal principal = 2 [(.google.api.field_behavior) = REQUIRED, (.validate.rules) = { ... }
-
getResourcesList
java.util.List<Request.CheckResourceBatchRequest.BatchEntry> getResourcesList()
repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getResources
Request.CheckResourceBatchRequest.BatchEntry getResources(int index)
repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getResourcesCount
int getResourcesCount()
repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getResourcesOrBuilderList
java.util.List<? extends Request.CheckResourceBatchRequest.BatchEntryOrBuilder> getResourcesOrBuilderList()
repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
getResourcesOrBuilder
Request.CheckResourceBatchRequest.BatchEntryOrBuilder getResourcesOrBuilder(int index)
repeated .cerbos.request.v1.CheckResourceBatchRequest.BatchEntry resources = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }
-
hasAuxData
boolean hasAuxData()
.cerbos.request.v1.AuxData aux_data = 4;- Returns:
- Whether the auxData field is set.
-
getAuxData
Request.AuxData getAuxData()
.cerbos.request.v1.AuxData aux_data = 4;- Returns:
- The auxData.
-
getAuxDataOrBuilder
Request.AuxDataOrBuilder getAuxDataOrBuilder()
.cerbos.request.v1.AuxData aux_data = 4;
-
-