public static interface RouteAction.MaxStreamDurationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getGrpcTimeoutHeaderMax()
If present, and the request contains a `grpc-timeout header
<https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
*max_stream_duration*, but limit the applied timeout to the maximum value specified here.
|
com.google.protobuf.DurationOrBuilder |
getGrpcTimeoutHeaderMaxOrBuilder()
If present, and the request contains a `grpc-timeout header
<https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
*max_stream_duration*, but limit the applied timeout to the maximum value specified here.
|
com.google.protobuf.Duration |
getGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
com.google.protobuf.DurationOrBuilder |
getGrpcTimeoutHeaderOffsetOrBuilder()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
com.google.protobuf.Duration |
getMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route.
|
com.google.protobuf.DurationOrBuilder |
getMaxStreamDurationOrBuilder()
Specifies the maximum duration allowed for streams on the route.
|
boolean |
hasGrpcTimeoutHeaderMax()
If present, and the request contains a `grpc-timeout header
<https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
*max_stream_duration*, but limit the applied timeout to the maximum value specified here.
|
boolean |
hasGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
boolean |
hasMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route. If not specified, the value from the :ref:`max_stream_duration <envoy_api_field_config.core.v4alpha.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.common_http_protocol_options>` is used. If this field is set explicitly to zero, any HttpConnectionManager max_stream_duration timeout will be disabled for this route.
.google.protobuf.Duration max_stream_duration = 1;com.google.protobuf.Duration getMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route. If not specified, the value from the :ref:`max_stream_duration <envoy_api_field_config.core.v4alpha.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.common_http_protocol_options>` is used. If this field is set explicitly to zero, any HttpConnectionManager max_stream_duration timeout will be disabled for this route.
.google.protobuf.Duration max_stream_duration = 1;com.google.protobuf.DurationOrBuilder getMaxStreamDurationOrBuilder()
Specifies the maximum duration allowed for streams on the route. If not specified, the value from the :ref:`max_stream_duration <envoy_api_field_config.core.v4alpha.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.common_http_protocol_options>` is used. If this field is set explicitly to zero, any HttpConnectionManager max_stream_duration timeout will be disabled for this route.
.google.protobuf.Duration max_stream_duration = 1;boolean hasGrpcTimeoutHeaderMax()
If present, and the request contains a `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the *max_stream_duration*, but limit the applied timeout to the maximum value specified here. If set to 0, the `grpc-timeout` header is used without modification.
.google.protobuf.Duration grpc_timeout_header_max = 2;com.google.protobuf.Duration getGrpcTimeoutHeaderMax()
If present, and the request contains a `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the *max_stream_duration*, but limit the applied timeout to the maximum value specified here. If set to 0, the `grpc-timeout` header is used without modification.
.google.protobuf.Duration grpc_timeout_header_max = 2;com.google.protobuf.DurationOrBuilder getGrpcTimeoutHeaderMaxOrBuilder()
If present, and the request contains a `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the *max_stream_duration*, but limit the applied timeout to the maximum value specified here. If set to 0, the `grpc-timeout` header is used without modification.
.google.protobuf.Duration grpc_timeout_header_max = 2;boolean hasGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful for allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. If, after applying the offset, the resulting timeout is zero or negative, the stream will timeout immediately.
.google.protobuf.Duration grpc_timeout_header_offset = 3;com.google.protobuf.Duration getGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful for allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. If, after applying the offset, the resulting timeout is zero or negative, the stream will timeout immediately.
.google.protobuf.Duration grpc_timeout_header_offset = 3;com.google.protobuf.DurationOrBuilder getGrpcTimeoutHeaderOffsetOrBuilder()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful for allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. If, after applying the offset, the resulting timeout is zero or negative, the stream will timeout immediately.
.google.protobuf.Duration grpc_timeout_header_offset = 3;Copyright © 2018–2021 The Envoy Project. All rights reserved.