asPrefix

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