Class ListSnapshotsRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListSnapshotsRequestOrBuilder, Cloneable
    Enclosing class:
    ListSnapshotsRequest

    public static final class ListSnapshotsRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsRequest.Builder>
    implements ListSnapshotsRequestOrBuilder
     The request to retrieve all snapshots from the snapshot store based on the key and sequence bounds. 
     
    Protobuf type io.axoniq.axonserver.grpc.event.dcb.ListSnapshotsRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsRequest.Builder>
      • clear

        public ListSnapshotsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsRequest.Builder>
      • getDefaultInstanceForType

        public ListSnapshotsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListSnapshotsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListSnapshotsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsRequest.Builder>
      • mergeFrom

        public ListSnapshotsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSnapshotsRequest.Builder>
        Throws:
        IOException
      • getKey

        public com.google.protobuf.ByteString getKey()
         The key of the snapshot. 
         
        bytes key = 1;
        Specified by:
        getKey in interface ListSnapshotsRequestOrBuilder
        Returns:
        The key.
      • setKey

        public ListSnapshotsRequest.Builder setKey​(com.google.protobuf.ByteString value)
         The key of the snapshot. 
         
        bytes key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • getFromSequence

        public long getFromSequence()
         The inclusive bottom bound sequence used to filter out snapshots. 
         
        int64 from_sequence = 2;
        Specified by:
        getFromSequence in interface ListSnapshotsRequestOrBuilder
        Returns:
        The fromSequence.
      • setFromSequence

        public ListSnapshotsRequest.Builder setFromSequence​(long value)
         The inclusive bottom bound sequence used to filter out snapshots. 
         
        int64 from_sequence = 2;
        Parameters:
        value - The fromSequence to set.
        Returns:
        This builder for chaining.
      • clearFromSequence

        public ListSnapshotsRequest.Builder clearFromSequence()
         The inclusive bottom bound sequence used to filter out snapshots. 
         
        int64 from_sequence = 2;
        Returns:
        This builder for chaining.
      • getToSequence

        public long getToSequence()
         The exclusive upper bound sequence used to filter out snapshots. 
         
        int64 to_sequence = 3;
        Specified by:
        getToSequence in interface ListSnapshotsRequestOrBuilder
        Returns:
        The toSequence.
      • setToSequence

        public ListSnapshotsRequest.Builder setToSequence​(long value)
         The exclusive upper bound sequence used to filter out snapshots. 
         
        int64 to_sequence = 3;
        Parameters:
        value - The toSequence to set.
        Returns:
        This builder for chaining.
      • clearToSequence

        public ListSnapshotsRequest.Builder clearToSequence()
         The exclusive upper bound sequence used to filter out snapshots. 
         
        int64 to_sequence = 3;
        Returns:
        This builder for chaining.