Class FileSystemBufferFilterConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
io.envoyproxy.envoy.extensions.filters.http.file_system_buffer.v3.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 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<FileSystemBufferFilterConfig.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<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

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

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

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

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

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

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

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

    • 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

       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

       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;
    • getManagerConfigOrBuilder

      public AsyncFileManagerConfigOrBuilder getManagerConfigOrBuilder()
       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:
      getManagerConfigOrBuilder in interface FileSystemBufferFilterConfigOrBuilder
    • 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

       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

       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

       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
    • setUnknownFields

      public final FileSystemBufferFilterConfig.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<FileSystemBufferFilterConfig.Builder>
    • mergeUnknownFields

      public final FileSystemBufferFilterConfig.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<FileSystemBufferFilterConfig.Builder>