private static boolean containsDeepWildcardLiteral(PathSegment segment) {
        if (segment instanceof DeepWildcardPathSegment) {
            return true;
        }
        if (segment instanceof VariablePathSegment) {
            return ((VariablePathSegment) segment)
                    .valueSegments().stream()
                    .anyMatch(HttpJsonTranscodingPathParser::containsDeepWildcardLiteral);
        }
        return false;
    }
Parses 'Segments' part.

<p>
Segments = Segment { "/" Segment }
</p>
grpc/src/main/java/com/linecorp/armeria/server/grpc/HttpJsonTranscodingPathParser.java