Class 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 type envoy.extensions.filters.http.jwt_authn.v3.RemoteJwks
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • clear

        public RemoteJwks.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • getDefaultInstanceForType

        public RemoteJwks getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RemoteJwks build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RemoteJwks buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RemoteJwks.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • setField

        public RemoteJwks.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • clearField

        public RemoteJwks.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • clearOneof

        public RemoteJwks.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • setRepeatedField

        public RemoteJwks.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • addRepeatedField

        public RemoteJwks.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • mergeFrom

        public RemoteJwks.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RemoteJwks.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        hasHttpUri in interface RemoteJwksOrBuilder
        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:
        getHttpUri in interface RemoteJwksOrBuilder
        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:
        getHttpUriOrBuilder in interface RemoteJwksOrBuilder
      • 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:
        hasCacheDuration in interface RemoteJwksOrBuilder
        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:
        getCacheDuration in interface RemoteJwksOrBuilder
        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:
        getCacheDurationOrBuilder in interface RemoteJwksOrBuilder
      • 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:
        hasAsyncFetch in interface RemoteJwksOrBuilder
        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:
        getAsyncFetch in interface RemoteJwksOrBuilder
        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:
        getAsyncFetchOrBuilder in interface RemoteJwksOrBuilder
      • 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:
        hasRetryPolicy in interface RemoteJwksOrBuilder
        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:
        getRetryPolicy in interface RemoteJwksOrBuilder
        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:
        getRetryPolicyOrBuilder in interface RemoteJwksOrBuilder
      • setUnknownFields

        public final RemoteJwks.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>
      • mergeUnknownFields

        public final RemoteJwks.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>