Class RouteAction.MaxStreamDuration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RouteAction.MaxStreamDuration.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteAction.MaxStreamDurationOrBuilder,Cloneable
- Enclosing class:
- RouteAction.MaxStreamDuration
public static final class RouteAction.MaxStreamDuration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder> implements RouteAction.MaxStreamDurationOrBuilder
Protobuf typeenvoy.config.route.v3.RouteAction.MaxStreamDuration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteAction.MaxStreamDuration.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteAction.MaxStreamDurationbuild()RouteAction.MaxStreamDurationbuildPartial()RouteAction.MaxStreamDuration.Builderclear()RouteAction.MaxStreamDuration.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouteAction.MaxStreamDuration.BuilderclearGrpcTimeoutHeaderMax()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.BuilderclearGrpcTimeoutHeaderOffset()If present, Envoy will adjust the timeout provided by the ``grpc-timeout`` header by subtracting the provided duration from the header.RouteAction.MaxStreamDuration.BuilderclearMaxStreamDuration()Specifies the maximum duration allowed for streams on the route.RouteAction.MaxStreamDuration.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouteAction.MaxStreamDuration.Builderclone()RouteAction.MaxStreamDurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetGrpcTimeoutHeaderMax()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.BuildergetGrpcTimeoutHeaderMaxBuilder()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.DurationOrBuildergetGrpcTimeoutHeaderMaxOrBuilder()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.DurationgetGrpcTimeoutHeaderOffset()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.BuildergetGrpcTimeoutHeaderOffsetBuilder()If present, Envoy will adjust the timeout provided by the ``grpc-timeout`` header by subtracting the provided duration from the header.com.google.protobuf.DurationOrBuildergetGrpcTimeoutHeaderOffsetOrBuilder()If present, Envoy will adjust the timeout provided by the ``grpc-timeout`` header by subtracting the provided duration from the header.com.google.protobuf.DurationgetMaxStreamDuration()Specifies the maximum duration allowed for streams on the route.com.google.protobuf.Duration.BuildergetMaxStreamDurationBuilder()Specifies the maximum duration allowed for streams on the route.com.google.protobuf.DurationOrBuildergetMaxStreamDurationOrBuilder()Specifies the maximum duration allowed for streams on the route.booleanhasGrpcTimeoutHeaderMax()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.booleanhasGrpcTimeoutHeaderOffset()If present, Envoy will adjust the timeout provided by the ``grpc-timeout`` header by subtracting the provided duration from the header.booleanhasMaxStreamDuration()Specifies the maximum duration allowed for streams on the route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouteAction.MaxStreamDuration.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouteAction.MaxStreamDuration.BuildermergeFrom(com.google.protobuf.Message other)RouteAction.MaxStreamDuration.BuildermergeFrom(RouteAction.MaxStreamDuration other)RouteAction.MaxStreamDuration.BuildermergeGrpcTimeoutHeaderMax(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.BuildermergeGrpcTimeoutHeaderOffset(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.BuildermergeMaxStreamDuration(com.google.protobuf.Duration value)Specifies the maximum duration allowed for streams on the route.RouteAction.MaxStreamDuration.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouteAction.MaxStreamDuration.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouteAction.MaxStreamDuration.BuildersetGrpcTimeoutHeaderMax(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.BuildersetGrpcTimeoutHeaderMax(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.BuildersetGrpcTimeoutHeaderOffset(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.BuildersetGrpcTimeoutHeaderOffset(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.BuildersetMaxStreamDuration(com.google.protobuf.Duration value)Specifies the maximum duration allowed for streams on the route.RouteAction.MaxStreamDuration.BuildersetMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)Specifies the maximum duration allowed for streams on the route.RouteAction.MaxStreamDuration.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouteAction.MaxStreamDuration.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<RouteAction.MaxStreamDuration.Builder>
-
clear
public RouteAction.MaxStreamDuration.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
getDefaultInstanceForType
public RouteAction.MaxStreamDuration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteAction.MaxStreamDuration build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteAction.MaxStreamDuration buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouteAction.MaxStreamDuration.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
setField
public RouteAction.MaxStreamDuration.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
clearField
public RouteAction.MaxStreamDuration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
clearOneof
public RouteAction.MaxStreamDuration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
setRepeatedField
public RouteAction.MaxStreamDuration.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
addRepeatedField
public RouteAction.MaxStreamDuration.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
mergeFrom
public RouteAction.MaxStreamDuration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.MaxStreamDuration.Builder>
-
mergeFrom
public RouteAction.MaxStreamDuration.Builder mergeFrom(RouteAction.MaxStreamDuration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
mergeFrom
public RouteAction.MaxStreamDuration.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteAction.MaxStreamDuration.Builder>- Throws:
IOException
-
hasMaxStreamDuration
public boolean hasMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route. If not specified, the value from the :ref:`max_stream_duration <envoy_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;- Specified by:
hasMaxStreamDurationin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- Whether the maxStreamDuration field is set.
-
getMaxStreamDuration
public 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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;- Specified by:
getMaxStreamDurationin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- The maxStreamDuration.
-
setMaxStreamDuration
public 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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;
-
setMaxStreamDuration
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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;
-
mergeMaxStreamDuration
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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;
-
clearMaxStreamDuration
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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;
-
getMaxStreamDurationBuilder
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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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
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_v3_api_field_config.core.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.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;- Specified by:
getMaxStreamDurationOrBuilderin interfaceRouteAction.MaxStreamDurationOrBuilder
-
hasGrpcTimeoutHeaderMax
public 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;- Specified by:
hasGrpcTimeoutHeaderMaxin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- Whether the grpcTimeoutHeaderMax field is set.
-
getGrpcTimeoutHeaderMax
public 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;- Specified by:
getGrpcTimeoutHeaderMaxin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- The grpcTimeoutHeaderMax.
-
setGrpcTimeoutHeaderMax
public 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;
-
setGrpcTimeoutHeaderMax
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;
-
mergeGrpcTimeoutHeaderMax
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;
-
clearGrpcTimeoutHeaderMax
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;
-
getGrpcTimeoutHeaderMaxBuilder
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;
-
getGrpcTimeoutHeaderMaxOrBuilder
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;- Specified by:
getGrpcTimeoutHeaderMaxOrBuilderin interfaceRouteAction.MaxStreamDurationOrBuilder
-
hasGrpcTimeoutHeaderOffset
public 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;- Specified by:
hasGrpcTimeoutHeaderOffsetin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- Whether the grpcTimeoutHeaderOffset field is set.
-
getGrpcTimeoutHeaderOffset
public 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;- Specified by:
getGrpcTimeoutHeaderOffsetin interfaceRouteAction.MaxStreamDurationOrBuilder- Returns:
- The grpcTimeoutHeaderOffset.
-
setGrpcTimeoutHeaderOffset
public 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;
-
setGrpcTimeoutHeaderOffset
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;
-
mergeGrpcTimeoutHeaderOffset
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;
-
clearGrpcTimeoutHeaderOffset
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;
-
getGrpcTimeoutHeaderOffsetBuilder
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;
-
getGrpcTimeoutHeaderOffsetOrBuilder
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;- Specified by:
getGrpcTimeoutHeaderOffsetOrBuilderin interfaceRouteAction.MaxStreamDurationOrBuilder
-
setUnknownFields
public final RouteAction.MaxStreamDuration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
mergeUnknownFields
public final RouteAction.MaxStreamDuration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouteAction.MaxStreamDuration.Builder>
-
-