Interface HeaderValueOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HeaderValue,HeaderValue.Builder
public interface HeaderValueOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()Header name.com.google.protobuf.ByteStringgetKeyBytes()Header name.StringgetValue()Header value.com.google.protobuf.ByteStringgetValueBytes()Header value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
String getKey()
Header name.
string key = 1 [(.validate.rules) = { ... }- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
Header name.
string key = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for key.
-
getValue
String getValue()
Header value. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown header values are replaced with the empty string instead of ``-``.
string value = 2 [(.validate.rules) = { ... }- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
Header value. The same :ref:`format specifier <config_access_log_format>` as used for :ref:`HTTP access logging <config_access_log>` applies here, however unknown header values are replaced with the empty string instead of ``-``.
string value = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for value.
-
-