public final class Descriptor extends com.google.protobuf.GeneratedMessageV3 implements DescriptorOrBuilder
The following descriptor entry is appended with a value computed
from a symbolic Common Expression Language expression.
See :ref:`attributes <arch_overview_attributes>` for the set of
available attributes.
.. code-block:: cpp
("<descriptor_key>", "<expression_value>")
Protobuf type envoy.extensions.rate_limit_descriptors.expr.v3.Descriptor| Modifier and Type | Class and Description |
|---|---|
static class |
Descriptor.Builder
The following descriptor entry is appended with a value computed
from a symbolic Common Expression Language expression.
|
static class |
Descriptor.ExprSpecifierCase |
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 |
DESCRIPTOR_KEY_FIELD_NUMBER |
static int |
PARSED_FIELD_NUMBER |
static int |
SKIP_IF_ERROR_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Descriptor |
getDefaultInstance() |
Descriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDescriptorKey()
The key to use in the descriptor entry.
|
com.google.protobuf.ByteString |
getDescriptorKeyBytes()
The key to use in the descriptor entry.
|
Descriptor.ExprSpecifierCase |
getExprSpecifierCase() |
Expr |
getParsed()
Parsed expression in AST form.
|
ExprOrBuilder |
getParsedOrBuilder()
Parsed expression in AST form.
|
com.google.protobuf.Parser<Descriptor> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getSkipIfError()
If set to true, Envoy skips the descriptor if the expression evaluates to an error.
|
String |
getText()
Expression in a text form, e.g.
|
com.google.protobuf.ByteString |
getTextBytes()
Expression in a text form, e.g.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasParsed()
Parsed expression in AST form.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Descriptor.Builder |
newBuilder() |
static Descriptor.Builder |
newBuilder(Descriptor prototype) |
Descriptor.Builder |
newBuilderForType() |
protected Descriptor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Descriptor |
parseDelimitedFrom(InputStream input) |
static Descriptor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Descriptor |
parseFrom(byte[] data) |
static Descriptor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Descriptor |
parseFrom(ByteBuffer data) |
static Descriptor |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Descriptor |
parseFrom(com.google.protobuf.ByteString data) |
static Descriptor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Descriptor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Descriptor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Descriptor |
parseFrom(InputStream input) |
static Descriptor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Descriptor> |
parser() |
Descriptor.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 DESCRIPTOR_KEY_FIELD_NUMBER
public static final int SKIP_IF_ERROR_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static final int PARSED_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 Descriptor.ExprSpecifierCase getExprSpecifierCase()
getExprSpecifierCase in interface DescriptorOrBuilderpublic String getDescriptorKey()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKey in interface DescriptorOrBuilderpublic com.google.protobuf.ByteString getDescriptorKeyBytes()
The key to use in the descriptor entry.
string descriptor_key = 1 [(.validate.rules) = { ... }getDescriptorKeyBytes in interface DescriptorOrBuilderpublic boolean getSkipIfError()
If set to true, Envoy skips the descriptor if the expression evaluates to an error. By default, the rate limit is not applied when an expression produces an error.
bool skip_if_error = 2;getSkipIfError in interface DescriptorOrBuilderpublic String getText()
Expression in a text form, e.g. "connection.requested_server_name".
string text = 3 [(.validate.rules) = { ... }getText in interface DescriptorOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
Expression in a text form, e.g. "connection.requested_server_name".
string text = 3 [(.validate.rules) = { ... }getTextBytes in interface DescriptorOrBuilderpublic boolean hasParsed()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;hasParsed in interface DescriptorOrBuilderpublic Expr getParsed()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;getParsed in interface DescriptorOrBuilderpublic ExprOrBuilder getParsedOrBuilder()
Parsed expression in AST form.
.google.api.expr.v1alpha1.Expr parsed = 4;getParsedOrBuilder in interface DescriptorOrBuilderpublic 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 Descriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Descriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static Descriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Descriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Descriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Descriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Descriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Descriptor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Descriptor.Builder newBuilder()
public static Descriptor.Builder newBuilder(Descriptor prototype)
public Descriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Descriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Descriptor getDefaultInstance()
public static com.google.protobuf.Parser<Descriptor> parser()
public com.google.protobuf.Parser<Descriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Descriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.