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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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_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.MaxStreamDurationOrBuilder
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_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.MaxStreamDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxStreamDurationOrBuilder()
Specifies the maximum duration allowed for streams on the route. If not specified, the value from the :ref:`max_stream_duration <envoy_api_field_config.core.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.MaxStreamDurationOrBuilder
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;
hasGrpcTimeoutHeaderMax
in interface RouteAction.MaxStreamDurationOrBuilder
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;
getGrpcTimeoutHeaderMax
in interface RouteAction.MaxStreamDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getGrpcTimeoutHeaderMaxOrBuilder()
If present, and the request contains a `grpc-timeout header <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md>`_, use that value as the *max_stream_duration*, but limit the applied timeout to the maximum value specified here. If set to 0, the `grpc-timeout` header is used without modification.
.google.protobuf.Duration grpc_timeout_header_max = 2;
getGrpcTimeoutHeaderMaxOrBuilder
in interface RouteAction.MaxStreamDurationOrBuilder
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;
hasGrpcTimeoutHeaderOffset
in interface RouteAction.MaxStreamDurationOrBuilder
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;
getGrpcTimeoutHeaderOffset
in interface RouteAction.MaxStreamDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getGrpcTimeoutHeaderOffsetOrBuilder()
If present, Envoy will adjust the timeout provided by the `grpc-timeout` header by subtracting the provided duration from the header. This is useful for allowing Envoy to set its global timeout to be less than that of the deadline imposed by the calling client, which makes it more likely that Envoy will handle the timeout instead of having the call canceled by the client. If, after applying the offset, the resulting timeout is zero or negative, the stream will timeout immediately.
.google.protobuf.Duration grpc_timeout_header_offset = 3;
getGrpcTimeoutHeaderOffsetOrBuilder
in interface RouteAction.MaxStreamDurationOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RouteAction.MaxStreamDuration parseFrom(InputStream input) throws IOException
IOException
public static RouteAction.MaxStreamDuration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RouteAction.MaxStreamDuration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RouteAction.MaxStreamDuration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RouteAction.MaxStreamDuration.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RouteAction.MaxStreamDuration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RouteAction.MaxStreamDuration getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018–2021 The Envoy Project. All rights reserved.