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

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

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

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

        public GetAggregateSnapshotsRequest.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<GetAggregateSnapshotsRequest.Builder>
        Throws:
        IOException
      • setAggregateId

        public GetAggregateSnapshotsRequest.Builder setAggregateId​(String value)
         The identifier to fetch the snapshots for 
         
        string aggregate_id = 1;
        Parameters:
        value - The aggregateId to set.
        Returns:
        This builder for chaining.
      • clearAggregateId

        public GetAggregateSnapshotsRequest.Builder clearAggregateId()
         The identifier to fetch the snapshots for 
         
        string aggregate_id = 1;
        Returns:
        This builder for chaining.
      • setAggregateIdBytes

        public GetAggregateSnapshotsRequest.Builder setAggregateIdBytes​(com.google.protobuf.ByteString value)
         The identifier to fetch the snapshots for 
         
        string aggregate_id = 1;
        Parameters:
        value - The bytes for aggregateId to set.
        Returns:
        This builder for chaining.
      • setInitialSequence

        public GetAggregateSnapshotsRequest.Builder setInitialSequence​(long value)
         The minimal sequence number of the snapshots to retrieve 
         
        int64 initial_sequence = 2;
        Parameters:
        value - The initialSequence to set.
        Returns:
        This builder for chaining.
      • clearInitialSequence

        public GetAggregateSnapshotsRequest.Builder clearInitialSequence()
         The minimal sequence number of the snapshots to retrieve 
         
        int64 initial_sequence = 2;
        Returns:
        This builder for chaining.
      • setMaxSequence

        public GetAggregateSnapshotsRequest.Builder setMaxSequence​(long value)
         The maximum sequence number of the snapshots to retrieve 
         
        int64 max_sequence = 3;
        Parameters:
        value - The maxSequence to set.
        Returns:
        This builder for chaining.
      • clearMaxSequence

        public GetAggregateSnapshotsRequest.Builder clearMaxSequence()
         The maximum sequence number of the snapshots to retrieve 
         
        int64 max_sequence = 3;
        Returns:
        This builder for chaining.
      • setMaxResults

        public GetAggregateSnapshotsRequest.Builder setMaxResults​(int value)
         The maximum number of results to stream 
         
        int32 max_results = 4;
        Parameters:
        value - The maxResults to set.
        Returns:
        This builder for chaining.
      • clearMaxResults

        public GetAggregateSnapshotsRequest.Builder clearMaxResults()
         The maximum number of results to stream 
         
        int32 max_results = 4;
        Returns:
        This builder for chaining.