asPrefixOrNull

Casts this GrpcMetadataMatchMethod as a Prefix and retrieves its kotlin.String value. Returns null if the GrpcMetadataMatchMethod is not a Prefix.