public final class FilterConfig extends com.google.protobuf.GeneratedMessageV3 implements FilterConfigOrBuilder
gRPC statistics filter configurationProtobuf type
envoy.config.filter.http.grpc_stats.v2alpha.FilterConfig| Modifier and Type | Class and Description |
|---|---|
static class |
FilterConfig.Builder
gRPC statistics filter configuration
Protobuf type
envoy.config.filter.http.grpc_stats.v2alpha.FilterConfig |
static class |
FilterConfig.PerMethodStatSpecifierCase |
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 |
EMIT_FILTER_STATE_FIELD_NUMBER |
static int |
INDIVIDUAL_METHOD_STATS_ALLOWLIST_FIELD_NUMBER |
static int |
STATS_FOR_ALL_METHODS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FilterConfig |
getDefaultInstance() |
FilterConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEmitFilterState()
If true, the filter maintains a filter state object with the request and response message
counts.
|
GrpcMethodList |
getIndividualMethodStatsAllowlist()
If set, specifies an allowlist of service/methods that will have individual stats
emitted for them.
|
GrpcMethodListOrBuilder |
getIndividualMethodStatsAllowlistOrBuilder()
If set, specifies an allowlist of service/methods that will have individual stats
emitted for them.
|
com.google.protobuf.Parser<FilterConfig> |
getParserForType() |
FilterConfig.PerMethodStatSpecifierCase |
getPerMethodStatSpecifierCase() |
int |
getSerializedSize() |
com.google.protobuf.BoolValue |
getStatsForAllMethods()
If set to true, emit stats for all service/method names.
|
com.google.protobuf.BoolValueOrBuilder |
getStatsForAllMethodsOrBuilder()
If set to true, emit stats for all service/method names.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasIndividualMethodStatsAllowlist()
If set, specifies an allowlist of service/methods that will have individual stats
emitted for them.
|
boolean |
hasStatsForAllMethods()
If set to true, emit stats for all service/method names.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FilterConfig.Builder |
newBuilder() |
static FilterConfig.Builder |
newBuilder(FilterConfig prototype) |
FilterConfig.Builder |
newBuilderForType() |
protected FilterConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FilterConfig |
parseDelimitedFrom(InputStream input) |
static FilterConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterConfig |
parseFrom(byte[] data) |
static FilterConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterConfig |
parseFrom(ByteBuffer data) |
static FilterConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterConfig |
parseFrom(com.google.protobuf.ByteString data) |
static FilterConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FilterConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FilterConfig |
parseFrom(InputStream input) |
static FilterConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FilterConfig> |
parser() |
FilterConfig.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 EMIT_FILTER_STATE_FIELD_NUMBER
public static final int INDIVIDUAL_METHOD_STATS_ALLOWLIST_FIELD_NUMBER
public static final int STATS_FOR_ALL_METHODS_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 FilterConfig.PerMethodStatSpecifierCase getPerMethodStatSpecifierCase()
getPerMethodStatSpecifierCase in interface FilterConfigOrBuilderpublic boolean getEmitFilterState()
If true, the filter maintains a filter state object with the request and response message counts.
bool emit_filter_state = 1;getEmitFilterState in interface FilterConfigOrBuilderpublic boolean hasIndividualMethodStatsAllowlist()
If set, specifies an allowlist of service/methods that will have individual stats emitted for them. Any call that does not match the allowlist will be counted in a stat with no method specifier: `cluster.<name>.grpc.*`.
.envoy.api.v2.core.GrpcMethodList individual_method_stats_allowlist = 2;hasIndividualMethodStatsAllowlist in interface FilterConfigOrBuilderpublic GrpcMethodList getIndividualMethodStatsAllowlist()
If set, specifies an allowlist of service/methods that will have individual stats emitted for them. Any call that does not match the allowlist will be counted in a stat with no method specifier: `cluster.<name>.grpc.*`.
.envoy.api.v2.core.GrpcMethodList individual_method_stats_allowlist = 2;getIndividualMethodStatsAllowlist in interface FilterConfigOrBuilderpublic GrpcMethodListOrBuilder getIndividualMethodStatsAllowlistOrBuilder()
If set, specifies an allowlist of service/methods that will have individual stats emitted for them. Any call that does not match the allowlist will be counted in a stat with no method specifier: `cluster.<name>.grpc.*`.
.envoy.api.v2.core.GrpcMethodList individual_method_stats_allowlist = 2;getIndividualMethodStatsAllowlistOrBuilder in interface FilterConfigOrBuilderpublic boolean hasStatsForAllMethods()
If set to true, emit stats for all service/method names. If set to false, emit stats for all service/message types to the same stats without including the service/method in the name, with prefix `cluster.<name>.grpc`. This can be useful if service/method granularity is not needed, or if each cluster only receives a single method. .. attention:: This option is only safe if all clients are trusted. If this option is enabled with untrusted clients, the clients could cause unbounded growth in the number of stats in Envoy, using unbounded memory and potentially slowing down stats pipelines. .. attention:: If neither `individual_method_stats_allowlist` nor `stats_for_all_methods` is set, the behavior will default to `stats_for_all_methods=true`. This default value is deprecated, and in a future release, if neither field is set, it will default to `stats_for_all_methods=false` in order to be safe by default. This behavior can be controlled with runtime override `envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default`.
.google.protobuf.BoolValue stats_for_all_methods = 3;hasStatsForAllMethods in interface FilterConfigOrBuilderpublic com.google.protobuf.BoolValue getStatsForAllMethods()
If set to true, emit stats for all service/method names. If set to false, emit stats for all service/message types to the same stats without including the service/method in the name, with prefix `cluster.<name>.grpc`. This can be useful if service/method granularity is not needed, or if each cluster only receives a single method. .. attention:: This option is only safe if all clients are trusted. If this option is enabled with untrusted clients, the clients could cause unbounded growth in the number of stats in Envoy, using unbounded memory and potentially slowing down stats pipelines. .. attention:: If neither `individual_method_stats_allowlist` nor `stats_for_all_methods` is set, the behavior will default to `stats_for_all_methods=true`. This default value is deprecated, and in a future release, if neither field is set, it will default to `stats_for_all_methods=false` in order to be safe by default. This behavior can be controlled with runtime override `envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default`.
.google.protobuf.BoolValue stats_for_all_methods = 3;getStatsForAllMethods in interface FilterConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getStatsForAllMethodsOrBuilder()
If set to true, emit stats for all service/method names. If set to false, emit stats for all service/message types to the same stats without including the service/method in the name, with prefix `cluster.<name>.grpc`. This can be useful if service/method granularity is not needed, or if each cluster only receives a single method. .. attention:: This option is only safe if all clients are trusted. If this option is enabled with untrusted clients, the clients could cause unbounded growth in the number of stats in Envoy, using unbounded memory and potentially slowing down stats pipelines. .. attention:: If neither `individual_method_stats_allowlist` nor `stats_for_all_methods` is set, the behavior will default to `stats_for_all_methods=true`. This default value is deprecated, and in a future release, if neither field is set, it will default to `stats_for_all_methods=false` in order to be safe by default. This behavior can be controlled with runtime override `envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default`.
.google.protobuf.BoolValue stats_for_all_methods = 3;getStatsForAllMethodsOrBuilder in interface FilterConfigOrBuilderpublic 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 FilterConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FilterConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static FilterConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FilterConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FilterConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FilterConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FilterConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FilterConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FilterConfig.Builder newBuilder()
public static FilterConfig.Builder newBuilder(FilterConfig prototype)
public FilterConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FilterConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FilterConfig getDefaultInstance()
public static com.google.protobuf.Parser<FilterConfig> parser()
public com.google.protobuf.Parser<FilterConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FilterConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.