public static interface DestinationRuleOuterClass.SubsetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsLabels(String key)
Labels apply a filter over the endpoints of a service in the
service registry.
|
Map<String,String> |
getLabels()
已过时。
|
int |
getLabelsCount()
Labels apply a filter over the endpoints of a service in the
service registry.
|
Map<String,String> |
getLabelsMap()
Labels apply a filter over the endpoints of a service in the
service registry.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels apply a filter over the endpoints of a service in the
service registry.
|
String |
getLabelsOrThrow(String key)
Labels apply a filter over the endpoints of a service in the
service registry.
|
String |
getName()
Name of the subset.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the subset.
|
DestinationRuleOuterClass.TrafficPolicy |
getTrafficPolicy()
Traffic policies that apply to this subset.
|
DestinationRuleOuterClass.TrafficPolicyOrBuilder |
getTrafficPolicyOrBuilder()
Traffic policies that apply to this subset.
|
boolean |
hasTrafficPolicy()
Traffic policies that apply to this subset.
|
String getName()
Name of the subset. The service name and the subset name can be used for traffic splitting in a route rule.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Name of the subset. The service name and the subset name can be used for traffic splitting in a route rule.
string name = 1 [(.google.api.field_behavior) = REQUIRED];int getLabelsCount()
Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.
map<string, string> labels = 2;boolean containsLabels(String key)
Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.
map<string, string> labels = 2;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.
map<string, string> labels = 2;String getLabelsOrDefault(String key, String defaultValue)
Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.
map<string, string> labels = 2;String getLabelsOrThrow(String key)
Labels apply a filter over the endpoints of a service in the service registry. See route rules for examples of usage.
map<string, string> labels = 2;boolean hasTrafficPolicy()
Traffic policies that apply to this subset. Subsets inherit the traffic policies specified at the DestinationRule level. Settings specified at the subset level will override the corresponding settings specified at the DestinationRule level.
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;DestinationRuleOuterClass.TrafficPolicy getTrafficPolicy()
Traffic policies that apply to this subset. Subsets inherit the traffic policies specified at the DestinationRule level. Settings specified at the subset level will override the corresponding settings specified at the DestinationRule level.
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;DestinationRuleOuterClass.TrafficPolicyOrBuilder getTrafficPolicyOrBuilder()
Traffic policies that apply to this subset. Subsets inherit the traffic policies specified at the DestinationRule level. Settings specified at the subset level will override the corresponding settings specified at the DestinationRule level.
.istio.networking.v1alpha3.TrafficPolicy traffic_policy = 3;Copyright © 2018–2023 Alibaba Group. All rights reserved.