Class RouteAction.MaxStreamDuration.Builder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bitField0_  
      private com.google.protobuf.Duration grpcTimeoutHeaderMax_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> grpcTimeoutHeaderMaxBuilder_  
      private com.google.protobuf.Duration grpcTimeoutHeaderOffset_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> grpcTimeoutHeaderOffsetBuilder_  
      private com.google.protobuf.Duration maxStreamDuration_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> maxStreamDurationBuilder_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RouteAction.MaxStreamDuration build()  
      RouteAction.MaxStreamDuration buildPartial()  
      private void buildPartial0​(RouteAction.MaxStreamDuration result)  
      RouteAction.MaxStreamDuration.Builder clear()  
      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 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.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGrpcTimeoutHeaderMaxFieldBuilder()
      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.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGrpcTimeoutHeaderOffsetFieldBuilder()
      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.
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getMaxStreamDurationFieldBuilder()
      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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      private void maybeForceBuilderInitialization()  
      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 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 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 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 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 setMaxStreamDuration​(com.google.protobuf.Duration value)
      Specifies the maximum duration allowed for streams on the route.
      RouteAction.MaxStreamDuration.Builder setMaxStreamDuration​(com.google.protobuf.Duration.Builder builderForValue)
      Specifies the maximum duration allowed for streams on the route.
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • maxStreamDuration_

        private com.google.protobuf.Duration maxStreamDuration_
      • maxStreamDurationBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> maxStreamDurationBuilder_
      • grpcTimeoutHeaderMax_

        private com.google.protobuf.Duration grpcTimeoutHeaderMax_
      • grpcTimeoutHeaderMaxBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> grpcTimeoutHeaderMaxBuilder_
      • grpcTimeoutHeaderOffset_

        private com.google.protobuf.Duration grpcTimeoutHeaderOffset_
      • grpcTimeoutHeaderOffsetBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> grpcTimeoutHeaderOffsetBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RouteAction.MaxStreamDuration.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RouteAction.MaxStreamDuration.Builder>
      • getDefaultInstanceForType

        public RouteAction.MaxStreamDuration getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RouteAction.MaxStreamDuration build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RouteAction.MaxStreamDuration buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RouteAction.MaxStreamDuration.Builder>
      • mergeFrom

        public RouteAction.MaxStreamDuration.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteAction.MaxStreamDuration.Builder>
        Throws:
        java.io.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:
        hasMaxStreamDuration in interface RouteAction.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:
        getMaxStreamDuration in interface RouteAction.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:
        getMaxStreamDurationOrBuilder in interface RouteAction.MaxStreamDurationOrBuilder
      • getMaxStreamDurationFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getMaxStreamDurationFieldBuilder()
         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;
      • 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:
        hasGrpcTimeoutHeaderMax in interface RouteAction.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:
        getGrpcTimeoutHeaderMax in interface RouteAction.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:
        getGrpcTimeoutHeaderMaxOrBuilder in interface RouteAction.MaxStreamDurationOrBuilder
      • getGrpcTimeoutHeaderMaxFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGrpcTimeoutHeaderMaxFieldBuilder()
         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;
      • 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:
        hasGrpcTimeoutHeaderOffset in interface RouteAction.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:
        getGrpcTimeoutHeaderOffset in interface RouteAction.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:
        getGrpcTimeoutHeaderOffsetOrBuilder in interface RouteAction.MaxStreamDurationOrBuilder
      • getGrpcTimeoutHeaderOffsetFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGrpcTimeoutHeaderOffsetFieldBuilder()
         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;