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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description LoadBalancingConfiggetChildPolicy(int index)Child policy.intgetChildPolicyCount()Child policy.List<LoadBalancingConfig>getChildPolicyList()Child policy.LoadBalancingConfigOrBuildergetChildPolicyOrBuilder(int index)Child policy.List<? extends LoadBalancingConfigOrBuilder>getChildPolicyOrBuilderList()Child policy.StringgetCluster()Cluster name.com.google.protobuf.ByteStringgetClusterBytes()Cluster name.XdsClusterImplLoadBalancingPolicyConfig.DropCategorygetDropCategories(int index)repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;intgetDropCategoriesCount()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;List<XdsClusterImplLoadBalancingPolicyConfig.DropCategory>getDropCategoriesList()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuildergetDropCategoriesOrBuilder(int index)repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;List<? extends XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuilder>getDropCategoriesOrBuilderList()repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;StringgetEdsServiceName()EDS service name.com.google.protobuf.ByteStringgetEdsServiceNameBytes()EDS service name.XdsServergetLrsLoadReportingServer()LRS server to send load reports to.com.google.protobuf.StringValuegetLrsLoadReportingServerName()Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.com.google.protobuf.StringValueOrBuildergetLrsLoadReportingServerNameOrBuilder()Deprecated.XdsServerOrBuildergetLrsLoadReportingServerOrBuilder()LRS server to send load reports to.com.google.protobuf.UInt32ValuegetMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster.com.google.protobuf.UInt32ValueOrBuildergetMaxConcurrentRequestsOrBuilder()Maximum number of outstanding requests can be made to the upstream cluster.booleanhasLrsLoadReportingServer()LRS server to send load reports to.booleanhasLrsLoadReportingServerName()Deprecated.grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.lrs_load_reporting_server_name is deprecated.booleanhasMaxConcurrentRequests()Maximum number of outstanding requests can be made to the upstream cluster.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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 boolean 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 com.google.protobuf.StringValue 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 com.google.protobuf.StringValueOrBuilder 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
XdsClusterImplLoadBalancingPolicyConfig.DropCategory getDropCategories(int index)
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
XdsClusterImplLoadBalancingPolicyConfig.DropCategoryOrBuilder getDropCategoriesOrBuilder(int index)
repeated .grpc.service_config.XdsClusterImplLoadBalancingPolicyConfig.DropCategory drop_categories = 5;
-
getChildPolicyList
List<LoadBalancingConfig> getChildPolicyList()
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;
-
getChildPolicy
LoadBalancingConfig getChildPolicy(int index)
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
LoadBalancingConfigOrBuilder getChildPolicyOrBuilder(int index)
Child policy.
repeated .grpc.service_config.LoadBalancingConfig child_policy = 6;
-
-