Package io.grpc.serviceconfig
Interface XdsClusterImplLoadBalancingPolicyConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
XdsClusterImplLoadBalancingPolicyConfig,XdsClusterImplLoadBalancingPolicyConfig.Builder
public interface XdsClusterImplLoadBalancingPolicyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetChildPolicy(int index) Child policy.intChild policy.Child policy.getChildPolicyOrBuilder(int index) Child policy.List<? extends LoadBalancingConfigOrBuilder>Child policy.Cluster name.com.google.protobuf.ByteStringCluster name.getDropCategories(int index) repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;intrepeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;getDropCategoriesOrBuilder(int index) repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;EDS service name.com.google.protobuf.ByteStringEDS service name.LRS server to send load reports to.com.google.protobuf.StringValueDeprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.com.google.protobuf.StringValueOrBuilderDeprecated.LRS server to send load reports to.com.google.protobuf.UInt32ValueMaximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.UInt32ValueOrBuilderMaximum number of outstanding requests can be made to the upstream cluster.booleanLRS server to send load reports to.booleanDeprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.booleanMaximum number of outstanding requests can be made to the upstream cluster.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. Not set if cluster is not an EDS cluster or if it does not specify an EDS service name.
string eds_service_name = 2;- Returns:
- The edsServiceName.
-
getEdsServiceNameBytes
com.google.protobuf.ByteString getEdsServiceNameBytes()EDS service name. Not set if cluster is not an EDS cluster or if it does not specify an EDS service name.
string eds_service_name = 2;- Returns:
- The bytes for edsServiceName.
-
hasLrsLoadReportingServerName
Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=344Server 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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true];- Returns:
- Whether the lrsLoadReportingServerName field is set.
-
getLrsLoadReportingServerName
Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated. See service_config.proto;l=344Server 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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true];- Returns:
- The lrsLoadReportingServerName.
-
getLrsLoadReportingServerNameOrBuilder
Deprecated.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. DEPRECATED: Use new lrs_load_reporting_server field instead.
.google.protobuf.StringValue lrs_load_reporting_server_name = 3 [deprecated = true]; -
hasLrsLoadReportingServer
boolean hasLrsLoadReportingServer()LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7;- Returns:
- Whether the lrsLoadReportingServer field is set.
-
getLrsLoadReportingServer
XdsServer getLrsLoadReportingServer()LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7;- Returns:
- The lrsLoadReportingServer.
-
getLrsLoadReportingServerOrBuilder
XdsServerOrBuilder getLrsLoadReportingServerOrBuilder()LRS server to send load reports to. If not present, load reporting will be disabled. Supercedes lrs_load_reporting_server_name field.
.grpc.service_config.XdsServer lrs_load_reporting_server = 7; -
hasMaxConcurrentRequests
boolean hasMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4;- Returns:
- Whether the maxConcurrentRequests field is set.
-
getMaxConcurrentRequests
com.google.protobuf.UInt32Value getMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4;- Returns:
- The maxConcurrentRequests.
-
getMaxConcurrentRequestsOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentRequestsOrBuilder()Maximum number of outstanding requests can be made to the upstream cluster. Default is 1024.
.google.protobuf.UInt32Value max_concurrent_requests = 4; -
getDropCategoriesList
List<XdsClusterImplLoadBalancingPolicyConfig.DropCategory> getDropCategoriesList()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5; -
getDropCategories
repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5; -
getDropCategoriesCount
int getDropCategoriesCount()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5; -
getDropCategoriesOrBuilderList
List<? extends XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuilder> getDropCategoriesOrBuilderList()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5; -
getDropCategoriesOrBuilder
repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5; -
getChildPolicyList
List<LoadBalancingConfig> getChildPolicyList()Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6; -
getChildPolicy
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6; -
getChildPolicyCount
int getChildPolicyCount()Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6; -
getChildPolicyOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getChildPolicyOrBuilderList()Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6; -
getChildPolicyOrBuilder
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;
-