Package com.authzed.api.v1
Class WatchResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
com.authzed.api.v1.WatchResponse.Builder
- All Implemented Interfaces:
WatchResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- WatchResponse
public static final class WatchResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
implements WatchResponseOrBuilder
WatchResponse contains all mutation events in ascending timestamp order. This excludes relationships that were deleted because they expired. The response includes a field that can be used to resume watching from that point.Protobuf type
authzed.api.v1.WatchResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllFullRevisionMetadata
(Iterable<? extends com.google.protobuf.Struct> values) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.addAllUpdates
(Iterable<? extends RelationshipUpdate> values) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.addFullRevisionMetadata
(int index, com.google.protobuf.Struct value) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.addFullRevisionMetadata
(int index, com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.addFullRevisionMetadata
(com.google.protobuf.Struct value) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.addFullRevisionMetadata
(com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.com.google.protobuf.Struct.Builder
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.com.google.protobuf.Struct.Builder
addFullRevisionMetadataBuilder
(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.addUpdates
(int index, RelationshipUpdate value) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.addUpdates
(int index, RelationshipUpdate.Builder builderForValue) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.addUpdates
(RelationshipUpdate value) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.addUpdates
(RelationshipUpdate.Builder builderForValue) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.addUpdatesBuilder
(int index) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.build()
clear()
changes_through is the ZedToken that represents the point in time that the watch response is current through.full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.is_checkpoint, if true, indicates that a checkpoint was reached.optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.schema_updated, if true, indicates that the schema was changed in this revision.updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.changes_through is the ZedToken that represents the point in time that the watch response is current through.changes_through is the ZedToken that represents the point in time that the watch response is current through.changes_through is the ZedToken that represents the point in time that the watch response is current through.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Struct
getFullRevisionMetadata
(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.com.google.protobuf.Struct.Builder
getFullRevisionMetadataBuilder
(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.List<com.google.protobuf.Struct.Builder>
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.int
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.List<com.google.protobuf.Struct>
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.com.google.protobuf.StructOrBuilder
getFullRevisionMetadataOrBuilder
(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.List<? extends com.google.protobuf.StructOrBuilder>
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.boolean
is_checkpoint, if true, indicates that a checkpoint was reached.com.google.protobuf.Struct
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.com.google.protobuf.Struct.Builder
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.com.google.protobuf.StructOrBuilder
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.boolean
schema_updated, if true, indicates that the schema was changed in this revision.getUpdates
(int index) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.getUpdatesBuilder
(int index) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.int
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.getUpdatesOrBuilder
(int index) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.List<? extends RelationshipUpdateOrBuilder>
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.boolean
changes_through is the ZedToken that represents the point in time that the watch response is current through.boolean
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeChangesThrough
(ZedToken value) changes_through is the ZedToken that represents the point in time that the watch response is current through.mergeFrom
(WatchResponse other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeOptionalTransactionMetadata
(com.google.protobuf.Struct value) optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.removeFullRevisionMetadata
(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.removeUpdates
(int index) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.setChangesThrough
(ZedToken value) changes_through is the ZedToken that represents the point in time that the watch response is current through.setChangesThrough
(ZedToken.Builder builderForValue) changes_through is the ZedToken that represents the point in time that the watch response is current through.setFullRevisionMetadata
(int index, com.google.protobuf.Struct value) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.setFullRevisionMetadata
(int index, com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response.setIsCheckpoint
(boolean value) is_checkpoint, if true, indicates that a checkpoint was reached.setOptionalTransactionMetadata
(com.google.protobuf.Struct value) optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.setOptionalTransactionMetadata
(com.google.protobuf.Struct.Builder builderForValue) optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response.setSchemaUpdated
(boolean value) schema_updated, if true, indicates that the schema was changed in this revision.setUpdates
(int index, RelationshipUpdate value) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.setUpdates
(int index, RelationshipUpdate.Builder builderForValue) updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WatchResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<WatchResponse.Builder>
-
mergeFrom
public WatchResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WatchResponse.Builder>
- Throws:
IOException
-
getUpdatesList
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
- Specified by:
getUpdatesList
in interfaceWatchResponseOrBuilder
-
getUpdatesCount
public int getUpdatesCount()updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
- Specified by:
getUpdatesCount
in interfaceWatchResponseOrBuilder
-
getUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
- Specified by:
getUpdates
in interfaceWatchResponseOrBuilder
-
setUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
setUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addAllUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
clearUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
removeUpdates
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
getUpdatesBuilder
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
getUpdatesOrBuilder
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
- Specified by:
getUpdatesOrBuilder
in interfaceWatchResponseOrBuilder
-
getUpdatesOrBuilderList
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
- Specified by:
getUpdatesOrBuilderList
in interfaceWatchResponseOrBuilder
-
addUpdatesBuilder
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
addUpdatesBuilder
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
getUpdatesBuilderList
updates are the RelationshipUpdate events that have occurred since the call was made, or since the point in time specified by changes_through.
repeated .authzed.api.v1.RelationshipUpdate updates = 1;
-
hasChangesThrough
public boolean hasChangesThrough()changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
- Specified by:
hasChangesThrough
in interfaceWatchResponseOrBuilder
- Returns:
- Whether the changesThrough field is set.
-
getChangesThrough
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
- Specified by:
getChangesThrough
in interfaceWatchResponseOrBuilder
- Returns:
- The changesThrough.
-
setChangesThrough
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
-
setChangesThrough
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
-
mergeChangesThrough
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
-
clearChangesThrough
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
-
getChangesThroughBuilder
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
-
getChangesThroughOrBuilder
changes_through is the ZedToken that represents the point in time that the watch response is current through. This token can be used in a subsequent WatchRequest to resume watching from this point.
.authzed.api.v1.ZedToken changes_through = 2;
- Specified by:
getChangesThroughOrBuilder
in interfaceWatchResponseOrBuilder
-
hasOptionalTransactionMetadata
public boolean hasOptionalTransactionMetadata()optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
- Specified by:
hasOptionalTransactionMetadata
in interfaceWatchResponseOrBuilder
- Returns:
- Whether the optionalTransactionMetadata field is set.
-
getOptionalTransactionMetadata
public com.google.protobuf.Struct getOptionalTransactionMetadata()optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
- Specified by:
getOptionalTransactionMetadata
in interfaceWatchResponseOrBuilder
- Returns:
- The optionalTransactionMetadata.
-
setOptionalTransactionMetadata
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
-
setOptionalTransactionMetadata
public WatchResponse.Builder setOptionalTransactionMetadata(com.google.protobuf.Struct.Builder builderForValue) optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
-
mergeOptionalTransactionMetadata
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
-
clearOptionalTransactionMetadata
optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
-
getOptionalTransactionMetadataBuilder
public com.google.protobuf.Struct.Builder getOptionalTransactionMetadataBuilder()optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
-
getOptionalTransactionMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getOptionalTransactionMetadataOrBuilder()optional_transaction_metadata is an optional field that returns the transaction metadata given to SpiceDB during the transaction that produced the changes in this response. This field may not exist if no transaction metadata was provided, or if multiple pieces of metadata were found during the transaction (in which case it is ambiguous which to return).
.google.protobuf.Struct optional_transaction_metadata = 3;
- Specified by:
getOptionalTransactionMetadataOrBuilder
in interfaceWatchResponseOrBuilder
-
getSchemaUpdated
public boolean getSchemaUpdated()schema_updated, if true, indicates that the schema was changed in this revision.
bool schema_updated = 4;
- Specified by:
getSchemaUpdated
in interfaceWatchResponseOrBuilder
- Returns:
- The schemaUpdated.
-
setSchemaUpdated
schema_updated, if true, indicates that the schema was changed in this revision.
bool schema_updated = 4;
- Parameters:
value
- The schemaUpdated to set.- Returns:
- This builder for chaining.
-
clearSchemaUpdated
schema_updated, if true, indicates that the schema was changed in this revision.
bool schema_updated = 4;
- Returns:
- This builder for chaining.
-
getIsCheckpoint
public boolean getIsCheckpoint()is_checkpoint, if true, indicates that a checkpoint was reached. A checkpoint indicates that the server guarantees that the client will not observe any changes at a revision below or equal to the revision in this response.
bool is_checkpoint = 5;
- Specified by:
getIsCheckpoint
in interfaceWatchResponseOrBuilder
- Returns:
- The isCheckpoint.
-
setIsCheckpoint
is_checkpoint, if true, indicates that a checkpoint was reached. A checkpoint indicates that the server guarantees that the client will not observe any changes at a revision below or equal to the revision in this response.
bool is_checkpoint = 5;
- Parameters:
value
- The isCheckpoint to set.- Returns:
- This builder for chaining.
-
clearIsCheckpoint
is_checkpoint, if true, indicates that a checkpoint was reached. A checkpoint indicates that the server guarantees that the client will not observe any changes at a revision below or equal to the revision in this response.
bool is_checkpoint = 5;
- Returns:
- This builder for chaining.
-
getFullRevisionMetadataList
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
- Specified by:
getFullRevisionMetadataList
in interfaceWatchResponseOrBuilder
-
getFullRevisionMetadataCount
public int getFullRevisionMetadataCount()full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
- Specified by:
getFullRevisionMetadataCount
in interfaceWatchResponseOrBuilder
-
getFullRevisionMetadata
public com.google.protobuf.Struct getFullRevisionMetadata(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
- Specified by:
getFullRevisionMetadata
in interfaceWatchResponseOrBuilder
-
setFullRevisionMetadata
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
setFullRevisionMetadata
public WatchResponse.Builder setFullRevisionMetadata(int index, com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addFullRevisionMetadata
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addFullRevisionMetadata
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addFullRevisionMetadata
public WatchResponse.Builder addFullRevisionMetadata(com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addFullRevisionMetadata
public WatchResponse.Builder addFullRevisionMetadata(int index, com.google.protobuf.Struct.Builder builderForValue) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addAllFullRevisionMetadata
public WatchResponse.Builder addAllFullRevisionMetadata(Iterable<? extends com.google.protobuf.Struct> values) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
clearFullRevisionMetadata
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
removeFullRevisionMetadata
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
getFullRevisionMetadataBuilder
public com.google.protobuf.Struct.Builder getFullRevisionMetadataBuilder(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
getFullRevisionMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getFullRevisionMetadataOrBuilder(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
- Specified by:
getFullRevisionMetadataOrBuilder
in interfaceWatchResponseOrBuilder
-
getFullRevisionMetadataOrBuilderList
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
- Specified by:
getFullRevisionMetadataOrBuilderList
in interfaceWatchResponseOrBuilder
-
addFullRevisionMetadataBuilder
public com.google.protobuf.Struct.Builder addFullRevisionMetadataBuilder()full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
addFullRevisionMetadataBuilder
public com.google.protobuf.Struct.Builder addFullRevisionMetadataBuilder(int index) full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-
getFullRevisionMetadataBuilderList
full_revision_metadata contains all transaction metadata given to SpiceDB during the revision that produced the changes in this response. Some datastores (such as CockroachDB) can "merge" multiple transactions into a single revision (if the changes occurred concurrently), so this field is a list of all transaction metadata seen during the revision.
repeated .google.protobuf.Struct full_revision_metadata = 6;
-