public interface GrpcLbConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
LoadBalancingConfig |
getChildPolicy(int index)
Optional.
|
int |
getChildPolicyCount()
Optional.
|
List<LoadBalancingConfig> |
getChildPolicyList()
Optional.
|
LoadBalancingConfigOrBuilder |
getChildPolicyOrBuilder(int index)
Optional.
|
List<? extends LoadBalancingConfigOrBuilder> |
getChildPolicyOrBuilderList()
Optional.
|
String |
getServiceName()
Optional.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<LoadBalancingConfig> getChildPolicyList()
Optional. What LB policy to use for routing between the backend addresses. If unset, defaults to round_robin. Currently, the only supported values are round_robin and pick_first. Note that this will be used both in balancer mode and in fallback mode. 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 = 1;LoadBalancingConfig getChildPolicy(int index)
Optional. What LB policy to use for routing between the backend addresses. If unset, defaults to round_robin. Currently, the only supported values are round_robin and pick_first. Note that this will be used both in balancer mode and in fallback mode. 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 = 1;int getChildPolicyCount()
Optional. What LB policy to use for routing between the backend addresses. If unset, defaults to round_robin. Currently, the only supported values are round_robin and pick_first. Note that this will be used both in balancer mode and in fallback mode. 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 = 1;List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()
Optional. What LB policy to use for routing between the backend addresses. If unset, defaults to round_robin. Currently, the only supported values are round_robin and pick_first. Note that this will be used both in balancer mode and in fallback mode. 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 = 1;LoadBalancingConfigOrBuilder getChildPolicyOrBuilder(int index)
Optional. What LB policy to use for routing between the backend addresses. If unset, defaults to round_robin. Currently, the only supported values are round_robin and pick_first. Note that this will be used both in balancer mode and in fallback mode. 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 = 1;String getServiceName()
Optional. If specified, overrides the name of the service to be sent to the balancer.
string service_name = 2;com.google.protobuf.ByteString getServiceNameBytes()
Optional. If specified, overrides the name of the service to be sent to the balancer.
string service_name = 2;Copyright © 2022 Google LLC. All rights reserved.