Class InitializationProperties.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<InitializationProperties.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<InitializationProperties.Builder>
      • getDefaultInstanceForType

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

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

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

        public InitializationProperties.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<InitializationProperties.Builder>
        Throws:
        IOException
      • setSegments

        public InitializationProperties.Builder setSegments​(int value)
         the initial number of segments 
         
        int32 segments = 1;
        Parameters:
        value - The segments to set.
        Returns:
        This builder for chaining.
      • clearSegments

        public InitializationProperties.Builder clearSegments()
         the initial number of segments 
         
        int32 segments = 1;
        Returns:
        This builder for chaining.
      • setInitialPosition

        public InitializationProperties.Builder setInitialPosition​(long value)
         the position in the event store to start reading from 
         
        int64 initial_position = 2;
        Parameters:
        value - The initialPosition to set.
        Returns:
        This builder for chaining.
      • clearInitialPosition

        public InitializationProperties.Builder clearInitialPosition()
         the position in the event store to start reading from 
         
        int64 initial_position = 2;
        Returns:
        This builder for chaining.
      • hasSequencingPolicy

        public boolean hasSequencingPolicy()
         the sequencing policy 
         
        .io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;
        Specified by:
        hasSequencingPolicy in interface InitializationPropertiesOrBuilder
        Returns:
        Whether the sequencingPolicy field is set.
      • clearSequencingPolicy

        public InitializationProperties.Builder clearSequencingPolicy()
         the sequencing policy 
         
        .io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;
      • getSequencingPolicyBuilder

        public SequencingPolicy.Builder getSequencingPolicyBuilder()
         the sequencing policy 
         
        .io.axoniq.axonserver.grpc.streams.SequencingPolicy sequencing_policy = 3;
      • getFilter

        public String getFilter()
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Specified by:
        getFilter in interface InitializationPropertiesOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface InitializationPropertiesOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public InitializationProperties.Builder setFilter​(String value)
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public InitializationProperties.Builder clearFilter()
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public InitializationProperties.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         an expression to filter events, same syntax as used for ad-hoc queries on the event store 
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • getStreamNameBytes

        public com.google.protobuf.ByteString getStreamNameBytes()
         a name for the persistent stream 
         
        string stream_name = 5;
        Specified by:
        getStreamNameBytes in interface InitializationPropertiesOrBuilder
        Returns:
        The bytes for streamName.
      • setStreamName

        public InitializationProperties.Builder setStreamName​(String value)
         a name for the persistent stream 
         
        string stream_name = 5;
        Parameters:
        value - The streamName to set.
        Returns:
        This builder for chaining.
      • clearStreamName

        public InitializationProperties.Builder clearStreamName()
         a name for the persistent stream 
         
        string stream_name = 5;
        Returns:
        This builder for chaining.
      • setStreamNameBytes

        public InitializationProperties.Builder setStreamNameBytes​(com.google.protobuf.ByteString value)
         a name for the persistent stream 
         
        string stream_name = 5;
        Parameters:
        value - The bytes for streamName to set.
        Returns:
        This builder for chaining.