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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ServiceConfig.HealthCheckConfiggetHealthCheckConfig().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;ServiceConfig.HealthCheckConfigOrBuildergetHealthCheckConfigOrBuilder().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;LoadBalancingConfiggetLoadBalancingConfig(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.intgetLoadBalancingConfigCount()Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.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.LoadBalancingConfigOrBuildergetLoadBalancingConfigOrBuilder(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>getLoadBalancingConfigOrBuilderList()Multiple LB policies can be specified; clients will iterate through the list in order and stop at the first policy that they support.ServiceConfig.LoadBalancingPolicygetLoadBalancingPolicy()Deprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.intgetLoadBalancingPolicyValue()Deprecated.grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.MethodConfiggetMethodConfig(int index)Per-method configuration.intgetMethodConfigCount()Per-method configuration.List<MethodConfig>getMethodConfigList()Per-method configuration.MethodConfigOrBuildergetMethodConfigOrBuilder(int index)Per-method configuration.List<? extends MethodConfigOrBuilder>getMethodConfigOrBuilderList()Per-method configuration.ServiceConfig.RetryThrottlingPolicygetRetryThrottling().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;ServiceConfig.RetryThrottlingPolicyOrBuildergetRetryThrottlingOrBuilder().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;booleanhasHealthCheckConfig().grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;booleanhasRetryThrottling().grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLoadBalancingPolicyValue
@Deprecated int 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 ServiceConfig.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
LoadBalancingConfig 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. 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
LoadBalancingConfigOrBuilder 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. 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
MethodConfig getMethodConfig(int index)
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
MethodConfigOrBuilder getMethodConfigOrBuilder(int index)
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;
-
-