Class CapabilityRestrictionConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityRestrictionConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityRestrictionConfig.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityRestrictionConfig.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<CapabilityRestrictionConfig.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CapabilityRestrictionConfig.Builder>
      • mergeFrom

        public CapabilityRestrictionConfig.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<CapabilityRestrictionConfig.Builder>
        Throws:
        IOException
      • getAllowedCapabilitiesCount

        public int getAllowedCapabilitiesCount()
        Description copied from interface: CapabilityRestrictionConfigOrBuilder
         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;
        Specified by:
        getAllowedCapabilitiesCount in interface CapabilityRestrictionConfigOrBuilder
      • containsAllowedCapabilities

        public boolean containsAllowedCapabilities​(String key)
         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;
        Specified by:
        containsAllowedCapabilities in interface CapabilityRestrictionConfigOrBuilder
      • getAllowedCapabilitiesMap

        public Map<String,​SanitizationConfig> 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;
        Specified by:
        getAllowedCapabilitiesMap in interface CapabilityRestrictionConfigOrBuilder
      • getAllowedCapabilitiesOrDefault

        public SanitizationConfig getAllowedCapabilitiesOrDefault​(String key,
                                                                  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;
        Specified by:
        getAllowedCapabilitiesOrDefault in interface CapabilityRestrictionConfigOrBuilder
      • getAllowedCapabilitiesOrThrow

        public SanitizationConfig getAllowedCapabilitiesOrThrow​(String key)
         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;
        Specified by:
        getAllowedCapabilitiesOrThrow in interface CapabilityRestrictionConfigOrBuilder
      • removeAllowedCapabilities

        public CapabilityRestrictionConfig.Builder removeAllowedCapabilities​(String key)
         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;
      • putAllowedCapabilities

        public CapabilityRestrictionConfig.Builder putAllowedCapabilities​(String key,
                                                                          SanitizationConfig value)
         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;
      • putAllAllowedCapabilities

        public CapabilityRestrictionConfig.Builder putAllAllowedCapabilities​(Map<String,​SanitizationConfig> values)
         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;
      • mergeUnknownFields

        public final CapabilityRestrictionConfig.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<CapabilityRestrictionConfig.Builder>