Package com.authzed.api.v1
Interface ContextualizedCaveatOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContextualizedCaveat
,ContextualizedCaveat.Builder
public interface ContextualizedCaveatOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncaveat_name is the name of the caveat expression to use, as defined in the schemacom.google.protobuf.ByteString
caveat_name is the name of the caveat expression to use, as defined in the schemacom.google.protobuf.Struct
context consists of any named values that are defined at write time for the caveat expressioncom.google.protobuf.StructOrBuilder
context consists of any named values that are defined at write time for the caveat expressionboolean
context consists of any named values that are defined at write time for the caveat expressionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCaveatName
String getCaveatName()caveat_name is the name of the caveat expression to use, as defined in the schema
string caveat_name = 1 [(.validate.rules) = { ... }
- Returns:
- The caveatName.
-
getCaveatNameBytes
com.google.protobuf.ByteString getCaveatNameBytes()caveat_name is the name of the caveat expression to use, as defined in the schema
string caveat_name = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for caveatName.
-
hasContext
boolean hasContext()context consists of any named values that are defined at write time for the caveat expression
.google.protobuf.Struct context = 2 [(.validate.rules) = { ... }
- Returns:
- Whether the context field is set.
-
getContext
com.google.protobuf.Struct getContext()context consists of any named values that are defined at write time for the caveat expression
.google.protobuf.Struct context = 2 [(.validate.rules) = { ... }
- Returns:
- The context.
-
getContextOrBuilder
com.google.protobuf.StructOrBuilder getContextOrBuilder()context consists of any named values that are defined at write time for the caveat expression
.google.protobuf.Struct context = 2 [(.validate.rules) = { ... }
-