Package io.grpc.serviceconfig
Interface XdsConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XdsConfig,XdsConfig.Builder
public interface XdsConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.com.google.protobuf.ByteStringDeprecated.grpc.service_config.XdsConfig.balancer_name is deprecated.getChildPolicy(int index) Optional.intOptional.Optional.getChildPolicyOrBuilder(int index) Optional.List<? extends LoadBalancingConfigOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.getFallbackPolicy(int index) Optional.intOptional.Optional.getFallbackPolicyOrBuilder(int index) Optional.List<? extends LoadBalancingConfigOrBuilder>Optional.com.google.protobuf.StringValueLRS server to send load reports to.com.google.protobuf.StringValueOrBuilderLRS server to send load reports to.booleanLRS server to send load reports to.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
-
getBalancerName
Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];- Returns:
- The balancerName.
-
getBalancerNameBytes
Deprecated.grpc.service_config.XdsConfig.balancer_name is deprecated. See service_config.proto;l=432Name of balancer to connect to.
string balancer_name = 1 [deprecated = true];- Returns:
- The bytes for balancerName.
-
getChildPolicyList
List<LoadBalancingConfig> getChildPolicyList()Optional. What LB policy to use for intra-locality routing. If unset, will use whatever algorithm is specified by the balancer. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 2; -
getChildPolicy
Optional. What LB policy to use for intra-locality routing. If unset, will use whatever algorithm is specified by the balancer. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 2; -
getChildPolicyCount
int getChildPolicyCount()Optional. What LB policy to use for intra-locality routing. If unset, will use whatever algorithm is specified by the balancer. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 2; -
getChildPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()Optional. What LB policy to use for intra-locality routing. If unset, will use whatever algorithm is specified by the balancer. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 2; -
getChildPolicyOrBuilder
Optional. What LB policy to use for intra-locality routing. If unset, will use whatever algorithm is specified by the balancer. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 2; -
getFallbackPolicyList
List<LoadBalancingConfig> getFallbackPolicyList()Optional. What LB policy to use in fallback mode. If not specified, defaults to round_robin. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3; -
getFallbackPolicy
Optional. What LB policy to use in fallback mode. If not specified, defaults to round_robin. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3; -
getFallbackPolicyCount
int getFallbackPolicyCount()Optional. What LB policy to use in fallback mode. If not specified, defaults to round_robin. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3; -
getFallbackPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getFallbackPolicyOrBuilderList()Optional. What LB policy to use in fallback mode. If not specified, defaults to round_robin. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3; -
getFallbackPolicyOrBuilder
Optional. What LB policy to use in fallback mode. If not specified, defaults to round_robin. Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.
repeated .grpc.service_config.LoadBalancingConfig fallback_policy = 3; -
getEdsServiceName
String getEdsServiceName()Optional. Name to use in EDS query. If not present, defaults to the server name from the target URI.
string eds_service_name = 4;- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
com.google.protobuf.ByteString getEdsServiceNameBytes()Optional. Name to use in EDS query. If not present, defaults to the server name from the target URI.
string eds_service_name = 4;- Returns:
- The bytes for edsServiceName.
-
hasLrsLoadReportingServerName
boolean hasLrsLoadReportingServerName()LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 5;- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
com.google.protobuf.StringValue getLrsLoadReportingServerName()LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 5;- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameOrBuilder
com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()LRS server to send load reports to. If not present, load reporting will be disabled. If set to the empty string, load reporting will be sent to the same server that we obtained CDS data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 5;
-