Class RemoteJwks.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.jwt_authn.v3.RemoteJwks.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RemoteJwksOrBuilder,Cloneable
- Enclosing class:
- RemoteJwks
public static final class RemoteJwks.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder> implements RemoteJwksOrBuilder
This message specifies how to fetch JWKS from remote and how to cache it.
Protobuf typeenvoy.extensions.filters.http.jwt_authn.v3.RemoteJwks
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteJwks.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RemoteJwksbuild()RemoteJwksbuildPartial()RemoteJwks.Builderclear()RemoteJwks.BuilderclearAsyncFetch()Fetch Jwks asynchronously in the main thread before the listener is activated.RemoteJwks.BuilderclearCacheDuration()Duration after which the cached JWKS should be expired.RemoteJwks.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RemoteJwks.BuilderclearHttpUri()The HTTP URI to fetch the JWKS.RemoteJwks.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RemoteJwks.BuilderclearRetryPolicy()Retry policy for fetching Jwks. optional. turned off by default.RemoteJwks.Builderclone()JwksAsyncFetchgetAsyncFetch()Fetch Jwks asynchronously in the main thread before the listener is activated.JwksAsyncFetch.BuildergetAsyncFetchBuilder()Fetch Jwks asynchronously in the main thread before the listener is activated.JwksAsyncFetchOrBuildergetAsyncFetchOrBuilder()Fetch Jwks asynchronously in the main thread before the listener is activated.com.google.protobuf.DurationgetCacheDuration()Duration after which the cached JWKS should be expired.com.google.protobuf.Duration.BuildergetCacheDurationBuilder()Duration after which the cached JWKS should be expired.com.google.protobuf.DurationOrBuildergetCacheDurationOrBuilder()Duration after which the cached JWKS should be expired.RemoteJwksgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HttpUrigetHttpUri()The HTTP URI to fetch the JWKS.HttpUri.BuildergetHttpUriBuilder()The HTTP URI to fetch the JWKS.HttpUriOrBuildergetHttpUriOrBuilder()The HTTP URI to fetch the JWKS.RetryPolicygetRetryPolicy()Retry policy for fetching Jwks. optional. turned off by default.RetryPolicy.BuildergetRetryPolicyBuilder()Retry policy for fetching Jwks. optional. turned off by default.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Retry policy for fetching Jwks. optional. turned off by default.booleanhasAsyncFetch()Fetch Jwks asynchronously in the main thread before the listener is activated.booleanhasCacheDuration()Duration after which the cached JWKS should be expired.booleanhasHttpUri()The HTTP URI to fetch the JWKS.booleanhasRetryPolicy()Retry policy for fetching Jwks. optional. turned off by default.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RemoteJwks.BuildermergeAsyncFetch(JwksAsyncFetch value)Fetch Jwks asynchronously in the main thread before the listener is activated.RemoteJwks.BuildermergeCacheDuration(com.google.protobuf.Duration value)Duration after which the cached JWKS should be expired.RemoteJwks.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RemoteJwks.BuildermergeFrom(com.google.protobuf.Message other)RemoteJwks.BuildermergeFrom(RemoteJwks other)RemoteJwks.BuildermergeHttpUri(HttpUri value)The HTTP URI to fetch the JWKS.RemoteJwks.BuildermergeRetryPolicy(RetryPolicy value)Retry policy for fetching Jwks. optional. turned off by default.RemoteJwks.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RemoteJwks.BuildersetAsyncFetch(JwksAsyncFetch value)Fetch Jwks asynchronously in the main thread before the listener is activated.RemoteJwks.BuildersetAsyncFetch(JwksAsyncFetch.Builder builderForValue)Fetch Jwks asynchronously in the main thread before the listener is activated.RemoteJwks.BuildersetCacheDuration(com.google.protobuf.Duration value)Duration after which the cached JWKS should be expired.RemoteJwks.BuildersetCacheDuration(com.google.protobuf.Duration.Builder builderForValue)Duration after which the cached JWKS should be expired.RemoteJwks.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RemoteJwks.BuildersetHttpUri(HttpUri value)The HTTP URI to fetch the JWKS.RemoteJwks.BuildersetHttpUri(HttpUri.Builder builderForValue)The HTTP URI to fetch the JWKS.RemoteJwks.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RemoteJwks.BuildersetRetryPolicy(RetryPolicy value)Retry policy for fetching Jwks. optional. turned off by default.RemoteJwks.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue)Retry policy for fetching Jwks. optional. turned off by default.RemoteJwks.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<RemoteJwks.Builder>
-
clear
public RemoteJwks.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<RemoteJwks.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<RemoteJwks.Builder>
-
getDefaultInstanceForType
public RemoteJwks getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RemoteJwks build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RemoteJwks buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RemoteJwks.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<RemoteJwks.Builder>
-
setField
public RemoteJwks.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<RemoteJwks.Builder>
-
clearField
public RemoteJwks.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
clearOneof
public RemoteJwks.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
setRepeatedField
public RemoteJwks.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<RemoteJwks.Builder>
-
addRepeatedField
public RemoteJwks.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<RemoteJwks.Builder>
-
mergeFrom
public RemoteJwks.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RemoteJwks.Builder>
-
mergeFrom
public RemoteJwks.Builder mergeFrom(RemoteJwks other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
mergeFrom
public RemoteJwks.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<RemoteJwks.Builder>- Throws:
IOException
-
hasHttpUri
public boolean hasHttpUri()
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
hasHttpUriin interfaceRemoteJwksOrBuilder- Returns:
- Whether the httpUri field is set.
-
getHttpUri
public HttpUri getHttpUri()
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
getHttpUriin interfaceRemoteJwksOrBuilder- Returns:
- The httpUri.
-
setHttpUri
public RemoteJwks.Builder setHttpUri(HttpUri value)
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;
-
setHttpUri
public RemoteJwks.Builder setHttpUri(HttpUri.Builder builderForValue)
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;
-
mergeHttpUri
public RemoteJwks.Builder mergeHttpUri(HttpUri value)
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;
-
clearHttpUri
public RemoteJwks.Builder clearHttpUri()
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;
-
getHttpUriBuilder
public HttpUri.Builder getHttpUriBuilder()
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;
-
getHttpUriOrBuilder
public HttpUriOrBuilder getHttpUriOrBuilder()
The HTTP URI to fetch the JWKS. For example: .. code-block:: yaml http_uri: uri: https://www.googleapis.com/oauth2/v1/certs cluster: jwt.www.googleapis.com|443 timeout: 1s.envoy.config.core.v3.HttpUri http_uri = 1;- Specified by:
getHttpUriOrBuilderin interfaceRemoteJwksOrBuilder
-
hasCacheDuration
public boolean hasCacheDuration()
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;- Specified by:
hasCacheDurationin interfaceRemoteJwksOrBuilder- Returns:
- Whether the cacheDuration field is set.
-
getCacheDuration
public com.google.protobuf.Duration getCacheDuration()
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;- Specified by:
getCacheDurationin interfaceRemoteJwksOrBuilder- Returns:
- The cacheDuration.
-
setCacheDuration
public RemoteJwks.Builder setCacheDuration(com.google.protobuf.Duration value)
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;
-
setCacheDuration
public RemoteJwks.Builder setCacheDuration(com.google.protobuf.Duration.Builder builderForValue)
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;
-
mergeCacheDuration
public RemoteJwks.Builder mergeCacheDuration(com.google.protobuf.Duration value)
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;
-
clearCacheDuration
public RemoteJwks.Builder clearCacheDuration()
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;
-
getCacheDurationBuilder
public com.google.protobuf.Duration.Builder getCacheDurationBuilder()
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;
-
getCacheDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getCacheDurationOrBuilder()
Duration after which the cached JWKS should be expired. If not specified, default cache duration is 5 minutes.
.google.protobuf.Duration cache_duration = 2;- Specified by:
getCacheDurationOrBuilderin interfaceRemoteJwksOrBuilder
-
hasAsyncFetch
public boolean hasAsyncFetch()
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;- Specified by:
hasAsyncFetchin interfaceRemoteJwksOrBuilder- Returns:
- Whether the asyncFetch field is set.
-
getAsyncFetch
public JwksAsyncFetch getAsyncFetch()
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;- Specified by:
getAsyncFetchin interfaceRemoteJwksOrBuilder- Returns:
- The asyncFetch.
-
setAsyncFetch
public RemoteJwks.Builder setAsyncFetch(JwksAsyncFetch value)
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;
-
setAsyncFetch
public RemoteJwks.Builder setAsyncFetch(JwksAsyncFetch.Builder builderForValue)
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;
-
mergeAsyncFetch
public RemoteJwks.Builder mergeAsyncFetch(JwksAsyncFetch value)
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;
-
clearAsyncFetch
public RemoteJwks.Builder clearAsyncFetch()
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;
-
getAsyncFetchBuilder
public JwksAsyncFetch.Builder getAsyncFetchBuilder()
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;
-
getAsyncFetchOrBuilder
public JwksAsyncFetchOrBuilder getAsyncFetchOrBuilder()
Fetch Jwks asynchronously in the main thread before the listener is activated. Fetched Jwks can be used by all worker threads. If this feature is not enabled: * The Jwks is fetched on-demand when the requests come. During the fetching, first few requests are paused until the Jwks is fetched. * Each worker thread fetches its own Jwks since Jwks cache is per worker thread. If this feature is enabled: * Fetched Jwks is done in the main thread before the listener is activated. Its fetched Jwks can be used by all worker threads. Each worker thread doesn't need to fetch its own. * Jwks is ready when the requests come, not need to wait for the Jwks fetching.
.envoy.extensions.filters.http.jwt_authn.v3.JwksAsyncFetch async_fetch = 3;- Specified by:
getAsyncFetchOrBuilderin interfaceRemoteJwksOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;- Specified by:
hasRetryPolicyin interfaceRemoteJwksOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;- Specified by:
getRetryPolicyin interfaceRemoteJwksOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
public RemoteJwks.Builder setRetryPolicy(RetryPolicy value)
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;
-
setRetryPolicy
public RemoteJwks.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;
-
mergeRetryPolicy
public RemoteJwks.Builder mergeRetryPolicy(RetryPolicy value)
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;
-
clearRetryPolicy
public RemoteJwks.Builder clearRetryPolicy()
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Retry policy for fetching Jwks. optional. turned off by default. For example: .. code-block:: yaml retry_policy: retry_back_off: base_interval: 0.01s max_interval: 20s num_retries: 10 will yield a randomized truncated exponential backoff policy with an initial delay of 10ms 10 maximum attempts spaced at most 20s seconds. .. code-block:: yaml retry_policy: num_retries:1 uses the default :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`. with the default base interval is 1000 milliseconds. and the default maximum interval of 10 times the base interval. if num_retries is omitted, the default is to allow only one retry. If enabled, the retry policy will apply to all Jwks fetching approaches, e.g. on demand or asynchronously in background..envoy.config.core.v3.RetryPolicy retry_policy = 4;- Specified by:
getRetryPolicyOrBuilderin interfaceRemoteJwksOrBuilder
-
setUnknownFields
public final RemoteJwks.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
mergeUnknownFields
public final RemoteJwks.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
-
-