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 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.
      • 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.