Modifier and Type | Method and Description |
---|---|
static NameResolver.ConfigOrError |
NameResolver.ConfigOrError.fromConfig(Object config)
Returns a
NameResolver.ConfigOrError for the successfully parsed config. |
static NameResolver.ConfigOrError |
NameResolver.ConfigOrError.fromError(Status status)
Returns a
NameResolver.ConfigOrError for the failure to parse the config. |
NameResolver.ConfigOrError |
NameResolver.ResolutionResult.getServiceConfig()
Gets the Service Config parsed by
NameResolver.Args.getServiceConfigParser() . |
NameResolver.ConfigOrError |
LoadBalancerProvider.parseLoadBalancingPolicyConfig(Map<String,?> rawLoadBalancingPolicyConfig)
Parses the config for the Load Balancing policy unpacked from the service config.
|
abstract NameResolver.ConfigOrError |
NameResolver.ServiceConfigParser.parseServiceConfig(Map<String,?> rawServiceConfig)
Parses and validates the service configuration chosen by the name resolver.
|
Modifier and Type | Method and Description |
---|---|
NameResolver.ResolutionResult.Builder |
NameResolver.ResolutionResult.Builder.setServiceConfig(NameResolver.ConfigOrError serviceConfig)
Sets the Service Config parsed by
NameResolver.Args.getServiceConfigParser() . |