Class ListSnapshotsResponse.Builder

    • 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<ListSnapshotsResponse.Builder>
      • clear

        public ListSnapshotsResponse.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<ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
      • getDefaultInstanceForType

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

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

        public ListSnapshotsResponse 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<ListSnapshotsResponse.Builder>
      • mergeFrom

        public ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
        Throws:
        IOException
      • getKey

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

        public ListSnapshotsResponse.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.
      • setSequence

        public ListSnapshotsResponse.Builder setSequence​(long value)
         The sequence of the snapshot. 
         
        int64 sequence = 2;
        Parameters:
        value - The sequence to set.
        Returns:
        This builder for chaining.
      • clearSequence

        public ListSnapshotsResponse.Builder clearSequence()
         The sequence of the snapshot. 
         
        int64 sequence = 2;
        Returns:
        This builder for chaining.
      • hasSnapshot

        public boolean hasSnapshot()
         The snapshot. 
         
        .io.axoniq.axonserver.grpc.event.dcb.Snapshot snapshot = 3;
        Specified by:
        hasSnapshot in interface ListSnapshotsResponseOrBuilder
        Returns:
        Whether the snapshot field is set.
      • getSnapshotBuilder

        public Snapshot.Builder getSnapshotBuilder()
         The snapshot. 
         
        .io.axoniq.axonserver.grpc.event.dcb.Snapshot snapshot = 3;