asRegex

Casts this GrpcRouteMetadataMatchMethod as a Regex and retrieves its kotlin.String value. Throws an exception if the GrpcRouteMetadataMatchMethod is not a Regex.