
io.envoyproxy.envoy.extensions.wasm.v3.CapabilityRestrictionConfigOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/extensions/wasm/v3/wasm.proto
package io.envoyproxy.envoy.extensions.wasm.v3;
public interface CapabilityRestrictionConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.extensions.wasm.v3.CapabilityRestrictionConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
* The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by
* name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored,
* and so should be left empty.
* The capability names are given in the
* `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_.
* Additionally, the following WASI capabilities from
* `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_
* are implemented and can be allowed:
* ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``,
* ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
*
*
* map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
*/
int getAllowedCapabilitiesCount();
/**
*
* The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by
* name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored,
* and so should be left empty.
* The capability names are given in the
* `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_.
* Additionally, the following WASI capabilities from
* `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_
* are implemented and can be allowed:
* ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``,
* ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
*
*
* map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
*/
boolean containsAllowedCapabilities(
java.lang.String key);
/**
* Use {@link #getAllowedCapabilitiesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAllowedCapabilities();
/**
*
* The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by
* name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored,
* and so should be left empty.
* The capability names are given in the
* `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_.
* Additionally, the following WASI capabilities from
* `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_
* are implemented and can be allowed:
* ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``,
* ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
*
*
* map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
*/
java.util.Map
getAllowedCapabilitiesMap();
/**
*
* The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by
* name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored,
* and so should be left empty.
* The capability names are given in the
* `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_.
* Additionally, the following WASI capabilities from
* `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_
* are implemented and can be allowed:
* ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``,
* ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
*
*
* map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
*/
/* nullable */
io.envoyproxy.envoy.extensions.wasm.v3.SanitizationConfig getAllowedCapabilitiesOrDefault(
java.lang.String key,
/* nullable */
io.envoyproxy.envoy.extensions.wasm.v3.SanitizationConfig defaultValue);
/**
*
* The Proxy-Wasm capabilities which will be allowed. Capabilities are mapped by
* name. The ``SanitizationConfig`` which each capability maps to is currently unimplemented and ignored,
* and so should be left empty.
* The capability names are given in the
* `Proxy-Wasm ABI <https://github.com/proxy-wasm/spec/tree/master/abi-versions/vNEXT>`_.
* Additionally, the following WASI capabilities from
* `this list <https://github.com/WebAssembly/WASI/blob/master/phases/snapshot/docs.md#modules>`_
* are implemented and can be allowed:
* ``fd_write``, ``fd_read``, ``fd_seek``, ``fd_close``, ``fd_fdstat_get``, ``environ_get``, ``environ_sizes_get``,
* ``args_get``, ``args_sizes_get``, ``proc_exit``, ``clock_time_get``, ``random_get``.
*
*
* map<string, .envoy.extensions.wasm.v3.SanitizationConfig> allowed_capabilities = 1;
*/
io.envoyproxy.envoy.extensions.wasm.v3.SanitizationConfig getAllowedCapabilitiesOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy