Package io.grpc.serviceconfig
Interface ServiceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServiceConfig,ServiceConfig.Builder
public interface ServiceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;.grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;getLoadBalancingConfig(int index) Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.intMultiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.getLoadBalancingConfigOrBuilder(int index) Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.List<? extends LoadBalancingConfigOrBuilder>Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.Deprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.intDeprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.getMethodConfig(int index) Per-method configuration.intPer-method configuration.Per-method configuration.getMethodConfigOrBuilder(int index) Per-method configuration.List<? extends MethodConfigOrBuilder>Per-method configuration..grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;.grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;boolean.grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;boolean.grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;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
-
getLoadBalancingPolicyValue
Deprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated. See service_config.proto;l=548.grpc.service_config.ServiceConfig.LoadBalancingPolicy load_balancing_policy = 1 [deprecated = true];- Returns:
- The enum numeric value on the wire for loadBalancingPolicy.
-
getLoadBalancingPolicy
Deprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated. See service_config.proto;l=548.grpc.service_config.ServiceConfig.LoadBalancingPolicy load_balancing_policy = 1 [deprecated = true];- Returns:
- The loadBalancingPolicy.
-
getLoadBalancingConfigList
List<LoadBalancingConfig> getLoadBalancingConfigList()Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support. If none are supported, the service config is considered invalid.
repeated .grpc.service_config.LoadBalancingConfig load_balancing_config = 4; -
getLoadBalancingConfig
Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support. If none are supported, the service config is considered invalid.
repeated .grpc.service_config.LoadBalancingConfig load_balancing_config = 4; -
getLoadBalancingConfigCount
int getLoadBalancingConfigCount()Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support. If none are supported, the service config is considered invalid.
repeated .grpc.service_config.LoadBalancingConfig load_balancing_config = 4; -
getLoadBalancingConfigOrBuilderList
List<? extends LoadBalancingConfigOrBuilder> getLoadBalancingConfigOrBuilderList()Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support. If none are supported, the service config is considered invalid.
repeated .grpc.service_config.LoadBalancingConfig load_balancing_config = 4; -
getLoadBalancingConfigOrBuilder
Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support. If none are supported, the service config is considered invalid.
repeated .grpc.service_config.LoadBalancingConfig load_balancing_config = 4; -
getMethodConfigList
List<MethodConfig> getMethodConfigList()Per-method configuration.
repeated .grpc.service_config.MethodConfig method_config = 2; -
getMethodConfig
Per-method configuration.
repeated .grpc.service_config.MethodConfig method_config = 2; -
getMethodConfigCount
int getMethodConfigCount()Per-method configuration.
repeated .grpc.service_config.MethodConfig method_config = 2; -
getMethodConfigOrBuilderList
List<? extends MethodConfigOrBuilder> getMethodConfigOrBuilderList()Per-method configuration.
repeated .grpc.service_config.MethodConfig method_config = 2; -
getMethodConfigOrBuilder
Per-method configuration.
repeated .grpc.service_config.MethodConfig method_config = 2; -
hasRetryThrottling
boolean hasRetryThrottling().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;- Returns:
- Whether the retryThrottling field is set.
-
getRetryThrottling
ServiceConfig.RetryThrottlingPolicy getRetryThrottling().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;- Returns:
- The retryThrottling.
-
getRetryThrottlingOrBuilder
ServiceConfig.RetryThrottlingPolicyOrBuilder getRetryThrottlingOrBuilder().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3; -
hasHealthCheckConfig
boolean hasHealthCheckConfig().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;- Returns:
- Whether the healthCheckConfig field is set.
-
getHealthCheckConfig
ServiceConfig.HealthCheckConfig getHealthCheckConfig().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;- Returns:
- The healthCheckConfig.
-
getHealthCheckConfigOrBuilder
ServiceConfig.HealthCheckConfigOrBuilder getHealthCheckConfigOrBuilder().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;
-