Class FilterConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.grpc_stats.v3.FilterConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FilterConfigOrBuilder,Cloneable
- Enclosing class:
- FilterConfig
public static final class FilterConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder> implements FilterConfigOrBuilder
gRPC statistics filter configuration
Protobuf typeenvoy.extensions.filters.http.grpc_stats.v3.FilterConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FilterConfigbuild()FilterConfigbuildPartial()FilterConfig.Builderclear()FilterConfig.BuilderclearEmitFilterState()If true, the filter maintains a filter state object with the request and response message counts.FilterConfig.BuilderclearEnableUpstreamStats()If true, the filter will gather a histogram for the request time of the upstream.FilterConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FilterConfig.BuilderclearIndividualMethodStatsAllowlist()If set, specifies an allowlist of service/methods that will have individual stats emitted for them.FilterConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FilterConfig.BuilderclearPerMethodStatSpecifier()FilterConfig.BuilderclearStatsForAllMethods()If set to true, emit stats for all service/method names.FilterConfig.Builderclone()FilterConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEmitFilterState()If true, the filter maintains a filter state object with the request and response message counts.booleangetEnableUpstreamStats()If true, the filter will gather a histogram for the request time of the upstream.GrpcMethodListgetIndividualMethodStatsAllowlist()If set, specifies an allowlist of service/methods that will have individual stats emitted for them.GrpcMethodList.BuildergetIndividualMethodStatsAllowlistBuilder()If set, specifies an allowlist of service/methods that will have individual stats emitted for them.GrpcMethodListOrBuildergetIndividualMethodStatsAllowlistOrBuilder()If set, specifies an allowlist of service/methods that will have individual stats emitted for them.FilterConfig.PerMethodStatSpecifierCasegetPerMethodStatSpecifierCase()com.google.protobuf.BoolValuegetStatsForAllMethods()If set to true, emit stats for all service/method names.com.google.protobuf.BoolValue.BuildergetStatsForAllMethodsBuilder()If set to true, emit stats for all service/method names.com.google.protobuf.BoolValueOrBuildergetStatsForAllMethodsOrBuilder()If set to true, emit stats for all service/method names.booleanhasIndividualMethodStatsAllowlist()If set, specifies an allowlist of service/methods that will have individual stats emitted for them.booleanhasStatsForAllMethods()If set to true, emit stats for all service/method names.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FilterConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FilterConfig.BuildermergeFrom(com.google.protobuf.Message other)FilterConfig.BuildermergeFrom(FilterConfig other)FilterConfig.BuildermergeIndividualMethodStatsAllowlist(GrpcMethodList value)If set, specifies an allowlist of service/methods that will have individual stats emitted for them.FilterConfig.BuildermergeStatsForAllMethods(com.google.protobuf.BoolValue value)If set to true, emit stats for all service/method names.FilterConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FilterConfig.BuildersetEmitFilterState(boolean value)If true, the filter maintains a filter state object with the request and response message counts.FilterConfig.BuildersetEnableUpstreamStats(boolean value)If true, the filter will gather a histogram for the request time of the upstream.FilterConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FilterConfig.BuildersetIndividualMethodStatsAllowlist(GrpcMethodList value)If set, specifies an allowlist of service/methods that will have individual stats emitted for them.FilterConfig.BuildersetIndividualMethodStatsAllowlist(GrpcMethodList.Builder builderForValue)If set, specifies an allowlist of service/methods that will have individual stats emitted for them.FilterConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FilterConfig.BuildersetStatsForAllMethods(com.google.protobuf.BoolValue value)If set to true, emit stats for all service/method names.FilterConfig.BuildersetStatsForAllMethods(com.google.protobuf.BoolValue.Builder builderForValue)If set to true, emit stats for all service/method names.FilterConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
clear
public FilterConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
getDefaultInstanceForType
public FilterConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FilterConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FilterConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FilterConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
setField
public FilterConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
clearField
public FilterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
clearOneof
public FilterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
setRepeatedField
public FilterConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
addRepeatedField
public FilterConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
mergeFrom
public FilterConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FilterConfig.Builder>
-
mergeFrom
public FilterConfig.Builder mergeFrom(FilterConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
mergeFrom
public FilterConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FilterConfig.Builder>- Throws:
IOException
-
getPerMethodStatSpecifierCase
public FilterConfig.PerMethodStatSpecifierCase getPerMethodStatSpecifierCase()
- Specified by:
getPerMethodStatSpecifierCasein interfaceFilterConfigOrBuilder
-
clearPerMethodStatSpecifier
public FilterConfig.Builder clearPerMethodStatSpecifier()
-
getEmitFilterState
public boolean getEmitFilterState()
If true, the filter maintains a filter state object with the request and response message counts.
bool emit_filter_state = 1;- Specified by:
getEmitFilterStatein interfaceFilterConfigOrBuilder- Returns:
- The emitFilterState.
-
setEmitFilterState
public FilterConfig.Builder setEmitFilterState(boolean value)
If true, the filter maintains a filter state object with the request and response message counts.
bool emit_filter_state = 1;- Parameters:
value- The emitFilterState to set.- Returns:
- This builder for chaining.
-
clearEmitFilterState
public FilterConfig.Builder clearEmitFilterState()
If true, the filter maintains a filter state object with the request and response message counts.
bool emit_filter_state = 1;- Returns:
- This builder for chaining.
-
hasIndividualMethodStatsAllowlist
public 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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;- Specified by:
hasIndividualMethodStatsAllowlistin interfaceFilterConfigOrBuilder- Returns:
- Whether the individualMethodStatsAllowlist field is set.
-
getIndividualMethodStatsAllowlist
public 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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;- Specified by:
getIndividualMethodStatsAllowlistin interfaceFilterConfigOrBuilder- Returns:
- The individualMethodStatsAllowlist.
-
setIndividualMethodStatsAllowlist
public FilterConfig.Builder setIndividualMethodStatsAllowlist(GrpcMethodList value)
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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;
-
setIndividualMethodStatsAllowlist
public FilterConfig.Builder setIndividualMethodStatsAllowlist(GrpcMethodList.Builder builderForValue)
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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;
-
mergeIndividualMethodStatsAllowlist
public FilterConfig.Builder mergeIndividualMethodStatsAllowlist(GrpcMethodList value)
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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;
-
clearIndividualMethodStatsAllowlist
public FilterConfig.Builder clearIndividualMethodStatsAllowlist()
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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;
-
getIndividualMethodStatsAllowlistBuilder
public GrpcMethodList.Builder getIndividualMethodStatsAllowlistBuilder()
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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;
-
getIndividualMethodStatsAllowlistOrBuilder
public 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.config.core.v3.GrpcMethodList individual_method_stats_allowlist = 2;- Specified by:
getIndividualMethodStatsAllowlistOrBuilderin interfaceFilterConfigOrBuilder
-
hasStatsForAllMethods
public 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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;- Specified by:
hasStatsForAllMethodsin interfaceFilterConfigOrBuilder- Returns:
- Whether the statsForAllMethods field is set.
-
getStatsForAllMethods
public 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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;- Specified by:
getStatsForAllMethodsin interfaceFilterConfigOrBuilder- Returns:
- The statsForAllMethods.
-
setStatsForAllMethods
public FilterConfig.Builder setStatsForAllMethods(com.google.protobuf.BoolValue value)
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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;
-
setStatsForAllMethods
public FilterConfig.Builder setStatsForAllMethods(com.google.protobuf.BoolValue.Builder builderForValue)
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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;
-
mergeStatsForAllMethods
public FilterConfig.Builder mergeStatsForAllMethods(com.google.protobuf.BoolValue value)
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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;
-
clearStatsForAllMethods
public FilterConfig.Builder clearStatsForAllMethods()
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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;
-
getStatsForAllMethodsBuilder
public com.google.protobuf.BoolValue.Builder getStatsForAllMethodsBuilder()
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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed 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
public 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=false``. This default value is changed due to the previous value being deprecated. This behavior can be changed with runtime override ``envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default``.
.google.protobuf.BoolValue stats_for_all_methods = 3;- Specified by:
getStatsForAllMethodsOrBuilderin interfaceFilterConfigOrBuilder
-
getEnableUpstreamStats
public boolean getEnableUpstreamStats()
If true, the filter will gather a histogram for the request time of the upstream. It works with :ref:`stats_for_all_methods <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.stats_for_all_methods>` and :ref:`individual_method_stats_allowlist <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.individual_method_stats_allowlist>` the same way request_message_count and response_message_count works.
bool enable_upstream_stats = 4;- Specified by:
getEnableUpstreamStatsin interfaceFilterConfigOrBuilder- Returns:
- The enableUpstreamStats.
-
setEnableUpstreamStats
public FilterConfig.Builder setEnableUpstreamStats(boolean value)
If true, the filter will gather a histogram for the request time of the upstream. It works with :ref:`stats_for_all_methods <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.stats_for_all_methods>` and :ref:`individual_method_stats_allowlist <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.individual_method_stats_allowlist>` the same way request_message_count and response_message_count works.
bool enable_upstream_stats = 4;- Parameters:
value- The enableUpstreamStats to set.- Returns:
- This builder for chaining.
-
clearEnableUpstreamStats
public FilterConfig.Builder clearEnableUpstreamStats()
If true, the filter will gather a histogram for the request time of the upstream. It works with :ref:`stats_for_all_methods <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.stats_for_all_methods>` and :ref:`individual_method_stats_allowlist <envoy_v3_api_field_extensions.filters.http.grpc_stats.v3.FilterConfig.individual_method_stats_allowlist>` the same way request_message_count and response_message_count works.
bool enable_upstream_stats = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final FilterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
mergeUnknownFields
public final FilterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>
-
-