public static final class PluginConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder> implements PluginConfigOrBuilder
[[#not-implemented-hide:] Base Configuration for Wasm Plugins e.g. filters and services. [#next-free-field: 6]Protobuf type
envoy.extensions.wasm.v3.PluginConfig| Modifier and Type | Method and Description |
|---|---|
PluginConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PluginConfig |
build() |
PluginConfig |
buildPartial() |
PluginConfig.Builder |
clear() |
PluginConfig.Builder |
clearConfiguration()
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
PluginConfig.Builder |
clearFailOpen()
If 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.
|
PluginConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PluginConfig.Builder |
clearInlineVmConfig()
In the future add referential VM configurations.
|
PluginConfig.Builder |
clearName()
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.
|
PluginConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PluginConfig.Builder |
clearRootId()
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).
|
PluginConfig.Builder |
clearVmConfig() |
PluginConfig.Builder |
clone() |
com.google.protobuf.Any |
getConfiguration()
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
com.google.protobuf.Any.Builder |
getConfigurationBuilder()
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
com.google.protobuf.AnyOrBuilder |
getConfigurationOrBuilder()
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
PluginConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFailOpen()
If 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.
|
VmConfig |
getInlineVmConfig()
In the future add referential VM configurations.
|
VmConfig.Builder |
getInlineVmConfigBuilder()
In the future add referential VM configurations.
|
VmConfigOrBuilder |
getInlineVmConfigOrBuilder()
In the future add referential VM configurations.
|
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.
|
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 |
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).
|
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).
|
PluginConfig.VmConfigCase |
getVmConfigCase() |
boolean |
hasConfiguration()
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
boolean |
hasInlineVmConfig()
In the future add referential VM configurations.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PluginConfig.Builder |
mergeConfiguration(com.google.protobuf.Any value)
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
PluginConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PluginConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
PluginConfig.Builder |
mergeFrom(PluginConfig other) |
PluginConfig.Builder |
mergeInlineVmConfig(VmConfig value)
In the future add referential VM configurations.
|
PluginConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PluginConfig.Builder |
setConfiguration(com.google.protobuf.Any.Builder builderForValue)
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
PluginConfig.Builder |
setConfiguration(com.google.protobuf.Any value)
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
|
PluginConfig.Builder |
setFailOpen(boolean value)
If 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.
|
PluginConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PluginConfig.Builder |
setInlineVmConfig(VmConfig.Builder builderForValue)
In the future add referential VM configurations.
|
PluginConfig.Builder |
setInlineVmConfig(VmConfig value)
In the future add referential VM configurations.
|
PluginConfig.Builder |
setName(String value)
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.
|
PluginConfig.Builder |
setNameBytes(com.google.protobuf.ByteString value)
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.
|
PluginConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PluginConfig.Builder |
setRootId(String value)
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).
|
PluginConfig.Builder |
setRootIdBytes(com.google.protobuf.ByteString value)
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).
|
PluginConfig.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<PluginConfig.Builder>public PluginConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.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<PluginConfig.Builder>public PluginConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PluginConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PluginConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PluginConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>public PluginConfig.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<PluginConfig.Builder>public PluginConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>public PluginConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>public PluginConfig.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<PluginConfig.Builder>public PluginConfig.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<PluginConfig.Builder>public PluginConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PluginConfig.Builder>public PluginConfig.Builder mergeFrom(PluginConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>public PluginConfig.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<PluginConfig.Builder>IOExceptionpublic PluginConfig.VmConfigCase getVmConfigCase()
getVmConfigCase in interface PluginConfigOrBuilderpublic PluginConfig.Builder clearVmConfig()
public 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;getName in interface PluginConfigOrBuilderpublic 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;getNameBytes in interface PluginConfigOrBuilderpublic PluginConfig.Builder setName(String value)
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;public PluginConfig.Builder clearName()
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;public PluginConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
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;public 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;getRootId in interface PluginConfigOrBuilderpublic 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;getRootIdBytes in interface PluginConfigOrBuilderpublic PluginConfig.Builder setRootId(String value)
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;public PluginConfig.Builder clearRootId()
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;public PluginConfig.Builder setRootIdBytes(com.google.protobuf.ByteString value)
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;public boolean hasInlineVmConfig()
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;hasInlineVmConfig in interface PluginConfigOrBuilderpublic VmConfig getInlineVmConfig()
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;getInlineVmConfig in interface PluginConfigOrBuilderpublic PluginConfig.Builder setInlineVmConfig(VmConfig value)
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;public PluginConfig.Builder setInlineVmConfig(VmConfig.Builder builderForValue)
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;public PluginConfig.Builder mergeInlineVmConfig(VmConfig value)
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;public PluginConfig.Builder clearInlineVmConfig()
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;public VmConfig.Builder getInlineVmConfigBuilder()
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;public VmConfigOrBuilder getInlineVmConfigOrBuilder()
In the future add referential VM configurations.
.envoy.extensions.wasm.v3.VmConfig inline_vm_config = 3;getInlineVmConfigOrBuilder in interface PluginConfigOrBuilderpublic boolean hasConfiguration()
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;hasConfiguration in interface PluginConfigOrBuilderpublic com.google.protobuf.Any getConfiguration()
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;getConfiguration in interface PluginConfigOrBuilderpublic PluginConfig.Builder setConfiguration(com.google.protobuf.Any value)
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;public PluginConfig.Builder setConfiguration(com.google.protobuf.Any.Builder builderForValue)
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;public PluginConfig.Builder mergeConfiguration(com.google.protobuf.Any value)
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;public PluginConfig.Builder clearConfiguration()
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;public com.google.protobuf.Any.Builder getConfigurationBuilder()
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;public com.google.protobuf.AnyOrBuilder getConfigurationOrBuilder()
Filter/service configuration used to configure or reconfigure a plugin (proxy_on_configuration). `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;getConfigurationOrBuilder in interface PluginConfigOrBuilderpublic boolean getFailOpen()
If 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_configuration return false on initial startup the proxy will not start.
bool fail_open = 5;getFailOpen in interface PluginConfigOrBuilderpublic PluginConfig.Builder setFailOpen(boolean value)
If 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_configuration return false on initial startup the proxy will not start.
bool fail_open = 5;public PluginConfig.Builder clearFailOpen()
If 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_configuration return false on initial startup the proxy will not start.
bool fail_open = 5;public final PluginConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>public final PluginConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PluginConfig.Builder>Copyright © 2018–2020 The Envoy Project. All rights reserved.