All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.45.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: service_config.proto

// Protobuf Java Version: 3.25.5
package io.grpc.serviceconfig;

public interface WeightedTargetLoadBalancingPolicyConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:grpc.service_config.WeightedTargetLoadBalancingPolicyConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
   */
  int getTargetsCount();
  /**
   * map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
   */
  boolean containsTargets(
      java.lang.String key);
  /**
   * Use {@link #getTargetsMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getTargets();
  /**
   * map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
   */
  java.util.Map
  getTargetsMap();
  /**
   * map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
   */
  /* nullable */
io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target getTargetsOrDefault(
      java.lang.String key,
      /* nullable */
io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target defaultValue);
  /**
   * map<string, .grpc.service_config.WeightedTargetLoadBalancingPolicyConfig.Target> targets = 1;
   */
  io.grpc.serviceconfig.WeightedTargetLoadBalancingPolicyConfig.Target getTargetsOrThrow(
      java.lang.String key);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy