Package com.authzed.api.v1
Interface DeleteRelationshipsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeleteRelationshipsRequest
,DeleteRelationshipsRequest.Builder
public interface DeleteRelationshipsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
optional_allow_partial_deletions, if true and a limit is specified, will delete matching found relationships up to the count specified in optional_limit, and no more.int
optional_limit, if non-zero, specifies the limit on the number of relationships to be deleted.getOptionalPreconditions
(int index) To be bounded by configurationint
To be bounded by configurationTo be bounded by configurationgetOptionalPreconditionsOrBuilder
(int index) To be bounded by configurationList<? extends PreconditionOrBuilder>
To be bounded by configurationcom.google.protobuf.Struct
optional_transaction_metadata is an optional field that can be used to store metadata about the transaction.com.google.protobuf.StructOrBuilder
optional_transaction_metadata is an optional field that can be used to store metadata about the transaction..authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ...
.authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ...
boolean
optional_transaction_metadata is an optional field that can be used to store metadata about the transaction.boolean
.authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.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
-
hasRelationshipFilter
boolean hasRelationshipFilter().authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
- Returns:
- Whether the relationshipFilter field is set.
-
getRelationshipFilter
RelationshipFilter getRelationshipFilter().authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
- Returns:
- The relationshipFilter.
-
getRelationshipFilterOrBuilder
RelationshipFilterOrBuilder getRelationshipFilterOrBuilder().authzed.api.v1.RelationshipFilter relationship_filter = 1 [(.validate.rules) = { ... }
-
getOptionalPreconditionsList
List<Precondition> getOptionalPreconditionsList()To be bounded by configuration
repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... }
-
getOptionalPreconditions
To be bounded by configuration
repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... }
-
getOptionalPreconditionsCount
int getOptionalPreconditionsCount()To be bounded by configuration
repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... }
-
getOptionalPreconditionsOrBuilderList
List<? extends PreconditionOrBuilder> getOptionalPreconditionsOrBuilderList()To be bounded by configuration
repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... }
-
getOptionalPreconditionsOrBuilder
To be bounded by configuration
repeated .authzed.api.v1.Precondition optional_preconditions = 2 [(.validate.rules) = { ... }
-
getOptionalLimit
int getOptionalLimit()optional_limit, if non-zero, specifies the limit on the number of relationships to be deleted. If there are more matching relationships found to be deleted than the limit specified here, the deletion call will fail with an error to prevent partial deletion. If partial deletion is needed, specify below that partial deletion is allowed. Partial deletions can be used in a loop to delete large amounts of relationships in a *non-transactional* manner.
uint32 optional_limit = 3 [(.validate.rules) = { ... }
- Returns:
- The optionalLimit.
-
getOptionalAllowPartialDeletions
boolean getOptionalAllowPartialDeletions()optional_allow_partial_deletions, if true and a limit is specified, will delete matching found relationships up to the count specified in optional_limit, and no more.
bool optional_allow_partial_deletions = 4;
- Returns:
- The optionalAllowPartialDeletions.
-
hasOptionalTransactionMetadata
boolean hasOptionalTransactionMetadata()optional_transaction_metadata is an optional field that can be used to store metadata about the transaction. If specified, this metadata will be supplied in the WatchResponse for the deletions associated with this transaction.
.google.protobuf.Struct optional_transaction_metadata = 5 [(.validate.rules) = { ... }
- Returns:
- Whether the optionalTransactionMetadata field is set.
-
getOptionalTransactionMetadata
com.google.protobuf.Struct getOptionalTransactionMetadata()optional_transaction_metadata is an optional field that can be used to store metadata about the transaction. If specified, this metadata will be supplied in the WatchResponse for the deletions associated with this transaction.
.google.protobuf.Struct optional_transaction_metadata = 5 [(.validate.rules) = { ... }
- Returns:
- The optionalTransactionMetadata.
-
getOptionalTransactionMetadataOrBuilder
com.google.protobuf.StructOrBuilder getOptionalTransactionMetadataOrBuilder()optional_transaction_metadata is an optional field that can be used to store metadata about the transaction. If specified, this metadata will be supplied in the WatchResponse for the deletions associated with this transaction.
.google.protobuf.Struct optional_transaction_metadata = 5 [(.validate.rules) = { ... }
-