Interface PluginConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PluginConfig,PluginConfig.Builder
public interface PluginConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.BoolValueWhether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.com.google.protobuf.BoolValueOrBuilderWhether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.Configuration for restricting Proxy-Wasm capabilities available to modules.Configuration for restricting Proxy-Wasm capabilities available to modules.com.google.protobuf.AnyFilter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``).com.google.protobuf.AnyOrBuilderFilter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``).booleanDeprecated.envoy.extensions.wasm.v3.PluginConfig.fail_open is deprecated.The failure policy for the plugin.intThe failure policy for the plugin.getName()A unique name for a filters/services in a VM for use in identifying the filter/service if multiple filters/services are handled by the same ``vm_id`` and ``root_id`` and for logging/debugging.com.google.protobuf.ByteStringA unique name for a filters/services in a VM for use in identifying the filter/service if multiple filters/services are handled by the same ``vm_id`` and ``root_id`` and for logging/debugging.Reload configuration.Reload configuration.A unique ID for a set of filters/services in a VM which will share a RootContext and Contexts if applicable (e.g. an Wasm HttpFilter and an Wasm AccessLog).com.google.protobuf.ByteStringA unique ID for a set of filters/services in a VM which will share a RootContext and Contexts if applicable (e.g. an Wasm HttpFilter and an Wasm AccessLog).TODO: add referential VM configurations.TODO: add referential VM configurations.booleanWhether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.booleanConfiguration for restricting Proxy-Wasm capabilities available to modules.booleanFilter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``).booleanReload configuration.booleanTODO: add referential VM configurations.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()A unique name for a filters/services in a VM for use in identifying the filter/service if multiple filters/services are handled by the same ``vm_id`` and ``root_id`` and for logging/debugging.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A unique name for a filters/services in a VM for use in identifying the filter/service if multiple filters/services are handled by the same ``vm_id`` and ``root_id`` and for logging/debugging.
string name = 1;- Returns:
- The bytes for name.
-
getRootId
String getRootId()A unique ID for a set of filters/services in a VM which will share a RootContext and Contexts if applicable (e.g. an Wasm HttpFilter and an Wasm AccessLog). If left blank, all filters/services with a blank root_id with the same ``vm_id`` will share Context(s).
string root_id = 2;- Returns:
- The rootId.
-
getRootIdBytes
com.google.protobuf.ByteString getRootIdBytes()A unique ID for a set of filters/services in a VM which will share a RootContext and Contexts if applicable (e.g. an Wasm HttpFilter and an Wasm AccessLog). If left blank, all filters/services with a blank root_id with the same ``vm_id`` will share Context(s).
string root_id = 2;- Returns:
- The bytes for rootId.
-
hasVmConfig
boolean hasVmConfig()TODO: add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig vm_config = 3;- Returns:
- Whether the vmConfig field is set.
-
getVmConfig
VmConfig getVmConfig()TODO: add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig vm_config = 3;- Returns:
- The vmConfig.
-
getVmConfigOrBuilder
VmConfigOrBuilder getVmConfigOrBuilder()TODO: add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig vm_config = 3; -
hasConfiguration
boolean hasConfiguration()Filter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``). ``google.protobuf.Struct`` is serialized as JSON before passing it to the plugin. ``google.protobuf.BytesValue`` and ``google.protobuf.StringValue`` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4;- Returns:
- Whether the configuration field is set.
-
getConfiguration
com.google.protobuf.Any getConfiguration()Filter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``). ``google.protobuf.Struct`` is serialized as JSON before passing it to the plugin. ``google.protobuf.BytesValue`` and ``google.protobuf.StringValue`` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4;- Returns:
- The configuration.
-
getConfigurationOrBuilder
com.google.protobuf.AnyOrBuilder getConfigurationOrBuilder()Filter/service configuration used to configure or reconfigure a plugin (``proxy_on_configure``). ``google.protobuf.Struct`` is serialized as JSON before passing it to the plugin. ``google.protobuf.BytesValue`` and ``google.protobuf.StringValue`` are passed directly without the wrapper.
.google.protobuf.Any configuration = 4; -
getFailOpen
Deprecated.envoy.extensions.wasm.v3.PluginConfig.fail_open is deprecated. See envoy/extensions/wasm/v3/wasm.proto;l=185If there is a fatal error on the VM (e.g. exception, ``abort()``, ``on_start`` or ``on_configure`` return false), then all plugins associated with the VM will either fail closed (by default), e.g. by returning an HTTP 503 error, or fail open (if 'fail_open' is set to true) by bypassing the filter. .. note:: When ``on_start`` or ``on_configure`` return ``false`` during xDS updates the xDS configuration will be rejected and when ``on_start`` or ``on_configure`` return ``false`` on initial startup the proxy will not start. This field is deprecated in favor of the ``failure_policy`` field.
bool fail_open = 5 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Returns:
- The failOpen.
-
getFailurePolicyValue
int getFailurePolicyValue()The failure policy for the plugin.
.envoy.extensions.wasm.v3.FailurePolicy failure_policy = 7;- Returns:
- The enum numeric value on the wire for failurePolicy.
-
getFailurePolicy
FailurePolicy getFailurePolicy()The failure policy for the plugin.
.envoy.extensions.wasm.v3.FailurePolicy failure_policy = 7;- Returns:
- The failurePolicy.
-
hasReloadConfig
boolean hasReloadConfig()Reload configuration. This is only applied when ``failure_policy`` is set to ``FAIL_RELOAD``.
.envoy.extensions.wasm.v3.ReloadConfig reload_config = 8;- Returns:
- Whether the reloadConfig field is set.
-
getReloadConfig
ReloadConfig getReloadConfig()Reload configuration. This is only applied when ``failure_policy`` is set to ``FAIL_RELOAD``.
.envoy.extensions.wasm.v3.ReloadConfig reload_config = 8;- Returns:
- The reloadConfig.
-
getReloadConfigOrBuilder
ReloadConfigOrBuilder getReloadConfigOrBuilder()Reload configuration. This is only applied when ``failure_policy`` is set to ``FAIL_RELOAD``.
.envoy.extensions.wasm.v3.ReloadConfig reload_config = 8; -
hasCapabilityRestrictionConfig
boolean hasCapabilityRestrictionConfig()Configuration for restricting Proxy-Wasm capabilities available to modules.
.envoy.extensions.wasm.v3.CapabilityRestrictionConfig capability_restriction_config = 6;- Returns:
- Whether the capabilityRestrictionConfig field is set.
-
getCapabilityRestrictionConfig
CapabilityRestrictionConfig getCapabilityRestrictionConfig()Configuration for restricting Proxy-Wasm capabilities available to modules.
.envoy.extensions.wasm.v3.CapabilityRestrictionConfig capability_restriction_config = 6;- Returns:
- The capabilityRestrictionConfig.
-
getCapabilityRestrictionConfigOrBuilder
CapabilityRestrictionConfigOrBuilder getCapabilityRestrictionConfigOrBuilder()Configuration for restricting Proxy-Wasm capabilities available to modules.
.envoy.extensions.wasm.v3.CapabilityRestrictionConfig capability_restriction_config = 6; -
hasAllowOnHeadersStopIteration
boolean hasAllowOnHeadersStopIteration()Whether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.
.google.protobuf.BoolValue allow_on_headers_stop_iteration = 9;- Returns:
- Whether the allowOnHeadersStopIteration field is set.
-
getAllowOnHeadersStopIteration
com.google.protobuf.BoolValue getAllowOnHeadersStopIteration()Whether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.
.google.protobuf.BoolValue allow_on_headers_stop_iteration = 9;- Returns:
- The allowOnHeadersStopIteration.
-
getAllowOnHeadersStopIterationOrBuilder
com.google.protobuf.BoolValueOrBuilder getAllowOnHeadersStopIterationOrBuilder()Whether or not to allow plugin onRequestHeaders and onResponseHeaders callbacks to return FilterHeadersStatus::StopIteration.
.google.protobuf.BoolValue allow_on_headers_stop_iteration = 9; -
getVmCase
PluginConfig.VmCase getVmCase()
-