public void setMetadata(final Map<String, String> metadata) {
        this.metadata = metadata;
    }
Sets metadata.

@param metadata the metadata
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/resolver/ShenyuServiceInstance.java