Package io.grpc.serviceconfig
Interface XdsClusterResolverLoadBalancingPolicyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XdsClusterResolverLoadBalancingPolicyConfig,XdsClusterResolverLoadBalancingPolicyConfig.Builder
public interface XdsClusterResolverLoadBalancingPolicyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDiscoveryMechanisms(int index) Ordered list of discovery mechanisms.intOrdered list of discovery mechanisms.Ordered list of discovery mechanisms.getDiscoveryMechanismsOrBuilder(int index) Ordered list of discovery mechanisms.Ordered list of discovery mechanisms.getXdsLbPolicy(int index) xDS LB policy.intxDS LB policy.xDS LB policy.getXdsLbPolicyOrBuilder(int index) xDS LB policy.List<? extends LoadBalancingConfigOrBuilder>xDS LB policy.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDiscoveryMechanismsList
List<XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism> getDiscoveryMechanismsList()Ordered list of discovery mechanisms. Must have at least one element. Results from each discovery mechanism are concatenated together in successive priorities.
repeated .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism discovery_mechanisms = 1; -
getDiscoveryMechanisms
Ordered list of discovery mechanisms. Must have at least one element. Results from each discovery mechanism are concatenated together in successive priorities.
repeated .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism discovery_mechanisms = 1; -
getDiscoveryMechanismsCount
int getDiscoveryMechanismsCount()Ordered list of discovery mechanisms. Must have at least one element. Results from each discovery mechanism are concatenated together in successive priorities.
repeated .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism discovery_mechanisms = 1; -
getDiscoveryMechanismsOrBuilderList
List<? extends XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder> getDiscoveryMechanismsOrBuilderList()Ordered list of discovery mechanisms. Must have at least one element. Results from each discovery mechanism are concatenated together in successive priorities.
repeated .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism discovery_mechanisms = 1; -
getDiscoveryMechanismsOrBuilder
XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanismOrBuilder getDiscoveryMechanismsOrBuilder(int index) Ordered list of discovery mechanisms. Must have at least one element. Results from each discovery mechanism are concatenated together in successive priorities.
repeated .grpc.service_config.XdsClusterResolverLoadBalancingPolicyConfig.DiscoveryMechanism discovery_mechanisms = 1; -
getXdsLbPolicyList
List<LoadBalancingConfig> getXdsLbPolicyList()xDS LB policy. This represents the xDS LB policy, which does not necessarily map one-to-one to a gRPC LB policy. Currently, the following policies are supported: - "ROUND_ROBIN" (config is empty) - "RING_HASH" (config is a RingHashLoadBalancingConfig)
repeated .grpc.service_config.LoadBalancingConfig xds_lb_policy = 2; -
getXdsLbPolicy
xDS LB policy. This represents the xDS LB policy, which does not necessarily map one-to-one to a gRPC LB policy. Currently, the following policies are supported: - "ROUND_ROBIN" (config is empty) - "RING_HASH" (config is a RingHashLoadBalancingConfig)
repeated .grpc.service_config.LoadBalancingConfig xds_lb_policy = 2; -
getXdsLbPolicyCount
int getXdsLbPolicyCount()xDS LB policy. This represents the xDS LB policy, which does not necessarily map one-to-one to a gRPC LB policy. Currently, the following policies are supported: - "ROUND_ROBIN" (config is empty) - "RING_HASH" (config is a RingHashLoadBalancingConfig)
repeated .grpc.service_config.LoadBalancingConfig xds_lb_policy = 2; -
getXdsLbPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getXdsLbPolicyOrBuilderList()xDS LB policy. This represents the xDS LB policy, which does not necessarily map one-to-one to a gRPC LB policy. Currently, the following policies are supported: - "ROUND_ROBIN" (config is empty) - "RING_HASH" (config is a RingHashLoadBalancingConfig)
repeated .grpc.service_config.LoadBalancingConfig xds_lb_policy = 2; -
getXdsLbPolicyOrBuilder
xDS LB policy. This represents the xDS LB policy, which does not necessarily map one-to-one to a gRPC LB policy. Currently, the following policies are supported: - "ROUND_ROBIN" (config is empty) - "RING_HASH" (config is a RingHashLoadBalancingConfig)
repeated .grpc.service_config.LoadBalancingConfig xds_lb_policy = 2;
-