Class FileSystemBufferFilterConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.file_system_buffer.v3.FileSystemBufferFilterConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FileSystemBufferFilterConfigOrBuilder,Serializable
public final class FileSystemBufferFilterConfig
extends com.google.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA :ref:`file system buffer <config_http_filters_file_system_buffer>` filter configuration.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FileSystemBufferFilterConfigstatic final com.google.protobuf.Descriptors.DescriptorA configuration for an AsyncFileManager.A configuration for an AsyncFileManager.com.google.protobuf.Parser<FileSystemBufferFilterConfig>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.intcom.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.StringValueOrBuilderAn optional path to which the unlinked files should be written - this may determine which physical storage device will be used.inthashCode()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 booleannewBuilder(FileSystemBufferFilterConfig prototype) protected FileSystemBufferFilterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static FileSystemBufferFilterConfigparseDelimitedFrom(InputStream input) static FileSystemBufferFilterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileSystemBufferFilterConfigparseFrom(byte[] data) static FileSystemBufferFilterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileSystemBufferFilterConfigparseFrom(com.google.protobuf.ByteString data) static FileSystemBufferFilterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileSystemBufferFilterConfigparseFrom(com.google.protobuf.CodedInputStream input) static FileSystemBufferFilterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileSystemBufferFilterConfigparseFrom(InputStream input) static FileSystemBufferFilterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FileSystemBufferFilterConfigparseFrom(ByteBuffer data) static FileSystemBufferFilterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FileSystemBufferFilterConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MANAGER_CONFIG_FIELD_NUMBER
public static final int MANAGER_CONFIG_FIELD_NUMBER- See Also:
-
STORAGE_BUFFER_PATH_FIELD_NUMBER
public static final int STORAGE_BUFFER_PATH_FIELD_NUMBER- See Also:
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER- See Also:
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FileSystemBufferFilterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static FileSystemBufferFilterConfig.Builder newBuilder(FileSystemBufferFilterConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FileSystemBufferFilterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-