Interface FilterStateValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FilterStateValue,FilterStateValue.Builder
public interface FilterStateValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubstitutionFormatStringgetFormatString()Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.SubstitutionFormatStringOrBuildergetFormatStringOrBuilder()Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.FilterStateValue.KeyCasegetKeyCase()StringgetObjectKey()Filter state object key.com.google.protobuf.ByteStringgetObjectKeyBytes()Filter state object key.booleangetReadOnly()If marked as read-only, the filter state key value is locked, and cannot be overridden by any filter, including this filter.FilterStateValue.SharedWithUpstreamgetSharedWithUpstream()Configures the object to be shared with the upstream internal connections.intgetSharedWithUpstreamValue()Configures the object to be shared with the upstream internal connections.booleangetSkipIfEmpty()Skip the update if the value evaluates to an empty string.FilterStateValue.ValueCasegetValueCase()booleanhasFormatString()Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.booleanhasObjectKey()Filter state object key.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasObjectKey
boolean hasObjectKey()
Filter state object key. The key is expected to be registered via an object factory, see :ref:`the well-known filter state keys <well_known_filter_state>`.
string object_key = 1 [(.validate.rules) = { ... }- Returns:
- Whether the objectKey field is set.
-
getObjectKey
String getObjectKey()
Filter state object key. The key is expected to be registered via an object factory, see :ref:`the well-known filter state keys <well_known_filter_state>`.
string object_key = 1 [(.validate.rules) = { ... }- Returns:
- The objectKey.
-
getObjectKeyBytes
com.google.protobuf.ByteString getObjectKeyBytes()
Filter state object key. The key is expected to be registered via an object factory, see :ref:`the well-known filter state keys <well_known_filter_state>`.
string object_key = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for objectKey.
-
hasFormatString
boolean hasFormatString()
Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.
.envoy.config.core.v3.SubstitutionFormatString format_string = 2;- Returns:
- Whether the formatString field is set.
-
getFormatString
SubstitutionFormatString getFormatString()
Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.
.envoy.config.core.v3.SubstitutionFormatString format_string = 2;- Returns:
- The formatString.
-
getFormatStringOrBuilder
SubstitutionFormatStringOrBuilder getFormatStringOrBuilder()
Uses the :ref:`format string <config_access_log_format_strings>` to instantiate the filter state object value.
.envoy.config.core.v3.SubstitutionFormatString format_string = 2;
-
getReadOnly
boolean getReadOnly()
If marked as read-only, the filter state key value is locked, and cannot be overridden by any filter, including this filter.
bool read_only = 3;- Returns:
- The readOnly.
-
getSharedWithUpstreamValue
int getSharedWithUpstreamValue()
Configures the object to be shared with the upstream internal connections. See :ref:`internal upstream transport <config_internal_upstream_transport>` for more details on the filter state sharing with the internal connections.
.envoy.extensions.filters.common.set_filter_state.v3.FilterStateValue.SharedWithUpstream shared_with_upstream = 4;- Returns:
- The enum numeric value on the wire for sharedWithUpstream.
-
getSharedWithUpstream
FilterStateValue.SharedWithUpstream getSharedWithUpstream()
Configures the object to be shared with the upstream internal connections. See :ref:`internal upstream transport <config_internal_upstream_transport>` for more details on the filter state sharing with the internal connections.
.envoy.extensions.filters.common.set_filter_state.v3.FilterStateValue.SharedWithUpstream shared_with_upstream = 4;- Returns:
- The sharedWithUpstream.
-
getSkipIfEmpty
boolean getSkipIfEmpty()
Skip the update if the value evaluates to an empty string. This option can be used to supply multiple alternatives for the same filter state object key.
bool skip_if_empty = 5;- Returns:
- The skipIfEmpty.
-
getKeyCase
FilterStateValue.KeyCase getKeyCase()
-
getValueCase
FilterStateValue.ValueCase getValueCase()
-
-