Interface SchemeHeaderTransformationOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getMatchUpstream()
      Set the Scheme header to match the upstream transport protocol.
      java.lang.String getSchemeToOverwrite()
      Overwrite any Scheme header with the contents of this string.
      com.google.protobuf.ByteString getSchemeToOverwriteBytes()
      Overwrite any Scheme header with the contents of this string.
      SchemeHeaderTransformation.TransformationCase getTransformationCase()  
      boolean hasSchemeToOverwrite()
      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 Detail

      • 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

        java.lang.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.