
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/extensions/dynamic_modules/v3/dynamic_modules.proto
// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.extensions.dynamic_modules.v3;
/**
*
* Configuration of a dynamic module. A dynamic module is a shared object file that can be loaded via dlopen
* by various Envoy extension points. Currently, only HTTP filter (envoy.filters.http.dynamic_modules) is supported.
*
* How a module is loaded is determined by the extension point that uses it. For example, the HTTP filter
* loads the module with dlopen when Envoy receives a configuration that references the module at load time.
* If loading the module fails, the configuration will be rejected.
*
* Whether or not the shared object is the same is determined by the file path as well as the file's inode depending
* on the platform. Notably, if the file path and the content of the file are the same, the shared object will be reused.
*
* A module must be compatible with the ABI specified in :repo:`abi.h <source/extensions/dynamic_modules/abi.h>`.
* Currently, compatibility is only guaranteed by an exact version match between the Envoy
* codebase and the dynamic module SDKs. In the future, after the ABI is stabilized, we will revisit
* this restriction and hopefully provide a wider compatibility guarantee. Until then, Envoy
* checks the hash of the ABI header files to ensure that the dynamic modules are built against the
* same version of the ABI.
*
*
* Protobuf type {@code envoy.extensions.dynamic_modules.v3.DynamicModuleConfig}
*/
public final class DynamicModuleConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)
DynamicModuleConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicModuleConfig.newBuilder() to construct.
private DynamicModuleConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicModuleConfig() {
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicModuleConfig();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModulesProto.internal_static_envoy_extensions_dynamic_modules_v3_DynamicModuleConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModulesProto.internal_static_envoy_extensions_dynamic_modules_v3_DynamicModuleConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.class, io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DO_NOT_CLOSE_FIELD_NUMBER = 3;
private boolean doNotClose_ = false;
/**
*
* Set true to prevent the module from being unloaded with dlclose.
* This is useful for modules that have global state that should not be unloaded.
* A module is closed when no more references to it exist in the process. For example,
* no HTTP filters are using the module (e.g. after configuration update).
*
*
* bool do_not_close = 3;
* @return The doNotClose.
*/
@java.lang.Override
public boolean getDoNotClose() {
return doNotClose_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (doNotClose_ != false) {
output.writeBool(3, doNotClose_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (doNotClose_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, doNotClose_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)) {
return super.equals(obj);
}
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig other = (io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig) obj;
if (!getName()
.equals(other.getName())) return false;
if (getDoNotClose()
!= other.getDoNotClose()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DO_NOT_CLOSE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDoNotClose());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Configuration of a dynamic module. A dynamic module is a shared object file that can be loaded via dlopen
* by various Envoy extension points. Currently, only HTTP filter (envoy.filters.http.dynamic_modules) is supported.
*
* How a module is loaded is determined by the extension point that uses it. For example, the HTTP filter
* loads the module with dlopen when Envoy receives a configuration that references the module at load time.
* If loading the module fails, the configuration will be rejected.
*
* Whether or not the shared object is the same is determined by the file path as well as the file's inode depending
* on the platform. Notably, if the file path and the content of the file are the same, the shared object will be reused.
*
* A module must be compatible with the ABI specified in :repo:`abi.h <source/extensions/dynamic_modules/abi.h>`.
* Currently, compatibility is only guaranteed by an exact version match between the Envoy
* codebase and the dynamic module SDKs. In the future, after the ABI is stabilized, we will revisit
* this restriction and hopefully provide a wider compatibility guarantee. Until then, Envoy
* checks the hash of the ABI header files to ensure that the dynamic modules are built against the
* same version of the ABI.
*
*
* Protobuf type {@code envoy.extensions.dynamic_modules.v3.DynamicModuleConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModulesProto.internal_static_envoy_extensions_dynamic_modules_v3_DynamicModuleConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModulesProto.internal_static_envoy_extensions_dynamic_modules_v3_DynamicModuleConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.class, io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.Builder.class);
}
// Construct using io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
doNotClose_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModulesProto.internal_static_envoy_extensions_dynamic_modules_v3_DynamicModuleConfig_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig getDefaultInstanceForType() {
return io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig build() {
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig buildPartial() {
io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig result = new io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.doNotClose_ = doNotClose_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig) {
return mergeFrom((io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig other) {
if (other == io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.getDoNotClose() != false) {
setDoNotClose(other.getDoNotClose());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 24: {
doNotClose_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* The name of the dynamic module. The client is expected to have some configuration indicating where to search for the module.
* In Envoy, the search path can only be configured via the environment variable ``ENVOY_DYNAMIC_MODULES_SEARCH_PATH``.
* The actual search path is ``${ENVOY_DYNAMIC_MODULES_SEARCH_PATH}/lib${name}.so``. TODO: make the search path configurable via
* command line options.
*
*
* string name = 1 [(.validate.rules) = { ... }
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private boolean doNotClose_ ;
/**
*
* Set true to prevent the module from being unloaded with dlclose.
* This is useful for modules that have global state that should not be unloaded.
* A module is closed when no more references to it exist in the process. For example,
* no HTTP filters are using the module (e.g. after configuration update).
*
*
* bool do_not_close = 3;
* @return The doNotClose.
*/
@java.lang.Override
public boolean getDoNotClose() {
return doNotClose_;
}
/**
*
* Set true to prevent the module from being unloaded with dlclose.
* This is useful for modules that have global state that should not be unloaded.
* A module is closed when no more references to it exist in the process. For example,
* no HTTP filters are using the module (e.g. after configuration update).
*
*
* bool do_not_close = 3;
* @param value The doNotClose to set.
* @return This builder for chaining.
*/
public Builder setDoNotClose(boolean value) {
doNotClose_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Set true to prevent the module from being unloaded with dlclose.
* This is useful for modules that have global state that should not be unloaded.
* A module is closed when no more references to it exist in the process. For example,
* no HTTP filters are using the module (e.g. after configuration update).
*
*
* bool do_not_close = 3;
* @return This builder for chaining.
*/
public Builder clearDoNotClose() {
bitField0_ = (bitField0_ & ~0x00000002);
doNotClose_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)
}
// @@protoc_insertion_point(class_scope:envoy.extensions.dynamic_modules.v3.DynamicModuleConfig)
private static final io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig();
}
public static io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicModuleConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.extensions.dynamic_modules.v3.DynamicModuleConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy