Interface Config.CounterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Config.Counter,Config.Counter.Builder
- Enclosing class:
- Config
public static interface Config.CounterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetStat()The name and tags of this counter.The name and tags of this counter.com.google.protobuf.UInt64ValueA fixed value to add to this counter.com.google.protobuf.UInt64ValueOrBuilderA fixed value to add to this counter.The format string for the value to add to this counter, using :ref:`command operators <config_access_log_command_operators>`.com.google.protobuf.ByteStringThe format string for the value to add to this counter, using :ref:`command operators <config_access_log_command_operators>`.booleanhasStat()The name and tags of this counter.booleanA fixed value to add to this counter.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasStat
boolean hasStat()The name and tags of this counter.
.envoy.extensions.access_loggers.stats.v3.Config.Stat stat = 1 [(.validate.rules) = { ... }- Returns:
- Whether the stat field is set.
-
getStat
Config.Stat getStat()The name and tags of this counter.
.envoy.extensions.access_loggers.stats.v3.Config.Stat stat = 1 [(.validate.rules) = { ... }- Returns:
- The stat.
-
getStatOrBuilder
Config.StatOrBuilder getStatOrBuilder()The name and tags of this counter.
.envoy.extensions.access_loggers.stats.v3.Config.Stat stat = 1 [(.validate.rules) = { ... } -
getValueFormat
String getValueFormat()The format string for the value to add to this counter, using :ref:`command operators <config_access_log_command_operators>`. One of ``value_format`` or ``value_fixed`` must be configured.
string value_format = 2 [(.validate.rules) = { ... }- Returns:
- The valueFormat.
-
getValueFormatBytes
com.google.protobuf.ByteString getValueFormatBytes()The format string for the value to add to this counter, using :ref:`command operators <config_access_log_command_operators>`. One of ``value_format`` or ``value_fixed`` must be configured.
string value_format = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for valueFormat.
-
hasValueFixed
boolean hasValueFixed()A fixed value to add to this counter. One of ``value_format`` or ``value_fixed`` must be configured.
.google.protobuf.UInt64Value value_fixed = 3 [(.validate.rules) = { ... }- Returns:
- Whether the valueFixed field is set.
-
getValueFixed
com.google.protobuf.UInt64Value getValueFixed()A fixed value to add to this counter. One of ``value_format`` or ``value_fixed`` must be configured.
.google.protobuf.UInt64Value value_fixed = 3 [(.validate.rules) = { ... }- Returns:
- The valueFixed.
-
getValueFixedOrBuilder
com.google.protobuf.UInt64ValueOrBuilder getValueFixedOrBuilder()A fixed value to add to this counter. One of ``value_format`` or ``value_fixed`` must be configured.
.google.protobuf.UInt64Value value_fixed = 3 [(.validate.rules) = { ... }
-