Interface MetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Metadata,Metadata.Builder
public interface MetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAllow the filter to overwrite or merge with an existing value in the namespace.The metadata namespace.com.google.protobuf.ByteStringThe metadata namespace.com.google.protobuf.AnyThe value to place at the namespace.com.google.protobuf.AnyOrBuilderThe value to place at the namespace.com.google.protobuf.StructgetValue()The value to place at the namespace.com.google.protobuf.StructOrBuilderThe value to place at the namespace.booleanThe value to place at the namespace.booleanhasValue()The value to place at the namespace.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
-
getMetadataNamespace
String getMetadataNamespace()The metadata namespace.
string metadata_namespace = 1 [(.validate.rules) = { ... }- Returns:
- The metadataNamespace.
-
getMetadataNamespaceBytes
com.google.protobuf.ByteString getMetadataNamespaceBytes()The metadata namespace.
string metadata_namespace = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for metadataNamespace.
-
getAllowOverwrite
boolean getAllowOverwrite()Allow the filter to overwrite or merge with an existing value in the namespace.
bool allow_overwrite = 2;- Returns:
- The allowOverwrite.
-
hasValue
boolean hasValue()The value to place at the namespace. If ``allow_overwrite``, this will overwrite or merge with any existing values in that namespace. See :ref:`the filter documentation <config_http_filters_set_metadata>` for more information on how this value is merged with potentially existing ones if ``allow_overwrite`` is configured. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Struct value = 3;- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.Struct getValue()The value to place at the namespace. If ``allow_overwrite``, this will overwrite or merge with any existing values in that namespace. See :ref:`the filter documentation <config_http_filters_set_metadata>` for more information on how this value is merged with potentially existing ones if ``allow_overwrite`` is configured. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Struct value = 3;- Returns:
- The value.
-
getValueOrBuilder
com.google.protobuf.StructOrBuilder getValueOrBuilder()The value to place at the namespace. If ``allow_overwrite``, this will overwrite or merge with any existing values in that namespace. See :ref:`the filter documentation <config_http_filters_set_metadata>` for more information on how this value is merged with potentially existing ones if ``allow_overwrite`` is configured. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Struct value = 3; -
hasTypedValue
boolean hasTypedValue()The value to place at the namespace. If ``allow_overwrite``, this will overwrite any existing values in that namespace. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Any typed_value = 4;- Returns:
- Whether the typedValue field is set.
-
getTypedValue
com.google.protobuf.Any getTypedValue()The value to place at the namespace. If ``allow_overwrite``, this will overwrite any existing values in that namespace. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Any typed_value = 4;- Returns:
- The typedValue.
-
getTypedValueOrBuilder
com.google.protobuf.AnyOrBuilder getTypedValueOrBuilder()The value to place at the namespace. If ``allow_overwrite``, this will overwrite any existing values in that namespace. Only one of ``value`` and ``typed_value`` may be set.
.google.protobuf.Any typed_value = 4;
-