Interface BufferBehaviorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BufferBehavior,BufferBehavior.Builder
public interface BufferBehaviorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferBehavior.BehaviorCasegetBehaviorCase()BufferBehavior.BypassgetBypass()Never buffer, do nothing.BufferBehavior.BypassOrBuildergetBypassOrBuilder()Never buffer, do nothing.BufferBehavior.FullyBuffergetFullyBuffer()Always buffer the entire input, do not modify ``content-length``.BufferBehavior.FullyBufferAndAlwaysInjectContentLengthgetFullyBufferAndAlwaysInjectContentLength()Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.BufferBehavior.FullyBufferAndAlwaysInjectContentLengthOrBuildergetFullyBufferAndAlwaysInjectContentLengthOrBuilder()Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.BufferBehavior.FullyBufferOrBuildergetFullyBufferOrBuilder()Always buffer the entire input, do not modify ``content-length``.BufferBehavior.InjectContentLengthIfNecessarygetInjectContentLengthIfNecessary()If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.BufferBehavior.InjectContentLengthIfNecessaryOrBuildergetInjectContentLengthIfNecessaryOrBuilder()If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.BufferBehavior.StreamWhenPossiblegetStreamWhenPossible()Don't inject ``content-length`` header.BufferBehavior.StreamWhenPossibleOrBuildergetStreamWhenPossibleOrBuilder()Don't inject ``content-length`` header.booleanhasBypass()Never buffer, do nothing.booleanhasFullyBuffer()Always buffer the entire input, do not modify ``content-length``.booleanhasFullyBufferAndAlwaysInjectContentLength()Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.booleanhasInjectContentLengthIfNecessary()If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.booleanhasStreamWhenPossible()Don't inject ``content-length`` header.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStreamWhenPossible
boolean hasStreamWhenPossible()
Don't inject ``content-length`` header. Output immediately, buffer only if output is slower than input.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.StreamWhenPossible stream_when_possible = 1;- Returns:
- Whether the streamWhenPossible field is set.
-
getStreamWhenPossible
BufferBehavior.StreamWhenPossible getStreamWhenPossible()
Don't inject ``content-length`` header. Output immediately, buffer only if output is slower than input.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.StreamWhenPossible stream_when_possible = 1;- Returns:
- The streamWhenPossible.
-
getStreamWhenPossibleOrBuilder
BufferBehavior.StreamWhenPossibleOrBuilder getStreamWhenPossibleOrBuilder()
Don't inject ``content-length`` header. Output immediately, buffer only if output is slower than input.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.StreamWhenPossible stream_when_possible = 1;
-
hasBypass
boolean hasBypass()
Never buffer, do nothing.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.Bypass bypass = 2;- Returns:
- Whether the bypass field is set.
-
getBypass
BufferBehavior.Bypass getBypass()
Never buffer, do nothing.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.Bypass bypass = 2;- Returns:
- The bypass.
-
getBypassOrBuilder
BufferBehavior.BypassOrBuilder getBypassOrBuilder()
Never buffer, do nothing.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.Bypass bypass = 2;
-
hasInjectContentLengthIfNecessary
boolean hasInjectContentLengthIfNecessary()
If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output. If ``content-length`` is already present, act like ``stream_when_possible``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.InjectContentLengthIfNecessary inject_content_length_if_necessary = 3;- Returns:
- Whether the injectContentLengthIfNecessary field is set.
-
getInjectContentLengthIfNecessary
BufferBehavior.InjectContentLengthIfNecessary getInjectContentLengthIfNecessary()
If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output. If ``content-length`` is already present, act like ``stream_when_possible``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.InjectContentLengthIfNecessary inject_content_length_if_necessary = 3;- Returns:
- The injectContentLengthIfNecessary.
-
getInjectContentLengthIfNecessaryOrBuilder
BufferBehavior.InjectContentLengthIfNecessaryOrBuilder getInjectContentLengthIfNecessaryOrBuilder()
If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output. If ``content-length`` is already present, act like ``stream_when_possible``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.InjectContentLengthIfNecessary inject_content_length_if_necessary = 3;
-
hasFullyBufferAndAlwaysInjectContentLength
boolean hasFullyBufferAndAlwaysInjectContentLength()
Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBufferAndAlwaysInjectContentLength fully_buffer_and_always_inject_content_length = 4;- Returns:
- Whether the fullyBufferAndAlwaysInjectContentLength field is set.
-
getFullyBufferAndAlwaysInjectContentLength
BufferBehavior.FullyBufferAndAlwaysInjectContentLength getFullyBufferAndAlwaysInjectContentLength()
Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBufferAndAlwaysInjectContentLength fully_buffer_and_always_inject_content_length = 4;- Returns:
- The fullyBufferAndAlwaysInjectContentLength.
-
getFullyBufferAndAlwaysInjectContentLengthOrBuilder
BufferBehavior.FullyBufferAndAlwaysInjectContentLengthOrBuilder getFullyBufferAndAlwaysInjectContentLengthOrBuilder()
Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBufferAndAlwaysInjectContentLength fully_buffer_and_always_inject_content_length = 4;
-
hasFullyBuffer
boolean hasFullyBuffer()
Always buffer the entire input, do not modify ``content-length``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBuffer fully_buffer = 5;- Returns:
- Whether the fullyBuffer field is set.
-
getFullyBuffer
BufferBehavior.FullyBuffer getFullyBuffer()
Always buffer the entire input, do not modify ``content-length``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBuffer fully_buffer = 5;- Returns:
- The fullyBuffer.
-
getFullyBufferOrBuilder
BufferBehavior.FullyBufferOrBuilder getFullyBufferOrBuilder()
Always buffer the entire input, do not modify ``content-length``.
.envoy.extensions.filters.http.file_system_buffer.v3.BufferBehavior.FullyBuffer fully_buffer = 5;
-
getBehaviorCase
BufferBehavior.BehaviorCase getBehaviorCase()
-
-