Class QuicProtocolOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
- io.envoyproxy.envoy.api.v2.listener.QuicProtocolOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QuicProtocolOptionsOrBuilder,Cloneable
- Enclosing class:
- QuicProtocolOptions
public static final class QuicProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder> implements QuicProtocolOptionsOrBuilder
Configuration specific to the QUIC protocol. Next id: 4
Protobuf typeenvoy.api.v2.listener.QuicProtocolOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QuicProtocolOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QuicProtocolOptionsbuild()QuicProtocolOptionsbuildPartial()QuicProtocolOptions.Builderclear()QuicProtocolOptions.BuilderclearCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.QuicProtocolOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)QuicProtocolOptions.BuilderclearIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.QuicProtocolOptions.BuilderclearMaxConcurrentStreams()Maximum number of streams that the client can negotiate per connection. 100 if not specified.QuicProtocolOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)QuicProtocolOptions.Builderclone()com.google.protobuf.DurationgetCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.com.google.protobuf.Duration.BuildergetCryptoHandshakeTimeoutBuilder()Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.com.google.protobuf.DurationOrBuildergetCryptoHandshakeTimeoutOrBuilder()Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.QuicProtocolOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.com.google.protobuf.Duration.BuildergetIdleTimeoutBuilder()Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.com.google.protobuf.UInt32ValuegetMaxConcurrentStreams()Maximum number of streams that the client can negotiate per connection. 100 if not specified.com.google.protobuf.UInt32Value.BuildergetMaxConcurrentStreamsBuilder()Maximum number of streams that the client can negotiate per connection. 100 if not specified.com.google.protobuf.UInt32ValueOrBuildergetMaxConcurrentStreamsOrBuilder()Maximum number of streams that the client can negotiate per connection. 100 if not specified.booleanhasCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.booleanhasIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.booleanhasMaxConcurrentStreams()Maximum number of streams that the client can negotiate per connection. 100 if not specified.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()QuicProtocolOptions.BuildermergeCryptoHandshakeTimeout(com.google.protobuf.Duration value)Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.QuicProtocolOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QuicProtocolOptions.BuildermergeFrom(com.google.protobuf.Message other)QuicProtocolOptions.BuildermergeFrom(QuicProtocolOptions other)QuicProtocolOptions.BuildermergeIdleTimeout(com.google.protobuf.Duration value)Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.QuicProtocolOptions.BuildermergeMaxConcurrentStreams(com.google.protobuf.UInt32Value value)Maximum number of streams that the client can negotiate per connection. 100 if not specified.QuicProtocolOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)QuicProtocolOptions.BuildersetCryptoHandshakeTimeout(com.google.protobuf.Duration value)Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.QuicProtocolOptions.BuildersetCryptoHandshakeTimeout(com.google.protobuf.Duration.Builder builderForValue)Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.QuicProtocolOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QuicProtocolOptions.BuildersetIdleTimeout(com.google.protobuf.Duration value)Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.QuicProtocolOptions.BuildersetIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.QuicProtocolOptions.BuildersetMaxConcurrentStreams(com.google.protobuf.UInt32Value value)Maximum number of streams that the client can negotiate per connection. 100 if not specified.QuicProtocolOptions.BuildersetMaxConcurrentStreams(com.google.protobuf.UInt32Value.Builder builderForValue)Maximum number of streams that the client can negotiate per connection. 100 if not specified.QuicProtocolOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)QuicProtocolOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
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.Builder<QuicProtocolOptions.Builder>
-
clear
public QuicProtocolOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
getDefaultInstanceForType
public QuicProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QuicProtocolOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QuicProtocolOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QuicProtocolOptions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
setField
public QuicProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
clearField
public QuicProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
clearOneof
public QuicProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
setRepeatedField
public QuicProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
addRepeatedField
public QuicProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
mergeFrom
public QuicProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuicProtocolOptions.Builder>
-
mergeFrom
public QuicProtocolOptions.Builder mergeFrom(QuicProtocolOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
mergeFrom
public QuicProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuicProtocolOptions.Builder>- Throws:
IOException
-
hasMaxConcurrentStreams
public boolean hasMaxConcurrentStreams()
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;- Specified by:
hasMaxConcurrentStreamsin interfaceQuicProtocolOptionsOrBuilder- Returns:
- Whether the maxConcurrentStreams field is set.
-
getMaxConcurrentStreams
public com.google.protobuf.UInt32Value getMaxConcurrentStreams()
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;- Specified by:
getMaxConcurrentStreamsin interfaceQuicProtocolOptionsOrBuilder- Returns:
- The maxConcurrentStreams.
-
setMaxConcurrentStreams
public QuicProtocolOptions.Builder setMaxConcurrentStreams(com.google.protobuf.UInt32Value value)
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;
-
setMaxConcurrentStreams
public QuicProtocolOptions.Builder setMaxConcurrentStreams(com.google.protobuf.UInt32Value.Builder builderForValue)
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;
-
mergeMaxConcurrentStreams
public QuicProtocolOptions.Builder mergeMaxConcurrentStreams(com.google.protobuf.UInt32Value value)
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;
-
clearMaxConcurrentStreams
public QuicProtocolOptions.Builder clearMaxConcurrentStreams()
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;
-
getMaxConcurrentStreamsBuilder
public com.google.protobuf.UInt32Value.Builder getMaxConcurrentStreamsBuilder()
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;
-
getMaxConcurrentStreamsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentStreamsOrBuilder()
Maximum number of streams that the client can negotiate per connection. 100 if not specified.
.google.protobuf.UInt32Value max_concurrent_streams = 1;- Specified by:
getMaxConcurrentStreamsOrBuilderin interfaceQuicProtocolOptionsOrBuilder
-
hasIdleTimeout
public boolean hasIdleTimeout()
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;- Specified by:
hasIdleTimeoutin interfaceQuicProtocolOptionsOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;- Specified by:
getIdleTimeoutin interfaceQuicProtocolOptionsOrBuilder- Returns:
- The idleTimeout.
-
setIdleTimeout
public QuicProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration value)
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
-
setIdleTimeout
public QuicProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
-
mergeIdleTimeout
public QuicProtocolOptions.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
-
clearIdleTimeout
public QuicProtocolOptions.Builder clearIdleTimeout()
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
-
getIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
Maximum number of milliseconds that connection will be alive when there is no network activity. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;- Specified by:
getIdleTimeoutOrBuilderin interfaceQuicProtocolOptionsOrBuilder
-
hasCryptoHandshakeTimeout
public boolean hasCryptoHandshakeTimeout()
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;- Specified by:
hasCryptoHandshakeTimeoutin interfaceQuicProtocolOptionsOrBuilder- Returns:
- Whether the cryptoHandshakeTimeout field is set.
-
getCryptoHandshakeTimeout
public com.google.protobuf.Duration getCryptoHandshakeTimeout()
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;- Specified by:
getCryptoHandshakeTimeoutin interfaceQuicProtocolOptionsOrBuilder- Returns:
- The cryptoHandshakeTimeout.
-
setCryptoHandshakeTimeout
public QuicProtocolOptions.Builder setCryptoHandshakeTimeout(com.google.protobuf.Duration value)
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
-
setCryptoHandshakeTimeout
public QuicProtocolOptions.Builder setCryptoHandshakeTimeout(com.google.protobuf.Duration.Builder builderForValue)
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
-
mergeCryptoHandshakeTimeout
public QuicProtocolOptions.Builder mergeCryptoHandshakeTimeout(com.google.protobuf.Duration value)
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
-
clearCryptoHandshakeTimeout
public QuicProtocolOptions.Builder clearCryptoHandshakeTimeout()
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
-
getCryptoHandshakeTimeoutBuilder
public com.google.protobuf.Duration.Builder getCryptoHandshakeTimeoutBuilder()
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
-
getCryptoHandshakeTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getCryptoHandshakeTimeoutOrBuilder()
Connection timeout in milliseconds before the crypto handshake is finished. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;- Specified by:
getCryptoHandshakeTimeoutOrBuilderin interfaceQuicProtocolOptionsOrBuilder
-
setUnknownFields
public final QuicProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
mergeUnknownFields
public final QuicProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QuicProtocolOptions.Builder>
-
-