Class FileSystemBufferFilterConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FileSystemBufferFilterConfigOrBuilder, Cloneable
    Enclosing class:
    FileSystemBufferFilterConfig

    public static final class FileSystemBufferFilterConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
    implements FileSystemBufferFilterConfigOrBuilder
     A :ref:`file system buffer <config_http_filters_file_system_buffer>` filter configuration.
     Route-specific configs override only the fields they explicitly include; unset
     fields inherit from the vhost or listener-level config, or, if never set,
     and not required, use a default value.
     
    Protobuf type envoy.extensions.filters.http.file_system_buffer.v3.FileSystemBufferFilterConfig
    • Method Detail

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

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

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

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

        public FileSystemBufferFilterConfig.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<FileSystemBufferFilterConfig.Builder>
        Throws:
        IOException
      • hasManagerConfig

        public boolean hasManagerConfig()
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
        Specified by:
        hasManagerConfig in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        Whether the managerConfig field is set.
      • getManagerConfig

        public AsyncFileManagerConfig getManagerConfig()
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
        Specified by:
        getManagerConfig in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        The managerConfig.
      • setManagerConfig

        public FileSystemBufferFilterConfig.Builder setManagerConfig​(AsyncFileManagerConfig value)
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
      • setManagerConfig

        public FileSystemBufferFilterConfig.Builder setManagerConfig​(AsyncFileManagerConfig.Builder builderForValue)
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
      • mergeManagerConfig

        public FileSystemBufferFilterConfig.Builder mergeManagerConfig​(AsyncFileManagerConfig value)
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
      • clearManagerConfig

        public FileSystemBufferFilterConfig.Builder clearManagerConfig()
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
      • getManagerConfigBuilder

        public AsyncFileManagerConfig.Builder getManagerConfigBuilder()
         A configuration for an AsyncFileManager.
         If unset in route, vhost and listener, and the behavior is not ``bypass``
         in both directions, an Internal Server Error response will be sent.
         
        .envoy.extensions.common.async_files.v3.AsyncFileManagerConfig manager_config = 1;
      • hasStorageBufferPath

        public boolean hasStorageBufferPath()
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
        Specified by:
        hasStorageBufferPath in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        Whether the storageBufferPath field is set.
      • getStorageBufferPath

        public com.google.protobuf.StringValue getStorageBufferPath()
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
        Specified by:
        getStorageBufferPath in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        The storageBufferPath.
      • setStorageBufferPath

        public FileSystemBufferFilterConfig.Builder setStorageBufferPath​(com.google.protobuf.StringValue value)
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
      • setStorageBufferPath

        public FileSystemBufferFilterConfig.Builder setStorageBufferPath​(com.google.protobuf.StringValue.Builder builderForValue)
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
      • mergeStorageBufferPath

        public FileSystemBufferFilterConfig.Builder mergeStorageBufferPath​(com.google.protobuf.StringValue value)
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
      • clearStorageBufferPath

        public FileSystemBufferFilterConfig.Builder clearStorageBufferPath()
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
      • getStorageBufferPathBuilder

        public com.google.protobuf.StringValue.Builder getStorageBufferPathBuilder()
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
      • getStorageBufferPathOrBuilder

        public com.google.protobuf.StringValueOrBuilder getStorageBufferPathOrBuilder()
         An optional path to which the unlinked files should be written - this may
         determine which physical storage device will be used.
         If unset in route, vhost and listener, will use the environment variable
         ``TMPDIR``, or, if that's also unset, will use ``/tmp``.
         
        .google.protobuf.StringValue storage_buffer_path = 2;
        Specified by:
        getStorageBufferPathOrBuilder in interface FileSystemBufferFilterConfigOrBuilder
      • hasRequest

        public boolean hasRequest()
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
        Specified by:
        hasRequest in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        Whether the request field is set.
      • getRequest

        public StreamConfig getRequest()
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
        Specified by:
        getRequest in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        The request.
      • setRequest

        public FileSystemBufferFilterConfig.Builder setRequest​(StreamConfig value)
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
      • setRequest

        public FileSystemBufferFilterConfig.Builder setRequest​(StreamConfig.Builder builderForValue)
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
      • mergeRequest

        public FileSystemBufferFilterConfig.Builder mergeRequest​(StreamConfig value)
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
      • clearRequest

        public FileSystemBufferFilterConfig.Builder clearRequest()
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
      • getRequestBuilder

        public StreamConfig.Builder getRequestBuilder()
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
      • getRequestOrBuilder

        public StreamConfigOrBuilder getRequestOrBuilder()
         Optional configuration for how to buffer (or not) requests.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig request = 3;
        Specified by:
        getRequestOrBuilder in interface FileSystemBufferFilterConfigOrBuilder
      • hasResponse

        public boolean hasResponse()
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
        Specified by:
        hasResponse in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        Whether the response field is set.
      • getResponse

        public StreamConfig getResponse()
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
        Specified by:
        getResponse in interface FileSystemBufferFilterConfigOrBuilder
        Returns:
        The response.
      • setResponse

        public FileSystemBufferFilterConfig.Builder setResponse​(StreamConfig value)
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
      • setResponse

        public FileSystemBufferFilterConfig.Builder setResponse​(StreamConfig.Builder builderForValue)
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
      • mergeResponse

        public FileSystemBufferFilterConfig.Builder mergeResponse​(StreamConfig value)
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
      • clearResponse

        public FileSystemBufferFilterConfig.Builder clearResponse()
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
      • getResponseBuilder

        public StreamConfig.Builder getResponseBuilder()
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
      • getResponseOrBuilder

        public StreamConfigOrBuilder getResponseOrBuilder()
         Optional configuration for how to buffer (or not) responses.
         If unset in route, vhost and listener, ``StreamConfig`` default values will be used
         (with behavior ``stream_when_possible``)
         
        .envoy.extensions.filters.http.file_system_buffer.v3.StreamConfig response = 4;
        Specified by:
        getResponseOrBuilder in interface FileSystemBufferFilterConfigOrBuilder