io.grpc.serviceconfig.PriorityLoadBalancingPolicyConfigOrBuilder 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 PriorityLoadBalancingPolicyConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:grpc.service_config.PriorityLoadBalancingPolicyConfig)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .grpc.service_config.PriorityLoadBalancingPolicyConfig.Child> children = 1;
*/
int getChildrenCount();
/**
* map<string, .grpc.service_config.PriorityLoadBalancingPolicyConfig.Child> children = 1;
*/
boolean containsChildren(
java.lang.String key);
/**
* Use {@link #getChildrenMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getChildren();
/**
* map<string, .grpc.service_config.PriorityLoadBalancingPolicyConfig.Child> children = 1;
*/
java.util.Map
getChildrenMap();
/**
* map<string, .grpc.service_config.PriorityLoadBalancingPolicyConfig.Child> children = 1;
*/
/* nullable */
io.grpc.serviceconfig.PriorityLoadBalancingPolicyConfig.Child getChildrenOrDefault(
java.lang.String key,
/* nullable */
io.grpc.serviceconfig.PriorityLoadBalancingPolicyConfig.Child defaultValue);
/**
* map<string, .grpc.service_config.PriorityLoadBalancingPolicyConfig.Child> children = 1;
*/
io.grpc.serviceconfig.PriorityLoadBalancingPolicyConfig.Child getChildrenOrThrow(
java.lang.String key);
/**
*
* A list of child names in decreasing priority order
* (i.e., first element is the highest priority).
*
*
* repeated string priorities = 2;
* @return A list containing the priorities.
*/
java.util.List
getPrioritiesList();
/**
*
* A list of child names in decreasing priority order
* (i.e., first element is the highest priority).
*
*
* repeated string priorities = 2;
* @return The count of priorities.
*/
int getPrioritiesCount();
/**
*
* A list of child names in decreasing priority order
* (i.e., first element is the highest priority).
*
*
* repeated string priorities = 2;
* @param index The index of the element to return.
* @return The priorities at the given index.
*/
java.lang.String getPriorities(int index);
/**
*
* A list of child names in decreasing priority order
* (i.e., first element is the highest priority).
*
*
* repeated string priorities = 2;
* @param index The index of the value to return.
* @return The bytes of the priorities at the given index.
*/
com.google.protobuf.ByteString
getPrioritiesBytes(int index);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy