public final class StatsConfig extends com.google.protobuf.GeneratedMessageV3 implements StatsConfigOrBuilder
Statistics configuration such as tagging.Protobuf type
envoy.config.metrics.v2.StatsConfig| Modifier and Type | Class and Description |
|---|---|
static class |
StatsConfig.Builder
Statistics configuration such as tagging.
|
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 |
STATS_MATCHER_FIELD_NUMBER |
static int |
STATS_TAGS_FIELD_NUMBER |
static int |
USE_ALL_DEFAULT_TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static StatsConfig |
getDefaultInstance() |
StatsConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<StatsConfig> |
getParserForType() |
int |
getSerializedSize() |
StatsMatcher |
getStatsMatcher()
Inclusion/exclusion matcher for stat name creation.
|
StatsMatcherOrBuilder |
getStatsMatcherOrBuilder()
Inclusion/exclusion matcher for stat name creation.
|
TagSpecifier |
getStatsTags(int index)
Each stat name is iteratively processed through these tag specifiers.
|
int |
getStatsTagsCount()
Each stat name is iteratively processed through these tag specifiers.
|
List<TagSpecifier> |
getStatsTagsList()
Each stat name is iteratively processed through these tag specifiers.
|
TagSpecifierOrBuilder |
getStatsTagsOrBuilder(int index)
Each stat name is iteratively processed through these tag specifiers.
|
List<? extends TagSpecifierOrBuilder> |
getStatsTagsOrBuilderList()
Each stat name is iteratively processed through these tag specifiers.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.BoolValue |
getUseAllDefaultTags()
Use all default tag regexes specified in Envoy.
|
com.google.protobuf.BoolValueOrBuilder |
getUseAllDefaultTagsOrBuilder()
Use all default tag regexes specified in Envoy.
|
int |
hashCode() |
boolean |
hasStatsMatcher()
Inclusion/exclusion matcher for stat name creation.
|
boolean |
hasUseAllDefaultTags()
Use all default tag regexes specified in Envoy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static StatsConfig.Builder |
newBuilder() |
static StatsConfig.Builder |
newBuilder(StatsConfig prototype) |
StatsConfig.Builder |
newBuilderForType() |
protected StatsConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static StatsConfig |
parseDelimitedFrom(InputStream input) |
static StatsConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatsConfig |
parseFrom(byte[] data) |
static StatsConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatsConfig |
parseFrom(ByteBuffer data) |
static StatsConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatsConfig |
parseFrom(com.google.protobuf.ByteString data) |
static StatsConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatsConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StatsConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StatsConfig |
parseFrom(InputStream input) |
static StatsConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StatsConfig> |
parser() |
StatsConfig.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 STATS_TAGS_FIELD_NUMBER
public static final int USE_ALL_DEFAULT_TAGS_FIELD_NUMBER
public static final int STATS_MATCHER_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 List<TagSpecifier> getStatsTagsList()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v2.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v2.TagSpecifier stats_tags = 1;getStatsTagsList in interface StatsConfigOrBuilderpublic List<? extends TagSpecifierOrBuilder> getStatsTagsOrBuilderList()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v2.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v2.TagSpecifier stats_tags = 1;getStatsTagsOrBuilderList in interface StatsConfigOrBuilderpublic int getStatsTagsCount()
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v2.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v2.TagSpecifier stats_tags = 1;getStatsTagsCount in interface StatsConfigOrBuilderpublic TagSpecifier getStatsTags(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v2.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v2.TagSpecifier stats_tags = 1;getStatsTags in interface StatsConfigOrBuilderpublic TagSpecifierOrBuilder getStatsTagsOrBuilder(int index)
Each stat name is iteratively processed through these tag specifiers. When a tag is matched, the first capture group is removed from the name so later :ref:`TagSpecifiers <envoy_api_msg_config.metrics.v2.TagSpecifier>` cannot match that same portion of the match.
repeated .envoy.config.metrics.v2.TagSpecifier stats_tags = 1;getStatsTagsOrBuilder in interface StatsConfigOrBuilderpublic boolean hasUseAllDefaultTags()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_api_field_config.metrics.v2.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;hasUseAllDefaultTags in interface StatsConfigOrBuilderpublic com.google.protobuf.BoolValue getUseAllDefaultTags()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_api_field_config.metrics.v2.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;getUseAllDefaultTags in interface StatsConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getUseAllDefaultTagsOrBuilder()
Use all default tag regexes specified in Envoy. These can be combined with custom tags specified in :ref:`stats_tags <envoy_api_field_config.metrics.v2.StatsConfig.stats_tags>`. They will be processed before the custom tags. .. note:: If any default tags are specified twice, the config will be considered invalid. See :repo:`well_known_names.h <source/common/config/well_known_names.h>` for a list of the default tags in Envoy. If not provided, the value is assumed to be true.
.google.protobuf.BoolValue use_all_default_tags = 2;getUseAllDefaultTagsOrBuilder in interface StatsConfigOrBuilderpublic boolean hasStatsMatcher()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v2.StatsMatcher stats_matcher = 3;hasStatsMatcher in interface StatsConfigOrBuilderpublic StatsMatcher getStatsMatcher()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v2.StatsMatcher stats_matcher = 3;getStatsMatcher in interface StatsConfigOrBuilderpublic StatsMatcherOrBuilder getStatsMatcherOrBuilder()
Inclusion/exclusion matcher for stat name creation. If not provided, all stats are instantiated as normal. Preventing the instantiation of certain families of stats can improve memory performance for Envoys running especially large configs. .. warning:: Excluding stats may affect Envoy's behavior in undocumented ways. See `issue #8771 <https://github.com/envoyproxy/envoy/issues/8771>`_ for more information. If any unexpected behavior changes are observed, please open a new issue immediately.
.envoy.config.metrics.v2.StatsMatcher stats_matcher = 3;getStatsMatcherOrBuilder in interface StatsConfigOrBuilderpublic 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 StatsConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StatsConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static StatsConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StatsConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StatsConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StatsConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StatsConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StatsConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StatsConfig.Builder newBuilder()
public static StatsConfig.Builder newBuilder(StatsConfig prototype)
public StatsConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StatsConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static StatsConfig getDefaultInstance()
public static com.google.protobuf.Parser<StatsConfig> parser()
public com.google.protobuf.Parser<StatsConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StatsConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.