public static interface DestinationRuleOuterClass.LocalityLoadBalancerSetting.DistributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsTo(String key)
Map of upstream localities to traffic distribution weights.
|
String |
getFrom()
Originating locality, '/' separated, e.g.
|
com.google.protobuf.ByteString |
getFromBytes()
Originating locality, '/' separated, e.g.
|
Map<String,Integer> |
getTo()
已过时。
|
int |
getToCount()
Map of upstream localities to traffic distribution weights.
|
Map<String,Integer> |
getToMap()
Map of upstream localities to traffic distribution weights.
|
int |
getToOrDefault(String key,
int defaultValue)
Map of upstream localities to traffic distribution weights.
|
int |
getToOrThrow(String key)
Map of upstream localities to traffic distribution weights.
|
String getFrom()
Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.
string from = 1;com.google.protobuf.ByteString getFromBytes()
Originating locality, '/' separated, e.g. 'region/zone/sub_zone'.
string from = 1;int getToCount()
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
map<string, uint32> to = 2;boolean containsTo(String key)
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
map<string, uint32> to = 2;@Deprecated Map<String,Integer> getTo()
getToMap() instead.Map<String,Integer> getToMap()
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
map<string, uint32> to = 2;int getToOrDefault(String key, int defaultValue)
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
map<string, uint32> to = 2;int getToOrThrow(String key)
Map of upstream localities to traffic distribution weights. The sum of all weights should be 100. Any locality not present will receive no traffic.
map<string, uint32> to = 2;Copyright © 2018–2023 Alibaba Group. All rights reserved.