Class GcpAuthnFilterConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GcpAuthnFilterConfigOrBuilder,Serializable
public final class GcpAuthnFilterConfig
extends com.google.protobuf.GeneratedMessageV3
implements GcpAuthnFilterConfigOrBuilder
Filter configuration. [#next-free-field: 7]Protobuf type
envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFilter configuration.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanToken cache configuration.Token cache configuration.Cluster to send traffic to the GCE metadata server.com.google.protobuf.ByteStringCluster to send traffic to the GCE metadata server.static GcpAuthnFilterConfigstatic final com.google.protobuf.Descriptors.DescriptorDeprecated.envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig.http_uri is deprecated.Deprecated.com.google.protobuf.Parser<GcpAuthnFilterConfig>Retry policy for fetching tokens.Retry policy for fetching tokens.intcom.google.protobuf.DurationTimeout for fetching the tokens from the GCE metadata server.com.google.protobuf.DurationOrBuilderTimeout for fetching the tokens from the GCE metadata server.Request header location to extract the token.Request header location to extract the token.booleanToken cache configuration.inthashCode()booleanDeprecated.envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig.http_uri is deprecated.booleanRetry policy for fetching tokens.booleanTimeout for fetching the tokens from the GCE metadata server.booleanRequest header location to extract the token.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic GcpAuthnFilterConfig.Builderstatic GcpAuthnFilterConfig.BuildernewBuilder(GcpAuthnFilterConfig prototype) protected GcpAuthnFilterConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GcpAuthnFilterConfigparseDelimitedFrom(InputStream input) static GcpAuthnFilterConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GcpAuthnFilterConfigparseFrom(byte[] data) static GcpAuthnFilterConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GcpAuthnFilterConfigparseFrom(com.google.protobuf.ByteString data) static GcpAuthnFilterConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GcpAuthnFilterConfigparseFrom(com.google.protobuf.CodedInputStream input) static GcpAuthnFilterConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GcpAuthnFilterConfigparseFrom(InputStream input) static GcpAuthnFilterConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GcpAuthnFilterConfigparseFrom(ByteBuffer data) static GcpAuthnFilterConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GcpAuthnFilterConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HTTP_URI_FIELD_NUMBER
public static final int HTTP_URI_FIELD_NUMBER- See Also:
-
RETRY_POLICY_FIELD_NUMBER
public static final int RETRY_POLICY_FIELD_NUMBER- See Also:
-
CACHE_CONFIG_FIELD_NUMBER
public static final int CACHE_CONFIG_FIELD_NUMBER- See Also:
-
TOKEN_HEADER_FIELD_NUMBER
public static final int TOKEN_HEADER_FIELD_NUMBER- See Also:
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasHttpUri
Deprecated.envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig.http_uri is deprecated. See envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.proto;l=35The HTTP URI to fetch tokens from GCE Metadata Server(https://cloud.google.com/compute/docs/metadata/overview). The URL format is "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?audience=[AUDIENCE]" This field is deprecated because it does not match the API surface provided by the google auth libraries. Control planes should not attempt to override the metadata server URI. The cluster and timeout can be configured using the ``cluster`` and ``timeout`` fields instead. For backward compatibility, the cluster and timeout configured in this field will be used if the new ``cluster`` and ``timeout`` fields are not set.
.envoy.config.core.v3.HttpUri http_uri = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
hasHttpUriin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- Whether the httpUri field is set.
-
getHttpUri
Deprecated.envoy.extensions.filters.http.gcp_authn.v3.GcpAuthnFilterConfig.http_uri is deprecated. See envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.proto;l=35The HTTP URI to fetch tokens from GCE Metadata Server(https://cloud.google.com/compute/docs/metadata/overview). The URL format is "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?audience=[AUDIENCE]" This field is deprecated because it does not match the API surface provided by the google auth libraries. Control planes should not attempt to override the metadata server URI. The cluster and timeout can be configured using the ``cluster`` and ``timeout`` fields instead. For backward compatibility, the cluster and timeout configured in this field will be used if the new ``cluster`` and ``timeout`` fields are not set.
.envoy.config.core.v3.HttpUri http_uri = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getHttpUriin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The httpUri.
-
getHttpUriOrBuilder
Deprecated.The HTTP URI to fetch tokens from GCE Metadata Server(https://cloud.google.com/compute/docs/metadata/overview). The URL format is "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/identity?audience=[AUDIENCE]" This field is deprecated because it does not match the API surface provided by the google auth libraries. Control planes should not attempt to override the metadata server URI. The cluster and timeout can be configured using the ``cluster`` and ``timeout`` fields instead. For backward compatibility, the cluster and timeout configured in this field will be used if the new ``cluster`` and ``timeout`` fields are not set.
.envoy.config.core.v3.HttpUri http_uri = 1 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getHttpUriOrBuilderin interfaceGcpAuthnFilterConfigOrBuilder
-
hasRetryPolicy
public boolean hasRetryPolicy()Retry policy for fetching tokens. Not supported by all data planes.
.envoy.config.core.v3.RetryPolicy retry_policy = 2;- Specified by:
hasRetryPolicyin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Retry policy for fetching tokens. Not supported by all data planes.
.envoy.config.core.v3.RetryPolicy retry_policy = 2;- Specified by:
getRetryPolicyin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The retryPolicy.
-
getRetryPolicyOrBuilder
Retry policy for fetching tokens. Not supported by all data planes.
.envoy.config.core.v3.RetryPolicy retry_policy = 2;- Specified by:
getRetryPolicyOrBuilderin interfaceGcpAuthnFilterConfigOrBuilder
-
hasCacheConfig
public boolean hasCacheConfig()Token cache configuration. This field is optional.
.envoy.extensions.filters.http.gcp_authn.v3.TokenCacheConfig cache_config = 3;- Specified by:
hasCacheConfigin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- Whether the cacheConfig field is set.
-
getCacheConfig
Token cache configuration. This field is optional.
.envoy.extensions.filters.http.gcp_authn.v3.TokenCacheConfig cache_config = 3;- Specified by:
getCacheConfigin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The cacheConfig.
-
getCacheConfigOrBuilder
Token cache configuration. This field is optional.
.envoy.extensions.filters.http.gcp_authn.v3.TokenCacheConfig cache_config = 3;- Specified by:
getCacheConfigOrBuilderin interfaceGcpAuthnFilterConfigOrBuilder
-
hasTokenHeader
public boolean hasTokenHeader()Request header location to extract the token. By default (i.e. if this field is not specified), the token is extracted to the Authorization HTTP header, in the format "Authorization: Bearer <token>". Not supported by all data planes.
.envoy.extensions.filters.http.gcp_authn.v3.TokenHeader token_header = 4;- Specified by:
hasTokenHeaderin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- Whether the tokenHeader field is set.
-
getTokenHeader
Request header location to extract the token. By default (i.e. if this field is not specified), the token is extracted to the Authorization HTTP header, in the format "Authorization: Bearer <token>". Not supported by all data planes.
.envoy.extensions.filters.http.gcp_authn.v3.TokenHeader token_header = 4;- Specified by:
getTokenHeaderin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The tokenHeader.
-
getTokenHeaderOrBuilder
Request header location to extract the token. By default (i.e. if this field is not specified), the token is extracted to the Authorization HTTP header, in the format "Authorization: Bearer <token>". Not supported by all data planes.
.envoy.extensions.filters.http.gcp_authn.v3.TokenHeader token_header = 4;- Specified by:
getTokenHeaderOrBuilderin interfaceGcpAuthnFilterConfigOrBuilder
-
getCluster
Cluster to send traffic to the GCE metadata server. Not supported by all data planes; a data plane may instead have its own mechanism for contacting the metadata server.
string cluster = 5;- Specified by:
getClusterin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()Cluster to send traffic to the GCE metadata server. Not supported by all data planes; a data plane may instead have its own mechanism for contacting the metadata server.
string cluster = 5;- Specified by:
getClusterBytesin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The bytes for cluster.
-
hasTimeout
public boolean hasTimeout()Timeout for fetching the tokens from the GCE metadata server. Not supported by all data planes.
.google.protobuf.Duration timeout = 6 [(.validate.rules) = { ... }- Specified by:
hasTimeoutin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()Timeout for fetching the tokens from the GCE metadata server. Not supported by all data planes.
.google.protobuf.Duration timeout = 6 [(.validate.rules) = { ... }- Specified by:
getTimeoutin interfaceGcpAuthnFilterConfigOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()Timeout for fetching the tokens from the GCE metadata server. Not supported by all data planes.
.google.protobuf.Duration timeout = 6 [(.validate.rules) = { ... }- Specified by:
getTimeoutOrBuilderin interfaceGcpAuthnFilterConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GcpAuthnFilterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GcpAuthnFilterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GcpAuthnFilterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-