Class RouteAction.MaxStreamDuration
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.route.v3.RouteAction.MaxStreamDuration
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteAction.MaxStreamDurationOrBuilder,Serializable
- Enclosing class:
- RouteAction
public static final class RouteAction.MaxStreamDuration extends com.google.protobuf.GeneratedMessageV3 implements RouteAction.MaxStreamDurationOrBuilder
Protobuf typeenvoy.config.route.v3.RouteAction.MaxStreamDuration- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouteAction.MaxStreamDuration.BuilderProtobuf typeenvoy.config.route.v3.RouteAction.MaxStreamDuration-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intGRPC_TIMEOUT_HEADER_MAX_FIELD_NUMBERstatic intGRPC_TIMEOUT_HEADER_OFFSET_FIELD_NUMBERstatic intMAX_STREAM_DURATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RouteAction.MaxStreamDurationgetDefaultInstance()RouteAction.MaxStreamDurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.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.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.DurationOrBuildergetMaxStreamDurationOrBuilder()Specifies the maximum duration allowed for streams on the route.com.google.protobuf.Parser<RouteAction.MaxStreamDuration>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()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.inthashCode()booleanhasMaxStreamDuration()Specifies the maximum duration allowed for streams on the route.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RouteAction.MaxStreamDuration.BuildernewBuilder()static RouteAction.MaxStreamDuration.BuildernewBuilder(RouteAction.MaxStreamDuration prototype)RouteAction.MaxStreamDuration.BuildernewBuilderForType()protected RouteAction.MaxStreamDuration.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RouteAction.MaxStreamDurationparseDelimitedFrom(InputStream input)static RouteAction.MaxStreamDurationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteAction.MaxStreamDurationparseFrom(byte[] data)static RouteAction.MaxStreamDurationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteAction.MaxStreamDurationparseFrom(com.google.protobuf.ByteString data)static RouteAction.MaxStreamDurationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteAction.MaxStreamDurationparseFrom(com.google.protobuf.CodedInputStream input)static RouteAction.MaxStreamDurationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteAction.MaxStreamDurationparseFrom(InputStream input)static RouteAction.MaxStreamDurationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouteAction.MaxStreamDurationparseFrom(ByteBuffer data)static RouteAction.MaxStreamDurationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RouteAction.MaxStreamDuration>parser()RouteAction.MaxStreamDuration.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MAX_STREAM_DURATION_FIELD_NUMBER
public static final int MAX_STREAM_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRPC_TIMEOUT_HEADER_MAX_FIELD_NUMBER
public static final int GRPC_TIMEOUT_HEADER_MAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GRPC_TIMEOUT_HEADER_OFFSET_FIELD_NUMBER
public static final int GRPC_TIMEOUT_HEADER_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RouteAction.MaxStreamDuration.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouteAction.MaxStreamDuration.Builder newBuilder()
-
newBuilder
public static RouteAction.MaxStreamDuration.Builder newBuilder(RouteAction.MaxStreamDuration prototype)
-
toBuilder
public RouteAction.MaxStreamDuration.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouteAction.MaxStreamDuration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouteAction.MaxStreamDuration getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouteAction.MaxStreamDuration> parser()
-
getParserForType
public com.google.protobuf.Parser<RouteAction.MaxStreamDuration> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouteAction.MaxStreamDuration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-