public static final class RouteAction.MaxStreamDuration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder> implements RouteAction.MaxStreamDurationOrBuilder
envoy.config.route.v4alpha.RouteAction.MaxStreamDuration| Modifier and Type | Method and Description |
|---|---|
RouteAction.MaxStreamDuration.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction.MaxStreamDuration |
build() |
RouteAction.MaxStreamDuration |
buildPartial() |
RouteAction.MaxStreamDuration.Builder |
clear() |
RouteAction.MaxStreamDuration.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteAction.MaxStreamDuration.Builder |
clearGrpcTimeoutHeaderMax()
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.
|
RouteAction.MaxStreamDuration.Builder |
clearGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
RouteAction.MaxStreamDuration.Builder |
clearMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route.
|
RouteAction.MaxStreamDuration.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteAction.MaxStreamDuration.Builder |
clone() |
RouteAction.MaxStreamDuration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.Duration.Builder |
getGrpcTimeoutHeaderMaxBuilder()
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.Duration.Builder |
getGrpcTimeoutHeaderOffsetBuilder()
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.Duration.Builder |
getMaxStreamDurationBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteAction.MaxStreamDuration.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteAction.MaxStreamDuration.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteAction.MaxStreamDuration.Builder |
mergeFrom(RouteAction.MaxStreamDuration other) |
RouteAction.MaxStreamDuration.Builder |
mergeGrpcTimeoutHeaderMax(com.google.protobuf.Duration value)
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.
|
RouteAction.MaxStreamDuration.Builder |
mergeGrpcTimeoutHeaderOffset(com.google.protobuf.Duration value)
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
RouteAction.MaxStreamDuration.Builder |
mergeMaxStreamDuration(com.google.protobuf.Duration value)
Specifies the maximum duration allowed for streams on the route.
|
RouteAction.MaxStreamDuration.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteAction.MaxStreamDuration.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteAction.MaxStreamDuration.Builder |
setGrpcTimeoutHeaderMax(com.google.protobuf.Duration.Builder builderForValue)
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.
|
RouteAction.MaxStreamDuration.Builder |
setGrpcTimeoutHeaderMax(com.google.protobuf.Duration value)
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.
|
RouteAction.MaxStreamDuration.Builder |
setGrpcTimeoutHeaderOffset(com.google.protobuf.Duration.Builder builderForValue)
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
RouteAction.MaxStreamDuration.Builder |
setGrpcTimeoutHeaderOffset(com.google.protobuf.Duration value)
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
RouteAction.MaxStreamDuration.Builder |
setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)
Specifies the maximum duration allowed for streams on the route.
|
RouteAction.MaxStreamDuration.Builder |
setMaxStreamDuration(com.google.protobuf.Duration value)
Specifies the maximum duration allowed for streams on the route.
|
RouteAction.MaxStreamDuration.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteAction.MaxStreamDuration.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteAction.MaxStreamDuration build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteAction.MaxStreamDuration buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteAction.MaxStreamDuration.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder mergeFrom(RouteAction.MaxStreamDuration other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public RouteAction.MaxStreamDuration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.MaxStreamDuration.Builder>IOExceptionpublic boolean 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;hasMaxStreamDuration in interface RouteAction.MaxStreamDurationOrBuilderpublic 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;getMaxStreamDuration in interface RouteAction.MaxStreamDurationOrBuilderpublic RouteAction.MaxStreamDuration.Builder setMaxStreamDuration(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)
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;public RouteAction.MaxStreamDuration.Builder mergeMaxStreamDuration(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder clearMaxStreamDuration()
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;public com.google.protobuf.Duration.Builder getMaxStreamDurationBuilder()
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;public 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;getMaxStreamDurationOrBuilder in interface RouteAction.MaxStreamDurationOrBuilderpublic 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;hasGrpcTimeoutHeaderMax in interface RouteAction.MaxStreamDurationOrBuilderpublic 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;getGrpcTimeoutHeaderMax in interface RouteAction.MaxStreamDurationOrBuilderpublic RouteAction.MaxStreamDuration.Builder setGrpcTimeoutHeaderMax(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder setGrpcTimeoutHeaderMax(com.google.protobuf.Duration.Builder builderForValue)
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;public RouteAction.MaxStreamDuration.Builder mergeGrpcTimeoutHeaderMax(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder clearGrpcTimeoutHeaderMax()
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;public com.google.protobuf.Duration.Builder getGrpcTimeoutHeaderMaxBuilder()
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;public 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;getGrpcTimeoutHeaderMaxOrBuilder in interface RouteAction.MaxStreamDurationOrBuilderpublic 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;hasGrpcTimeoutHeaderOffset in interface RouteAction.MaxStreamDurationOrBuilderpublic 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;getGrpcTimeoutHeaderOffset in interface RouteAction.MaxStreamDurationOrBuilderpublic RouteAction.MaxStreamDuration.Builder setGrpcTimeoutHeaderOffset(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder setGrpcTimeoutHeaderOffset(com.google.protobuf.Duration.Builder builderForValue)
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;public RouteAction.MaxStreamDuration.Builder mergeGrpcTimeoutHeaderOffset(com.google.protobuf.Duration value)
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;public RouteAction.MaxStreamDuration.Builder clearGrpcTimeoutHeaderOffset()
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;public com.google.protobuf.Duration.Builder getGrpcTimeoutHeaderOffsetBuilder()
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;public 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;getGrpcTimeoutHeaderOffsetOrBuilder in interface RouteAction.MaxStreamDurationOrBuilderpublic final RouteAction.MaxStreamDuration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>public final RouteAction.MaxStreamDuration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.