public final class Extension extends com.google.protobuf.GeneratedMessageV3 implements ExtensionOrBuilder
Version and identification for an Envoy extension. [#next-free-field: 6]Protobuf type
envoy.api.v2.core.Extension| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.Builder
Version and identification for an Envoy extension.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CATEGORY_FIELD_NUMBER |
static int |
DISABLED_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TYPE_DESCRIPTOR_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCategory()
Category of the extension.
|
com.google.protobuf.ByteString |
getCategoryBytes()
Category of the extension.
|
static Extension |
getDefaultInstance() |
Extension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Extension> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
BuildVersion |
getVersion()
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.
|
int |
hashCode() |
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() |
static Extension.Builder |
newBuilder() |
static Extension.Builder |
newBuilder(Extension prototype) |
Extension.Builder |
newBuilderForType() |
protected Extension.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Extension |
parseDelimitedFrom(InputStream input) |
static Extension |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension |
parseFrom(byte[] data) |
static Extension |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension |
parseFrom(ByteBuffer data) |
static Extension |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension |
parseFrom(com.google.protobuf.ByteString data) |
static Extension |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Extension |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension |
parseFrom(InputStream input) |
static Extension |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Extension> |
parser() |
Extension.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
public static final int TYPE_DESCRIPTOR_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Extension parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension parseFrom(InputStream input) throws IOException
IOExceptionpublic static Extension parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Extension parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Extension parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Extension.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Extension.Builder newBuilder()
public static Extension.Builder newBuilder(Extension prototype)
public Extension.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Extension.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Extension getDefaultInstance()
public static com.google.protobuf.Parser<Extension> parser()
public com.google.protobuf.Parser<Extension> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Extension getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.