grpc-java,method:ManagedChannelBuilder.defaultServiceConfig() 的可用字段名称
grpc-java, available field names for the method:ManagedChannelBuilder.defaultServiceConfig()
Class : ManagedChannelBuilder
Method : defaultServiceConfig(Map<String,?> serviceConfig)
Available field names : MethodConfig, retryPolicy etc...
我正在尝试为该方法创建一个参数,但找不到可用的字段名称。我需要 serviceConfig 的字段名称列表。
我在哪里可以找到该列表,或者我是否需要查看源代码才能找到它们?
服务配置定义在 this proto 中定义。
服务配置对象 (Map<String, Object>
) 是一个类似于 JSON 的 ServiceConfig protobuf 表示。请注意,地图中的字段名称应为小驼峰。
Class : ManagedChannelBuilder
Method : defaultServiceConfig(Map<String,?> serviceConfig)
Available field names : MethodConfig, retryPolicy etc...
我正在尝试为该方法创建一个参数,但找不到可用的字段名称。我需要 serviceConfig 的字段名称列表。 我在哪里可以找到该列表,或者我是否需要查看源代码才能找到它们?
服务配置定义在 this proto 中定义。
服务配置对象 (Map<String, Object>
) 是一个类似于 JSON 的 ServiceConfig protobuf 表示。请注意,地图中的字段名称应为小驼峰。