Interface SchemeHeaderTransformationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SchemeHeaderTransformation, SchemeHeaderTransformation.Builder

public interface SchemeHeaderTransformationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Set the Scheme header to match the upstream transport protocol.
    Overwrite any Scheme header with the contents of this string.
    com.google.protobuf.ByteString
    Overwrite any Scheme header with the contents of this string.
     
    boolean
    Overwrite any Scheme header with the contents of this string.

    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

    • hasSchemeToOverwrite

      boolean hasSchemeToOverwrite()
       Overwrite any Scheme header with the contents of this string.
       If set, takes precedence over match_upstream.
       
      string scheme_to_overwrite = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the schemeToOverwrite field is set.
    • getSchemeToOverwrite

      String getSchemeToOverwrite()
       Overwrite any Scheme header with the contents of this string.
       If set, takes precedence over match_upstream.
       
      string scheme_to_overwrite = 1 [(.validate.rules) = { ... }
      Returns:
      The schemeToOverwrite.
    • getSchemeToOverwriteBytes

      com.google.protobuf.ByteString getSchemeToOverwriteBytes()
       Overwrite any Scheme header with the contents of this string.
       If set, takes precedence over match_upstream.
       
      string scheme_to_overwrite = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for schemeToOverwrite.
    • getMatchUpstream

      boolean getMatchUpstream()
       Set the Scheme header to match the upstream transport protocol. For example, should a
       request be sent to the upstream over TLS, the scheme header will be set to "https". Should the
       request be sent over plaintext, the scheme header will be set to "http".
       If scheme_to_overwrite is set, this field is not used.
       
      bool match_upstream = 2;
      Returns:
      The matchUpstream.
    • getTransformationCase