io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfigOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: service_config.proto
// Protobuf Java Version: 3.25.5
package io.grpc.serviceconfig;
public interface WeightedTargetLoadBalancingPolicyConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.service_config.WeightedTargetLoadBalancingPolicyConfig)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
*/
int getTargetsCount();
/**
* map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
*/
boolean containsTargets(
java.lang.String key);
/**
* Use {@link #getTargetsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getTargets();
/**
* map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
*/
java.util.Map
getTargetsMap();
/**
* map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
*/
/* nullable */
io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target getTargetsOrDefault(
java.lang.String key,
/* nullable */
io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target defaultValue);
/**
* map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
*/
io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target getTargetsOrThrow(
java.lang.String key);
}