Package io.grpc.serviceconfig
Interface EdsLoadBalancingPolicyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EdsLoadBalancingPolicyConfig,EdsLoadBalancingPolicyConfig.Builder
public interface EdsLoadBalancingPolicyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCluster name.com.google.protobuf.ByteStringCluster name.EDS service name, as returned in CDS.com.google.protobuf.ByteStringEDS service name, as returned in CDS.getEndpointPickingPolicy(int index) Endpoint-picking policy.intEndpoint-picking policy.Endpoint-picking policy.getEndpointPickingPolicyOrBuilder(int index) Endpoint-picking policy.List<? extends LoadBalancingConfigOrBuilder>Endpoint-picking policy.getLocalityPickingPolicy(int index) Locality-picking policy.intLocality-picking policy.Locality-picking policy.getLocalityPickingPolicyOrBuilder(int index) Locality-picking policy.List<? extends LoadBalancingConfigOrBuilder>Locality-picking policy.com.google.protobuf.StringValueServer to send load reports to.com.google.protobuf.StringValueOrBuilderServer to send load reports to.booleanServer 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
-
getCluster
String getCluster()Cluster name. Required.
string cluster = 1;- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()Cluster name. Required.
string cluster = 1;- Returns:
- The bytes for cluster.
-
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.
-
hasLrsLoadReportingServerName
boolean hasLrsLoadReportingServerName()Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
com.google.protobuf.StringValue getLrsLoadReportingServerName()Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3;- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameOrBuilder
com.google.protobuf.StringValueOrBuilder getLrsLoadReportingServerNameOrBuilder()Server to send load reports to. If unset, no load reporting is done. If set to empty string, load reporting will be sent to the same server as we are getting xds data from.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3; -
getLocalityPickingPolicyList
List<LoadBalancingConfig> getLocalityPickingPolicyList()Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4; -
getLocalityPickingPolicy
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4; -
getLocalityPickingPolicyCount
int getLocalityPickingPolicyCount()Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4; -
getLocalityPickingPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getLocalityPickingPolicyOrBuilderList()Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4; -
getLocalityPickingPolicyOrBuilder
Locality-picking policy. This policy's config is expected to be in the format used by the weighted_target policy. Note that the config should include an empty value for the "targets" field; that empty value will be replaced by one that is dynamically generated based on the EDS data. Optional; defaults to "weighted_target".
repeated .grpc.service_config.LoadBalancingConfig locality_picking_policy = 4; -
getEndpointPickingPolicyList
List<LoadBalancingConfig> getEndpointPickingPolicyList()Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5; -
getEndpointPickingPolicy
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5; -
getEndpointPickingPolicyCount
int getEndpointPickingPolicyCount()Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5; -
getEndpointPickingPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getEndpointPickingPolicyOrBuilderList()Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5; -
getEndpointPickingPolicyOrBuilder
Endpoint-picking policy. This will be configured as the policy for each child in the locality-policy's config. Optional; defaults to "round_robin".
repeated .grpc.service_config.LoadBalancingConfig endpoint_picking_policy = 5;
-