package io.grpc.util; import io.grpc.LoadBalancer; import io.grpc.LoadBalancerProvider; import io.grpc.NameResolver; import java.util.Map; /* loaded from: classes6.dex */ final class SecretRoundRobinLoadBalancerProvider { private SecretRoundRobinLoadBalancerProvider() { } /* loaded from: classes6.dex */ public static final class Provider extends LoadBalancerProvider { private static final String NO_CONFIG = "no service config"; @Override // io.grpc.LoadBalancerProvider public final int getPriority() { return 5; } @Override // io.grpc.LoadBalancerProvider public final boolean isAvailable() { return true; } @Override // io.grpc.LoadBalancer.Factory public final LoadBalancer newLoadBalancer(LoadBalancer.Helper helper) { return new RoundRobinLoadBalancer(helper); } @Override // io.grpc.LoadBalancerProvider public final NameResolver.ConfigOrError parseLoadBalancingPolicyConfig(Map map) { return NameResolver.ConfigOrError.fromConfig(NO_CONFIG); } @Override // io.grpc.LoadBalancerProvider public final String getPolicyName() { return "round_robin"; } } }