Interface AddSnapshotRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AddSnapshotRequest, AddSnapshotRequest.Builder

    @Generated
    public interface AddSnapshotRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getKey()
      The key this snapshot is added to.
      boolean getPrune()
      If set to true, older snapshots for the same key are pruned.
      long getSequence()
      The sequence of the snapshot.
      Snapshot getSnapshot()
      The snapshot.
      SnapshotOrBuilder getSnapshotOrBuilder()
      The snapshot.
      boolean hasSnapshot()
      The snapshot.
      • 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 Detail

      • getKey

        com.google.protobuf.ByteString getKey()
         The key this snapshot is added to. 
         
        bytes key = 1;
        Returns:
        The key.
      • getSequence

        long getSequence()
         The sequence of the snapshot. Usually linked to the sequence of the event in the event store up to which
         the snapshot is taken. 
         
        int64 sequence = 2;
        Returns:
        The sequence.
      • getPrune

        boolean getPrune()
         If set to true, older snapshots for the same key are pruned. 
         
        bool prune = 3;
        Returns:
        The prune.
      • hasSnapshot

        boolean hasSnapshot()
         The snapshot. 
         
        .io.axoniq.axonserver.grpc.event.dcb.Snapshot snapshot = 4;
        Returns:
        Whether the snapshot field is set.
      • getSnapshot

        Snapshot getSnapshot()
         The snapshot. 
         
        .io.axoniq.axonserver.grpc.event.dcb.Snapshot snapshot = 4;
        Returns:
        The snapshot.
      • getSnapshotOrBuilder

        SnapshotOrBuilder getSnapshotOrBuilder()
         The snapshot. 
         
        .io.axoniq.axonserver.grpc.event.dcb.Snapshot snapshot = 4;