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| Modifier and Type | Method and Description |
|---|---|
RemoteJwks.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RemoteJwks |
build() |
RemoteJwks |
buildPartial() |
RemoteJwks.Builder |
clear() |
RemoteJwks.Builder |
clearCacheDuration()
Duration after which the cached JWKS should be expired.
|
RemoteJwks.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RemoteJwks.Builder |
clearHttpUri()
The HTTP URI to fetch the JWKS.
|
RemoteJwks.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RemoteJwks.Builder |
clone() |
com.google.protobuf.Duration |
getCacheDuration()
Duration after which the cached JWKS should be expired.
|
com.google.protobuf.Duration.Builder |
getCacheDurationBuilder()
Duration after which the cached JWKS should be expired.
|
com.google.protobuf.DurationOrBuilder |
getCacheDurationOrBuilder()
Duration after which the cached JWKS should be expired.
|
RemoteJwks |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HttpUri |
getHttpUri()
The HTTP URI to fetch the JWKS.
|
HttpUri.Builder |
getHttpUriBuilder()
The HTTP URI to fetch the JWKS.
|
HttpUriOrBuilder |
getHttpUriOrBuilder()
The HTTP URI to fetch the JWKS.
|
boolean |
hasCacheDuration()
Duration after which the cached JWKS should be expired.
|
boolean |
hasHttpUri()
The HTTP URI to fetch the JWKS.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RemoteJwks.Builder |
mergeCacheDuration(com.google.protobuf.Duration value)
Duration after which the cached JWKS should be expired.
|
RemoteJwks.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RemoteJwks.Builder |
mergeFrom(com.google.protobuf.Message other) |
RemoteJwks.Builder |
mergeFrom(RemoteJwks other) |
RemoteJwks.Builder |
mergeHttpUri(HttpUri value)
The HTTP URI to fetch the JWKS.
|
RemoteJwks.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RemoteJwks.Builder |
setCacheDuration(com.google.protobuf.Duration.Builder builderForValue)
Duration after which the cached JWKS should be expired.
|
RemoteJwks.Builder |
setCacheDuration(com.google.protobuf.Duration value)
Duration after which the cached JWKS should be expired.
|
RemoteJwks.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RemoteJwks.Builder |
setHttpUri(HttpUri.Builder builderForValue)
The HTTP URI to fetch the JWKS.
|
RemoteJwks.Builder |
setHttpUri(HttpUri value)
The HTTP URI to fetch the JWKS.
|
RemoteJwks.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RemoteJwks.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RemoteJwks build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RemoteJwks buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RemoteJwks.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RemoteJwks.Builder>public RemoteJwks.Builder mergeFrom(RemoteJwks other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public RemoteJwks.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RemoteJwks.Builder>IOExceptionpublic 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;hasHttpUri in interface RemoteJwksOrBuilderpublic 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;getHttpUri in interface RemoteJwksOrBuilderpublic 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;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;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;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;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;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;getHttpUriOrBuilder in interface RemoteJwksOrBuilderpublic 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;hasCacheDuration in interface RemoteJwksOrBuilderpublic 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;getCacheDuration in interface RemoteJwksOrBuilderpublic 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;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;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;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;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;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;getCacheDurationOrBuilder in interface RemoteJwksOrBuilderpublic final RemoteJwks.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>public final RemoteJwks.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RemoteJwks.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.