Package com.authzed.api.v1
Interface PreconditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Precondition
,Precondition.Builder
public interface PreconditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ...
.authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ...
.authzed.api.v1.Precondition.Operation operation = 1 [(.validate.rules) = { ...
int
.authzed.api.v1.Precondition.Operation operation = 1 [(.validate.rules) = { ...
boolean
.authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ...
Methods 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
-
getOperationValue
int getOperationValue().authzed.api.v1.Precondition.Operation operation = 1 [(.validate.rules) = { ... }
- Returns:
- The enum numeric value on the wire for operation.
-
getOperation
Precondition.Operation getOperation().authzed.api.v1.Precondition.Operation operation = 1 [(.validate.rules) = { ... }
- Returns:
- The operation.
-
hasFilter
boolean hasFilter().authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ... }
- Returns:
- Whether the filter field is set.
-
getFilter
RelationshipFilter getFilter().authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ... }
- Returns:
- The filter.
-
getFilterOrBuilder
RelationshipFilterOrBuilder getFilterOrBuilder().authzed.api.v1.RelationshipFilter filter = 2 [(.validate.rules) = { ... }
-