public static final class RouteAction.MaxStreamDuration extends com.google.protobuf.GeneratedMessageV3 implements RouteAction.MaxStreamDurationOrBuilder
envoy.config.route.v3.RouteAction.MaxStreamDuration| Modifier and Type | Class and Description |
|---|---|
static class |
RouteAction.MaxStreamDuration.Builder
Protobuf type
envoy.config.route.v3.RouteAction.MaxStreamDuration |
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| Modifier and Type | Field and Description |
|---|---|
static int |
GRPC_TIMEOUT_HEADER_MAX_FIELD_NUMBER |
static int |
GRPC_TIMEOUT_HEADER_OFFSET_FIELD_NUMBER |
static int |
MAX_STREAM_DURATION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteAction.MaxStreamDuration |
getDefaultInstance() |
RouteAction.MaxStreamDuration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Duration |
getGrpcTimeoutHeaderMax()
If present, and the request contains a `grpc-timeout header
<https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
*max_stream_duration*, but limit the applied timeout to the maximum value specified here.
|
com.google.protobuf.DurationOrBuilder |
getGrpcTimeoutHeaderMaxOrBuilder()
If present, and the request contains a `grpc-timeout header
<https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the
*max_stream_duration*, but limit the applied timeout to the maximum value specified here.
|
com.google.protobuf.Duration |
getGrpcTimeoutHeaderOffset()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
com.google.protobuf.DurationOrBuilder |
getGrpcTimeoutHeaderOffsetOrBuilder()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by
subtracting the provided duration from the header.
|
com.google.protobuf.Duration |
getMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route.
|
com.google.protobuf.DurationOrBuilder |
getMaxStreamDurationOrBuilder()
Specifies the maximum duration allowed for streams on the route.
|
com.google.protobuf.Parser<RouteAction.MaxStreamDuration> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasMaxStreamDuration()
Specifies the maximum duration allowed for streams on the route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteAction.MaxStreamDuration.Builder |
newBuilder() |
static RouteAction.MaxStreamDuration.Builder |
newBuilder(RouteAction.MaxStreamDuration prototype) |
RouteAction.MaxStreamDuration.Builder |
newBuilderForType() |
protected RouteAction.MaxStreamDuration.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteAction.MaxStreamDuration |
parseDelimitedFrom(InputStream input) |
static RouteAction.MaxStreamDuration |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.MaxStreamDuration |
parseFrom(byte[] data) |
static RouteAction.MaxStreamDuration |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.MaxStreamDuration |
parseFrom(ByteBuffer data) |
static RouteAction.MaxStreamDuration |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.MaxStreamDuration |
parseFrom(com.google.protobuf.ByteString data) |
static RouteAction.MaxStreamDuration |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.MaxStreamDuration |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteAction.MaxStreamDuration |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteAction.MaxStreamDuration |
parseFrom(InputStream input) |
static RouteAction.MaxStreamDuration |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteAction.MaxStreamDuration> |
parser() |
RouteAction.MaxStreamDuration.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MAX_STREAM_DURATION_FIELD_NUMBER
public static final int GRPC_TIMEOUT_HEADER_MAX_FIELD_NUMBER
public static final int GRPC_TIMEOUT_HEADER_OFFSET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_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;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.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_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;getMaxStreamDuration in interface RouteAction.MaxStreamDurationOrBuilderpublic 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.v3.HttpProtocolOptions.max_stream_duration>` field in :ref:`HttpConnectionManager.common_http_protocol_options <envoy_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 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 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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteAction.MaxStreamDuration parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteAction.MaxStreamDuration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteAction.MaxStreamDuration.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteAction.MaxStreamDuration.Builder newBuilder()
public static RouteAction.MaxStreamDuration.Builder newBuilder(RouteAction.MaxStreamDuration prototype)
public RouteAction.MaxStreamDuration.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteAction.MaxStreamDuration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteAction.MaxStreamDuration getDefaultInstance()
public static com.google.protobuf.Parser<RouteAction.MaxStreamDuration> parser()
public com.google.protobuf.Parser<RouteAction.MaxStreamDuration> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteAction.MaxStreamDuration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.