java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
io.envoyproxy.envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, StreamConfigOrBuilder, Cloneable
Enclosing class:
StreamConfig

public static final class StreamConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder> implements StreamConfigOrBuilder
 The configuration for one direction of the filter behavior.
 
Protobuf type envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public StreamConfig.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • setField

      public StreamConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • clearField

      public StreamConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • clearOneof

      public StreamConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • setRepeatedField

      public StreamConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • addRepeatedField

      public StreamConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • mergeFrom

      public StreamConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamConfig.Builder>
    • mergeFrom

      public StreamConfig.Builder mergeFrom(StreamConfig other)
    • isInitialized

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

      public StreamConfig.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<StreamConfig.Builder>
      Throws:
      IOException
    • hasBehavior

      public boolean hasBehavior()
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
      Specified by:
      hasBehavior in interface StreamConfigOrBuilder
      Returns:
      Whether the behavior field is set.
    • getBehavior

      public BufferBehavior getBehavior()
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
      Specified by:
      getBehavior in interface StreamConfigOrBuilder
      Returns:
      The behavior.
    • setBehavior

      public StreamConfig.Builder setBehavior(BufferBehavior value)
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
    • setBehavior

      public StreamConfig.Builder setBehavior(BufferBehavior.Builder builderForValue)
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
    • mergeBehavior

      public StreamConfig.Builder mergeBehavior(BufferBehavior value)
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
    • clearBehavior

      public StreamConfig.Builder clearBehavior()
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
    • getBehaviorBuilder

      public BufferBehavior.Builder getBehaviorBuilder()
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
    • getBehaviorOrBuilder

      public BufferBehaviorOrBuilder getBehaviorOrBuilder()
       Whether to bypass / stream / fully buffer / etc.
       If unset in route, vhost and listener config, the default is ``stream_when_possible``.
       
      .envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior behavior = 1;
      Specified by:
      getBehaviorOrBuilder in interface StreamConfigOrBuilder
    • hasMemoryBufferBytesLimit

      public boolean hasMemoryBufferBytesLimit()
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
      Specified by:
      hasMemoryBufferBytesLimit in interface StreamConfigOrBuilder
      Returns:
      Whether the memoryBufferBytesLimit field is set.
    • getMemoryBufferBytesLimit

      public com.google.protobuf.UInt64Value getMemoryBufferBytesLimit()
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
      Specified by:
      getMemoryBufferBytesLimit in interface StreamConfigOrBuilder
      Returns:
      The memoryBufferBytesLimit.
    • setMemoryBufferBytesLimit

      public StreamConfig.Builder setMemoryBufferBytesLimit(com.google.protobuf.UInt64Value value)
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
    • setMemoryBufferBytesLimit

      public StreamConfig.Builder setMemoryBufferBytesLimit(com.google.protobuf.UInt64Value.Builder builderForValue)
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
    • mergeMemoryBufferBytesLimit

      public StreamConfig.Builder mergeMemoryBufferBytesLimit(com.google.protobuf.UInt64Value value)
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
    • clearMemoryBufferBytesLimit

      public StreamConfig.Builder clearMemoryBufferBytesLimit()
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
    • getMemoryBufferBytesLimitBuilder

      public com.google.protobuf.UInt64Value.Builder getMemoryBufferBytesLimitBuilder()
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
    • getMemoryBufferBytesLimitOrBuilder

      public com.google.protobuf.UInt64ValueOrBuilder getMemoryBufferBytesLimitOrBuilder()
       The amount stored in the memory buffer before buffering to disk.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB
       
      .google.protobuf.UInt64Value memory_buffer_bytes_limit = 2 [(.validate.rules) = { ... }
      Specified by:
      getMemoryBufferBytesLimitOrBuilder in interface StreamConfigOrBuilder
    • hasStorageBufferBytesLimit

      public boolean hasStorageBufferBytesLimit()
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
      Specified by:
      hasStorageBufferBytesLimit in interface StreamConfigOrBuilder
      Returns:
      Whether the storageBufferBytesLimit field is set.
    • getStorageBufferBytesLimit

      public com.google.protobuf.UInt64Value getStorageBufferBytesLimit()
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
      Specified by:
      getStorageBufferBytesLimit in interface StreamConfigOrBuilder
      Returns:
      The storageBufferBytesLimit.
    • setStorageBufferBytesLimit

      public StreamConfig.Builder setStorageBufferBytesLimit(com.google.protobuf.UInt64Value value)
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
    • setStorageBufferBytesLimit

      public StreamConfig.Builder setStorageBufferBytesLimit(com.google.protobuf.UInt64Value.Builder builderForValue)
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
    • mergeStorageBufferBytesLimit

      public StreamConfig.Builder mergeStorageBufferBytesLimit(com.google.protobuf.UInt64Value value)
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
    • clearStorageBufferBytesLimit

      public StreamConfig.Builder clearStorageBufferBytesLimit()
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
    • getStorageBufferBytesLimitBuilder

      public com.google.protobuf.UInt64Value.Builder getStorageBufferBytesLimitBuilder()
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
    • getStorageBufferBytesLimitOrBuilder

      public com.google.protobuf.UInt64ValueOrBuilder getStorageBufferBytesLimitOrBuilder()
       The maximum storage (excluding memory) to be buffered in this filter.
       If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB
       
      .google.protobuf.UInt64Value storage_buffer_bytes_limit = 3;
      Specified by:
      getStorageBufferBytesLimitOrBuilder in interface StreamConfigOrBuilder
    • hasStorageBufferQueueHighWatermarkBytes

      public boolean hasStorageBufferQueueHighWatermarkBytes()
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
      Specified by:
      hasStorageBufferQueueHighWatermarkBytes in interface StreamConfigOrBuilder
      Returns:
      Whether the storageBufferQueueHighWatermarkBytes field is set.
    • getStorageBufferQueueHighWatermarkBytes

      public com.google.protobuf.UInt64Value getStorageBufferQueueHighWatermarkBytes()
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
      Specified by:
      getStorageBufferQueueHighWatermarkBytes in interface StreamConfigOrBuilder
      Returns:
      The storageBufferQueueHighWatermarkBytes.
    • setStorageBufferQueueHighWatermarkBytes

      public StreamConfig.Builder setStorageBufferQueueHighWatermarkBytes(com.google.protobuf.UInt64Value value)
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
    • setStorageBufferQueueHighWatermarkBytes

      public StreamConfig.Builder setStorageBufferQueueHighWatermarkBytes(com.google.protobuf.UInt64Value.Builder builderForValue)
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
    • mergeStorageBufferQueueHighWatermarkBytes

      public StreamConfig.Builder mergeStorageBufferQueueHighWatermarkBytes(com.google.protobuf.UInt64Value value)
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
    • clearStorageBufferQueueHighWatermarkBytes

      public StreamConfig.Builder clearStorageBufferQueueHighWatermarkBytes()
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
    • getStorageBufferQueueHighWatermarkBytesBuilder

      public com.google.protobuf.UInt64Value.Builder getStorageBufferQueueHighWatermarkBytesBuilder()
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
    • getStorageBufferQueueHighWatermarkBytesOrBuilder

      public com.google.protobuf.UInt64ValueOrBuilder getStorageBufferQueueHighWatermarkBytesOrBuilder()
       The maximum amount that can be queued for writing to storage, above which the
       source is requested to pause. If unset, defaults to the same value as
       ``memory_buffer_bytes_limit``.
      
       For example, assuming the recipient is not consuming data at all, if
       ``memory_buffer_bytes_limit`` was 32MiB, and ``storage_buffer_queue_high_watermark_bytes``
       was 64MiB, and the filesystem is backed up so writes are not occurring promptly,
       then:
      
       * Any request less than 32MiB will eventually pass through without ever attempting
         to write to disk.
       * Any request with over 32MiB buffered will start trying to write to disk.
         If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high
         watermark signal is sent to the source.
       * Any stream whose total size exceeds
         ``memory_buffer_bytes_limit + storage_buffer_bytes_limit`` will provoke an error.
         (Note, if the recipient *is* consuming data then it is possible for such an
         oversized request to pass through the buffer filter, provided the recipient
         isn't consuming data too slowly.)
      
       The low watermark signal is sent when the memory buffer is at size
       ``memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)``.
       
      .google.protobuf.UInt64Value storage_buffer_queue_high_watermark_bytes = 4;
      Specified by:
      getStorageBufferQueueHighWatermarkBytesOrBuilder in interface StreamConfigOrBuilder
    • setUnknownFields

      public final StreamConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>
    • mergeUnknownFields

      public final StreamConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamConfig.Builder>