public static final class Extension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder> implements ExtensionOrBuilder
Version and identification for an Envoy extension. [#next-free-field: 6]Protobuf type
envoy.api.v2.core.Extension| Modifier and Type | Method and Description |
|---|---|
Extension.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Extension |
build() |
Extension |
buildPartial() |
Extension.Builder |
clear() |
Extension.Builder |
clearCategory()
Category of the extension.
|
Extension.Builder |
clearDisabled()
Indicates that the extension is present but was disabled via dynamic configuration.
|
Extension.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Extension.Builder |
clearName()
This is the name of the Envoy filter as specified in the Envoy
configuration, e.g. envoy.filters.http.router, com.acme.widget.
|
Extension.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Extension.Builder |
clearTypeDescriptor()
[#not-implemented-hide:] Type descriptor of extension configuration proto.
|
Extension.Builder |
clearVersion()
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
Extension.Builder |
clone() |
String |
getCategory()
Category of the extension.
|
com.google.protobuf.ByteString |
getCategoryBytes()
Category of the extension.
|
Extension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getDisabled()
Indicates that the extension is present but was disabled via dynamic configuration.
|
String |
getName()
This is the name of the Envoy filter as specified in the Envoy
configuration, e.g. envoy.filters.http.router, com.acme.widget.
|
com.google.protobuf.ByteString |
getNameBytes()
This is the name of the Envoy filter as specified in the Envoy
configuration, e.g. envoy.filters.http.router, com.acme.widget.
|
String |
getTypeDescriptor()
[#not-implemented-hide:] Type descriptor of extension configuration proto.
|
com.google.protobuf.ByteString |
getTypeDescriptorBytes()
[#not-implemented-hide:] Type descriptor of extension configuration proto.
|
BuildVersion |
getVersion()
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
BuildVersion.Builder |
getVersionBuilder()
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
BuildVersionOrBuilder |
getVersionOrBuilder()
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
boolean |
hasVersion()
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Extension.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Extension.Builder |
mergeFrom(Extension other) |
Extension.Builder |
mergeFrom(com.google.protobuf.Message other) |
Extension.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Extension.Builder |
mergeVersion(BuildVersion value)
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
Extension.Builder |
setCategory(String value)
Category of the extension.
|
Extension.Builder |
setCategoryBytes(com.google.protobuf.ByteString value)
Category of the extension.
|
Extension.Builder |
setDisabled(boolean value)
Indicates that the extension is present but was disabled via dynamic configuration.
|
Extension.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Extension.Builder |
setName(String value)
This is the name of the Envoy filter as specified in the Envoy
configuration, e.g. envoy.filters.http.router, com.acme.widget.
|
Extension.Builder |
setNameBytes(com.google.protobuf.ByteString value)
This is the name of the Envoy filter as specified in the Envoy
configuration, e.g. envoy.filters.http.router, com.acme.widget.
|
Extension.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Extension.Builder |
setTypeDescriptor(String value)
[#not-implemented-hide:] Type descriptor of extension configuration proto.
|
Extension.Builder |
setTypeDescriptorBytes(com.google.protobuf.ByteString value)
[#not-implemented-hide:] Type descriptor of extension configuration proto.
|
Extension.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Extension.Builder |
setVersion(BuildVersion.Builder builderForValue)
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
Extension.Builder |
setVersion(BuildVersion value)
The version is a property of the extension and maintained independently
of other extensions and the Envoy API.
|
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<Extension.Builder>public Extension.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.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<Extension.Builder>public Extension getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Extension build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Extension buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Extension.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>public Extension.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<Extension.Builder>public Extension.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>public Extension.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>public Extension.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<Extension.Builder>public Extension.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<Extension.Builder>public Extension.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Extension.Builder>public Extension.Builder mergeFrom(Extension other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>public Extension.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<Extension.Builder>IOExceptionpublic String getName()
This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.
string name = 1;getName in interface ExtensionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.
string name = 1;getNameBytes in interface ExtensionOrBuilderpublic Extension.Builder setName(String value)
This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.
string name = 1;public Extension.Builder clearName()
This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.
string name = 1;public Extension.Builder setNameBytes(com.google.protobuf.ByteString value)
This is the name of the Envoy filter as specified in the Envoy configuration, e.g. envoy.filters.http.router, com.acme.widget.
string name = 1;public String getCategory()
Category of the extension. Extension category names use reverse DNS notation. For instance "envoy.filters.listener" for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
string category = 2;getCategory in interface ExtensionOrBuilderpublic com.google.protobuf.ByteString getCategoryBytes()
Category of the extension. Extension category names use reverse DNS notation. For instance "envoy.filters.listener" for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
string category = 2;getCategoryBytes in interface ExtensionOrBuilderpublic Extension.Builder setCategory(String value)
Category of the extension. Extension category names use reverse DNS notation. For instance "envoy.filters.listener" for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
string category = 2;public Extension.Builder clearCategory()
Category of the extension. Extension category names use reverse DNS notation. For instance "envoy.filters.listener" for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
string category = 2;public Extension.Builder setCategoryBytes(com.google.protobuf.ByteString value)
Category of the extension. Extension category names use reverse DNS notation. For instance "envoy.filters.listener" for Envoy's built-in listener filters or "com.acme.filters.http" for HTTP filters from acme.com vendor. [#comment:TODO(yanavlasov): Link to the doc with existing envoy category names.]
string category = 2;public String getTypeDescriptor()
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
string type_descriptor = 3;getTypeDescriptor in interface ExtensionOrBuilderpublic com.google.protobuf.ByteString getTypeDescriptorBytes()
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
string type_descriptor = 3;getTypeDescriptorBytes in interface ExtensionOrBuilderpublic Extension.Builder setTypeDescriptor(String value)
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
string type_descriptor = 3;public Extension.Builder clearTypeDescriptor()
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
string type_descriptor = 3;public Extension.Builder setTypeDescriptorBytes(com.google.protobuf.ByteString value)
[#not-implemented-hide:] Type descriptor of extension configuration proto. [#comment:TODO(yanavlasov): Link to the doc with existing configuration protos.] [#comment:TODO(yanavlasov): Add tests when PR #9391 lands.]
string type_descriptor = 3;public boolean hasVersion()
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;hasVersion in interface ExtensionOrBuilderpublic BuildVersion getVersion()
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;getVersion in interface ExtensionOrBuilderpublic Extension.Builder setVersion(BuildVersion value)
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;public Extension.Builder setVersion(BuildVersion.Builder builderForValue)
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;public Extension.Builder mergeVersion(BuildVersion value)
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;public Extension.Builder clearVersion()
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;public BuildVersion.Builder getVersionBuilder()
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;public BuildVersionOrBuilder getVersionOrBuilder()
The version is a property of the extension and maintained independently of other extensions and the Envoy API. This field is not set when extension did not provide version information.
.envoy.api.v2.core.BuildVersion version = 4;getVersionOrBuilder in interface ExtensionOrBuilderpublic boolean getDisabled()
Indicates that the extension is present but was disabled via dynamic configuration.
bool disabled = 5;getDisabled in interface ExtensionOrBuilderpublic Extension.Builder setDisabled(boolean value)
Indicates that the extension is present but was disabled via dynamic configuration.
bool disabled = 5;public Extension.Builder clearDisabled()
Indicates that the extension is present but was disabled via dynamic configuration.
bool disabled = 5;public final Extension.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>public final Extension.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Extension.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.