public final class Http2ProtocolOptions extends com.google.protobuf.GeneratedMessageV3 implements Http2ProtocolOptionsOrBuilder
envoy.api.v2.core.Http2ProtocolOptions| Modifier and Type | Class and Description |
|---|---|
static class |
Http2ProtocolOptions.Builder
Protobuf type
envoy.api.v2.core.Http2ProtocolOptions |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_CONNECT_FIELD_NUMBER |
static int |
ALLOW_METADATA_FIELD_NUMBER |
static int |
HPACK_TABLE_SIZE_FIELD_NUMBER |
static int |
INITIAL_CONNECTION_WINDOW_SIZE_FIELD_NUMBER |
static int |
INITIAL_STREAM_WINDOW_SIZE_FIELD_NUMBER |
static int |
MAX_CONCURRENT_STREAMS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowConnect()
Allows proxying Websocket and other upgrades over H2 connect.
|
boolean |
getAllowMetadata()
[#not-implemented-hide:] Hiding until envoy has full metadata support.
|
static Http2ProtocolOptions |
getDefaultInstance() |
Http2ProtocolOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.UInt32Value |
getHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
com.google.protobuf.UInt32ValueOrBuilder |
getHpackTableSizeOrBuilder()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
com.google.protobuf.UInt32Value |
getInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
com.google.protobuf.UInt32ValueOrBuilder |
getInitialConnectionWindowSizeOrBuilder()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
com.google.protobuf.UInt32Value |
getInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
com.google.protobuf.UInt32ValueOrBuilder |
getInitialStreamWindowSizeOrBuilder()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
com.google.protobuf.UInt32Value |
getMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
com.google.protobuf.Parser<Http2ProtocolOptions> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_
(in octets) that the encoder is permitted to use for the dynamic HPACK table.
|
boolean |
hasInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control
window.
|
boolean |
hasInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the
HTTP/2 codec buffers.
|
boolean |
hasMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_
allowed for peer on one HTTP/2 connection.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Http2ProtocolOptions.Builder |
newBuilder() |
static Http2ProtocolOptions.Builder |
newBuilder(Http2ProtocolOptions prototype) |
Http2ProtocolOptions.Builder |
newBuilderForType() |
protected Http2ProtocolOptions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Http2ProtocolOptions |
parseDelimitedFrom(InputStream input) |
static Http2ProtocolOptions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Http2ProtocolOptions |
parseFrom(byte[] data) |
static Http2ProtocolOptions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Http2ProtocolOptions |
parseFrom(ByteBuffer data) |
static Http2ProtocolOptions |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Http2ProtocolOptions |
parseFrom(com.google.protobuf.ByteString data) |
static Http2ProtocolOptions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Http2ProtocolOptions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Http2ProtocolOptions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Http2ProtocolOptions |
parseFrom(InputStream input) |
static Http2ProtocolOptions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Http2ProtocolOptions> |
parser() |
Http2ProtocolOptions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 HPACK_TABLE_SIZE_FIELD_NUMBER
public static final int MAX_CONCURRENT_STREAMS_FIELD_NUMBER
public static final int INITIAL_STREAM_WINDOW_SIZE_FIELD_NUMBER
public static final int INITIAL_CONNECTION_WINDOW_SIZE_FIELD_NUMBER
public static final int ALLOW_CONNECT_FIELD_NUMBER
public static final int ALLOW_METADATA_FIELD_NUMBER
public 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 hasHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;hasHpackTableSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32Value getHpackTableSize()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;getHpackTableSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getHpackTableSizeOrBuilder()
`Maximum table size <http://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;getHpackTableSizeOrBuilder in interface Http2ProtocolOptionsOrBuilderpublic boolean hasMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }hasMaxConcurrentStreams in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32Value getMaxConcurrentStreams()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }getMaxConcurrentStreams in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <http://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }getMaxConcurrentStreamsOrBuilder in interface Http2ProtocolOptionsOrBuilderpublic boolean hasInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }hasInitialStreamWindowSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32Value getInitialStreamWindowSize()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }getInitialStreamWindowSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getInitialStreamWindowSizeOrBuilder()
This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }getInitialStreamWindowSizeOrBuilder in interface Http2ProtocolOptionsOrBuilderpublic boolean hasInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }hasInitialConnectionWindowSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32Value getInitialConnectionWindowSize()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }getInitialConnectionWindowSize in interface Http2ProtocolOptionsOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getInitialConnectionWindowSizeOrBuilder()
Similar to *initial_stream_window_size*, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as *initial_stream_window_size*.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }getInitialConnectionWindowSizeOrBuilder in interface Http2ProtocolOptionsOrBuilderpublic boolean getAllowConnect()
Allows proxying Websocket and other upgrades over H2 connect.
bool allow_connect = 5;getAllowConnect in interface Http2ProtocolOptionsOrBuilderpublic boolean getAllowMetadata()
[#not-implemented-hide:] Hiding until envoy has full metadata support. Still under implementation. DO NOT USE. Allows metadata. See [metadata docs](https://github.com/envoyproxy/envoy/blob/master/source/docs/h2_metadata.md) for more information.
bool allow_metadata = 6;getAllowMetadata in interface Http2ProtocolOptionsOrBuilderpublic 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 Http2ProtocolOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Http2ProtocolOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Http2ProtocolOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Http2ProtocolOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Http2ProtocolOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Http2ProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Http2ProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Http2ProtocolOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Http2ProtocolOptions.Builder newBuilder()
public static Http2ProtocolOptions.Builder newBuilder(Http2ProtocolOptions prototype)
public Http2ProtocolOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Http2ProtocolOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Http2ProtocolOptions getDefaultInstance()
public static com.google.protobuf.Parser<Http2ProtocolOptions> parser()
public com.google.protobuf.Parser<Http2ProtocolOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Http2ProtocolOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2019 The Envoy Project. All rights reserved.