Class AlternateProtocolsCacheOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
- io.envoyproxy.envoy.config.core.v3.AlternateProtocolsCacheOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AlternateProtocolsCacheOptionsOrBuilder,Cloneable
- Enclosing class:
- AlternateProtocolsCacheOptions
public static final class AlternateProtocolsCacheOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder> implements AlternateProtocolsCacheOptionsOrBuilder
Configures the alternate protocols cache which tracks alternate protocols that can be used to make an HTTP connection to an origin server. See https://tools.ietf.org/html/rfc7838 for HTTP Alternative Services and https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-04 for the "HTTPS" DNS resource record.
Protobuf typeenvoy.config.core.v3.AlternateProtocolsCacheOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AlternateProtocolsCacheOptions.BuilderaddAllPrepopulatedEntries(Iterable<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> values)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuilderaddPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuilderaddPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuilderaddPrepopulatedEntries(AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuilderaddPrepopulatedEntries(AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.BuilderaddPrepopulatedEntriesBuilder()Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.BuilderaddPrepopulatedEntriesBuilder(int index)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlternateProtocolsCacheOptionsbuild()AlternateProtocolsCacheOptionsbuildPartial()AlternateProtocolsCacheOptions.Builderclear()AlternateProtocolsCacheOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AlternateProtocolsCacheOptions.BuilderclearKeyValueStoreConfig()Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.AlternateProtocolsCacheOptions.BuilderclearMaxEntries()The maximum number of entries that the cache will hold.AlternateProtocolsCacheOptions.BuilderclearName()The name of the cache.AlternateProtocolsCacheOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AlternateProtocolsCacheOptions.BuilderclearPrepopulatedEntries()Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.Builderclone()AlternateProtocolsCacheOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()TypedExtensionConfiggetKeyValueStoreConfig()Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.TypedExtensionConfig.BuildergetKeyValueStoreConfigBuilder()Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.TypedExtensionConfigOrBuildergetKeyValueStoreConfigOrBuilder()Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.com.google.protobuf.UInt32ValuegetMaxEntries()The maximum number of entries that the cache will hold.com.google.protobuf.UInt32Value.BuildergetMaxEntriesBuilder()The maximum number of entries that the cache will hold.com.google.protobuf.UInt32ValueOrBuildergetMaxEntriesOrBuilder()The maximum number of entries that the cache will hold.StringgetName()The name of the cache.com.google.protobuf.ByteStringgetNameBytes()The name of the cache.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntrygetPrepopulatedEntries(int index)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.BuildergetPrepopulatedEntriesBuilder(int index)Allows pre-populating the cache with entries, as described above.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder>getPrepopulatedEntriesBuilderList()Allows pre-populating the cache with entries, as described above.intgetPrepopulatedEntriesCount()Allows pre-populating the cache with entries, as described above.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry>getPrepopulatedEntriesList()Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuildergetPrepopulatedEntriesOrBuilder(int index)Allows pre-populating the cache with entries, as described above.List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder>getPrepopulatedEntriesOrBuilderList()Allows pre-populating the cache with entries, as described above.booleanhasKeyValueStoreConfig()Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.booleanhasMaxEntries()The maximum number of entries that the cache will hold.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AlternateProtocolsCacheOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AlternateProtocolsCacheOptions.BuildermergeFrom(com.google.protobuf.Message other)AlternateProtocolsCacheOptions.BuildermergeFrom(AlternateProtocolsCacheOptions other)AlternateProtocolsCacheOptions.BuildermergeKeyValueStoreConfig(TypedExtensionConfig value)Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.AlternateProtocolsCacheOptions.BuildermergeMaxEntries(com.google.protobuf.UInt32Value value)The maximum number of entries that the cache will hold.AlternateProtocolsCacheOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AlternateProtocolsCacheOptions.BuilderremovePrepopulatedEntries(int index)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlternateProtocolsCacheOptions.BuildersetKeyValueStoreConfig(TypedExtensionConfig value)Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.AlternateProtocolsCacheOptions.BuildersetKeyValueStoreConfig(TypedExtensionConfig.Builder builderForValue)Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.AlternateProtocolsCacheOptions.BuildersetMaxEntries(com.google.protobuf.UInt32Value value)The maximum number of entries that the cache will hold.AlternateProtocolsCacheOptions.BuildersetMaxEntries(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum number of entries that the cache will hold.AlternateProtocolsCacheOptions.BuildersetName(String value)The name of the cache.AlternateProtocolsCacheOptions.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the cache.AlternateProtocolsCacheOptions.BuildersetPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuildersetPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
clear
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
getDefaultInstanceForType
public AlternateProtocolsCacheOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlternateProtocolsCacheOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlternateProtocolsCacheOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
setField
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
clearField
public AlternateProtocolsCacheOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
clearOneof
public AlternateProtocolsCacheOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
setRepeatedField
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
addRepeatedField
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>
-
mergeFrom
public AlternateProtocolsCacheOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlternateProtocolsCacheOptions.Builder>
-
mergeFrom
public AlternateProtocolsCacheOptions.Builder mergeFrom(AlternateProtocolsCacheOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
mergeFrom
public AlternateProtocolsCacheOptions.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<AlternateProtocolsCacheOptions.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNamein interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Specified by:
getNameBytesin interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- The bytes for name.
-
setName
public AlternateProtocolsCacheOptions.Builder setName(String value)
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AlternateProtocolsCacheOptions.Builder clearName()
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public AlternateProtocolsCacheOptions.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasMaxEntries
public boolean hasMaxEntries()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }- Specified by:
hasMaxEntriesin interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- Whether the maxEntries field is set.
-
getMaxEntries
public com.google.protobuf.UInt32Value getMaxEntries()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }- Specified by:
getMaxEntriesin interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- The maxEntries.
-
setMaxEntries
public AlternateProtocolsCacheOptions.Builder setMaxEntries(com.google.protobuf.UInt32Value value)
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
-
setMaxEntries
public AlternateProtocolsCacheOptions.Builder setMaxEntries(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
-
mergeMaxEntries
public AlternateProtocolsCacheOptions.Builder mergeMaxEntries(com.google.protobuf.UInt32Value value)
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
-
clearMaxEntries
public AlternateProtocolsCacheOptions.Builder clearMaxEntries()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
-
getMaxEntriesBuilder
public com.google.protobuf.UInt32Value.Builder getMaxEntriesBuilder()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
-
getMaxEntriesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }- Specified by:
getMaxEntriesOrBuilderin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
hasKeyValueStoreConfig
public boolean hasKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;- Specified by:
hasKeyValueStoreConfigin interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- Whether the keyValueStoreConfig field is set.
-
getKeyValueStoreConfig
public TypedExtensionConfig getKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;- Specified by:
getKeyValueStoreConfigin interfaceAlternateProtocolsCacheOptionsOrBuilder- Returns:
- The keyValueStoreConfig.
-
setKeyValueStoreConfig
public AlternateProtocolsCacheOptions.Builder setKeyValueStoreConfig(TypedExtensionConfig value)
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
-
setKeyValueStoreConfig
public AlternateProtocolsCacheOptions.Builder setKeyValueStoreConfig(TypedExtensionConfig.Builder builderForValue)
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
-
mergeKeyValueStoreConfig
public AlternateProtocolsCacheOptions.Builder mergeKeyValueStoreConfig(TypedExtensionConfig value)
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
-
clearKeyValueStoreConfig
public AlternateProtocolsCacheOptions.Builder clearKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
-
getKeyValueStoreConfigBuilder
public TypedExtensionConfig.Builder getKeyValueStoreConfigBuilder()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
-
getKeyValueStoreConfigOrBuilder
public TypedExtensionConfigOrBuilder getKeyValueStoreConfigOrBuilder()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;- Specified by:
getKeyValueStoreConfigOrBuilderin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesList
public List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> getPrepopulatedEntriesList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;- Specified by:
getPrepopulatedEntriesListin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesCount
public int getPrepopulatedEntriesCount()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;- Specified by:
getPrepopulatedEntriesCountin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntries
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry getPrepopulatedEntries(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;- Specified by:
getPrepopulatedEntriesin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
setPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder setPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
setPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder setPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder addPrepopulatedEntries(AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder addPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry value)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder addPrepopulatedEntries(AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder addPrepopulatedEntries(int index, AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder builderForValue)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addAllPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder addAllPrepopulatedEntries(Iterable<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> values)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
clearPrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder clearPrepopulatedEntries()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
removePrepopulatedEntries
public AlternateProtocolsCacheOptions.Builder removePrepopulatedEntries(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
getPrepopulatedEntriesBuilder
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder getPrepopulatedEntriesBuilder(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
getPrepopulatedEntriesOrBuilder
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder getPrepopulatedEntriesOrBuilder(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;- Specified by:
getPrepopulatedEntriesOrBuilderin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesOrBuilderList
public List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder> getPrepopulatedEntriesOrBuilderList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;- Specified by:
getPrepopulatedEntriesOrBuilderListin interfaceAlternateProtocolsCacheOptionsOrBuilder
-
addPrepopulatedEntriesBuilder
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder addPrepopulatedEntriesBuilder()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
addPrepopulatedEntriesBuilder
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder addPrepopulatedEntriesBuilder(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
getPrepopulatedEntriesBuilderList
public List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry.Builder> getPrepopulatedEntriesBuilderList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
-
setUnknownFields
public final AlternateProtocolsCacheOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
mergeUnknownFields
public final AlternateProtocolsCacheOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlternateProtocolsCacheOptions.Builder>
-
-