Package io.grpc.serviceconfig
Interface LrsLoadBalancingPolicyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LrsLoadBalancingPolicyConfig,LrsLoadBalancingPolicyConfig.Builder
public interface LrsLoadBalancingPolicyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChildPolicy(int index) Endpoint-picking policy.intEndpoint-picking policy.Endpoint-picking policy.getChildPolicyOrBuilder(int index) Endpoint-picking policy.List<? extends LoadBalancingConfigOrBuilder>Endpoint-picking policy.Cluster name.com.google.protobuf.ByteStringCluster name.EDS service name, as returned in CDS.com.google.protobuf.ByteStringEDS service name, as returned in CDS..grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4;.grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4;Server to send load reports to.com.google.protobuf.ByteStringServer to send load reports to.boolean.grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4;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
-
getClusterName
String getClusterName()Cluster name. Required.
string cluster_name = 1;- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()Cluster name. Required.
string cluster_name = 1;- Returns:
- The bytes for clusterName.
-
getEdsServiceName
String getEdsServiceName()EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
com.google.protobuf.ByteString getEdsServiceNameBytes()EDS service name, as returned in CDS. May be unset if not specified in CDS.
string eds_service_name = 2;- Returns:
- The bytes for edsServiceName.
-
getLrsLoadReportingServerName
String getLrsLoadReportingServerName()Server to send load reports to. Required. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
string lrs_load_reporting_server_name = 3;- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameBytes
com.google.protobuf.ByteString getLrsLoadReportingServerNameBytes()Server to send load reports to. Required. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
string lrs_load_reporting_server_name = 3;- Returns:
- The bytes for lrsLoadReportingServerName.
-
hasLocality
boolean hasLocality().grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4;- Returns:
- Whether the locality field is set.
-
getLocality
LrsLoadBalancingPolicyConfig.Locality getLocality().grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4;- Returns:
- The locality.
-
getLocalityOrBuilder
LrsLoadBalancingPolicyConfig.LocalityOrBuilder getLocalityOrBuilder().grpc.service_config.LrsLoadBalancingPolicyConfig.Locality locality = 4; -
getChildPolicyList
List<LoadBalancingConfig> getChildPolicyList()Endpoint-picking policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 5; -
getChildPolicy
Endpoint-picking policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 5; -
getChildPolicyCount
int getChildPolicyCount()Endpoint-picking policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 5; -
getChildPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()Endpoint-picking policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 5; -
getChildPolicyOrBuilder
Endpoint-picking policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 5;
-