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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A configuration for an AsyncFileManager.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional configuration for how to buffer (or not) requests.Optional configuration for how to buffer (or not) responses.An optional path to which the unlinked files should be written - this may determine which physical storage device will be used.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA configuration for an AsyncFileManager.A configuration for an AsyncFileManager.A configuration for an AsyncFileManager.Optional configuration for how to buffer (or not) requests.Optional configuration for how to buffer (or not) requests.Optional configuration for how to buffer (or not) requests.Optional configuration for how to buffer (or not) responses.Optional configuration for how to buffer (or not) responses.Optional configuration for how to buffer (or not) responses.com.google.protobuf.StringValueAn optional path to which the unlinked files should be written - this may determine which physical storage device will be used.com.google.protobuf.StringValue.BuilderAn optional path to which the unlinked files should be written - this may determine which physical storage device will be used.com.google.protobuf.StringValueOrBuilderAn optional path to which the unlinked files should be written - this may determine which physical storage device will be used.booleanA configuration for an AsyncFileManager.booleanOptional configuration for how to buffer (or not) requests.booleanOptional configuration for how to buffer (or not) responses.booleanAn optional path to which the unlinked files should be written - this may determine which physical storage device will be used.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A configuration for an AsyncFileManager.mergeRequest(StreamConfig value) Optional configuration for how to buffer (or not) requests.mergeResponse(StreamConfig value) Optional configuration for how to buffer (or not) responses.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.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A configuration for an AsyncFileManager.setManagerConfig(AsyncFileManagerConfig.Builder builderForValue) A configuration for an AsyncFileManager.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequest(StreamConfig value) Optional configuration for how to buffer (or not) requests.setRequest(StreamConfig.Builder builderForValue) Optional configuration for how to buffer (or not) requests.setResponse(StreamConfig value) Optional configuration for how to buffer (or not) responses.setResponse(StreamConfig.Builder builderForValue) Optional configuration for how to buffer (or not) responses.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.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.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
setField
public FileSystemBufferFilterConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
clearField
public FileSystemBufferFilterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
clearOneof
public FileSystemBufferFilterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
setRepeatedField
public FileSystemBufferFilterConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
addRepeatedField
public FileSystemBufferFilterConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileSystemBufferFilterConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasManagerConfigin interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- Whether the managerConfig field is set.
-
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:
getManagerConfigin interfaceFileSystemBufferFilterConfigOrBuilder- 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
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
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
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:
getManagerConfigOrBuilderin interfaceFileSystemBufferFilterConfigOrBuilder
-
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:
hasStorageBufferPathin interfaceFileSystemBufferFilterConfigOrBuilder- 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:
getStorageBufferPathin interfaceFileSystemBufferFilterConfigOrBuilder- 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
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:
getStorageBufferPathOrBuilderin interfaceFileSystemBufferFilterConfigOrBuilder
-
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:
hasRequestin interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- Whether the request field is set.
-
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:
getRequestin interfaceFileSystemBufferFilterConfigOrBuilder- 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
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
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
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
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:
getRequestOrBuilderin interfaceFileSystemBufferFilterConfigOrBuilder
-
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:
hasResponsein interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- Whether the response field is set.
-
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:
getResponsein interfaceFileSystemBufferFilterConfigOrBuilder- 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
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
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
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
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
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:
getResponseOrBuilderin interfaceFileSystemBufferFilterConfigOrBuilder
-
setUnknownFields
public final FileSystemBufferFilterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-
mergeUnknownFields
public final FileSystemBufferFilterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileSystemBufferFilterConfig.Builder>
-