Class Config.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
io.envoyproxy.envoy.extensions.transport_sockets.tls.cert_selectors.on_demand_secret.v3.Config.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConfigOrBuilder,Cloneable
- Enclosing class:
- Config
public static final class Config.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
implements ConfigOrBuilder
Fetches the secret on-demand while allowing the parent cluster or listener to accept connections without warming. During the handshake, a secret name is derived from the peer hello message, an SDS resource request starts, and the handshake is paused. Once an SDS response is received with a resource, the handshake is resumed with the provided certificate. If the SDS server indicates the resource removal, the handshake is failed, and the SDS subscription to the resource is stopped. Similar to the regular SDS, the certificate is configured using the outer common TLS context, e.g. by setting the FIPS compliance policy on the loaded certificate.Protobuf type
envoy.extensions.transport_sockets.tls.cert_selectors.on_demand_secret.v3.Config-
Method Summary
Modifier and TypeMethodDescriptionaddAllPrefetchSecretNames(Iterable<String> values) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).addPrefetchSecretNames(String value) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).addPrefetchSecretNamesBytes(com.google.protobuf.ByteString value) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Extension point to specify a function to compute the secret name.Defines the configuration source of the secrets.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).clone()Extension point to specify a function to compute the secret name.Extension point to specify a function to compute the secret name.Extension point to specify a function to compute the secret name.Defines the configuration source of the secrets.Defines the configuration source of the secrets.Defines the configuration source of the secrets.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPrefetchSecretNames(int index) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).com.google.protobuf.ByteStringgetPrefetchSecretNamesBytes(int index) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).intA list of secret resource names to start fetching on configuration load (prior to receiving any requests).com.google.protobuf.ProtocolStringListA list of secret resource names to start fetching on configuration load (prior to receiving any requests).booleanExtension point to specify a function to compute the secret name.booleanDefines the configuration source of the secrets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanExtension point to specify a function to compute the secret name.mergeConfigSource(ConfigSource value) Defines the configuration source of the secrets.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Config.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Extension point to specify a function to compute the secret name.setCertificateMapper(TypedExtensionConfig.Builder builderForValue) Extension point to specify a function to compute the secret name.setConfigSource(ConfigSource value) Defines the configuration source of the secrets.setConfigSource(ConfigSource.Builder builderForValue) Defines the configuration source of the secrets.setPrefetchSecretNames(int index, String value) A list of secret resource names to start fetching on configuration load (prior to receiving any requests).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final Config.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Config.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<Config.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<Config.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<Config.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
setRepeatedField
public Config.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<Config.Builder>
-
addRepeatedField
public Config.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<Config.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Config.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
mergeFrom
public Config.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<Config.Builder>- Throws:
IOException
-
hasConfigSource
public boolean hasConfigSource()Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }- Specified by:
hasConfigSourcein interfaceConfigOrBuilder- Returns:
- Whether the configSource field is set.
-
getConfigSource
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }- Specified by:
getConfigSourcein interfaceConfigOrBuilder- Returns:
- The configSource.
-
setConfigSource
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... } -
setConfigSource
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... } -
mergeConfigSource
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... } -
clearConfigSource
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... } -
getConfigSourceBuilder
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... } -
getConfigSourceOrBuilder
Defines the configuration source of the secrets.
.envoy.config.core.v3.ConfigSource config_source = 1 [(.validate.rules) = { ... }- Specified by:
getConfigSourceOrBuilderin interfaceConfigOrBuilder
-
hasCertificateMapper
public boolean hasCertificateMapper()Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... }- Specified by:
hasCertificateMapperin interfaceConfigOrBuilder- Returns:
- Whether the certificateMapper field is set.
-
getCertificateMapper
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... }- Specified by:
getCertificateMapperin interfaceConfigOrBuilder- Returns:
- The certificateMapper.
-
setCertificateMapper
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... } -
setCertificateMapper
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... } -
mergeCertificateMapper
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... } -
clearCertificateMapper
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... } -
getCertificateMapperBuilder
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... } -
getCertificateMapperOrBuilder
Extension point to specify a function to compute the secret name. The extension is called during the TLS handshake after receiving the "CLIENT HELLO" message from the client. [#extension-category: envoy.tls.certificate_mappers]
.envoy.config.core.v3.TypedExtensionConfig certificate_mapper = 2 [(.validate.rules) = { ... }- Specified by:
getCertificateMapperOrBuilderin interfaceConfigOrBuilder
-
getPrefetchSecretNamesList
public com.google.protobuf.ProtocolStringList getPrefetchSecretNamesList()A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Specified by:
getPrefetchSecretNamesListin interfaceConfigOrBuilder- Returns:
- A list containing the prefetchSecretNames.
-
getPrefetchSecretNamesCount
public int getPrefetchSecretNamesCount()A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Specified by:
getPrefetchSecretNamesCountin interfaceConfigOrBuilder- Returns:
- The count of prefetchSecretNames.
-
getPrefetchSecretNames
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Specified by:
getPrefetchSecretNamesin interfaceConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The prefetchSecretNames at the given index.
-
getPrefetchSecretNamesBytes
public com.google.protobuf.ByteString getPrefetchSecretNamesBytes(int index) A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Specified by:
getPrefetchSecretNamesBytesin interfaceConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the prefetchSecretNames at the given index.
-
setPrefetchSecretNames
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Parameters:
index- The index to set the value at.value- The prefetchSecretNames to set.- Returns:
- This builder for chaining.
-
addPrefetchSecretNames
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Parameters:
value- The prefetchSecretNames to add.- Returns:
- This builder for chaining.
-
addAllPrefetchSecretNames
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Parameters:
values- The prefetchSecretNames to add.- Returns:
- This builder for chaining.
-
clearPrefetchSecretNames
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Returns:
- This builder for chaining.
-
addPrefetchSecretNamesBytes
A list of secret resource names to start fetching on configuration load (prior to receiving any requests). The parent resource initializes immediately without waiting for the fetch to complete.
repeated string prefetch_secret_names = 3;- Parameters:
value- The bytes of the prefetchSecretNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-