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
Modifier and TypeMethodDescriptionNever buffer, do nothing.Never buffer, do nothing.Always buffer the entire input, do not modify ``content-length``.Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.Always buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.Always buffer the entire input, do not modify ``content-length``.If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.If ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.Don't inject ``content-length`` header.Don't inject ``content-length`` header.booleanNever buffer, do nothing.booleanAlways buffer the entire input, do not modify ``content-length``.booleanAlways buffer the entire input, and inject ``content-length``, overwriting any provided content-length header.booleanIf ``content-length`` is not present, buffer the entire input, inject ``content-length`` header, then output.booleanDon't inject ``content-length`` header.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-