io.grpc.serviceconfig.ServiceConfigOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: service_config.proto
// Protobuf Java Version: 3.25.4
package io.grpc.serviceconfig;
public interface ServiceConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.service_config.ServiceConfig)
com.google.protobuf.MessageOrBuilder {
/**
* .grpc.service_config.ServiceConfig.LoadBalancingPolicy load_balancing_policy = 1 [deprecated = true];
* @deprecated grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.
* See service_config.proto;l=548
* @return The enum numeric value on the wire for loadBalancingPolicy.
*/
@java.lang.Deprecated int getLoadBalancingPolicyValue();
/**
* .grpc.service_config.ServiceConfig.LoadBalancingPolicy load_balancing_policy = 1 [deprecated = true];
* @deprecated grpc.service_config.ServiceConfig.load_balancing_policy is deprecated.
* See service_config.proto;l=548
* @return The loadBalancingPolicy.
*/
@java.lang.Deprecated io.grpc.serviceconfig.ServiceConfig.LoadBalancingPolicy getLoadBalancingPolicy();
/**
*
* 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;
*/
java.util.List
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;
*/
io.grpc.serviceconfig.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;
*/
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;
*/
java.util.List extends io.grpc.serviceconfig.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;
*/
io.grpc.serviceconfig.LoadBalancingConfigOrBuilder getLoadBalancingConfigOrBuilder(
int index);
/**
*
* Per-method configuration.
*
*
* repeated .grpc.service_config.MethodConfig method_config = 2;
*/
java.util.List
getMethodConfigList();
/**
*
* Per-method configuration.
*
*
* repeated .grpc.service_config.MethodConfig method_config = 2;
*/
io.grpc.serviceconfig.MethodConfig getMethodConfig(int index);
/**
*
* Per-method configuration.
*
*
* repeated .grpc.service_config.MethodConfig method_config = 2;
*/
int getMethodConfigCount();
/**
*
* Per-method configuration.
*
*
* repeated .grpc.service_config.MethodConfig method_config = 2;
*/
java.util.List extends io.grpc.serviceconfig.MethodConfigOrBuilder>
getMethodConfigOrBuilderList();
/**
*
* Per-method configuration.
*
*
* repeated .grpc.service_config.MethodConfig method_config = 2;
*/
io.grpc.serviceconfig.MethodConfigOrBuilder getMethodConfigOrBuilder(
int index);
/**
* .grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;
* @return Whether the retryThrottling field is set.
*/
boolean hasRetryThrottling();
/**
* .grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;
* @return The retryThrottling.
*/
io.grpc.serviceconfig.ServiceConfig.RetryThrottlingPolicy getRetryThrottling();
/**
* .grpc.service_config.ServiceConfig.RetryThrottlingPolicy retry_throttling = 3;
*/
io.grpc.serviceconfig.ServiceConfig.RetryThrottlingPolicyOrBuilder getRetryThrottlingOrBuilder();
/**
* .grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;
* @return Whether the healthCheckConfig field is set.
*/
boolean hasHealthCheckConfig();
/**
* .grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;
* @return The healthCheckConfig.
*/
io.grpc.serviceconfig.ServiceConfig.HealthCheckConfig getHealthCheckConfig();
/**
* .grpc.service_config.ServiceConfig.HealthCheckConfig health_check_config = 5;
*/
io.grpc.serviceconfig.ServiceConfig.HealthCheckConfigOrBuilder getHealthCheckConfigOrBuilder();
}