Package s2.v1alpha

Interface StreamConfigOrBuilder

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

    public interface StreamConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getStorageClassValue

        int getStorageClassValue()
         Storage class for recent writes.
         
        .s2.v1alpha.StorageClass storage_class = 1;
        Returns:
        The enum numeric value on the wire for storageClass.
      • getStorageClass

        StorageClass getStorageClass()
         Storage class for recent writes.
         
        .s2.v1alpha.StorageClass storage_class = 1;
        Returns:
        The storageClass.
      • hasAge

        boolean hasAge()
         Age in seconds for automatic trimming of records older than this threshold.
         If set to 0, the stream will have infinite retention.
         
        uint64 age = 2;
        Returns:
        Whether the age field is set.
      • getAge

        long getAge()
         Age in seconds for automatic trimming of records older than this threshold.
         If set to 0, the stream will have infinite retention.
         
        uint64 age = 2;
        Returns:
        The age.
      • hasTimestamping

        boolean hasTimestamping()
         Timestamping behavior.
         
        .s2.v1alpha.StreamConfig.Timestamping timestamping = 5;
        Returns:
        Whether the timestamping field is set.
      • getTimestamping

        StreamConfig.Timestamping getTimestamping()
         Timestamping behavior.
         
        .s2.v1alpha.StreamConfig.Timestamping timestamping = 5;
        Returns:
        The timestamping.