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

    Modifier and Type
    Method
    Description
    Header name.
    com.google.protobuf.ByteString
    Header name.
    Header value.
    com.google.protobuf.ByteString
    Header value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.