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 typeenvoy.extensions.filters.http.file_system_buffer.v3.FileSystemBufferFilterConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileSystemBufferFilterConfig.BuilderA :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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMANAGER_CONFIG_FIELD_NUMBERstatic intREQUEST_FIELD_NUMBERstatic intRESPONSE_FIELD_NUMBERstatic intSTORAGE_BUFFER_PATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FileSystemBufferFilterConfiggetDefaultInstance()FileSystemBufferFilterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AsyncFileManagerConfiggetManagerConfig()A configuration for an AsyncFileManager.AsyncFileManagerConfigOrBuildergetManagerConfigOrBuilder()A configuration for an AsyncFileManager.com.google.protobuf.Parser<FileSystemBufferFilterConfig>getParserForType()StreamConfiggetRequest()Optional configuration for how to buffer (or not) requests.StreamConfigOrBuildergetRequestOrBuilder()Optional configuration for how to buffer (or not) requests.StreamConfiggetResponse()Optional configuration for how to buffer (or not) responses.StreamConfigOrBuildergetResponseOrBuilder()Optional configuration for how to buffer (or not) responses.intgetSerializedSize()com.google.protobuf.StringValuegetStorageBufferPath()An optional path to which the unlinked files should be written - this may determine which physical storage device will be used.com.google.protobuf.StringValueOrBuildergetStorageBufferPathOrBuilder()An optional path to which the unlinked files should be written - this may determine which physical storage device will be used.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasManagerConfig()A configuration for an AsyncFileManager.booleanhasRequest()Optional configuration for how to buffer (or not) requests.booleanhasResponse()Optional configuration for how to buffer (or not) responses.booleanhasStorageBufferPath()An 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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static FileSystemBufferFilterConfig.BuildernewBuilder()static FileSystemBufferFilterConfig.BuildernewBuilder(FileSystemBufferFilterConfig prototype)FileSystemBufferFilterConfig.BuildernewBuilderForType()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()FileSystemBufferFilterConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MANAGER_CONFIG_FIELD_NUMBER
public static final int MANAGER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STORAGE_BUFFER_PATH_FIELD_NUMBER
public static final int STORAGE_BUFFER_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_FIELD_NUMBER
public static final int REQUEST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_FIELD_NUMBER
public static final int RESPONSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
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:
getManagerConfigin interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- The managerConfig.
-
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:
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
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:
getRequestin interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- The request.
-
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:
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
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:
getResponsein interfaceFileSystemBufferFilterConfigOrBuilder- Returns:
- The response.
-
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:
getResponseOrBuilderin interfaceFileSystemBufferFilterConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static FileSystemBufferFilterConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FileSystemBufferFilterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FileSystemBufferFilterConfig parseDelimitedFrom(InputStream input) throws IOException
- 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
public FileSystemBufferFilterConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FileSystemBufferFilterConfig.Builder newBuilder()
-
newBuilder
public static FileSystemBufferFilterConfig.Builder newBuilder(FileSystemBufferFilterConfig prototype)
-
toBuilder
public FileSystemBufferFilterConfig.Builder 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
public static FileSystemBufferFilterConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FileSystemBufferFilterConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<FileSystemBufferFilterConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FileSystemBufferFilterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-